Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (15) </ ... 6 7 8 9 10 [11] 12 13 14 15 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: easier way to compile stuff for DSL, chroot + debootstrap< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 24 2007,05:44 QUOTE

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?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 24 2007,14:45 QUOTE

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

For your problem, could you try using symlinks?


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 24 2007,14:59 QUOTE

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
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 24 2007,15:26 QUOTE

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..


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 24 2007,15:32 QUOTE

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

- that's what it says here
Back to top
Profile PM 
73 replies since June 18 2007,19:08 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (15) </ ... 6 7 8 9 10 [11] 12 13 14 15 >/
reply to topic new topic new poll
Quick Reply: easier way to compile stuff for DSL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code