autogen.sh problem in Ubuntu 8.04 (64 bit)

Asked by Fernando Ipar

Hi,

I'm trying to build 0.7.0 (from rev 648) and I get this error from ./autogen.sh on Ubuntu 8.04 (64 bit)

./autogen.sh: running `libtoolize --copy --force'
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
./autogen.sh: running `aclocal -I m4'
aclocal: configure.in: 26: macro `AM_PROG_CC_C_O' not found in library

I've checked, and apparently these are independent, and only the last one is an error. AM_PROG_CC_C_O is not defined in aclocal.m4, but a series of AC_LIBTOOL_PROG_CC_C_O are. Does it mean that the file is obsolete for mysql-proxy and mysql-proxy won't build under hardy with the repository packages?

Thanks,
Fernando.

Question information

Language:
English Edit question
Status:
Solved
For:
MySQL Proxy Edit question
Assignee:
No assignee Edit question
Solved by:
Fernando Ipar
Solved:
Last query:
Last reply:
Revision history for this message
fmpwizard (diego-fmpwizard) said :
#1

Hi,

On my mac I run it like this:

$ ACLOCAL_FLAGS="-I/opt/local/share/aclocal" sh autogen.sh

So, try to set the ACLOCAL_FLAGS env. variable and it should fix it.

Regards,

Diego

On Mon, Apr 13, 2009 at 5:19 PM, Fernando Ipar
<email address hidden> wrote:
> New question #67368 on MySQL Proxy:
> https://answers.launchpad.net/mysql-proxy/+question/67368
>
> Hi,
>
> I'm trying to build 0.7.0 (from rev 648) and I get this error from ./autogen.sh on Ubuntu 8.04 (64 bit)
>
> ./autogen.sh: running `libtoolize --copy --force'
> You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
> ./autogen.sh: running `aclocal -I m4'
> aclocal: configure.in: 26: macro `AM_PROG_CC_C_O' not found in library
>
>
> I've checked, and apparently these are independent, and only the last one is an error. AM_PROG_CC_C_O is not defined in aclocal.m4, but a series of AC_LIBTOOL_PROG_CC_C_O are. Does it mean that the file is obsolete for mysql-proxy and mysql-proxy won't build under hardy with the repository packages?
>
> Thanks,
> Fernando.
>
>
> --
> You received this question notification because you are a member of
> MySQL Proxy Discuss, which is an answer contact for MySQL Proxy.
>

--
Diego Medina
Web Developer
http://www.fmpwizard.com

Revision history for this message
Fernando Ipar (fipar) said :
#2

Hi Diego,

Thanks for the answer.
I tried it, but it didn't work.

I enabled the debug options on the scripts invoked by autogen.sh, and the 'You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'' message is the output of libtoolize.

The aclocal error happens even with the use of -I and the proper directory. I'll try to set up another test environment and write another message here as soon as I'm able to try this out.

Fernando.

Revision history for this message
Fernando Ipar (fipar) said :
#3

Finally solved it by reinstalling automake (apt-get install --reinstall automake). I had a full hard drive some time ago so just file under Oddities and thank you very much for all your help :)

I'm building right now.