[Kolab-devel] bash in gcc build can not find stage2/xgcc
Richard Bos
richard.bos at xs4all.nl
Tue Jan 4 12:46:55 CET 2005
Martin,
thanks for your swift reply.
Op dinsdag 4 januari 2005 11:57, schreef Martin Konold:
> 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/sourc
> >es /
>
> This Beta 1 not Beta 2.
That's right:
/home/richard/kolab-server-2.0-beta-1/sources
> > I started the build with 'obmtool kolab' (after giving the obmtool script
> > exec permission).
>
> This is fine.
>
> Where did you store the donwloaded files?
/home/richard/kolab-server-2.0-beta-1/sources
The files are build in a linked /kolab (perhaps that matters):
kolab-server-2.0-beta-1 # ls -ld /kolab
lrwxrwxrwx 1 root root 44 Dec 30 11:43 /kolab -> /home/richard/kolab-server-2.0-beta-1/kolab/
> > 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?
kolab-server-2.0-beta-1 # grep kolab /etc/passwd
kolab:x:19414:19414:/kolab OpenPKG (management):/kolab:/kolab/lib/openpkg/bash
kolab-r:x:19415:19415:/kolab OpenPKG (restricted):/kolab:/kolab/lib/openpkg/bash
kolab-n:x:19416:19416:/kolab OpenPKG (non-privileged):/kolab:/kolab/lib/openpkg/bash
> Are you installing as user root?
Indeed.
--
Richard
More information about the devel
mailing list