DSL Tips and Tricks :: easier way to compile stuff for DSL



OK, so I moved to pkg-config-0.22 and expat-1.95.8 (expat-1.95.2 would not compile itself) and compiled everything for i486 (the executables seem to be bigger than those compiled for i686). I see the next steps as:

1. Compile versions of libjpeg, libpng & libtiff that match those of dsl
2. Delete the libs (but keep the headers) compiled where the versions match those of dsl

Given that I plan to compile with the eventual extension, using something like:
Code Sample
$ export PATH=/opt/compile/bin:$PATH
$ export CFLAGS=-I/opt/compile/include
$ export LDFLAGS=-L/opt/compile/lib
$ ./configure --prefix=...

..is it OK to assume the the compilation will find the libs deleted from /opt/compile/lib in /lib & /usr/lib without symlinks (this seems to be the case)?

Edit: with all of the duplicate libs deleted, gcc will not compile shared libs - now to find which lib(s) causes this...

BTW, with the above approach "sudo make install" does not work - I need to open a terminal window as root and (re)export the path. Is there a way around this that avoids opening a 2nd window?

Just a note - the other extension has also gtk-1.2.10 headers..

For your problem, could you try using symlinks?

Quote
Just a note - the other extension has also gtk-1.2.10 headers..

- I'm working on this, but first I need to compile XFree86-4.2.1 for the headers to be able to compile gtk (for the headers...).

tiff, zlib & libpng all compiled OK, but I need to figure out what to do with the headers/pkgconfig for the three versions of libpng on dsl. Although two of the versions put the headers in /include/libpng1 or /include/libpng12, all three of them reference the headers from /include/*.h

How can you tell the X files of DSL are from 4.2.1?

Just curious, I always thought they were from 4.3.0, and the lib versions seem to match with both..

Quote
How can you tell the X files of DSL are from 4.2.1?

- that's what it says here

Next Page...
original here.