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: (13) </ ... 4 5 6 7 8 [9] 10 11 12 13 >/

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

new topic new poll
Topic: DSL v4.0rc3< Next Oldest | Next Newest >
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 13 2007,01:38 QUOTE

Quote (jls legalize @ Sep. 12 2007,19:48)
I'd like some sort of automatism that checks the integrity of the knoppix file; 4 example ubuntu checks automatically the file system every 30 mounts.

legalize

Isn't that specific to the partition?  i.e. changeable using tune2fs
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Sep. 13 2007,12:11 QUOTE

Would it be possible to have CONFIG_X86_CMPXCHG set in the 2.4.31 kernel config in dsl-4? I know this is not set in dsl-2.1 but it is required for the i915 drm driver for intel graphics chipsets.

The i830 driver works for drm with XFree86 for intel chipsets upto 855 but it has been superceded by the i915 driver for drm with xorg72 for intel chipsets upto 915 (and maybe beyond).
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: Sep. 14 2007,16:40 QUOTE

Jumping back in the thread a bit.
Quote

It seems that some applications (eg the ones in the hplip extension I'm working on) seem to know that if they start in /opt/app/bin, the libs will be in /opt/app/lib. Other applications (eg the ones in samba.dsl) seem to resist all attempts to tell them where to find libs...


This has to do with the -rpath compiler flag which hard codes the locations of libraries (RPATH) into the headers of the resulting binary.  If that was set then it cannot be overriden by LD_LIBRARY_PATH at runtime.

I've sometimes achieved this (I think) by doing:

Code Sample

export PREFIX=/opt/app
env LD_LIBRARY_PATH=${PREFIX}/lib LD_RUN_PATH=${LD_LIBRARY_PATH}  ./configure
make


When it works (only sometimes, the build has to recognize the LD_RUN_PATH variable ), you won't have to use a wrapper so the binary can find the libs in /opt/app/lib

Compiled programs that seemingly "know" where the libs are probably used libtool during the compile or otherwise had -rpath set. I think libtool automatically hard codes the location of the libs (or used to).

People that know about things like hacking Makefiles could always try setting the -rpath and related flags manually I suppose.

One way to avoid all of this is to compile with static linking of course, the downside is a bigger binary and perhaps slower performance.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 14 2007,17:03 QUOTE

WDef: although I feel this is not really RC material anymore, there's been a recent thread that might be of interest: http://damnsmalllinux.org/cgi-bin....0;st=15
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Sep. 14 2007,21:18 QUOTE

Quote (Juanito @ Sep. 13 2007,05:11)
Would it be possible to have CONFIG_X86_CMPXCHG set in the 2.4.31 kernel config in dsl-4? I know this is not set in dsl-2.1 but it is required for the i915 drm driver for intel graphics chipsets.

The i830 driver works for drm with XFree86 for intel chipsets upto 855 but it has been superceded by the i915 driver for drm with xorg72 for intel chipsets upto 915 (and maybe beyond).

I think it best to delay this until it can be more fully tested. That being at the beginning of a release candidate cycle. I want to get 4.0 out and not start a new release candidate cycle because of a change to the kernel.

BTW, Have you tested this? Isn't this processor specific?
Back to top
Profile PM WEB 
60 replies since Sep. 04 2007,04:13 < Next Oldest | Next Newest >

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

Pages: (13) </ ... 4 5 6 7 8 [9] 10 11 12 13 >/
new topic new poll
Quick Reply: DSL v4.0rc3

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