Re: [poedit-users] autogen.sh problems under MinGW
Olivier Sannier <[email protected]>
| Newsgroups | gmane.editors.poedit.user |
|---|---|
| Message-ID | <[email protected]> |
Olivier Sannier wrote:
> Vaclav Slavik wrote:
>
>> Hi,
>>
>> Olivier Sannier wrote:
>>
>>
>>> That is highly possible, the regular MinGW doesn't come with
>>> automake/autoconf. I installed msysDTK and added the latest
>>> autoconf, but I got stopped by this error. Are these macros defined
>>> somewhere
>>
>>
>> Yes, in files installed as part of automake. They are stored in
>> $prefix/share/aclocal-${automake_version} directory (e.g.
>> /usr/share/aclocal-1.8). It's possible that your automake version was
>> configured with a directory different from where you copied it to or
>> that autoconf's and automake's prefixes are different. When you say
>> you added the latest autoconf, did you do it by running ./configure
>> --prefix=path_to_automake_eg_/usr/local ; make ; make install
>> (--prefix is not needed if automake shows in /usr/local in MSYS shell)?
>>
> I installed automake and aclocal using the msysDTK installer, I didn't
> compile it from sources.
> The .m4 files are in /share/aclocal-1.7 and aclocal reads in there
> because if I remove the wxwin.m4, it complains about
> AM_OPTIONS_WXCONFIG being missing.
>
> I installed autoconf 2.59 by unzipping the tar.bz2 binary package
> availble from the MinGW website. Nothing more, nothing less.
> As running autoconf manually yields the same errors, it must be a
> broken installation. I've tried calling autoconf this way:
>
> autoconf -I /share/autoconf/autoconf/
>
> as some m4 files are in there, but that didn't help either. And google
> is really not helping here. Maybe I'll have to build from source, but
> I'd rather not have to do this.
Well, after all, I decided to get the sources from mingw and compiled
and intsalled them. It now works fine. I'm getting a few warnings in
acinclude.m4, wxwin.m4 and pk.m4, but that's because of aclocal 1.8.2,
they don't appear in 1.7. Note that they don't have any impact on the
generation of ./configure, so everything is fine.
Sorry for the inconvenience
Cheers
Olivier
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl