Hi Francesco,




________________________________
From: Francesco <f18m_cpp217...@yahoo.it>
To: wxcode-users@lists.sourceforge.net
Sent: Sun, May 23, 2010 11:35:27 AM
Subject: Re: [wxCode-users] aclocal

Hi,


> However, I still get the second error relating to m4 not recognising the
> argument "--gnu":
>
> /bin/m4: unrecognized option `--gnu'
> Try `/bin/m4 --help' for more information.
> autom4te: /bin/m4 failed with exit status: 1
> aclocal: autom4te failed with exit status: 1
>
> That string doesn't exist anywhere in the build files or templates so I'm a
> bit stuck. The error occurs when acregen.sh calls
>
> aclocal && autoconf && mv configure
>
> whilst aclocal is running but I lose track of where execution goes from
> there. I can't trap it in configure.ac, which I though was next to run.
aclocal & autoconf do not run configure.ac; rather they interpret it
(configure.ac is written in a macro language called "m4" or "m4sugar")
and then build the configure script. From the error you get I think
the problem is that your M4 interpreter (/bin/m4) does not seem to be
the GNU one... and this seems to give problems to autom4te (an utility
used by aclocal).
This problem has nothing to do with wxCode/wxWidgets but rather seems
a problem of MSYS (assuming you're using MSYS).
I strongly suggest you to generate your configure script from a real
Linux installation (which you will require anyway if you want to test
your component/apps under linux)... if you don't want to mess with
partitions/boot-managers, etc, I'd suggest you to go with VMWare
player and the Ubuntu DVD :)
To develop cross-platform software, virtual machines are very handy!
--------

Hmmmm, I'd be surprised if it's not GNU but I'll check that.
Yes, I'm still pursuing my mission of getting it going under MSys, ;-0

Yes, I have many Linux VMs. I generally use Ubuntu when checking my code in 
Code::Blocks on Linux. It's a thought, I guess, especially since yours won't 
run on Windows. If it removes the issues it might solve one part of the 
problem. As long as users can build on Windows it's less important that I can 
generate the scripts there.

Thanks as always.


      
------------------------------------------------------------------------------

_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to