[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Enigma-devel] BUG: tolua verirrt
From: |
martin capitanio |
Subject: |
Re: [Enigma-devel] BUG: tolua verirrt |
Date: |
Thu, 30 Nov 2006 19:29:18 +0100 (MET) |
User-agent: |
KMail/1.9.5 |
On Wednesday 29 November 2006 20:58, Ronald Lamprecht wrote:
> Hi,
>
> martin capitanio wrote:
> > I just tried compile the svn trunk. The '-x c++' option is
> > misapplied here.
> >
> > Martin Capitanio
> >
> > svn up
> > Revision 484
> >
> > ...
> > make[1]: Leaving directory `/rep/svn/public/enigma-game-trunk/lib-src'
> > Making all in tools
> > make[1]: Entering directory `/rep/svn/public/enigma-game-trunk/tools'
> > gcc -I../lib-src/lua -x c++ -DENABLE_ASSERT -g -DCXXLUA -g -O2 -o tolua
> > tolua-tolua.o tolua-toluabind.o -L../lib-src/lua -
> > llua -lstdc++ -lxerces-c -lpng -ldl
>
> Just guessing - you use Debian with autoconf 2.60a-4, a test version of
> autoconf?
Hi Ronald,
wrong, willcome in the autohell ;-)
I used gentoo stable 2.60 and unstable 2.61
with the same results.
Well, there are a lot of automakes, I tried just the last one.
automake-1.4 automake-1.5 automake-1.6
automake-1.7 automake-1.8 automake-1.9 automake-1.10
but it generates some suspicious warnings:
svn up
At revision 486.
lib-src/lua/Makefile.am:33: `CFLAGS' is a user variable, you should not
override it;
lib-src/lua/Makefile.am:33: use `AM_CFLAGS' instead.
src/Makefile.am:189: `:='-style assignments are not portable
src/Makefile.am:189: localedir was already defined in condition TRUE, which
includes condition MINGW32 ...
configure.ac:2: ... `localedir' previously defined here
src/Makefile.am:190: `:='-style assignments are not portable
src/Makefile.am:196: localedir was already defined in condition TRUE, which
includes condition !MINGW32 ...
configure.ac:2: ... `localedir' previously defined here
src/Makefile.am:230: `:='-style assignments are not portable
src/Makefile.am:285: `:='-style assignments are not portable
src/Makefile.am:13: `CXXFLAGS' is a user variable, you should not override it;
src/Makefile.am:13: use `AM_CXXFLAGS' instead.
tools/Makefile.am:18: compiling `tolua.c' with per-target
flags requires `AM_PROG_CC_C_O' in `configure.ac'
^^^^^^^^^^^^^^^^^^^^^^^^^
Another question, what for is the tools directory? How did you generate
toluabind.{c,h} ? I have tolua++-1.0.7 installed. The tolua
binary doesn't link even with hacked Makefile due missing symbols.
Please put some README int that directory.
The configure option --enable-tools=no also doesn't seem to be working.
(Only with the 'touch tools/tolua' I was able to successfully make and run the
enigma binary.)
At the end there are also some troubles with the German documentation:
make[3]: Entering directory `/rep/svn/public/enigma-game-trunk/doc/manual'
make[3]: *** No rule to make target `.enigma_de.html', needed by `all-am'.
Stop.
make[3]: Leaving directory `/rep/svn/public/enigma-game-trunk/doc/manual'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/rep/svn/public/enigma-game-trunk/doc/manual'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/rep/svn/public/enigma-game-trunk/doc'
make: *** [all-recursive] Error 1
>
> Raoul had exactly the same problem. My recommendation was to downgrade
> to the stable 2.59a-3 autoconf version what seemed to help.
>
> @Raoul did you downgrade automake, too?
>
> The gcc command above is nonsense. The error should be anywhere in
> autoconf/automake.
>
> Please report the error to the maintainers of the autoconf/automake package.
Sorry, I don't think that improving this peace of s**t makes any sense ;-)
Thanks for your great work,
Martin
--
WANT_ACWRAPPER_DEBUG=1 ./autogen.sh
Bootstrapping ./lib-src/zipios++ ac-wrapper: DEBUG: will execute
</usr/bin/autoheader-2.60>
acinclude.m4:8: warning: underquoted definition of AC_CXX_HAVE_STL
acinclude.m4:8: run info '(automake)Extending aclocal'
acinclude.m4:8: or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
ac-wrapper: DEBUG: will execute </usr/bin/autom4te-2.60>
ac-wrapper: DEBUG: will execute </usr/bin/autoconf-2.60>
ac-wrapper: DEBUG: will execute </usr/bin/autoconf-2.60>
OK
Bootstrapping ./lib-src/enet /usr/share/aclocal/sigc++.m4:8: warning:
underquoted definition of AM_PATH_SIGC
/usr/share/aclocal/sigc++.m4:8: run info '(automake)Extending aclocal'
/usr/share/aclocal/sigc++.m4:8: or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
ac-wrapper: DEBUG: will execute </usr/bin/autom4te-2.60>
ac-wrapper: DEBUG: will execute </usr/bin/autoconf-2.60>
ac-wrapper: DEBUG: will execute </usr/bin/autoconf-2.60>
OK
Bootstrapping ./ ac-wrapper: DEBUG: will execute </usr/bin/autoheader-2.60>
acinclude.m4:8: warning: underquoted definition of FC_EXPAND_DIR
acinclude.m4:8: run info '(automake)Extending aclocal'
acinclude.m4:8: or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
ac-wrapper: DEBUG: will execute </usr/bin/autom4te-2.60>
ac-wrapper: DEBUG: will execute </usr/bin/autoconf-2.60>
src/Makefile.am:189: localedir was already defined in condition TRUE, which
includes condition MINGW32 ...
configure.ac:2: ... `localedir' previously defined here
src/Makefile.am:196: localedir was already defined in condition TRUE, which
includes condition !MINGW32 ...
configure.ac:2: ... `localedir' previously defined here
ac-wrapper: DEBUG: will execute </usr/bin/autoconf-2.60>
OK
You can now run configure and make.