--- In Peter Gammie <> wrote:
>
> Jason,
>
> On 05/04/2010, at 11:43 AM, Jason Stahls wrote:
>
> > j.chitte wrote:
> > >> I'm running a ts7250 over nfs , I try to start lighttpd and it fails . A
> > >> closer investigation shows this error:
> > >>
> > >> # lighttpd -f /etc/lighttpd/lighttpd.conf
> > >> 2010-04-04 18:55:06: (plugin.c.165) dlopen() failed for:
> > >> /back/ts/root/usr/lib/mod_indexfile.so /back/ts/root
> > >> ### wtf? this is inside nfs
>
> I think you will want to look into the configure features --prefix (where
> things should be installed with respect to the target filesystem) and DESTDIR
> (where the target filesystem lives on the host's filesystem).
>
> I think in your case you need --prefix=/usr and DESTDIR=/back/ts/root/
>
> I've found that libtool doesn't respect these options too well (in the .la
> files it generates).
>
> cheers
> peter
>
> --
> http://peteg.org/
>
Thanks for all the replies. It was indeed DESTDIR and --prefix that I had not
been using correctly.
I now have lighttpd working and I'm close to something I can commit to flash.
One remaining headache is files being written by the SBC don't seem to be
updated when read back by the same. This is critical for the control software.
I write out some ADC values to a file under htdocs then it gets read back in by
a control loop. When I'm running on nfs these files always give the same
content when read.
If I look at the file from the nfs server end it updates correctly so on disk
it is good. From the arm end it's meta-data get updated correctly but the
content always gives what is was when mounted. Either from using 'cat' or when
read programatically.
Can anyone make sense of that.
I'm reluctant to burn to flash until I can confirm correct functionality,
though I'm fairly sure this is just nfs playing silly buggers.
regards.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|