WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: extension needs /usr/include as destination  (Read 1649 times)

Offline halma

  • Full Member
  • ***
  • Posts: 164
extension needs /usr/include as destination
« on: July 19, 2014, 02:22:49 PM »
Hi

i am trying to install pciutils-dev as Extension, compiled from source, the Extension i have created has in the .tcz Extension /usr/include/pci/pci.h
but if i install the Extention the destination is /usr/local/include/pci/pci.h !

how can i solve this without creating an symlink after the extension is installed ?

Best Regards
Halma
1 + 2 = 6  cause  10 - 6 = 78 ;-) lol

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: extension needs /usr/include as destination
« Reply #1 on: July 19, 2014, 02:44:52 PM »
Actually not an answer to your question but...
You could automate the creation of symlinks via a script inside your created extension at  /usr/local/tce.installed/  which needs to have the same name as the extension (pciutils-dev) it's contained in.
Download a copy and keep it handy: Core book ;)

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: extension needs /usr/include as destination
« Reply #2 on: July 19, 2014, 02:48:57 PM »
All extensions should use /usr/local.  Fix your make files to use /usr/local/include.