This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

"Broken" intl/Makefile


Hi,

I ran across a problem compiling glibc 2.2.2, specifically in int/Makefile.

This is the error given:

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


The offending lines in the Makefile are:

	generated = msgs.h mtrace-tst-gettext tst-gettext.mtrace
	generated-dirs := domaindir localedir

	include ../Makeconfig

	ifneq (no,$(BISON))
	plural.c: plural.y
		$(BISON) $(BISONFLAGS) $@ $^
	endif
	ifeq ($(with-cvs),yes)
*		test ! -d CVS || cvs $(CVSOPTS) commit -m'$(BISON) $(BISONFLAGS) $@ $^' $@
	endif
	$(objpfx)plural.o: plural.c

	include ../Rules

This line from ../glibc-2.2.2/configure --enable-add-ons --prefix=/usr
might be relevant:

	checking for bison... no

I am upgrading from libc5 running a Linux kernel 2.4.2. The obvious
solution, I think, is to move a complete target to just below the "include
../Makeconfig" line, but since I don't know the format of Makefiles very
well, I'm not sure about it. This problem does not exist in glibc 2.1.3.

Thanks,
  Austin
----------
Austin Hung  *  University of Waterloo, 3N Computer Engineering
wizard_auz@engineer.com  *  http://ece.uwaterloo.ca/~a2hung/
"I Want To Believe"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]