[gnucash-de] SRC-RPM installieren

scope5 scope5 at uni.de
Sam Mar 12 10:37:18 EST 2005


Hallo Christian,
habe mittels deiner Anleitung 
http://linuxwiki.de/GnuCash/RpmInstallieren versucht auf meinem Suse 9.1 
System GnuCash 10.8.10 zu installieren.
Leider scheitere ich schon anscheinend an den Abhängigkeiten (Abschnitt 
3.2).
Ich weiss einfach nicht welches Paket ich vergessen habe zu installieren.

Gruß,
Michael

giga:/usr/src/packages # rpmbuild -ba ./SPECS/gnucash.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.34522
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf gnucash-1.8.7
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/gnucash-1.8.7.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/g-wrap-1.3.4.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/gnucash-docs-1.8.3.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/Guppi-0.40.3.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gnucash-1.8.7
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (gnucash-1.8.7.dif):'
Patch #0 (gnucash-1.8.7.dif):
+ patch -p0 -s
+ cd ../g-wrap-1.3.4
+ echo 'Patch #1 (g-wrap-1.3.4.dif):'
Patch #1 (g-wrap-1.3.4.dif):
+ patch -p0 -s
+ cd ../Guppi-0.40.3
+ echo 'Patch #2 (guppi-font.dif):'
Patch #2 (guppi-font.dif):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8739
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/gnucash-1.8.7-build
++ dirname /var/tmp/gnucash-1.8.7-build
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/gnucash-1.8.7-build
+ cd gnucash-1.8.7
+ cd ../Guppi-0.40.3
+ AUTOMAKE_DIR=/usr/share/automake
+ '[' -d /usr/share/automake ']'
+ AUTOMAKE_DIR=/usr/share/automake*
+ '[' -d /usr/share/automake-1.8 ']'
+ test -f ./config.sub -a '!' ./config.sub -ef 
/usr/share/automake-1.8/config.sub
+ '[' ./config.sub -nt /usr/share/automake-1.8/config.sub ']'
+ cp -f /usr/share/automake-1.8/config.sub ./config.sub
+ test -d . -a '!' -f ./depcomp -a -f /usr/share/automake-1.8/depcomp
+ test -f ./missing -a '!' ./missing -ef /usr/share/automake-1.8/missing
+ cp -f /usr/share/automake-1.8/missing ./missing
+ test -f ./config.guess -a '!' ./config.guess -ef 
/usr/share/automake-1.8/config.guess
+ '[' ./config.guess -nt /usr/share/automake-1.8/config.guess ']'
+ cp -f /usr/share/automake-1.8/config.guess ./config.guess
+ test -d . -a '!' -f ./depcomp -a -f /usr/share/automake-1.8/depcomp
+ test -f ./missing -a '!' ./missing -ef /usr/share/automake-1.8/missing
+ cp -f /usr/share/automake-1.8/missing ./missing
+ test -f ./ltconfig
+ test -f ./ltmain.sh
+ sed 's/linux-gnu\([^*][^*]*\)\*/linux*\1*/g; s/linux-gnu/linux/g; 
s,/lib\>,/lib,g; s,/lib\([$-]\),/lib\1,g' ./ltmain.sh
+ mv -f ./ltmain.sh-6196 ./ltmain.sh
+ chmod +x ./ltmain.sh
+ libtoolize --copy --force
You should update your `aclocal.m4' by running aclocal.
+ xml-i18n-toolize --copy --force
You should update your `aclocal.m4' by running aclocal.
no need for patching file `Makefile.in.in'
+ aclocal -I macros
/usr/share/aclocal/openhbci.m4:8: warning: underquoted definition of 
AM_PATH_OPENHBCI
  run info '(automake)Extending aclocal'
  or see 
http://sources.redhat.com/automake/automake.html#Extending%20aclocal
/usr/share/aclocal/libchipcard.m4:4: warning: underquoted definition of 
AC_LIBCHIPCARD
/usr/share/aclocal/avifile.m4:21: warning: underquoted definition of 
AM_PATH_AVIFILE
/usr/share/aclocal/aqhbci.m4:5: warning: underquoted definition of AC_AQHBCI
/opt/gnome/share/aclocal/libIDL.m4:6: warning: underquoted definition of 
AM_PATH_LIBIDL
/opt/gnome/share/aclocal/ORBit.m4:4: warning: underquoted definition of 
AM_PATH_ORBIT
configure.in:112: warning: AC_ARG_PROGRAM invoked multiple times
+ autoconf
configure.in:112: warning: AC_ARG_PROGRAM invoked multiple times
+ CFLAGS=-O2 -g -march=i586 -mcpu=i686 -fmessage-length=0
+ ./configure --prefix=/opt/gnome --libdir=/opt/gnome/lib 
--sysconfdir=/etc/opt/gnome --localstatedir=/var --with-guile 
--enable-python --disable-guile-readline
checking build system type... i686-suse-linux
checking host system type... i686-suse-linux
checking target system type... i686-suse-linux

 === Configure args ===
         Support Bonobo: yes
       Sluggish Linking: no

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 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 library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for perl... /usr/bin/perl
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for /usr/i586-suse-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 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 static flag  works... yes
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 supports -c -o file.o... yes
checking whether the gcc linker (/usr/i586-suse-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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports 
shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/i586-suse-linux/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
appending configuration tag "F77" to libtool
checking for ranlib... (cached) ranlib
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in libc... 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...  az da de el es fr is it nl no 
pl pt pt_BR ru sk sv tr uk zh_CN
sed: can't read ./intl/po2tbl.sed.in: No such file or directory
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for pthread_create in -lpthread... yes
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: GTK not installed
./configure: line 23379: exit: or: numeric argument required
./configure: line 23379: exit: or: numeric argument required
error: Bad exit status from /var/tmp/rpm-tmp.8739 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.8739 (%build)
giga:/usr/src/packages # rpm -q gtk
gtk-1.2.10-877
giga:/usr/src/packages # rpm -q gtk-devel
gtk-devel-1.2.10-877