Re: libtool fails without a CXX compiler installed

2005-05-25 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Tue, May 24, 2005 at 10:02:31PM CEST:
 * Eric Sandall wrote on Tue, May 24, 2005 at 06:54:23PM CEST:
  
  Without g++ installed:
  checking whether we are using the GNU C++ compiler... no
  checking whether g++ accepts -g... no
  checking dependency style of g++... none
  checking how to run the C++ preprocessor... /lib/cpp
  configure: error: C++ preprocessor /lib/cpp fails sanity check
  See `config.log' for more details
 
 Yes.  Known bug, fixed properly in branch-2-0.  Unfortunately I don't
 know of a clean workaround for branch-1-5, and we have a handful of
 patches (at least, and one of them tricky) that need to go into
 branch-2-0 before we can release the next 2.0alpha, and then hopefully
 2.0 soon after that.  Sorry.

Argh.  /me is really bad in reading lately.

I'll take that back.  This being a known bug and not knowing a fix was
wrong, thanks Peter for clearing that up.  Apparently this false info
has turned up in several places already, sorry for that.

If this is present in 1.5.18, then we need to fix it.

Regards,
Ralf


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


libtool fails without a CXX compiler installed

2005-05-24 Thread Eric Sandall
(Example is from compiling pkgconfig):

Without g++ installed:
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor /lib/cpp fails sanity check
See `config.log' for more details

config.log:
...
configure:4894: /lib/cpp  conftest.cc
cpp: conftest.cc: C++ compiler not installed on this system
configure:4900: $? = 1
...

Compiles fine with g++ installed.

However, when I check the compile log it never calls g++, just checks
for its
existence and fails out.

(References: http://bugs.sourcemage.org/show_bug.cgi?id=8957 and
https://bugs.freedesktop.org/show_bug.cgi?id=3376).



___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: libtool fails without a CXX compiler installed

2005-05-24 Thread Eric Sandall

Quoting Ralf Wildenhues [EMAIL PROTECTED]:

Hi Eric,

* Eric Sandall wrote on Tue, May 24, 2005 at 06:54:23PM CEST:


Without g++ installed:
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor /lib/cpp fails sanity check
See `config.log' for more details


Yes.  Known bug, fixed properly in branch-2-0.  Unfortunately I don't
know of a clean workaround for branch-1-5, and we have a handful of
patches (at least, and one of them tricky) that need to go into
branch-2-0 before we can release the next 2.0alpha, and then hopefully
2.0 soon after that.  Sorry.


Can't the changes from 0.15.0 to 0.16.2 that broke the CXX check just be
reverted? I'm probably thinking too simplisticly.

Will 2.0 be fully backwards compatible with packages that are designed
for the older libtools (0.15, 0.16, 0.17)?

-sandalle

--
Eric Sandall|  Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61  |  http://www.sourcemage.org/
http://eric.sandall.us/ |  SysAdmin @ Inst. Shock Physics @
WSU
http://counter.li.org/  #196285 |  http://www.shock.wsu.edu/


This message was sent using IMP, the Internet Messaging Program.



binN0Nj8sbwPm.bin
Description: PGP Public Key
___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: libtool fails without a CXX compiler installed

2005-05-24 Thread Ralf Wildenhues
Hi Eric,

* Eric Sandall wrote on Tue, May 24, 2005 at 06:54:23PM CEST:
 
 Without g++ installed:
 checking whether we are using the GNU C++ compiler... no
 checking whether g++ accepts -g... no
 checking dependency style of g++... none
 checking how to run the C++ preprocessor... /lib/cpp
 configure: error: C++ preprocessor /lib/cpp fails sanity check
 See `config.log' for more details

Yes.  Known bug, fixed properly in branch-2-0.  Unfortunately I don't
know of a clean workaround for branch-1-5, and we have a handful of
patches (at least, and one of them tricky) that need to go into
branch-2-0 before we can release the next 2.0alpha, and then hopefully
2.0 soon after that.  Sorry.

Regards,
Ralf


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: libtool fails without a CXX compiler installed

2005-05-24 Thread Eric Sandall

Quoting Bob Friesenhahn [EMAIL PROTECTED]:
snip
The problems I have heard about up until now have been that autoconf 
found a C++ compiler, but it was discovered not to work.  In this 
case, autoconf's macro throws up its hands and spontaneously quits.


So libtool is not working if there is no C++ at all?


Correct. I built my system without g++ installed. Then added xorg, which
needs pkgconfig down the dependency line, but that failed. I installed
g++ and then pkgconfig would compile fine. After some tests of
pkgconfig 0.17.2, 0.16.0, and 0.15.0 I found that the first two fail
without g++ installed, but the last, 0.15.0, works fine without g++
installed. I filed a bug[0] with pkgconfig and they told me that
libtool is where the failure is occurring even though an older version
of pkgconfig worked fine.

-sandalle

[0] https://bugs.freedesktop.org/show_bug.cgi?id=3376

--
Eric Sandall|  Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61  |  http://www.sourcemage.org/
http://eric.sandall.us/ |  SysAdmin @ Inst. Shock Physics @
WSU
http://counter.li.org/  #196285 |  http://www.shock.wsu.edu/


This message was sent using IMP, the Internet Messaging Program.



bin9S8POpSm3B.bin
Description: PGP Public Key
___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: libtool fails without a CXX compiler installed

2005-05-24 Thread Bob Friesenhahn

On Tue, 24 May 2005, Eric Sandall wrote:


This failure is not really new.  It has been happening since the original 
1.5 release.  Maybe a fix was removed?


Not sure, but my testing shows that 0.15.0 compiled fine without g++
installed.


The problems I have heard about up until now have been that autoconf 
found a C++ compiler, but it was discovered not to work.  In this 
case, autoconf's macro throws up its hands and spontaneously quits.


So libtool is not working if there is no C++ at all?

Bob
==
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: libtool fails without a CXX compiler installed

2005-05-24 Thread Bob Friesenhahn

On Tue, 24 May 2005, Ralf Wildenhues wrote:


Yes.  Known bug, fixed properly in branch-2-0.  Unfortunately I don't
know of a clean workaround for branch-1-5, and we have a handful of
patches (at least, and one of them tricky) that need to go into
branch-2-0 before we can release the next 2.0alpha, and then hopefully
2.0 soon after that.  Sorry.


Before libtool 2.0 is released, someone needs to make sure that the 
libtool/libltdl configuration macros documented in the documentation 
actually work.  One way to know for sure is to incorporate them in the 
libtool test suite.


Bob
==
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: libtool fails without a CXX compiler installed

2005-05-24 Thread Bob Friesenhahn

On Tue, 24 May 2005, Eric Sandall wrote:


Can't the changes from 0.15.0 to 0.16.2 that broke the CXX check just be
reverted? I'm probably thinking too simplisticly.


This failure is not really new.  It has been happening since the 
original 1.5 release.  Maybe a fix was removed?



Will 2.0 be fully backwards compatible with packages that are designed
for the older libtools (0.15, 0.16, 0.17)?


It is intended to be macro-compatible, but last I looked the 
documentation did not really reflect that since the documentation for 
the older macros was entirely replaced with a description of the new 
macros.  There are some changes to the behavior of libtoolize and 
where the libtool m4 files are stored for the project so some small 
effort will be required to update to 2.0.


The scheme for configuring libltdl has been completely re-vamped in 
that now the same configure script which configures the package can 
also configure libltdl without using a subordinate configure script. 
At least that is the plan.


Bob
==
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,http://www.GraphicsMagick.org/


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: libtool fails without a CXX compiler installed

2005-05-24 Thread Eric Sandall

Quoting Bob Friesenhahn [EMAIL PROTECTED]:

On Tue, 24 May 2005, Eric Sandall wrote:


Can't the changes from 0.15.0 to 0.16.2 that broke the CXX check just be
reverted? I'm probably thinking too simplisticly.


This failure is not really new.  It has been happening since the 
original 1.5 release.  Maybe a fix was removed?


Not sure, but my testing shows that 0.15.0 compiled fine without g++
installed.


Will 2.0 be fully backwards compatible with packages that are designed
for the older libtools (0.15, 0.16, 0.17)?


It is intended to be macro-compatible, but last I looked the 
documentation did not really reflect that since the documentation for 
the older macros was entirely replaced with a description of the new 
macros.  There are some changes to the behavior of libtoolize and 
where the libtool m4 files are stored for the project so some small 
effort will be required to update to 2.0.


The scheme for configuring libltdl has been completely re-vamped in 
that now the same configure script which configures the package can 
also configure libltdl without using a subordinate configure script. 
At least that is the plan.


Sounds like we'll have fun testing the alpha releases when they come
out. ;)

-sandalle

--
Eric Sandall|  Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61  |  http://www.sourcemage.org/
http://eric.sandall.us/ |  SysAdmin @ Inst. Shock Physics @
WSU
http://counter.li.org/  #196285 |  http://www.shock.wsu.edu/


This message was sent using IMP, the Internet Messaging Program.



binmeoj3hdBmo.bin
Description: PGP Public Key
___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: libtool fails without a CXX compiler installed

2005-05-24 Thread Peter O'Gorman

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Peter O'Gorman wrote:
| Eric Sandall wrote:
| | Quoting Bob Friesenhahn [EMAIL PROTECTED]:
| | snip
| |
| | The problems I have heard about up until now have been that autoconf
| | found a C++ compiler, but it was discovered not to work.  In this
| | case, autoconf's macro throws up its hands and spontaneously quits.
| |
| | So libtool is not working if there is no C++ at all?
|
| I fixed this once:
| 2004-08-12
|
| ~* configure.ac, libtool.m4: Ensure that a c++ compiler exists
| before
| ~checking for the c++ preprocessor. Apparently reported by multiple
| ~people, multiple times.
|
| I guess it got rebroken :(

Replying to myself... it is still fixed. Please use a newer libtool.
http://www.opendarwin.org/~pogma/lt_no_cxx.txt

Peter
- --
Peter O'Gorman - http://www.pogma.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBQpPXUbiDAg3OZTLPAQIeaQP/au0siqKUxqL3u26BAl344862COGcV0yh
k1OZZ6ciBJKDpgfgs/dyl/Tykuu1eNABQcWlL7psJ2VjTxSdyYHb2PT25a9Sff53
K2c8X91TRd4+w0GlG5lnTIevUOQFNMYT79Cn7lmSik3umqOhuwjhdbfV1QlrjD5x
sDUbEB6GB1E=
=6Jvl
-END PGP SIGNATURE-


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: libtool fails without a CXX compiler installed

2005-05-24 Thread Eric Sandall

Quoting Peter O'Gorman [EMAIL PROTECTED]:
snip

Replying to myself... it is still fixed. Please use a newer libtool.
http://www.opendarwin.org/~pogma/lt_no_cxx.txt


I was using 1.5.16, will try 1.5.18, thanks. :)

-sandalle

--
Eric Sandall|  Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61  |  http://www.sourcemage.org/
http://eric.sandall.us/ |  SysAdmin @ Inst. Shock Physics @
WSU
http://counter.li.org/  #196285 |  http://www.shock.wsu.edu/


This message was sent using IMP, the Internet Messaging Program.



bintR9qpykuUI.bin
Description: PGP Public Key
___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool


Re: libtool fails without a CXX compiler installed

2005-05-24 Thread Peter O'Gorman

Eric Sandall wrote:

Quoting Peter O'Gorman [EMAIL PROTECTED]:
snip


Replying to myself... it is still fixed. Please use a newer libtool.
http://www.opendarwin.org/~pogma/lt_no_cxx.txt



I was using 1.5.16, will try 1.5.18, thanks. :)


Was also fixed in 1.5.16. If your configure script is calling AC_PROG_CXX 
then you will have to use a similar workaround to libtool:


pushdef([AC_MSG_ERROR], [CXX=no])
AC_PROG_CXX
popdef([AC_MSG_ERROR])
AM_CONDITIONAL(HAVE_CXX,
[test -n $CXX  ( test X$CXX != Xno 
  ( (test X$CXX = Xg++  `g++ -v /dev/null 21` ) ||
  (test X$CXX != Xg++)))])

Note that all the tests are not really necessary, but... I was paranoid.

Horrible, isn't it?

Peter
--
Peter O'Gorman - http://www.pogma.com


___
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool