[openmamba-users-it] errore con autospec...
gil
puntogil a libero.it
Mer 20 Feb 2008 17:46:59 CET
Il Wednesday 20 February 2008 17:21:55 Silvan Calarco ha scritto:
> Alle mercoledì 20 febbraio 2008, gil ha scritto:
> > ciao sempre lo stesso errore in uscita...
> > checking for libXext... no
> > configure: error: We need a working libXext to proceed. Since configure
> > can't find it itself, we stop here assuming that make wouldn't find
> > them either.
> > error: Bad exit status from /var/tmp/rpm-tmp.87203 (%build)
>
> Il configure avrà eseguito un test sul funzionamento di questa libreria
> (libXext) che è fallito. Probabilmente serve qualche altra libreria, per
> scoprirlo devi guardare il file config.log nella directory dove c'e'
> configure. Qui verso il fondo, ma non in fondo, troverai l'ultimo test che
> è stato fatto (compilazione di un programma di prova che usa libXext
> attraverso l'opzione di link -lXext) e l'errore dato dal compilatore.
> Il file non è molto leggibile per chi è alle prime armi, ma per diventare
> pacchettizzatori bisogna prendere un pò di dimestichezza con questi file e
> con il concetto di compilazione, di linking, di librerie statiche e
> dinamiche.
>
> ciao,
> Silvan
>
ciao
in allegeto c'è il configure.log che cosa dovrei ceercare?
se hai tempo di spiegarmelo perchè non mi é molto chiaro...
grazie
gil
> > RPM build errors:
> > Bad exit status from /var/tmp/rpm-tmp.87203 (%build)
> > ERROR: rpmbuild è terminato con il codice d'errore `1
> >
> > nel BuildRequires: libXext-devel c'é
> > nei repository anche... a meno che non abbia come dici tu un altro
> > nome...
> >
> >
> > gil ~]$ autospec -u tastymenu -a5
> > aggiornamento del pacchetto tastymenu alla versione [?]...
> > [step 5] -- creazione dei pacchetti rpm e srpm
> > * trovato build requirement: `gcc-c++' (gcc-c++-4.2.2-1mamba.i586)
> > * trovato build requirement: `imake' (imake-1.0.2-2qilnx.i586)
> > * trovato build requirement: `kdelibs-devel'
> > (kdelibs-devel-3.5.8-5mamba.i586)
> > * trovato build requirement: `libXext-devel'
> > (libXext-devel-1.0.3-1mamba.i586)
> > * trovato build requirement: `libXext' (libXext-1.0.3-1mamba.i586)
> > * trovato build requirement: `libXt-devel'
> > (libXt-devel-1.0.5-1mamba.i586) * trovato build requirement:
> > `libjpeg-devel'
> > (libjpeg-devel-6b-3qilnx.i586) * trovato build requirement:
> > `libgal-devel' (libgal-devel-2.4.3-2qilnx.i586) * trovato build
> > requirement: `libgal' (libgal-2.4.3-2qilnx.i586)
> > * trovato build requirement: `xorg-cf-files'
> > (xorg-cf-files-1.0.2-2mamba.i586)
> > esecuzione dei test sullo specfile...
> > creazione dei pacchetti rpm e srpm...
> > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.87203
> > + umask 022
> > + cd /usr/src/RPM/BUILD
> > + cd /usr/src/RPM/BUILD
> > + rm -rf tastymenu-1.0.6
> > + /bin/bzip2 -dc /usr/src/RPM/SOURCES/tastymenu-1.0.6.tar.bz2
> > + tar -xf -
> > + STATUS=0
> > + '[' 0 -ne 0 ']'
> > + cd tastymenu-1.0.6
> > + exit 0
> > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.87203
> > + umask 022
> > + cd /usr/src/RPM/BUILD
> > + cd tastymenu-1.0.6
> > + CFLAGS='-O2 -fomit-frame-pointer -pipe -march=athlon'
> > + export CFLAGS
> > + CXXFLAGS='-O2 -fomit-frame-pointer -pipe -march=athlon'
> > + export CXXFLAGS
> > + FFLAGS='-O2 -fomit-frame-pointer -pipe -march=athlon'
> > + export FFLAGS
> > + ./configure --host=i586-openmamba-linux-gnu
> > --build=i586-openmamba-linux-gnu --target=i586-openmamba-linux-gnu
> > --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
> > --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
> > --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
> > --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
> > --infodir=/usr/share/info checking build system type...
> > i586-openmamba-linux-gnu
> > checking host system type... i586-openmamba-linux-gnu
> > checking target system type... i586-openmamba-linux-gnu
> > checking for a BSD-compatible install... /bin/install -c
> > checking for -p flag to install... yes
> > 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 kde-config... /opt/kde3/bin/kde-config
> > checking where to install... /usr (as requested)
> > checking for style of include used by make... GNU
> > checking for i586-openmamba-linux-gnu-gcc... i586-openmamba-linux-gnu-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 i586-openmamba-linux-gnu-gcc accepts -g... yes
> > checking for i586-openmamba-linux-gnu-gcc option to accept ISO C89...
> > none needed
> > checking dependency style of i586-openmamba-linux-gnu-gcc... gcc3
> > checking how to run the C preprocessor... i586-openmamba-linux-gnu-gcc -E
> > checking for i586-openmamba-linux-gnu-g++... i586-openmamba-linux-gnu-g++
> > checking whether we are using the GNU C++ compiler... yes
> > checking whether i586-openmamba-linux-gnu-g++ accepts -g... yes
> > checking dependency style of i586-openmamba-linux-gnu-g++... gcc3
> > checking whether i586-openmamba-linux-gnu-gcc is blacklisted... no
> > checking whether i586-openmamba-linux-gnu-g++
> > supports -Wmissing-format-attribute... yes
> > checking whether i586-openmamba-linux-gnu-gcc
> > supports -Wmissing-format-attribute... yes
> > checking whether i586-openmamba-linux-gnu-g++ supports -Wundef... yes
> > checking whether i586-openmamba-linux-gnu-g++ supports -Wno-long-long...
> > yes checking whether i586-openmamba-linux-gnu-g++
> > supports -Wno-non-virtual-dtor... yes
> > checking whether i586-openmamba-linux-gnu-g++ supports -fno-exceptions...
> > yes checking whether i586-openmamba-linux-gnu-g++ supports
> > -fno-check-new... yes checking whether i586-openmamba-linux-gnu-g++
> > supports -fno-common... yes checking whether i586-openmamba-linux-gnu-g++
> > supports -fexceptions... yes checking how to run the C++ preprocessor...
> > i586-openmamba-linux-gnu-g++ -E checking whether
> > i586-openmamba-linux-gnu-g++ supports -O0... yes
> > not using lib directory suffix
> > checking for a sed that does not truncate output... /bin/sed
> > checking for grep that handles long lines and -e... /bin/grep
> > checking for egrep... /bin/grep -E
> > checking for ld used by i586-openmamba-linux-gnu-gcc... /usr/bin/ld
> > checking if the linker (/usr/bin/ld) is GNU ld... yes
> > checking for /usr/bin/ld option to reload object files... -r
> > checking for BSD-compatible nm... /usr/bin/i586-openmamba-linux-gnu-nm -B
> > checking whether ln -s works... yes
> > checking how to recognise dependent libraries... pass_all
> > 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 how to run the C++ preprocessor... i586-openmamba-linux-gnu-g++
> > -E checking for i586-openmamba-linux-gnu-g77... no
> > checking for i586-openmamba-linux-gnu-xlf... no
> > checking for i586-openmamba-linux-gnu-f77... no
> > checking for i586-openmamba-linux-gnu-frt... no
> > checking for i586-openmamba-linux-gnu-pgf77... no
> > checking for i586-openmamba-linux-gnu-cf77... no
> > checking for i586-openmamba-linux-gnu-fort77... no
> > checking for i586-openmamba-linux-gnu-fl32... no
> > checking for i586-openmamba-linux-gnu-af77... no
> > checking for i586-openmamba-linux-gnu-xlf90... no
> > checking for i586-openmamba-linux-gnu-f90... no
> > checking for i586-openmamba-linux-gnu-pgf90... no
> > checking for i586-openmamba-linux-gnu-pghpf... no
> > checking for i586-openmamba-linux-gnu-epcf90... no
> > checking for i586-openmamba-linux-gnu-gfortran...
> > i586-openmamba-linux-gnu-gfortran
> > checking whether we are using the GNU Fortran 77 compiler... yes
> > checking whether i586-openmamba-linux-gnu-gfortran accepts -g... yes
> > checking the maximum length of command line arguments... 32768
> > checking command to parse /usr/bin/i586-openmamba-linux-gnu-nm -B output
> > from i586-openmamba-linux-gnu-gcc object... ok
> > checking for objdir... .libs
> > checking for i586-openmamba-linux-gnu-ar... i586-openmamba-linux-gnu-ar
> > checking for i586-openmamba-linux-gnu-ranlib...
> > i586-openmamba-linux-gnu-ranlib
> > checking for i586-openmamba-linux-gnu-strip...
> > i586-openmamba-linux-gnu-strip checking if i586-openmamba-linux-gnu-gcc
> > static flag works... yes checking if i586-openmamba-linux-gnu-gcc
> > supports -fno-rtti -fno-exceptions... no
> > checking for i586-openmamba-linux-gnu-gcc option to produce PIC... -fPIC
> > checking if i586-openmamba-linux-gnu-gcc PIC flag -fPIC works... yes
> > checking if i586-openmamba-linux-gnu-gcc supports -c -o file.o... yes
> > checking whether the i586-openmamba-linux-gnu-gcc linker (/usr/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 for shl_load... no
> > checking for shl_load in -ldld... no
> > checking for dlopen... no
> > checking for dlopen in -ldl... yes
> > checking whether a program can dlopen itself... yes
> > checking whether a statically linked program can dlopen itself... yes
> > checking if libtool supports shared libraries... yes
> > checking whether to build shared libraries... yes
> > checking whether to build static libraries... no
> > configure: creating libtool
> > appending configuration tag "CXX" to libtool
> > checking for ld used by i586-openmamba-linux-gnu-g++... /usr/bin/ld
> > checking if the linker (/usr/bin/ld) is GNU ld... yes
> > checking whether the i586-openmamba-linux-gnu-g++ linker (/usr/bin/ld)
> > supports shared libraries... yes
> > checking for i586-openmamba-linux-gnu-g++ option to produce PIC... -fPIC
> > checking if i586-openmamba-linux-gnu-g++ PIC flag -fPIC works... yes
> > checking if i586-openmamba-linux-gnu-g++ supports -c -o file.o... yes
> > checking whether the i586-openmamba-linux-gnu-g++ linker (/usr/bin/ld)
> > supports shared libraries... yes
> > 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 for shl_load... (cached) no
> > checking for shl_load in -ldld... (cached) no
> > checking for dlopen... (cached) no
> > checking for dlopen in -ldl... (cached) yes
> > checking whether a program can dlopen itself... (cached) yes
> > checking whether a statically linked program can dlopen itself...
> > (cached) yes appending configuration tag "F77" to libtool
> > checking if libtool supports shared libraries... yes
> > checking whether to build shared libraries... yes
> > checking whether to build static libraries... no
> > checking for i586-openmamba-linux-gnu-gfortran option to produce PIC...
> > -fPIC checking if i586-openmamba-linux-gnu-gfortran PIC flag -fPIC
> > works... yes checking if i586-openmamba-linux-gnu-gfortran supports -c -o
> > file.o... yes checking whether the i586-openmamba-linux-gnu-gfortran
> > linker (/usr/bin/ld) supports shared libraries... yes
> > 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 for msgfmt... /usr/bin/msgfmt
> > checking for gmsgfmt... /usr/bin/msgfmt
> > checking for xgettext... /usr/bin/xgettext
> > checking if C++ programs can be compiled... yes
> > checking for strlcat... yes
> > checking if strlcat needs custom prototype... no
> > checking for strlcpy... yes
> > checking if strlcpy needs custom prototype... no
> > checking for main in -lutil... yes
> > checking for main in -lcompat... no
> > checking for crypt in -lcrypt... yes
> > checking for socklen_t... yes
> > checking for dnet_ntoa in -ldnet... no
> > checking for dnet_ntoa in -ldnet_stub... no
> > checking for inet_ntoa... yes
> > checking for connect... yes
> > checking for remove... yes
> > checking for shmat... yes
> > checking for sys/types.h... (cached) yes
> > checking for stdint.h... (cached) yes
> > checking sys/bitypes.h usability... yes
> > checking sys/bitypes.h presence... yes
> > checking for sys/bitypes.h... yes
> > checking for poll in -lpoll... no
> > checking Carbon/Carbon.h usability... no
> > checking Carbon/Carbon.h presence... no
> > checking for Carbon/Carbon.h... no
> > checking CoreAudio/CoreAudio.h usability... no
> > checking CoreAudio/CoreAudio.h presence... no
> > checking for CoreAudio/CoreAudio.h... no
> > checking if res_init needs -lresolv... yes
> > checking for res_init... yes
> > checking if res_init needs custom prototype... no
> > checking for killpg in -lucb... no
> > checking for int... yes
> > checking size of int... 4
> > checking for short... yes
> > checking size of short... 2
> > checking for long... yes
> > checking size of long... 4
> > checking for char *... yes
> > checking size of char *... 4
> > checking for dlopen in -ldl... (cached) yes
> > checking for shl_unload in -ldld... no
> > checking for size_t... yes
> > checking size of size_t... 4
> > checking for unsigned long... yes
> > checking size of unsigned long... 4
> > checking sizeof size_t == sizeof unsigned long... yes
> > checking for PIE support... yes
> > checking if enabling -pie/fpie support... yes
> > checking crt_externs.h usability... no
> > checking crt_externs.h presence... no
> > checking for crt_externs.h... no
> > checking for _NSGetEnviron... no
> > checking for vsnprintf... yes
> > checking for snprintf... yes
> > checking for X... libraries /usr/lib, headers .
> > checking for IceConnectionNumber in -lICE... no
> > checking for libXext... no
> > configure: error: We need a working libXext to proceed. Since configure
> > can't find it itself, we stop here assuming that make wouldn't find
> > them either.
> > error: Bad exit status from /var/tmp/rpm-tmp.87203 (%build)
> >
> >
> > RPM build errors:
> > Bad exit status from /var/tmp/rpm-tmp.87203 (%build)
> > ERROR: rpmbuild è terminato con il codice d'errore `1'
Maggiori informazioni sulla lista
openmamba-users-it