bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem compiling glibc-2.2.2 without bison


From: mbp2
Subject: Problem compiling glibc-2.2.2 without bison
Date: Sun, 01 Apr 2001 00:05:28 -0500 (EST)
User-agent: IMP/PHP IMAP webmail program 2.2.3

I don't know if this has been reported before or not...  I didn't find it in
gnats, but that could just be my inexperience with such things.

I think I've found a bug in glibc-2.2.2's intl/Makefile that causes the make to
die when Bison isn't installed.  Starting on line 43, there are two "if"
blocks.  The first one defines a rule when Bison is installed, and the second
one adds a command to that rule if CVS is to be used.  But the two blocks aren't
nested, and they should be.

I'm compiling glibc in a chroot environment, building a system "from scratch". 
My build tools are all statically-linked binaries in /usr/local which I compiled
from outside the chroot, and since all I wanted there was a minimal set of
commands, I didn't install Bison.

I configured with the options "--prefix=/usr --enable-add-ons
--enable-kernel=2.4.0 --build=i686-pc-linux-gnu" and then ran "make" to compile
glibc, and the process terminated with the following error:

make  -C intl subdir_lib
make[2]: Entering directory `/glibc-2.2.2/intl'
Makefile:48: *** commands commence before first target.  Stop.
make[2]: Leaving directory `/glibc-2.2.2/intl'
make[1]: *** [intl/subdir_lib] Error 2
make[1]: Leaving directory `/glibc-2.2.2'
make: *** [all] Error 2

I hope I'm not reporting something that's already fixed in CVS or that's
actually my fault or something.  :-)
--

Mike Paul
address@hidden
http://www.lehigh.edu/~mbp2/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]