SPECS: libexo.spec, Terminal.spec - it's pure C, builds fine witho...

Charles charles w os.pl
Pon, 21 Mar 2005, 07:57:30 CET


Dnia niedziela, 20 marca 2005 13:00, qboosh napisał:
> -BuildRequires: libstdc++-devel
>  BuildRequires: libxfcegui4-devel >= 4.2.0
>  BuildRequires: pkgconfig
>  BuildRequires: python
> @@ -134,6 +133,9 @@
>  All persons listed below can be reached at <cvs_login>@pld-linux.org
>  
>  $Log$
> +Revision 1.12  2005/03/20 11:59:59  qboosh
> +- it's pure C, builds fine without libstdc++-devel

# $Revision: 1.12 $, $Date: 2005/03/20 11:59:59 $
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.69214
+ umask 022
+ cd /home/users/builder/rpm/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/users/builder/rpm/BUILD
+ rm -rf exo-0.3.0
+ /usr/bin/bzip2 -dc /home/users/builder/rpm/SOURCES/exo-0.3.0.tar.bz2
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd exo-0.3.0
+ /bin/id -u
+ [ 500 = 0 ]
+ true .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.11279
+ umask 022
+ cd /home/users/builder/rpm/BUILD
+ cd exo-0.3.0
+ LANG=C
+ export LANG
+ unset DISPLAY
+ ./configure LDFLAGS= CFLAGS=-O2 -march=athlon CXXFLAGS=-O2 -march=athlon 
FFLAGS=-O2 -march=athlon CPPFLAGS= CC=athlon-pld-linux-gcc 
CXX=athlon-pld-linux-g++ --build=athlon-pld-linux --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc 
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib 
--libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib 
--mandir=/usr/share/man --infodir=/usr/share/info 
--x-libraries=/usr/X11R6/lib --with-html-dir=/usr/share/doc/gtk-doc/html
checking for a BSD-compatible install... /usr/bin/install -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 style of include used by make... GNU
checking for gcc... athlon-pld-linux-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 athlon-pld-linux-gcc accepts -g... yes
checking for athlon-pld-linux-gcc option to accept ANSI C... none needed
checking dependency style of athlon-pld-linux-gcc... gcc3
checking how to run the C preprocessor... athlon-pld-linux-gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
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 for gcc... (cached) athlon-pld-linux-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether athlon-pld-linux-gcc accepts -g... (cached) yes
checking for athlon-pld-linux-gcc option to accept ANSI C... (cached) none 
needed
checking dependency style of athlon-pld-linux-gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pld-linux-gnu
checking host system type... i686-pld-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by athlon-pld-linux-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/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... no
checking whether athlon-pld-linux-g++ accepts -g... no
checking dependency style of athlon-pld-linux-g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
error: Bad exit status from /var/tmp/rpm-tmp.11279 (%build)

A w config.log m.in.:
./configure: athlon-pld-linux-g++: not found
[...]
configure:6256: /lib/cpp  conftest.cc
cpp: installation problem, cannot exec `cc1plus': No such file or directory

W takim razie powinno być przynajmniej
BR: gcc-c++

BTW to samo dotyczy Terminal.spec

-- 
  Pozdrawiam
  Karol "Charles" Krenski




Więcej informacji o liście dyskusyjnej pld-devel-pl