3 messages in com.mysql.lists.plusplusRE: Automake Issues?
FromSent OnAttachments
Matthew Leach06 Sep 2002 00:27 
Ralf Narozny06 Sep 2002 04:13 
Matthew Leach06 Sep 2002 05:53 
Subject:RE: Automake Issues?
From:Matthew Leach (matt@knowledgefactory.co.za)
Date:09/06/2002 05:53:56 AM
List:com.mysql.lists.plusplus

Alrighty,

I (think I) have finally got a working MySQL++ installation.

This is what I did: ./configure ./ltconfig ltmain.sh make make install (as root)

Then, compiling with gcc gives linker problems, but compiling with c++ works just fine! (This was probably the problem all along.)

Thanks to all for the help.

-----Original Message----- From: Ralf Narozny [mailto:rnar@splendid.de] Sent: 06 September 2002 01:14 To: Matthew Leach Cc: plus@lists.mysql.com Subject: Re: Automake Issues?

Hello!

I had the very same problems some days ago...here is what I did:

(You really need gcc 2.95.3 I had the below problems with gcc 3.2 and 3.1, additionally autoconf 2.52 and automake 1.5 worked not the newer versions)

aclocal autoconf automake --foreign --add-missing (this produces the depcomp and ignores the missing INSTALL ...)

(not sure, if you need to do the in another order or more than once)

./configure ./ltconfig ltmain.sh

make

....

It took me hours to get it to work, but never made it with gcc versions above the 2.95.3.... And I'm really kind of disencouraged, because I need to get it to work under gcc 3.2...

Hope that helped Ralf

Matthew Leach wrote:

Hi all,

I have recently downloaded the latest MySQL++ source distribution. (1.7.9)

autoconf gives no errors, but when I run automake, I get the following:

configure.in:11: your implementation of AM_INIT_AUTOMAKE comes from an configure.in:11: old Automake version. You should recreate aclocal.m4 configure.in:11: with aclocal and run automake again. Makefile.am: required file `./INSTALL' not found Makefile.am: required file `./NEWS' not found Makefile.am: required file `./COPYING' not found Makefile.am: required file `./AUTHORS' not found Makefile.am: required file `./ChangeLog' not found examples/Makefile.am: required file `./depcomp' not found /usr/local/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/local/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/local/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/local/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL /usr/local/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/local/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/local/share/automake-1.6/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL /usr/local/share/automake-1.6/am/lang-compile.am: AMDEP does not appear in AM_CONDITIONAL

Running aclocal gives this error message: aclocal: configure.in: 17: macro `AM_PROG_LIBTOOL' not found in library

I am a little worried about the missing required files from the source distribution?

Any advice?