Newsgroup: it.comp.os.linux.iniziare
Titolo: make install non installa?

volevo installare findutils ma mi pare che non sia andato a buon fine...
perché? (copio qui l'output di make e make install)
ciao
delma
paolo@linux:~/findutils-4.1> make
for subdir in lib find xargs locate doc testsuite; do \
  echo making all in $subdir ; \
  (cd $subdir; make all); \
done
making all in lib
make[1]: Entering directory `/home/paolo/findutils-4.1/lib'
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O regex.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O dirname.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O error.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O filemode.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O getopt.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O getopt1.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O idcache.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O listfile.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O modechange.c
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O nextelem.c
nextelem.c:35: error: parse error before "__extension__"
nextelem.c:35: error: `__len' undeclared here (not in a function)
nextelem.c:35: error: initializer element is not constant
nextelem.c:35: error: parse error before "if"
nextelem.c:35: error: conflicting types for `__retval'
nextelem.c:35: error: previous declaration of `__retval'
nextelem.c:35: warning: data definition has no type or storage class
nextelem.c:35: error: parse error before '}' token
make[1]: *** [nextelem.o] Error 1
make[1]: Leaving directory `/home/paolo/findutils-4.1/lib'
making all in find
make[1]: Entering directory `/home/paolo/findutils-4.1/find'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O find.c
find.c: In function `main':
find.c:138: warning: return type of `main' is not `int'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O fstype.c
fstype.c:33: error: parse error before "__extension__"
fstype.c:33: error: `__len' undeclared here (not in a function)
fstype.c:33: error: initializer element is not constant
fstype.c:33: error: parse error before "if"
fstype.c:33: error: conflicting types for `__retval'
fstype.c:33: error: previous declaration of `__retval'
fstype.c:33: warning: data definition has no type or storage class
fstype.c:33: error: parse error before '}' token
make[1]: *** [fstype.o] Error 1
make[1]: Leaving directory `/home/paolo/findutils-4.1/find'
making all in xargs
make[1]: Entering directory `/home/paolo/findutils-4.1/xargs'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O xargs.c
xargs.c:64: error: parse error before "__extension__"
xargs.c:64: error: `__len' undeclared here (not in a function)
xargs.c:64: error: initializer element is not constant
xargs.c:64: error: parse error before "if"
xargs.c:64: error: conflicting types for `__retval'
xargs.c:64: error: previous declaration of `__retval'
xargs.c:64: warning: data definition has no type or storage class
xargs.c:64: error: parse error before '}' token
xargs.c: In function `main':
xargs.c:255: warning: return type of `main' is not `int'
make[1]: *** [xargs.o] Error 1
make[1]: Leaving directory `/home/paolo/findutils-4.1/xargs'
making all in locate
make[1]: Entering directory `/home/paolo/findutils-4.1/locate'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib -DLOCATE_DB=\"/usr/local/var/locatedb\" 
-g -O locate.c
locate.c: In function `main':
locate.c:362: warning: return type of `main' is not `int'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib -DLOCATE_DB=\"/usr/local/var/locatedb\" 
-g -O ../find/version.c
make[1]: *** No rule to make target `../lib/libfind.a', needed by `locate'. 
Stop.
make[1]: Leaving directory `/home/paolo/findutils-4.1/locate'
making all in doc
make[1]: Entering directory `/home/paolo/findutils-4.1/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/paolo/findutils-4.1/doc'
making all in testsuite
make[1]: Entering directory `/home/paolo/findutils-4.1/testsuite'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/paolo/findutils-4.1/testsuite'
linux:/home/paolo/findutils-4.1 # make install
for subdir in lib find xargs locate doc testsuite; do \
  echo making install in $subdir ; \
  (cd $subdir; make install); \
done
making install in lib
make[1]: Entering directory `/home/paolo/findutils-4.1/lib'
gcc -c -DHAVE_CONFIG_H -I.. -I.  -g -O nextelem.c
nextelem.c:35: error: parse error before "__extension__"
nextelem.c:35: error: `__len' undeclared here (not in a function)
nextelem.c:35: error: initializer element is not constant
nextelem.c:35: error: parse error before "if"
nextelem.c:35: error: conflicting types for `__retval'
nextelem.c:35: error: previous declaration of `__retval'
nextelem.c:35: warning: data definition has no type or storage class
nextelem.c:35: error: parse error before '}' token
make[1]: *** [nextelem.o] Error 1
make[1]: Leaving directory `/home/paolo/findutils-4.1/lib'
making install in find
make[1]: Entering directory `/home/paolo/findutils-4.1/find'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O fstype.c
fstype.c:33: error: parse error before "__extension__"
fstype.c:33: error: `__len' undeclared here (not in a function)
fstype.c:33: error: initializer element is not constant
fstype.c:33: error: parse error before "if"
fstype.c:33: error: conflicting types for `__retval'
fstype.c:33: error: previous declaration of `__retval'
fstype.c:33: warning: data definition has no type or storage class
fstype.c:33: error: parse error before '}' token
make[1]: *** [fstype.o] Error 1
make[1]: Leaving directory `/home/paolo/findutils-4.1/find'
making install in xargs
make[1]: Entering directory `/home/paolo/findutils-4.1/xargs'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib  -g -O xargs.c
xargs.c:64: error: parse error before "__extension__"
xargs.c:64: error: `__len' undeclared here (not in a function)
xargs.c:64: error: initializer element is not constant
xargs.c:64: error: parse error before "if"
xargs.c:64: error: conflicting types for `__retval'
xargs.c:64: error: previous declaration of `__retval'
xargs.c:64: warning: data definition has no type or storage class
xargs.c:64: error: parse error before '}' token
xargs.c: In function `main':
xargs.c:255: warning: return type of `main' is not `int'
make[1]: *** [xargs.o] Error 1
make[1]: Leaving directory `/home/paolo/findutils-4.1/xargs'
making install in locate
make[1]: Entering directory `/home/paolo/findutils-4.1/locate'
gcc -c -DHAVE_CONFIG_H -I.. -I../lib -DLOCATE_DB=\"/usr/local/var/locatedb\" 
-g -O ../find/version.c
make[1]: *** No rule to make target `../lib/libfind.a', needed by `locate'. 
Stop.
make[1]: Leaving directory `/home/paolo/findutils-4.1/locate'
making install in doc
make[1]: Entering directory `/home/paolo/findutils-4.1/doc'
../mkinstalldirs /usr/local/info
mkdir /usr/local/info
cd .; for file in *.info*; do \
  /usr/bin/install -c -m 644 $file /usr/local/info/$file; \
done
make[1]: Leaving directory `/home/paolo/findutils-4.1/doc'
making install in testsuite
make[1]: Entering directory `/home/paolo/findutils-4.1/testsuite'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/paolo/findutils-4.1/testsuite'

 fine... perché? (copio qui l'output di make e make install)
C'è una sfilza di errori che la metà basta:)
Il perché non lo so però..
Controlla bene nella documentazione se è richiesto qualche programma
libreria in particolare..
Ciao.
-- 
*** Linux user # 198661 --- ICQ 33500725 ***
***  Home  
http://web.tiscali.it/kailed
  ***
       ***  Powered by SuSeLinux  ***