Subject: pkgconfig configure re-reading cache-file fails under Irix
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 04/10/2004 13:14:27
--9Ek0hoCL9XbhcSqy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I have a problem when trying to build devel/pkgconfig under IRIX.  The
configure stage aborts with the following error:

checking whether ln -s works... (cached) yes
updating cache .././config.cache
loading cache .././config.cache within ltconfig
=2E/ltconfig[377]: syntax error at line 45 : `{' unmatched
configure: error: libtool configure failed
configure: error: ./configure failed for glib-1.2.8

Note that the configure process succeeds for the first time, but then
fails in the glib subdir when it tries to re-read the cache-file.  The
cache-file contains a few sed regexes that it appears to have trouble
parsing:

lt_cv_global_symbol_to_c_name_address=3D${lt_cv_global_symbol_to_c_name_add=
ress=3D'sed
-n -e '\''s/^\'^\^\'^: ([^\'
^'\''^\'^ ]*) $/  {"1", (lt_ptr) 0,/p\ -e '\''s/^\'^\^\'^[BCDEGRST]
([^\'^'\''^\'^ ]*) ([^\'^'\''^\'^ ]*)$/  {\
2, (lt_ptr) &2},/p\}'}
               ^^^^^^^

This one seems to be the culprint in this instance, but fixing this in
the cache file only leads to other subsequent errors.

Passing a --cache-file=3D/dev/null to the configure arguments allows this
package to configure and build correctly, but obviously configure takes
a bit longer, since it re-checks for a bunch of stuff that it has
already cached.

Any idea?

-Jan

P.S.: Incidentally: why do we disable threads for this package?

--=20
Except most of the good bits were about frogs, I remember that.
You would not believe some of the things about frogs.

--9Ek0hoCL9XbhcSqy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)

iD8DBQFAeCtzfFtkr68iakwRAl17AKCJnC0oLGtAzl2aaZPrKbpdVPbq8QCfXLbl
6zWoOVJU3jMFaGVx+GabbeQ=
=WYTd
-----END PGP SIGNATURE-----

--9Ek0hoCL9XbhcSqy--