Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: halma on July 19, 2014, 02:22:49 PM

Title: extension needs /usr/include as destination
Post by: halma 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
Title: Re: extension needs /usr/include as destination
Post by: Misalf 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.
Title: Re: extension needs /usr/include as destination
Post by: gerald_clark on July 19, 2014, 02:48:57 PM
All extensions should use /usr/local.  Fix your make files to use /usr/local/include.