[Ltsp-discuss] Re: ltspfsd on edubuntu

Alistair Crust alistair at skegnessgrammar.org
Mon Mar 27 10:17:26 UTC 2006


On Mon, 2006-03-27 at 10:54 +0100, Alistair Crust wrote:
> On Mon, 2006-03-27 at 11:42 +0200, Herman Bos wrote:
> > Alistair Crust wrote:
> > > hi, 
> > > 	I'm trying to get LDA working on Dapper, but run up against some
> > > problems while following the instructions here:
> > > ( http://wiki.ltsp.org/twiki/bin/view/Ltsp/LtspFS )
> > >
> > > I install cvs, build-essential, gawk and the do the following:
> > > ---
> > > cd /usr/local/src
> > > sudo cvs -d :pserver:anonymous at cvs.ltsp.org:/usr/local/cvsroot checkout ltspfsd
> > > cd ltspfsd
> > > sudo ./configure
> > > sudo make
> > > ---
> > >
> > > then I get an error:
> > > --
> > > user at edubuntu:/usr/local/src/ltspfsd$ sudo make
> *snip*
> > > ---
> > >
> > > I will post both on edubuntu-devel and ltsp-devel
> > >   
> > You obviously miss some build dependencies.
> > Try searching for the missing files in packages.ubuntu.com and install
> > the corresponding packages.
> > 
> > 
> > 
> > -- 
> > edubuntu-devel mailing list
> > edubuntu-devel at lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/edubuntu-devel
> > 
> Ok, so its monday (morning) and I now feel like a fool for not spotting
> I needed xlibs-dev to satisfy X11/Xlib.h et al.
> 
> But I now get another error. This doesn't seam to be a result of a
> missing dependency.
> 
> admin at edubuntu:/usr/local/src/ltspfsd$ sudo make
*snip*
> ltspfsd_functions.o: In function
> `handle_auth':/usr/local/src/ltspfsd/ltspfsd_fu nctions.c:1052:
> undefined reference to `XOpenDisplay'
> :/usr/local/src/ltspfsd/ltspfsd_functions.c:1061: undefined reference to
> `XClose Display'
> :/usr/local/src/ltspfsd/ltspfsd_functions.c:1063: undefined reference to
> `XauFil eName'
> :/usr/local/src/ltspfsd/ltspfsd_functions.c:1055: undefined reference to
> `XauFil eName'
> collect2: ld returned 1 exit status
> make: *** [ltspfsd] Error 1
> 

Ok so I've answered my own question here but thought it would be good
for the archive.

after installing Xlibs-dev and trying again it didn't work.. why,
because when ./configure was run Xlibs were not installed, I need to
get ./configure to recognise that Xlibs are now there.

Do this by running:
sudo make distclean  #get rid of all configured/compiled files
sudo ./configure     #re-configures (finding the newly installed xlibs)
sudo make            #carry on where we left off

It should now compile correctly.

-- 
Kind regards
Alistair Crust
Systems Administrator 
Skegness Grammar School 
Vernon Road 
Skegness 
PE25 2QS 
TEL: 01754 610000 (ext'852)
FAX: 01754 896875 





More information about the edubuntu-devel mailing list