new configure error ...
Christian Stimming
stimming at tuhh.de
Fri May 9 00:32:51 CDT 2003
As for the "old" configure problem -- thanks, Derek, for simply reverting the
openhbci.m4 change. Obviously it was way too difficult for the autotools to
have a C++ check right in the middle of a big C project with lots of C
checks.
I will probably revert the up-to-date openhbci.m4 back to a C-based check
program. Anyway, that macro reveals a fundamental problem with
autotools-managed packaged: OpenHBCI itself can be used from both C and C++
projects. And during debugging of openhbci.m4 I only used a C++ project,
which is why I didn't realize the problems earlier. Now I could switch back
openhbci.m4 to use only the C compiler etc. -- but is this really going to
work correctly for all C++ projects? Who knows... probably it does because
once a C++ compilers is up and running, it can recognize C programs. But not
vice versa. So it is probably the better choice to leave autotools macros
always in C...
Christian
On Donnerstag, 8. Mai 2003 23:03, Derek Atkins wrote:
> Hmm.. Can you try the various combinations of autoconf and automake to
> try to localize the problem? It's possible we need to add something
> like AC_PROG_CXX somewhere in the openhbci macros.
>
> Also, can you try to current CVS code?
>
> Thanks!
>
> -derek
>
> PS: feel free to come into #gnucash ;)
>
> Herbert Thoma <tma at iis.fhg.de> writes:
> > Hi,
> >
> > I downgraded to automake 1.5 and autoconf 2.53,
> > that works right now.
> >
> > Herbert.
> >
> > Derek Atkins schrieb:
> > > Herbert Thoma <tma at iis.fhg.de> writes:
> > > > checking for localtime_r... yes
> > > > checking what extra warning flags to pass to the C compiler...
> > > > -Werror mv: cannot stat `po/POTFILES': No such file or directory
> > > > ./configure: line 20393: po/POTFILES.tmp: Datei oder Verzeichnis
> > > > nicht gefunden configure: error: conditional "am__fastdepCXX" was
> > > > never defined. Usually this means the macro was only invoked
> > > > conditionally. /bin/sh ./config.status --recheck
> > > > ./config.status: ./config.status: Datei oder Verzeichnis nicht
> > > > gefunden make: *** [config.status] Fehler 127
> > >
> > > What do you see in your config.log?
> > >
> > > > Any suggestion what that means? All worked well on the same system on
> > > > April, 29th.
> > >
> > > No clue. It looks like it's missing some C++ configuration.
> > >
> > > > SuSE 8.2
> > > > automake (GNU automake) 1.7.2
> > > > autoconf (GNU Autoconf) 2.57
> > >
> > > Hmm.. Well, this implies that the AC_PUSH_LANG(C++)/AC_POP_LANG()
> > > should be working properly. Assuming, of course, they are in there
> > > properly.
> > >
> > > All I can say is that I don't have this problem with ac-2.53 and am-1.5
> > > on my RH7.3 system.
> > >
> > > -derek
> > > --
> > > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> > > Member, MIT Student Information Processing Board (SIPB)
> > > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
> > > warlord at MIT.EDU PGP key available--
> >
> > --
> > Herbert Thoma
> > FhG-IIS A, Studio Department
> > Am Weichselgarten3, 91058 Erlangen, Germany
> > Phone: +49-9131-776-323
> > Fax: +49-9131-776-399
> > email: tma at iis.fhg.de
> > www: http://www.iis.fhg.de/
More information about the gnucash-devel
mailing list