Newsgroup: it.comp.os.linux.iniziare
Titolo: installazione applicazioni

so che sono io che sbaglio ma perchè ogni volta che parto:
./configure OK
make KO
c'è sempre un errore con tutto (2 con wineX)
visto che ho un mandrake 8.0 e solo da poco la sto usando seriamente
cosa devo fare per mettere a posto il sistema per poter lavorare bene?
installare i pacchetti di sviluppo potrebbe aiutarmi
non penso sia tutto un problema di aggiornamenti perchè è uno scherzo che
a anche con applicazioni non recenti
grazie
Ottolix



Che errore ti da?
Il fatto che tu non abbia installato i pacchetti di sviluppo potrebbe
voler dire che tu non hai il compilatore(gcc),quindi il make è logico che
fallisca!
::nemok::


Di queste cose dovrebbe accorgersi il configure, cosi' come delle librerie
mancanti, headers non presenti, dipendenze non soddisfatte. Se non lo fa
significa che o il configure e' stato generato male oppure l'errore e' piu'
subdolo. Direi che la cosa migliore, come suggerivi, e' quella di riportare
l'errore esatto alla fine dell'ouput di make.
-- 
Enrico Bodo  -   PostDoc Fellow      
University of Rome "La Sapienza" 
Department of Chemistry         

 installare i pacchetti di sviluppo potrebbe aiutarmi
Tra le varie versioni che usi dei sorgenti dei programmi, e il
compilatore che usi per compilarle, ci potrebbero essere delle
incompatibilita', innanzi tutto potresti provare ad aggiornare gcc e le
varie glib (non ricordo che versione e' inclusa in mandrake 8).
In ogni caso i problemi a compilare possono essere di genere piu' svariato,
sarebbe meglio se tu postassi qui un generico errore, cosi' magari capiamo
di che si tratta
Bye
 Salvo B
-- 
+++ Salvo B In The Place To Be +++
[*] Writing from virtua -*- OpenBSD 2.9
[*]  5:59AM  up 13:06, 1 user, load averages: 0.09, 0.13, 0.08
[*] mailto: salvob (at) emuita (dot) it

Nell'articolo <20020416.223702...@localhost.localdomain>,
"Ottolix" <giul...@localhost.localdomain> ha scritto:

allora ... ho cercato di aggiornare libc con mandrake update ma
(nonostante l'aumento esponenziale di pacchetti per soddisfare le
dipendenze e 2 ore di download) termina con un errore di dipendenze :-(
poi ho provato a compilare n-map e mi dava un errore ripetuto su un
pacchetto LIBPCAP che mi sono accorto di non avere, scarcato e installato
la lista degli errori si è ridotta e adesso se faccio ./configure non ho
nessun problema (ma questo anche prima)
ma il make ......
[root@localhost nmap-2.53]# make
Compiling libpcap
make[1]: Entering directory
`/tmp/setup/nmap-2.53/libpcap-possiblymodified' make[1]: Nothing to be
done for `all'. make[1]: Leaving directory
`/tmp/setup/nmap-2.53/libpcap-possiblymodified' gcc -g -O2 -Wall 
-Ilibpcap-possiblymodified  -DHAVE_CONFIG_H -DNMAP_VERSION=\"2.53\"
-DNMAP_NAME=\"nmap\" -DNMAP_URL=\"
www.insecure.org/nmap/\
"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -I. -Ilibpcap-possiblymodified -c
-o nmap.o nmap.c
In file included from nmap.h:257,
                 from nmap.c:1:
tcpip.h:358: conflicting types for `inet_aton'
/usr/include/arpa/inet.h:74: previous declaration of `inet_aton' make: ***
[nmap.o] Error 1
nmap è il programma che voglio, provo ancora con gli aggiornamenti e trovo
nmap, ma reta il fatto che non riuscivo a metterlo partendo dai sorgenti

 make KO
Ho provato anche con ndln (che non trovo in rpm) ma questo è l'output di
make
[root@localhost Nidl]# make
make  all-recursive
make[1]: Entering directory `/tmp/setup/Nidl'
Making all in intl
make[2]: Entering directory `/tmp/setup/Nidl/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/setup/Nidl/intl'
Making all in po
make[2]: Entering directory `/tmp/setup/Nidl/po'
make[2]: Leaving directory `/tmp/setup/Nidl/po'
Making all in macros
make[2]: Entering directory `/tmp/setup/Nidl/macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/setup/Nidl/macros'
Making all in src
make[2]: Entering directory `/tmp/setup/Nidl/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c main.c
In file included from main.c:28:
nidl.h:170:22: warning: no newline at end of file
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c support.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c interface.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c callbacks.c
In file included from callbacks.c:29:
nidl.h:170:22: warning: no newline at end of file
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c nidl.c
In file included from nidl.c:30:
nidl.h:170:22: warning: no newline at end of file
nidl.c: In function `nidl_init':
nidl.c:68: warning: implicit declaration of function `mkdir'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c text.c
In file included from text.c:28:
nidl.h:170:22: warning: no newline at end of file
text.c:811:1: warning: no newline at end of file
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c loadlist.c
In file included from loadlist.c:29:
nidl.h:170:22: warning: no newline at end of file
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c list.c
list.c: In function `list_append':
list.c:51: warning: implicit declaration of function `strcpy'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c nutil.c
In file included from nutil.c:30:
nidl.h:170:22: warning: no newline at end of file
nutil.c:432:1: warning: no newline at end of file
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c insertobj.c
In file included from insertobj.c:28:
nidl.h:170:22: warning: no newline at end of file
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c help.c
In file included from help.c:28:
nidl.h:170:22: warning: no newline at end of file
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c insertproc.c
In file included from insertproc.c:28:
nidl.h:170:22: warning: no newline at end of file
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl      -I/usr/include -DNEED_GNOMESUPPO
RT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/inclu
de -I/usr/include/gtk-1.2 -I/usr/X11R6/include  -I/usr/include/gtk-1.2 -I/usr/in
clude/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -g -O2 -Wall -Wunus
ed  -c parsing.c
In file included from parsing.c:29:
nidl.h:170:22: warning: no newline at end of file
gcc  -g -O2 -Wall -Wunused   -o nidl  main.o support.o interface.o callbacks.o n
idl.o text.o loadlist.o list.o nutil.o insertobj.o help.o insertproc.o parsing.o
 -rdynamic -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imli
b -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -les
d -laudiofile -lm -ldb1 -lglib -ldl
/usr/bin/ld: cannot find -ldb1
collect2: ld returned 1 exit status
make[2]: *** [nidl] Error 1
make[2]: Leaving directory `/tmp/setup/Nidl/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/setup/Nidl'
make: *** [all-recursive-am] Error 2