Zenwalk problema installazione xfburn da sorgenti...!

Forum dedicato ai Porting ufficiali e non di Slackware, vedi Slack/390, ARMedslack, Slamd64, Slackintosh, Ocsid, Sloox, Zenwalk, How-Tux, Slax etc etc

Moderatore: Staff

Regole del forum
1) Specificare nome e versione del porting.
2) Specificare se discussione/suggerimento o richiesta d'aiuto.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Giovy1988
Linux 0.x
Linux 0.x
Messaggi: 51
Iscritto il: dom 5 mar 2006, 22:49
Contatta:

Zenwalk problema installazione xfburn da sorgenti...!

Messaggio da Giovy1988 »

ho provato ada installare xfburn(prelevato come sorgente dal repo svn...) da sorgenti dando i comandi:
./configure
make
make install
come faccio a vedere se l'installazione è riuscita considerato il fatto che non trovo l'icona nel menù di xfce? e non conosco il comando per avviarlo....?

Avatar utente
dapuzz
Linux 4.x
Linux 4.x
Messaggi: 1137
Iscritto il: mar 16 mag 2006, 11:09
Contatta:

Messaggio da dapuzz »

in linea di massima si guarda quello che ti dice il configure, se è andato tutto bene allora si da make, se è andato tutto bene si da make install
Se è andato tutto bene avrai un nuovo file binario di nome xfburn. Se non sai dove l'ha installato guarda un po' nei percorsi di default tipo /usr/local/bin (che comunque dovrebbe essere nel tuo path). Quindi basta che da console scrivi xfburn e vedi che esce scritto, e magari se da qualche errore lo incolli qui

Giovy1988
Linux 0.x
Linux 0.x
Messaggi: 51
Iscritto il: dom 5 mar 2006, 22:49
Contatta:

Messaggio da Giovy1988 »

bash: ./congigure: No such file or directory
root[xfburn-0.0.3svn.orig]# ./configure
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /bin/ginstall -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... - r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/i486-slackware-linux/bin/ld) supports shar ed libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shar ed libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i486-slackware-linux/bin/ld) supports shar ed libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for intltool >= 0.31... 0.34.2 found
checking for perl... /usr/bin/perl
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for cdrecord... yes
checking for readcd... yes
checking for cdrdao... yes
checking for mkisofs... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... ca de el eu fr he hu ja pl ru uk
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${prefix}/share/locale
checking for additional xgettext flags... --keyword=Q_
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config >= 0.9.0... 0.20
checking for gtk+-2.0 >= 2.6.0... 2.8.19
checking GTK_CFLAGS... -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/ include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gli b-2.0 -I/usr/lib/glib-2.0/include
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for libxfcegui4-1.0 >= 4.2.0... 4.3.90.2svn-22290
checking LIBXFCEGUI4_CFLAGS... -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/us r/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/li b/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0
checking LIBXFCEGUI4_LIBS... -L/usr/X11/lib -lxfcegui4 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcai ro -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
checking for exo-0.3 >= 0.3.0... 0.3.1.7svn-r22290
checking EXO_CFLAGS... -I/usr/include/exo-0.3 -I/usr/include/gtk-2.0 -I/usr/incl ude/xfce4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking EXO_LIBS... -lexo-0.3 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodu le-2.0 -ldl -lglib-2.0
checking whether to build with debugging support... no
checking whether to build with profiling support... no
checking whether to compile with coverage profiling instrumentation... no
checking whether to disable assertions... no
checking whether to build final version... yes
checking whether /usr/i486-slackware-linux/bin/ld accepts -O1... yes
svn: '.' is not a working copy
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pixmaps/Makefile
config.status: creating po/Makefile.in
config.status: creating xfburn/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands


questo è ciò che mi esce fuori dal ./configure non capisco cosa siano alcuni no di fine riga...

Giovy1988
Linux 0.x
Linux 0.x
Messaggi: 51
Iscritto il: dom 5 mar 2006, 22:49
Contatta:

Messaggio da Giovy1988 »

comunque ho risolto il problema usando la testa e facendo sia make che make install da root...
qualcuno mi può gentilmente spiegare come controllare l'output dei comandi ./configure make make install e a che serve esattamente checkinstall?

Avatar utente
dapuzz
Linux 4.x
Linux 4.x
Messaggi: 1137
Iscritto il: mar 16 mag 2006, 11:09
Contatta:

Messaggio da dapuzz »

Tutti e 3 quando non vanno a buon fine terminano con un errore. Il configure controlla il tuo sistema se è in grado di compilare, se ha le librerie necessarie, che versione di queste librerie ha e crea il Makefile, che sarebbero le istruzioni per il make
Il make compila, in genere non è necessario farlo da root, e scriverà righe e righe di debug, del quale puoi fregartene altamente.
Quando finirà devi controllare le ultime righe. Se c'è scritto error ad esempio "make: *** [all-recursive] Error 1" allora qualcosa è andato storto, altrimenti dai make install (da root solo se vuoi istallare). Il make install copia i file dalla directory corrente a quella specificata durante il configure. Anche il make install scriverà parecchie cose, devi semplicemente vedere se alla fine c'è scritto qualche Error (ad esempio se non sei root ti dirà qualche permission denied). Se non c'è nessun error sei a cavallo e lanci l'eseguibile che hai installato.

Avatar utente
gioco
Packager
Packager
Messaggi: 900
Iscritto il: dom 19 giu 2005, 0:00
Slackware: last stable
Località: in the court of the Wesnoth king
Contatta:

Messaggio da gioco »

Codice: Seleziona tutto

./configure && make && make install
Ogni comando viene eseguito solo sei il precedente è terminato con successo (0).

Avatar utente
l1q1d
Master
Master
Messaggi: 1862
Iscritto il: lun 21 feb 2005, 0:00
Località: In uno spazio n-dimesionale
Contatta:

Messaggio da l1q1d »

oltre quanto detto sopra invece di fare make install si può usare checkinstall che crea un pacchetto e lo installa, in questo modo potrai disinstallare il programma compilato usando removepkg a vere un sistema più in ordine. Alcune volte checkinstall non funziona a dovere però. La cosa migliore per avere un pacchetto a regola d'arte e' usare lo slackbuild.

Giovy1988
Linux 0.x
Linux 0.x
Messaggi: 51
Iscritto il: dom 5 mar 2006, 22:49
Contatta:

Messaggio da Giovy1988 »

grazie ragazzi tutto chiaro...

Rispondi