News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

macro `AM_OPTIONS_WXRC' not found

Started by blindcut, December 15, 2005, 02:16:52 PM

Previous topic - Next topic

blindcut

Hi there,

I get the following message, when trying to build C::B:

------
$ ./bootstrap
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
aclocal: configure.in: 61: macro `AM_OPTIONS_WXRC' not found in library
-----

I'm using the latest version of C::B (from svn repository, revision 1512),
Ubuntu (breezy)
and wxGTK-2.6.1.1 (also its development files)

what is wrong or missing?

Thanks for your help!
    blindcut

thomas

No idea what caused the problem, but ...
Quote from: blindcut on December 15, 2005, 02:16:52 PMYou should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
Did you do what you were told? Maybe it is as simple as that.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

blindcut

Ehmm...., if that means, that I should copy the contents of '/usr/share/aclocal/libtool.m4' and paste these to the end of `aclocal.m4', then yes: I tried that, without any result. -The same error as before.

Any other idea?

mandrav

Quoteaclocal: configure.in: 61: macro `AM_OPTIONS_WXRC' not found in library

Install the package wx-common.
Be patient!
This bug will be fixed soon...

blindcut

Quote
Install the package wx-common.

That package was already installed. -But nevertheless I reinstalled it and... nothing; the error still remains! :-(

Thanks for your effort!
    blindcut

willkn

Try doing 'export ACLOCAL_FLAGS="-I (path_to_wxwidgets_dir)/wxwidgets/share/aclocal"'

There is a file in that directory, wxwin.m4, that has the AM_OPTIONS_WXRC definition. Setting the ACLOCAL_FLAGS var should help aclocal to find it (see 'aclocal --help' for more info).

blindcut

Quote from: willkn on December 15, 2005, 05:12:26 PM
Try doing 'export ACLOCAL_FLAGS="-I (path_to_wxwidgets_dir)/wxwidgets/share/aclocal"'

There is a file in that directory, wxwin.m4, that has the AM_OPTIONS_WXRC definition. Setting the ACLOCAL_FLAGS var should help aclocal to find it (see 'aclocal --help' for more info).

My 'wxwin.m4' is in '/usr/share/aclocal/', so I ran:
    aclocal -I /usr/share/aclocal
The result: see above; it doesn't change anything. :-(
But are you sure, that this macro should be defined there? -I searched that file for 'AM_OPTIONS_WXRC', and the only apearance is part of a command-block.... no definition at all.... mmmhh....

Any idea?


willkn

are you sure that you first got rid of all of the linefeeds by doing 'dos2unix' on all of the necessary files?

blindcut

Thanks for all your help, but finally I decided to use the pre-compiled package of version RC2..., that works! :-)

Bye!
    blindcut

Ceniza

I just had the same problem in a new Kubuntu Dapper installation (under VMware Player :)) and found it's caused because aclocal pointed to the old aclocal-1.4.

Be sure you have aclocal-1.9 and remove the symlink /etc/alternatives/aclocal and create a new one pointing to /usr/bin/aclocal-1.9 named /etc/alternatives/aclocal

Quote from: root @ bashrm /etc/alternatives/aclocal
ln -s /usr/bin/aclocal-1.9 /etc/alternatives/aclocal

northtar

hi Ceniza,I met the same problem,I just copy the file to /usr/share and all is ok.
sudo cp /usr/local/share/aclocal/ /usr/share/ -R