User forums > Help

macro `AM_OPTIONS_WXRC' not found

<< < (2/3) > >>

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).

--- End quote ---

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 @ bash ---rm /etc/alternatives/aclocal
ln -s /usr/bin/aclocal-1.9 /etc/alternatives/aclocal
--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version