ltspfsd on edubuntu

Alistair Crust alistair at skegnessgrammar.org
Mon Mar 27 09:13:44 UTC 2006


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
if gcc -DPACKAGE_NAME=\"ltspfsd\" -DPACKAGE_TARNAME=\"ltspfsd\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"ltspfsd\ 0.2\" -DPACKAGE_BUGREPORT=\"sbalneav at ltsp.org\" -DX_DISPLAY_MISSING=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UTIME_H=1  -I. -I.    -Wall -W -D_FILE_OFFSET_BITS=64 -g -O2 -MT ltspfsd.o -MD -MP -MF ".deps/ltspfsd.Tpo" -c -o ltspfsd.o ltspfsd.c; \
        then mv -f ".deps/ltspfsd.Tpo" ".deps/ltspfsd.Po"; else rm -f ".deps/ltspfsd.Tpo"; exit 1; fi
ltspfsd.c: In function ‘main’:
ltspfsd.c:128: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness
ltspfsd.c:48: warning: unused variable ‘uid’
if gcc -DPACKAGE_NAME=\"ltspfsd\" -DPACKAGE_TARNAME=\"ltspfsd\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"ltspfsd\ 0.2\" -DPACKAGE_BUGREPORT=\"sbalneav at ltsp.org\" -DX_DISPLAY_MISSING=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_FCNTL_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UTIME_H=1  -I. -I.    -Wall -W -D_FILE_OFFSET_BITS=64 -g -O2 -MT ltspfsd_functions.o -MD -MP -MF ".deps/ltspfsd_functions.Tpo" -c -o ltspfsd_functions.o ltspfsd_functions.c; \
        then mv -f ".deps/ltspfsd_functions.Tpo" ".deps/ltspfsd_functions.Po"; else rm -f ".deps/ltspfsd_functions.Tpo"; exit 1; fi
ltspfsd_functions.c:13:22: error: X11/Xlib.h: No such file or directory
ltspfsd_functions.c:14:23: error: X11/Xauth.h: No such file or directory
ltspfsd_functions.c: In function ‘handle_auth’:
ltspfsd_functions.c:995: error: ‘Display’ undeclared (first use in this function)
ltspfsd_functions.c:995: error: (Each undeclared identifier is reported only once
ltspfsd_functions.c:995: error: for each function it appears in.)
ltspfsd_functions.c:995: error: ‘displ’ undeclared (first use in this function)
ltspfsd_functions.c:1052: warning: implicit declaration of function ‘XOpenDisplay’
ltspfsd_functions.c:1055: warning: implicit declaration of function ‘XauFileName’
ltspfsd_functions.c:1055: warning: passing argument 1 of ‘unlink’ makes pointer from integer without a cast
ltspfsd_functions.c:1061: warning: implicit declaration of function ‘XCloseDisplay’
ltspfsd_functions.c:1063: warning: passing argument 1 of ‘unlink’ makes pointer from integer without a cast
make: *** [ltspfsd_functions.o] Error 1
---

I will post both on edubuntu-devel and ltsp-devel
-- 
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