Procopio ha scritto:lo stesso procedimento lo ripeto con gli altri pacchetti, quindi da /home/matteo/xfce (che è il percorso in cui makepkg mi crea i pacchetti), dò un installpkg e quindi un remove pkg e dovrei essere a posto, giusto? ah! come buildtag non sapevo cosa mettere! (non so bene cos è:))
Si una volta fatto questo sei a posto.
Build e tag sono due indicatori (o meglio, variabili) che indicano quante volte è stato pacchettizzato quel determinato pacchetto con quella versione (build) e l'autore del pacchetto (o nel caso di Pat la versione di Slackware per cui una patch di sicurezza è stata compilata) (tag).
Se il pacchetto che hai creato è errato, per mantenere un certo ordine ti basterà incrementare la build di uno. Ogni nuovo pacchetto parte sempre da uno e ad ogni nuova versione la build si azzera. Il tag invece rimane invariato. Pat e SBo usano il format "_tag", mentre Slacky.eu usa solo "sl".
Nel tuo caso, comunque, non ne hai bisogno, visto che sono pacchetti temporanei.
adesso un paio di puntualizzazioni: quando io avevo dato il ./configure non ho messo il prefix, quindi dovrei aver usato percorsi standard, giusto? (cioè invece di /usr/etc direttamente /etc), eppure se avdo a vedere all'interno delle directory tmp che ho creato per fare il filesistem fittizio con DESTDIR, ogni percorso parte da /usr come se io al prefix avessi messo /usr!!! è normale perchè comunque installa tutto in /usr/....?
Se non passi niente al configure, quest'ultimo non userà il file system hierarchy di Slackware, ma i suoi valori di default.
Il prefix nella maggiorparte dei casi è /usr/local. Di conseguenza tutte le directory eccetto quella descritta da localstatedir vengono piazzate in /usr/local.
La directory di sysconfdir, nelle opzioni di default, non sarà /etc, ma /usr/local/etc.
seconda domanda, per un paio di files non sono riuscito a eseguire l'install DESTDIR
Codice: Seleziona tutto
root@darkstar:/opt/xfce4# ls xfce4-panel-4.8.0
AUTHORS INSTALL README common config.log depcomp install-sh libxfce4panel mkinstalldirs plugins
COPYING Makefile.am THANKS compile config.sub docs intltool-extract.in ltmain.sh panel po
COPYING.LIB Makefile.in TODO config.guess configure gtk-doc.make intltool-merge.in migrate panel-desktop-handler.desktop.in tmp
ChangeLog NEWS aclocal.m4 config.h.in configure.ac icons intltool-update.in missing panel-preferences.desktop.in wrapper
root@darkstar:/opt/xfce4# cd xfce4-panel-4.8.0
root@darkstar:/opt/xfce4/xfce4-panel-4.8.0# ls tmp
root@darkstar:/opt/xfce4/xfce4-panel-4.8.0# make install DESTDIR=$(pwd)/tmp
make: *** No rule to make target `install'. Stop.
Mi sembra di vedere che i sorgenti non siano stati configurati.
Manca il Makefile. Di conseguenza, credo sia ovvio che il comando make restituisca quell'output.
anche questo che ho provato a riconfigurare, ma niente
Codice: Seleziona tutto
root@darkstar:/opt/xfce4/xfce4-appfinder-4.8.0# ls
AUTHORS ChangeLog Makefile.am NEWS TODO compile config.h.in config.sub configure.in depcomp intltool-extract.in intltool-update.in missing po xfce4-appfinder.spec
COPYING INSTALL Makefile.in README aclocal.m4 config.guess config.log configure data install-sh intltool-merge.in ltmain.sh mkinstalldirs src xfce4-appfinder.spec.in
root@darkstar:/opt/xfce4/xfce4-appfinder-4.8.0# ./configure
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
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 fgrep... /bin/grep -F
checking how to print strings... printf
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 whether NLS is requested... yes
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.0
checking for XML::Parser... ok
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i486-slackware-linux/bin/ld) supports shared 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... no
checking for ANSI C header files... (cached) 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... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for catalogs to be installed... am ar ast be bn_IN bn ca cs da de dz el en_GB eo es_MX es et eu fa fi fr gl gu he hr hu hy id it ja ka kk ko ku lt lv mk mr nb nl pa pl pt_BR pt ro ru si sk sq sv tr ug uk ur_PK ur zh_CN zh_TW
checking for bind_textdomain_codeset... (cached) yes
checking for locales directory... ${datarootdir}/locale
checking for additional xgettext flags... --keyword=Q_ --from-code=UTF-8
checking for pkg-config... /usr/bin/pkg-config
checking for pkg-config >= 0.9.0... 0.25
checking for glib-2.0 >= 2.16.0... 2.28.6
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GLIB_LIBS... -lglib-2.0
checking for gthread-2.0 >= 2.16.0... 2.28.6
checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking GTHREAD_LIBS... -pthread -lgthread-2.0 -lrt -lglib-2.0
checking for gtk+-2.0 >= 2.14.0... 2.24.4
checking GTK_CFLAGS... -pthread -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/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14
checking GTK_LIBS... -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
checking for libxfce4util-1.0 >= 4.8.0... 4.8.1
checking LIBXFCE4UTIL_CFLAGS... -I/usr/local/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
checking LIBXFCE4UTIL_LIBS... -L/usr/local/lib -lxfce4util -lglib-2.0
checking for libxfce4ui-1 >= 4.8.0... 4.8.0
checking LIBXFCE4UI_CFLAGS... -pthread -I/usr/local/include/xfce4/libxfce4ui-1 -I/usr/local/include/xfce4 -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/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14
checking LIBXFCE4UI_LIBS... -pthread -L/usr/local/lib -lxfce4ui-1 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
checking for garcon-1 >= 0.1.2... not found
*** The required package garcon-1 was not found on your system.
*** Please install garcon-1 (atleast version 0.1.2) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
root@darkstar:/opt/xfce4/xfce4-appfinder-4.8.0# mkdir -p tmp
root@darkstar:/opt/xfce4/xfce4-appfinder-4.8.0# make install DESTDIR=$(pwd)/tmp
make: *** No rule to make target `install'. Stop.
root@darkstar:/opt/xfce4/xfce4-appfinder-4.8.0# ls
AUTHORS INSTALL NEWS aclocal.m4 config.h.in configure depcomp intltool-merge.in missing src xfce4-appfinder.spec.in
COPYING Makefile.am README compile config.log configure.in install-sh intltool-update.in mkinstalldirs tmp
ChangeLog Makefile.in TODO config.guess config.sub data intltool-extract.in ltmain.sh po xfce4-appfinder.spec
root@darkstar:/opt/xfce4/xfce4-appfinder-4.8.0# make install-sh DESTDIR=$(pwd)/tmp
make: Nothing to be done for `install-sh'.
root@darkstar:/opt/xfce4/xfce4-appfinder-4.8.0# make install-sh DESTDIR=$(pwd)/tmp
ovviamente se non li posso installare non posso creare il pacchetto e quindi rimuoverli... ma la prima volta che ho installato tutto con "./configure && make && make install" mi sembra di non aver riscontrato problemi! o non è possibile?
[/quote]L'output del configure è chiarissimo.
Manca garcon, che è una dipendenza.
Quando hai installato tutto senza pacchettizzare, semplicemente la dipendenza era stata installata.
Ora invece è stata rimossa. Se hai ancora il pacchetto di garcon, installalo e riconfigura.
install-sh non c'entra niente con make install.
make install non richiama install-sh.
È solo un parametro descritto nel Makefile che richiama, a sua volta, /usr/bin/install.