autoconf
[Top][All Lists]
Advanced

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

Re: autoconf incorrectly(?) reports that g++ can't build shared library


From: Eric Blake
Subject: Re: autoconf incorrectly(?) reports that g++ can't build shared library on OpenBSD
Date: Mon, 16 Nov 2009 19:14:13 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Mike on 11/16/2009 5:39 PM:
>  
> Is it because OpenBSD restrictions or autoconf bug ? 

Most likely NOT an autoconf bug.  Perhaps a libtool one, or maybe the
package you are trying to configure has a bug in its configure.ac or is
using an out-of-date version of libtool.

> I've solved this problem by following patch: 
> 
> --- configure Fri Sep 14 02:36:10 2007 
> +++ configure Fri Oct 9 10:15:23 2009 
> @@ -3913,7 +3913,7 @@ 
> lt_cv_deplibs_check_method=pass_all 
> ;; 
> 
> -freebsd* | kfreebsd*-gnu) 
> +freebsd* | kfreebsd*-gnu |openbsd*) 

Note that just 3 lines earlier was lt_cv_deplibs_check_method, which means
this is definitely something you should be reporting on the libtool lists.
 There's nothing there directly relevant to the autoconf list.

> After trying to build midnight commander on MacOS-10.5 (darwin-xx),
> I think that gnu autoconf is full of bugs.

That's not a very fair statement.  Your statement is like saying that gcc
has a bug because your program had a segfault.  While it is probably true
that autoconf has some bugs, it wouldn't be as popular as it is if it
didn't also do lots of things correctly; and in this case, the problem is
more likely to lie in the source that autoconf compiled into a configure
file than in autoconf itself.

> 
> Mike.
> ps: Sources You can find on sourcefoge.net

That's a bit to vague.  Listing the actual URL of the code you are trying
to compile is a bit better than making us hunt, and a simple reduced
testcase would be even better.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksCBvUACgkQ84KuGfSFAYD8vgCgmAEv8/+q3tb4IJDo2n5GhY/0
ZrQAnjdw9/n3wiWPXPxbPw4h6TBpAVQd
=n0ne
-----END PGP SIGNATURE-----




reply via email to

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