Problems installing sfs 0.7.2
Ana Monteiro <[email protected]> Fri, 6 May 2005 18:32:41 +0100
| Newsgroups | gmane.comp.file-systems.sfs.general |
|---|---|
| Message-ID | <[email protected]> |
Hi all!
I'm new to sfs and linux, and I have some problems installing sfs 0.7.2...
I tried to follow the manual (http://www.fs.net/sfswww/sfs.html), but
I still have problems...
I have gcc 3.4.3 installed. I have installed gmp 4.1 successfully, as
in manual (it seems that there is a bug between gcc 3.4.3 and gmp 4.1,
but I finded out a solution through the net that worked ok).
I had configured sfs well (./configure), but I can't build the sources
by running "make".
The following error occurs:
amcm@linux:~/Desktop/chord/sfs/sfs-0.7.2> make
test -z "gmp-4.1" || (cd "gmp-4.1" && make `echo aux-all | sed -e 's/^aux-//'`)
make[1]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1'
make all-recursive
make[2]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1'
Making all in tests
make[3]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests'
Making all in .
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests'
Making all in devel
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/devel'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/devel'
Making all in mpn
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/mpn'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/mpn'
Making all in mpz
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/mpz'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/mpz'
Making all in mpq
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/mpq'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/mpq'
Making all in mpf
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/mpf'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/mpf'
Making all in rand
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/rand'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/rand'
Making all in misc
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/misc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/misc'
Making all in cxx
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/cxx'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/cxx'
Making all in mpbsd
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/mpbsd'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests/mpbsd'
make[3]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tests'
Making all in mpn
make[3]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/mpn'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/mpn'
Making all in mpz
make[3]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/mpz'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/mpz'
Making all in mpq
make[3]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/mpq'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/mpq'
Making all in mpf
make[3]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/mpf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/mpf'
Making all in printf
make[3]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/printf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/printf'
Making all in scanf
make[3]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/scanf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/scanf'
Making all in cxx
make[3]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/cxx'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/cxx'
Making all in mpbsd
make[3]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/mpbsd'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/mpbsd'
Making all in demos
make[3]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/demos'
Making all in calc
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/demos/calc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/demos/calc'
Making all in expr
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/demos/expr'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/demos/expr'
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/demos'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/demos'
make[3]: Leaving directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/demos'
Making all in tune
make[3]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tune'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/tune'
make[3]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1'
make[3]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1'
make[2]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1'
make[1]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1'
test -z "" -o "" = "@"DB3_DIR"@" \
|| (cd "/dist" && make `echo aux-all | sed -e 's/^aux-//'`)
make all-recursive
make[1]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2'
Making all in async
make[2]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/async'
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../gmp-4.1 -I.. -I../async -I../arpc -I../crypt -I../sfsmisc
-I../sfsrodb -I../adb -I../svc -I../svc
-DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\"
-DSFSDIR=\"/var/sfs\" -g -O2-Wall -Werror -c daemonize.C
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../gmp-4.1 -I.. -I../async
-I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc
-I../svc -DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\"
-DSFSDIR=\"/var/sfs\" -g -O2 -Wall -Werror -c daemonize.C -o
daemonize.o
echo timestamp > daemonize.lo
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../gmp-4.1 -I.. -I../async -I../arpc -I../crypt -I../sfsmisc
-I../sfsrodb -I../adb -I../svc -I../svc
-DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\"
-DSFSDIR=\"/var/sfs\" -g -O2-Wall -Werror -c spawn.C
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../gmp-4.1 -I.. -I../async
-I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc
-I../svc -DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\"
-DSFSDIR=\"/var/sfs\" -g -O2 -Wall -Werror -c spawn.C -o spawn.o
echo timestamp > spawn.lo
/bin/sh ../libtool --mode=link g++ -g -O2 -Wall -Werror -o
libasync.la -rpath /usr/local/lib/sfs-0.7.2 clock_gettime.lo flock.lo
rwfd.lo stktrace.lo suidprotect.lo maketables.lo pcre.lo study.lo
aerr.lo aio.lo aios.lo arena.lo armor.lobbuddy.lo cbuf.lo
convertint.lo core.lo daemonize.lo dns.lo dnsparse.lo err.lo fdwait.lo
ident.lo ifchg.lo ihash.lo itree.lo lockfile.lo malloc.lo msb.lo
myaddrs.lo myname.lo parseopt.lo pipe2str.lo refcnt.lo rxx.lo sigio.lo
socket.lo spawn.lo str.lo str2file.lo straux.lo suio++.lo
suio_vuprintf.lo tcpconnect.lo -lresolv -lnsl
rm -fr .libs/libasync.la .libs/libasync.* .libs/libasync.*
ar cru .libs/libasync.a clock_gettime.o flock.o rwfd.o stktrace.o
suidprotect.o maketables.o pcre.o study.o aerr.o aio.o aios.o arena.o
armor.o bbuddy.o cbuf.o convertint.o core.o daemonize.o dns.o
dnsparse.o err.o fdwait.o ident.o ifchg.o ihash.o itree.o lockfile.o
malloc.o msb.o myaddrs.o myname.o parseopt.o pipe2str.o refcnt.o rxx.o
sigio.o socket.o spawn.o str.o str2file.o straux.o suio++.o
suio_vuprintf.o tcpconnect.o
ranlib .libs/libasync.a
creating libasync.la
(cd .libs && rm -f libasync.la && ln -s ../libasync.la libasync.la)
/bin/sh ../libtool --mode=link g++ -g -O2 -Wall -Werror -o aiod
aiod.o libasync.la -lresolv -lnsl
g++ -g -O2 -Wall -Werror -o aiod aiod.o .libs/libasync.a -lresolv
-lnsl -lresolv -lnsl
make[2]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/async'
Making all in rpcc
make[2]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/rpcc'
/bin/sh ../libtool --mode=link g++ -g -O2 -Wall -Werror -o rpcc
genheader.ogencfile.o parse.o scan.o rpcc.o ../async/libasync.la
-lresolv -lnsl
g++ -g -O2 -Wall -Werror -o rpcc genheader.o gencfile.o parse.o scan.o
rpcc.o ../async/.libs/libasync.a -lresolv -lnsl -lresolv -lnsl
make[2]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/rpcc'
Making all in arpc
make[2]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/arpc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/arpc'
Making all in crypt
make[2]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/crypt'
/bin/sh ../libtool --mode=link g++ -g -O2 -Wall -Werror -o tst
tst.o libsfscrypt.la ../arpc/libarpc.la ../async/libasync.la
../gmp-4.1/libgmp.la -lresolv -lnsl
g++ -g -O2 -Wall -Werror -o tst tst.o .libs/libsfscrypt.a -lresolv
-lnsl ../arpc/.libs/libarpc.a -lresolv -lnsl ../async/.libs/libasync.a
-lresolv -lnsl ../gmp-4.1/.libs/libgmp.so -lresolv -lnsl -Wl,--rpath
-Wl,/home/amcm/Desktop/chord/sfs/sfs-0.7.2/gmp-4.1/.libs -Wl,--rpath
-Wl,/usr/local/lib
make[2]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/crypt'
Making all in svc
make[2]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/svc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/svc'
Making all in etc
make[2]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/etc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/etc'
Making all in uvfs
make[2]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/uvfs'
make all-recursive
make[3]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/uvfs'
Making all in arpcgen
make[4]: Entering directory
`/home/amcm/Desktop/chord/sfs/sfs-0.7.2/uvfs/arpcgen'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/uvfs/arpcgen'
make[4]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/uvfs'
make[4]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/uvfs'
make[3]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/uvfs'
make[2]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/uvfs'
Making all in libsfs
make[2]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/libsfs'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gmp-4.1 -I.. -I../async
-I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc
-I../svc -DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\"
-DSFSDIR=\"/var/sfs\" -g -O2 -Wall -Werror -c sfspaths.c
rm -f libsfs.a
ar cru libsfs.a nfs3_prot.o nfs3exp_prot.o sfs_prot.o sfsagent.o
rwfd.o suidprotect.o authunixint.o devcon.o hashtab.o sfsops.o
sfspaths.o srpc.o xdr_misc.o
ranlib libsfs.a
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -Werror -o tst
tst.o libsfs.a -lresolv -lnsl
gcc -g -O2 -Wall -Werror -o tst tst.o libsfs.a -lresolv -lnsl
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -Werror -o pathinfo
pathinfo.o libsfs.a -lresolv -lnsl
gcc -g -O2 -Wall -Werror -o pathinfo pathinfo.o libsfs.a -lresolv -lnsl
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -Werror -o
suidconnect suidconnect.o libsfs.a -lresolv -lnsl
gcc -g -O2 -Wall -Werror -o suidconnect suidconnect.o libsfs.a -lresolv -lnsl
make[2]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/libsfs'
Making all in sfsmisc
make[2]: Entering directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/sfsmisc'
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..
-I../gmp-4.1 -I.. -I../async -I../arpc -I../crypt -I../sfsmisc
-I../sfsrodb -I../adb -I../svc -I../svc
-DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\"
-DSFSDIR=\"/var/sfs\" -g -O2-Wall -Werror -c sfsclient.C
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../gmp-4.1 -I.. -I../async
-I../arpc -I../crypt -I../sfsmisc -I../sfsrodb -I../adb -I../svc
-I../svc -DEXECDIR=\"/usr/local/lib/sfs-0.7.2\" -DETCDIR=\"/etc/sfs\"
-DDATADIR=\"/usr/local/share/sfs\" -DPIDDIR=\"/var/run\"
-DSFSDIR=\"/var/sfs\" -g -O2 -Wall -Werror -c sfsclient.C -o
sfsclient.o
In file included from sfsclient.h:33,
from sfsclient.C:24:
sfscrypt.h: In constructor `sfspub::sfspub(sfs_keytype, unsigned char, const
str&)':
sfscrypt.h:53: error: uninitialized member 'sfspub::eksb_id' with 'const' type
'const int'
make[2]: *** [sfsclient.lo] Error 1
make[2]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2/sfsmisc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amcm/Desktop/chord/sfs/sfs-0.7.2'
make: *** [all-recursive-am] Error 2
What should I do? Can anyone help me please?
Thank you very much.
Ana Monteiro