bug-parted
[Top][All Lists]
Advanced

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

configure --disable-nls breaks build?


From: Andreas Dilger
Subject: configure --disable-nls breaks build?
Date: Tue, 29 Jan 2002 13:17:39 -0700
User-agent: Mutt/1.2.5.1i

I'm trying to build libparted without NLS and other options for a small
bootdisk environment, so I am running*:

./configure --disable-fs --disable-debug --enable-part-static --disable-nls
--without-readline --disable-bsd --disable-mac --disable-mips --disable-sun

The problem appears to be that "intl" is included in the subdirectories,
but m4 (I think) is not substituting macros in the Makefile.in, so I get:

Making all in intl
make[2]: Entering directory `/usr/src/parted/parted-1.6.0-pre2/intl'
make[2]: *** No rule to make target address@hidden@', needed
by `all-no'.  Stop.
make[2]: Leaving directory `/usr/src/parted/parted-1.6.0-pre2/intl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/parted/parted-1.6.0-pre2'
make: *** [all-recursive-am] Error 2

The problem is either that intl/Makefile.in is not being substituted properly
when creating intl/Makefile, or that "intl" is included in the SUBDIRS list
when it should not be.  Sadly, while I could fix the top-level Makefile.in,
I don't know anything about how Makefile.am is used to create Makefile.in.
I tried just removing "intl" from the SUBDIRS list in Makefile.am as a test,
but then AM_GNU_GETTEXT complained in configure.in.

The Makefiles in other subdirectories have the substitution done correctly
(if I remove intl from the SUBDIRS list everything compiles).

Cheers, Andreas

(*) The --disable-{bsd,mac,mips,sun} options I added locally and I will
    submit a patch when I can test it a bit, it is pretty straight forward.
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/




reply via email to

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