[Kolab-devel] bash in gcc build can not find stage2/xgcc

Martin Konold martin at konold.de
Tue Jan 4 11:57:19 CET 2005


Hi Richard,

> I attempted to build|install kolab beta2.  I retrieved all the files from
> http://www.fruitsalad.org/kolab/server/beta/kolab-server-2.0-beta-1/sources
>/

This Beta 1 not Beta 2.

> I started the build with 'obmtool kolab' (after giving the obmtool script
> exec permission).

This is fine. 

Where did you store the donwloaded files?

> The build fails with:
>
> /tmp # cat obmtool-db-4.2.52.2-2.2.0.rebuild.log
> error: Failed build dependencies:
>         gcc is needed by db-4.2.52.2-2.2.0
> Installing /kolab/RPM/PKG/db-4.2.52.2-2.2.0.src.rpm
>
> /tmp # /kolab/bin/openpkg rpm -q gcc
> package gcc is not installed
>
> The bottom of the gcc rebuild log file contains:
>
> ............
> stage2/xgcc -Bstage2/ -B/kolab/i686-pc-linux-gnu/bin/   -pipe -O2
> -fomit-frame-pointer -funroll-loops -mtune=pentium3 -DIN_GCC   -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic
> -Wno-long-long -Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE
> -o genmodes \
>  genmodes.o errors.o ../libiberty/libiberty.a
> /kolab/lib/openpkg/bash: stage2/xgcc: No such file or directory
> make[4]: *** [genmodes] Error 127
> make[3]: *** [stage3_build] Error 2
> make[2]: *** [quickstrap] Error 2
> make[1]: *** [all-gcc] Error 2
> make: *** [bootstrap-lean] Error 2
> error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.14989 (%build)

> Is this a problem with the gcc build tool?  Why /kolab/lib/openpkg/bash not
> able to find stage2/xgcc.  Is it looking in the wrong place?

Are you having the local kolab accounts in the /etc/passwd?

Are you installing as user root?

Regards,
-- martin
-- 
Martin Konold
Stauffenbergstr. 107, 72074 Tuebingen, Germany
email: konold at kde.org




More information about the devel mailing list