Problem building from cvs

This is my first attempt to build from cvs.
I have all required applications installed,
and their versions are the ones required.

Now, after

$ export CVS_RSH=“ssh”
$ cvs -z3 -d:pserver:[email protected]:/sources/gnuradio
co -P gr-build
$ cd gr-build
$ ./checkout -x mc4020

I get all the required directories under gr-build.
Unfortunately, when I try to build (as root) with

$ ./for-all-dirs …/buildit 2>&1 | tee make.log

I get an error (see make.log attached).
It seems that I need to set LIBTOOL to something…

Any help is appreciated.

Thanks
Achilleas

On Thu, Apr 27, 2006 at 10:20:04AM -0400, Achilleas A.
wrote:

$ ./checkout -x mc4020

I get all the required directories under gr-build.
Unfortunately, when I try to build (as root) with

First survivial tip: DON’T BUILD AS ROOT (there’s no need and it’s
dangerous)

$ ./for-all-dirs …/buildit 2>&1 | tee make.log

I get an error (see make.log attached).
It seems that I need to set LIBTOOL to something…

Any help is appreciated.

Thanks
Achilleas

Please execute these commands running as your normal user login
and send me the output:

$ autoconf --version
$ automake --version
$ libtool --version

Then try building as a regular user.

Thanks,
Eric

Eric,

I switched to a regular user as you suggested.
Here is the info you requested.:


[anastas@ernesto gr-build]$ autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
[anastas@ernesto gr-build]$ automake --version
automake (GNU automake) 1.9.5
Written by Tom T. [email protected].

Copyright 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
[anastas@ernesto gr-build]$ libtool --version
ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42)

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

Now after executing

./for-all-dirs …/buildit 2>&1 | tee make.log

I get the same error with the attached make.log file.

Thanks
Achilleas

Eric B. wrote:

co -P gr-build
$ ./for-all-dirs …/buildit 2>&1 | tee make.log
Please execute these commands running as your normal user login


Achilleas A.
Associate Professor
EECS Department Voice : (734)615-4024
UNIVERSITY OF MICHIGAN Fax : (734)763-8041
Ann Arbor, MI 48109-2122 E-mail: [email protected]
URL: U-M Web Hosting

It seems that I have automake 1.9.5
but I am using aclocal 1.8.5 (go figure…)

I updated aclocal and now everything works like a charm…

Thanks for your time and advise.
Achilleas

Eric B. wrote:

Here is the info you requested.:
automake (GNU automake) 1.9.5
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

src/lib/Makefile.am:32:
of the “right time”? I.e., not off by hours or years.

Eric


Achilleas A.
Associate Professor
EECS Department Voice : (734)615-4024
UNIVERSITY OF MICHIGAN Fax : (734)763-8041
Ann Arbor, MI 48109-2122 E-mail: [email protected]
URL: U-M Web Hosting


On Thu, Apr 27, 2006 at 03:16:22PM -0400, Achilleas A.
wrote:

It seems that I have automake 1.9.5
but I am using aclocal 1.8.5 (go figure…)

I updated aclocal and now everything works like a charm…

Thanks for your time and advise.
Achilleas

You’re welcome.
Glad it’s sorted out

Eric

On Thu, Apr 27, 2006 at 12:57:14PM -0400, Achilleas A.
wrote:

Eric,

I switched to a regular user as you suggested.

Thanks. I feel better now. I hope you do too :wink:

[anastas@ernesto gr-build]$ automake --version
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Now after executing

./for-all-dirs …/buildit 2>&1 | tee make.log

I get the same error with the attached make.log file.

Thanks
Achilleas

OK, those all look good. Thanks.

I did notice this oddity in your previous make.log:

configure.ac:115: the top level
configure.ac:26: version mismatch. This is Automake 1.9.5,
configure.ac:26: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:26: comes from Automake 1.8.5. You should recreate
configure.ac:26: aclocal.m4 with aclocal and run automake again.
src/lib/Makefile.am:32: Libtool library used but `LIBTOOL’ is
undefined
src/lib/Makefile.am:32:

The comments about automake 1.9.5 vs 1.8.5 is odd.
Do (or did you) have both versions installed on your system?
Did they come from rpms’s or were they built from source, or what?
Were they installed with the same prefix?
Seems like there must be bits and pieces from both on your system.

BTW, what version/distribution are you using?

Is the clock on your build machine set to a reasonable approximation
of the “right time”? I.e., not off by hours or years.

Eric