compiling error: gui/char_server.cpp:179: error: ‘rpl_mal...

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
brynjarh
Peon
Peon
Posts: 3
Joined: 11 Dec 2005, 19:24

compiling error: gui/char_server.cpp:179: error: ‘rpl_mal...

Post by brynjarh »

I'm running Ubuntu 5.10

I've installed all the dependencies from the repository except guichan since it's not there, I was not able to compile guichan unless editing "include/guichan/listmodel.hpp" by adding "virtual ~ListModel() {};" to the "ListModel class"? I'm not a programmer so I don't know how to explain it correctly, but it worked.

So now I'm compiling tmw it self, starting by doing ./configure --with-opengl and then doing make.

This is the end of all the "nonsense" that comes when I do that. ;)

Code: Select all

Making all in src
make[2]: Entering directory `/home/brynjarh/tmp/tmw-0.0.18.1/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -DTMW_DATADIR=\""/usr/local/share/tmw/"\"   -Wall -Werror -DUSE_OPENGL -I/usr/include/SDL -D_REENTRANT `pkg-config --cflags libxml-2.0`  -g -O2 -MT tmw-char_server.o -MD -MP -MF ".deps/tmw-char_server.Tpo" -c -o tmw-char_server.o `test -f 'gui/char_server.cpp' || echo './'`gui/char_server.cpp; \
then mv -f ".deps/tmw-char_server.Tpo" ".deps/tmw-char_server.Po"; else rm -f ".deps/tmw-char_server.Tpo"; exit 1; fi
gui/char_server.cpp: In member function ‘void ServerSelectDialog::selectServer(int)’:
gui/char_server.cpp:179: error: ‘rpl_malloc’ was not declared in this scope
make[2]: *** [tmw-char_server.o] Error 1
make[2]: Leaving directory `/home/brynjarh/tmp/tmw-0.0.18.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/brynjarh/tmp/tmw-0.0.18.1'
make: *** [all] Error 2
Now I don't know how to try out different compilers, I have GCC 4.0, GCC 3.4 and GCC 3.3 installed, though I have tried to even though I don't know how, by changing the link /usr/bin/gcc to point to gcc-3.4 instead of gcc-4.0 and then do ./configure --with-opengl and then make, but as I said I don't know if I'm really changing what compiler is being used, anyway it doesn't work any better if I do that.

Any ideas what I should do next?
akurashy
Peon
Peon
Posts: 8
Joined: 19 Nov 2005, 04:36

Post by akurashy »

i was about to post about this error too, i get this

then mv -f ".deps/tmw-char_server.Tpo" ".deps/tmw-char_server.Po"; else rm -f ".deps/tmw-char_server.Tpo"; exit 1; fi
gui/char_server.cpp: In member function ‘void ServerSelectDialog::checkServerSelect()’:
gui/char_server.cpp:196: error: ‘rpl_malloc’ was not declared in this scope
make[2]: *** [tmw-char_server.o] Error 1
make[2]: Leaving directory `/home/david/tmw/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/david/tmw'
make: *** [all] Error 2


I compiled guichan from the scrath and well i still don't get it
this thing keep bugging me @_@
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Post by ElvenProgrammer »

brynjarh wrote:I've installed all the dependencies from the repository except guichan since it's not there, I was not able to compile guichan unless editing "include/guichan/listmodel.hpp" by adding "virtual ~ListModel() {};" to the "ListModel class"? I'm not a programmer so I don't know how to explain it correctly, but it worked.
That's right.

I just recompiled guichan with success on 5.10. It seems to me your compiling environment is somewhat broken. I suggest you first try to fix/reinstall it.
User avatar
Platyna
Grand Knight
Grand Knight
Posts: 2215
Joined: 19 Nov 2005, 13:19
Location: Poland
Contact:

Post by Platyna »

No, their enviroment is ok. This is a classing PEBKAC.
config.log wrote: configure:4731: result: no
configure:4749: checking for stdlib.h
configure:4754: result: yes
configure:4894: checking for GNU libc compatible malloc
configure:4923: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:4926: $? = 0
configure:4928: ./conftest
./conftest: error while loading shared libraries: libguichan.so.0: cannot open shared object file: No such file or directory
[...]
configure:4945: result: no
If you distribution not uses /usr/share hierachy pass the --prefix=/usr argument to configure script while compiling stuff, especially libs to keep your system in order so you will not have problems with missing libs, binaries, include files etc. The solution is recompiling TMW depencies with --prefix=/usr.

Regards.
oskude
Peon
Peon
Posts: 1
Joined: 29 Dec 2005, 12:01

Post by oskude »

i prefer to put self compiled (things that are NOT managed by packgagemanager) stuff to /usr/local...
and stupid that ubuntu wont get librarys from there also as default...
so, do:

Code: Select all

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
and that malloc thing should go away (i assume you compiled guichan to /usr/local...)

ps. shouldnt this forum be called "GNU/Linux specific issues" ?! or are you a SCO fanatic ;)
User avatar
Platyna
Grand Knight
Grand Knight
Posts: 2215
Joined: 19 Nov 2005, 13:19
Location: Poland
Contact:

Post by Platyna »

I you have problem with self compiled stuff use checkinstall. And that game is supposed to work on many systems including for example *BSD which obviously isn't GNU and isn't Linux.

Regards.
akurashy
Peon
Peon
Posts: 8
Joined: 19 Nov 2005, 04:36

Post by akurashy »

ElvenProgrammer wrote:
brynjarh wrote:I've installed all the dependencies from the repository except guichan since it's not there, I was not able to compile guichan unless editing "include/guichan/listmodel.hpp" by adding "virtual ~ListModel() {};" to the "ListModel class"? I'm not a programmer so I don't know how to explain it correctly, but it worked.
That's right.

I just recompiled guichan with success on 5.10. It seems to me your compiling environment is somewhat broken. I suggest you first try to fix/reinstall it.
i recompiled mine.. but it didn't work anyway, it still gives me the rpc_malloc thing :shock:
User avatar
Platyna
Grand Knight
Grand Knight
Posts: 2215
Joined: 19 Nov 2005, 13:19
Location: Poland
Contact:

Post by Platyna »

Paste config.log.

Regards.
akurashy
Peon
Peon
Posts: 8
Joined: 19 Nov 2005, 04:36

Post by akurashy »

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by The Mana World configure 0.0.18.1, which was
generated by GNU Autoconf 2.59. Invocation command line was

$ ./configure --with-opengl

## --------- ##
## Platform. ##
## --------- ##

hostname = akulinux
uname -m = i686
uname -r = 2.6.12-10-k7
uname -s = Linux
uname -v = #1 Thu Dec 22 12:32:10 UTC 2005

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/bin/X11
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1389: checking for g++
configure:1405: found /usr/bin/g++
configure:1415: result: g++
configure:1431: checking for C++ compiler version
configure:1434: g++ --version </dev/null >&5
g++ (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:1437: $? = 0
configure:1439: g++ -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
configure:1442: $? = 0
configure:1444: g++ -V </dev/null >&5
g++: '-V' option must have argument
configure:1447: $? = 1
configure:1470: checking for C++ compiler default output file name
configure:1473: g++ conftest.cc >&5
configure:1476: $? = 0
configure:1522: result: a.out
configure:1527: checking whether the C++ compiler works
configure:1533: ./a.out
configure:1536: $? = 0
configure:1553: result: yes
configure:1560: checking whether we are cross compiling
configure:1562: result: no
configure:1565: checking for suffix of executables
configure:1567: g++ -o conftest conftest.cc >&5
configure:1570: $? = 0
configure:1595: result:
configure:1601: checking for suffix of object files
configure:1622: g++ -c conftest.cc >&5
configure:1625: $? = 0
configure:1647: result: o
configure:1651: checking whether we are using the GNU C++ compiler
configure:1675: g++ -c conftest.cc >&5
configure:1681: $? = 0
configure:1684: test -z || test ! -s conftest.err
configure:1687: $? = 0
configure:1690: test -s conftest.o
configure:1693: $? = 0
configure:1706: result: yes
configure:1712: checking whether g++ accepts -g
configure:1733: g++ -c -g conftest.cc >&5
configure:1739: $? = 0
configure:1742: test -z || test ! -s conftest.err
configure:1745: $? = 0
configure:1748: test -s conftest.o
configure:1751: $? = 0
configure:1762: result: yes
configure:1804: g++ -c -g -O2 conftest.cc >&5
configure:1810: $? = 0
configure:1813: test -z || test ! -s conftest.err
configure:1816: $? = 0
configure:1819: test -s conftest.o
configure:1822: $? = 0
configure:1848: g++ -c -g -O2 conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:13: error: 'exit' was not declared in this scope
configure:1854: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "The Mana World"
| #define PACKAGE_TARNAME "tmw"
| #define PACKAGE_VERSION "0.0.18.1"
| #define PACKAGE_STRING "The Mana World 0.0.18.1"
| #define PACKAGE_BUGREPORT "umperio@users.sourceforge.net"
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:1804: g++ -c -g -O2 conftest.cc >&5
configure:1810: $? = 0
configure:1813: test -z || test ! -s conftest.err
configure:1816: $? = 0
configure:1819: test -s conftest.o
configure:1822: $? = 0
configure:1848: g++ -c -g -O2 conftest.cc >&5
configure:1854: $? = 0
configure:1857: test -z || test ! -s conftest.err
configure:1860: $? = 0
configure:1863: test -s conftest.o
configure:1866: $? = 0
configure:1935: checking for gcc
configure:1951: found /usr/bin/gcc
configure:1961: result: gcc
configure:2205: checking for C compiler version
configure:2208: gcc --version </dev/null >&5
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2211: $? = 0
configure:2213: gcc -v </dev/null >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
configure:2216: $? = 0
configure:2218: gcc -V </dev/null >&5
gcc: '-V' option must have argument
configure:2221: $? = 1
configure:2224: checking whether we are using the GNU C compiler
configure:2248: gcc -c conftest.c >&5
configure:2254: $? = 0
configure:2257: test -z || test ! -s conftest.err
configure:2260: $? = 0
configure:2263: test -s conftest.o
configure:2266: $? = 0
configure:2279: result: yes
configure:2285: checking whether gcc accepts -g
configure:2306: gcc -c -g conftest.c >&5
configure:2312: $? = 0
configure:2315: test -z || test ! -s conftest.err
configure:2318: $? = 0
configure:2321: test -s conftest.o
configure:2324: $? = 0
configure:2335: result: yes
configure:2352: checking for gcc option to accept ANSI C
configure:2422: gcc -c -g -O2 conftest.c >&5
configure:2428: $? = 0
configure:2431: test -z || test ! -s conftest.err
configure:2434: $? = 0
configure:2437: test -s conftest.o
configure:2440: $? = 0
configure:2458: result: none needed
configure:2476: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before 'me'
configure:2482: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2650: checking for a BSD-compatible install
configure:2705: result: /usr/bin/install -c
configure:2716: checking whether make sets $(MAKE)
configure:2736: result: yes
configure:2749: checking for pthread_create in -lpthread
configure:2779: g++ -o conftest -g -O2 conftest.cc -lpthread >&5
configure:2785: $? = 0
configure:2788: test -z || test ! -s conftest.err
configure:2791: $? = 0
configure:2794: test -s conftest
configure:2797: $? = 0
configure:2810: result: yes
configure:2827: checking for gcnGuichanVersion in -lguichan
configure:2857: g++ -o conftest -g -O2 conftest.cc -lguichan -lpthread >&5
configure:2863: $? = 0
configure:2866: test -z || test ! -s conftest.err
configure:2869: $? = 0
configure:2872: test -s conftest
configure:2875: $? = 0
configure:2888: result: yes
configure:2911: checking for PHYSFS_init in -lphysfs
configure:2941: g++ -o conftest -g -O2 conftest.cc -lphysfs -lguichan -lpthread >&5
configure:2947: $? = 0
configure:2950: test -z || test ! -s conftest.err
configure:2953: $? = 0
configure:2956: test -s conftest
configure:2959: $? = 0
configure:2972: result: yes
configure:2989: checking for curl_global_init in -lcurl
configure:3019: g++ -o conftest -g -O2 conftest.cc -lcurl -lphysfs -lguichan -lpthread >&5
configure:3025: $? = 0
configure:3028: test -z || test ! -s conftest.err
configure:3031: $? = 0
configure:3034: test -s conftest
configure:3037: $? = 0
configure:3050: result: yes
configure:3071: checking for xmlInitParser in -lxml2
configure:3101: g++ -o conftest -g -O2 conftest.cc -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:3107: $? = 0
configure:3110: test -z || test ! -s conftest.err
configure:3113: $? = 0
configure:3116: test -s conftest
configure:3119: $? = 0
configure:3132: result: yes
configure:3149: checking for IMG_LoadPNG_RW in -lSDL_image
configure:3179: g++ -o conftest -g -O2 conftest.cc -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:3185: $? = 0
configure:3188: test -z || test ! -s conftest.err
configure:3191: $? = 0
configure:3194: test -s conftest
configure:3197: $? = 0
configure:3210: result: yes
configure:3229: checking for Mix_OpenAudio in -lSDL_mixer
configure:3259: g++ -o conftest -g -O2 conftest.cc -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:3265: $? = 0
configure:3268: test -z || test ! -s conftest.err
configure:3271: $? = 0
configure:3274: test -s conftest
configure:3277: $? = 0
configure:3290: result: yes
configure:3309: checking for SDLNet_Init in -lSDL_net
configure:3339: g++ -o conftest -g -O2 conftest.cc -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:3345: $? = 0
configure:3348: test -z || test ! -s conftest.err
configure:3351: $? = 0
configure:3354: test -s conftest
configure:3357: $? = 0
configure:3370: result: yes
configure:3387: checking for png_write_info in -lpng
configure:3417: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:3423: $? = 0
configure:3426: test -z || test ! -s conftest.err
configure:3429: $? = 0
configure:3432: test -s conftest
configure:3435: $? = 0
configure:3448: result: yes
configure:3470: checking how to run the C++ preprocessor
configure:3501: g++ -E conftest.cc
configure:3507: $? = 0
configure:3539: g++ -E conftest.cc
conftest.cc:21:28: error: ac_nonexistent.h: No such file or directory
configure:3545: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "The Mana World"
| #define PACKAGE_TARNAME "tmw"
| #define PACKAGE_VERSION "0.0.18.1"
| #define PACKAGE_STRING "The Mana World 0.0.18.1"
| #define PACKAGE_BUGREPORT "umperio@users.sourceforge.net"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBGUICHAN 1
| #define HAVE_LIBPHYSFS 1
| #define HAVE_LIBCURL 1
| #define HAVE_LIBXML2 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_NET 1
| #define HAVE_LIBPNG 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3584: result: g++ -E
configure:3608: g++ -E conftest.cc
configure:3614: $? = 0
configure:3646: g++ -E conftest.cc
conftest.cc:21:28: error: ac_nonexistent.h: No such file or directory
configure:3652: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "The Mana World"
| #define PACKAGE_TARNAME "tmw"
| #define PACKAGE_VERSION "0.0.18.1"
| #define PACKAGE_STRING "The Mana World 0.0.18.1"
| #define PACKAGE_BUGREPORT "umperio@users.sourceforge.net"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBGUICHAN 1
| #define HAVE_LIBPHYSFS 1
| #define HAVE_LIBCURL 1
| #define HAVE_LIBXML2 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_NET 1
| #define HAVE_LIBPNG 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3696: checking for egrep
configure:3706: result: grep -E
configure:3711: checking for ANSI C header files
configure:3736: g++ -c -g -O2 conftest.cc >&5
configure:3742: $? = 0
configure:3745: test -z || test ! -s conftest.err
configure:3748: $? = 0
configure:3751: test -s conftest.o
configure:3754: $? = 0
configure:3843: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:3846: $? = 0
configure:3848: ./conftest
./conftest: error while loading shared libraries: libphysfs-1.1.so.0: cannot open shared object file: No such file or directory
configure:3851: $? = 127
configure: program exited with status 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "The Mana World"
| #define PACKAGE_TARNAME "tmw"
| #define PACKAGE_VERSION "0.0.18.1"
| #define PACKAGE_STRING "The Mana World 0.0.18.1"
| #define PACKAGE_BUGREPORT "umperio@users.sourceforge.net"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBGUICHAN 1
| #define HAVE_LIBPHYSFS 1
| #define HAVE_LIBCURL 1
| #define HAVE_LIBXML2 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_NET 1
| #define HAVE_LIBPNG 1
| /* end confdefs.h. */
| #include <ctype.h>
| #if ((' ' & 0x0FF) == 0x020)
| # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
| # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
| #else
| # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') || ('j' <= (c) && (c) <= 'r') || ('s' <= (c) && (c) <= 'z'))
| # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
| #endif
|
| #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
| int
| main ()
| {
| int i;
| for (i = 0; i < 256; i++)
| if (XOR (islower (i), ISLOWER (i))
| || toupper (i) != TOUPPER (i))
| exit(2);
| exit (0);
| }
configure:3866: result: no
configure:3890: checking for sys/types.h
configure:3906: g++ -c -g -O2 conftest.cc >&5
configure:3912: $? = 0
configure:3915: test -z || test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3935: result: yes
configure:3890: checking for sys/stat.h
configure:3906: g++ -c -g -O2 conftest.cc >&5
configure:3912: $? = 0
configure:3915: test -z || test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3935: result: yes
configure:3890: checking for stdlib.h
configure:3906: g++ -c -g -O2 conftest.cc >&5
configure:3912: $? = 0
configure:3915: test -z || test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3935: result: yes
configure:3890: checking for string.h
configure:3906: g++ -c -g -O2 conftest.cc >&5
configure:3912: $? = 0
configure:3915: test -z || test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3935: result: yes
configure:3890: checking for memory.h
configure:3906: g++ -c -g -O2 conftest.cc >&5
configure:3912: $? = 0
configure:3915: test -z || test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3935: result: yes
configure:3890: checking for strings.h
configure:3906: g++ -c -g -O2 conftest.cc >&5
configure:3912: $? = 0
configure:3915: test -z || test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3935: result: yes
configure:3890: checking for inttypes.h
configure:3906: g++ -c -g -O2 conftest.cc >&5
configure:3912: $? = 0
configure:3915: test -z || test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3935: result: yes
configure:3890: checking for stdint.h
configure:3906: g++ -c -g -O2 conftest.cc >&5
configure:3912: $? = 0
configure:3915: test -z || test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3935: result: yes
configure:3890: checking for unistd.h
configure:3906: g++ -c -g -O2 conftest.cc >&5
configure:3912: $? = 0
configure:3915: test -z || test ! -s conftest.err
configure:3918: $? = 0
configure:3921: test -s conftest.o
configure:3924: $? = 0
configure:3935: result: yes
configure:3969: checking arpa/inet.h usability
configure:3981: g++ -c -g -O2 conftest.cc >&5
configure:3987: $? = 0
configure:3990: test -z || test ! -s conftest.err
configure:3993: $? = 0
configure:3996: test -s conftest.o
configure:3999: $? = 0
configure:4009: result: yes
configure:4013: checking arpa/inet.h presence
configure:4023: g++ -E conftest.cc
configure:4029: $? = 0
configure:4049: result: yes
configure:4084: checking for arpa/inet.h
configure:4091: result: yes
configure:3969: checking fcntl.h usability
configure:3981: g++ -c -g -O2 conftest.cc >&5
configure:3987: $? = 0
configure:3990: test -z || test ! -s conftest.err
configure:3993: $? = 0
configure:3996: test -s conftest.o
configure:3999: $? = 0
configure:4009: result: yes
configure:4013: checking fcntl.h presence
configure:4023: g++ -E conftest.cc
configure:4029: $? = 0
configure:4049: result: yes
configure:4084: checking for fcntl.h
configure:4091: result: yes
configure:3969: checking malloc.h usability
configure:3981: g++ -c -g -O2 conftest.cc >&5
configure:3987: $? = 0
configure:3990: test -z || test ! -s conftest.err
configure:3993: $? = 0
configure:3996: test -s conftest.o
configure:3999: $? = 0
configure:4009: result: yes
configure:4013: checking malloc.h presence
configure:4023: g++ -E conftest.cc
configure:4029: $? = 0
configure:4049: result: yes
configure:4084: checking for malloc.h
configure:4091: result: yes
configure:3969: checking netdb.h usability
configure:3981: g++ -c -g -O2 conftest.cc >&5
configure:3987: $? = 0
configure:3990: test -z || test ! -s conftest.err
configure:3993: $? = 0
configure:3996: test -s conftest.o
configure:3999: $? = 0
configure:4009: result: yes
configure:4013: checking netdb.h presence
configure:4023: g++ -E conftest.cc
configure:4029: $? = 0
configure:4049: result: yes
configure:4084: checking for netdb.h
configure:4091: result: yes
configure:3969: checking netinet/in.h usability
configure:3981: g++ -c -g -O2 conftest.cc >&5
configure:3987: $? = 0
configure:3990: test -z || test ! -s conftest.err
configure:3993: $? = 0
configure:3996: test -s conftest.o
configure:3999: $? = 0
configure:4009: result: yes
configure:4013: checking netinet/in.h presence
configure:4023: g++ -E conftest.cc
configure:4029: $? = 0
configure:4049: result: yes
configure:4084: checking for netinet/in.h
configure:4091: result: yes
configure:3960: checking for stdlib.h
configure:3965: result: yes
configure:3960: checking for string.h
configure:3965: result: yes
configure:3969: checking sys/socket.h usability
configure:3981: g++ -c -g -O2 conftest.cc >&5
configure:3987: $? = 0
configure:3990: test -z || test ! -s conftest.err
configure:3993: $? = 0
configure:3996: test -s conftest.o
configure:3999: $? = 0
configure:4009: result: yes
configure:4013: checking sys/socket.h presence
configure:4023: g++ -E conftest.cc
configure:4029: $? = 0
configure:4049: result: yes
configure:4084: checking for sys/socket.h
configure:4091: result: yes
configure:3960: checking for unistd.h
configure:3965: result: yes
configure:4120: checking guichan.hpp usability
configure:4132: g++ -c -g -O2 conftest.cc >&5
configure:4138: $? = 0
configure:4141: test -z || test ! -s conftest.err
configure:4144: $? = 0
configure:4147: test -s conftest.o
configure:4150: $? = 0
configure:4160: result: yes
configure:4164: checking guichan.hpp presence
configure:4174: g++ -E conftest.cc
configure:4180: $? = 0
configure:4200: result: yes
configure:4235: checking for guichan.hpp
configure:4242: result: yes
configure:4261: checking for stdbool.h that conforms to C99
configure:4314: g++ -c -g -O2 conftest.cc >&5
configure:4320: $? = 0
configure:4323: test -z || test ! -s conftest.err
configure:4326: $? = 0
configure:4329: test -s conftest.o
configure:4332: $? = 0
configure:4343: result: yes
configure:4345: checking for _Bool
configure:4369: g++ -c -g -O2 conftest.cc >&5
conftest.cc: In function 'int main()':
conftest.cc:77: error: '_Bool' was not declared in this scope
conftest.cc:77: error: expected primary-expression before ')' token
conftest.cc:77: error: expected `)' before numeric constant
conftest.cc:79: error: '_Bool' was not declared in this scope
configure:4375: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "The Mana World"
| #define PACKAGE_TARNAME "tmw"
| #define PACKAGE_VERSION "0.0.18.1"
| #define PACKAGE_STRING "The Mana World 0.0.18.1"
| #define PACKAGE_BUGREPORT "umperio@users.sourceforge.net"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBGUICHAN 1
| #define HAVE_LIBPHYSFS 1
| #define HAVE_LIBCURL 1
| #define HAVE_LIBXML2 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_NET 1
| #define HAVE_LIBPNG 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GUICHAN_HPP 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if ((_Bool *) 0)
| return 0;
| if (sizeof (_Bool))
| return 0;
| ;
| return 0;
| }
configure:4398: result: no
configure:4417: checking for an ANSI C-conforming const
configure:4484: g++ -c -g -O2 conftest.cc >&5
configure:4490: $? = 0
configure:4493: test -z || test ! -s conftest.err
configure:4496: $? = 0
configure:4499: test -s conftest.o
configure:4502: $? = 0
configure:4513: result: yes
configure:4523: checking whether time.h and sys/time.h may both be included
configure:4548: g++ -c -g -O2 conftest.cc >&5
configure:4554: $? = 0
configure:4557: test -z || test ! -s conftest.err
configure:4560: $? = 0
configure:4563: test -s conftest.o
configure:4566: $? = 0
configure:4577: result: yes
configure:4587: checking for working volatile
configure:4610: g++ -c -g -O2 conftest.cc >&5
configure:4616: $? = 0
configure:4619: test -z || test ! -s conftest.err
configure:4622: $? = 0
configure:4625: test -s conftest.o
configure:4628: $? = 0
configure:4639: result: yes
configure:4651: checking for error_at_line
configure:4672: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
conftest.cc: In function 'int main()':
conftest.cc:79: error: 'error_at_line' was not declared in this scope
configure:4678: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "The Mana World"
| #define PACKAGE_TARNAME "tmw"
| #define PACKAGE_VERSION "0.0.18.1"
| #define PACKAGE_STRING "The Mana World 0.0.18.1"
| #define PACKAGE_BUGREPORT "umperio@users.sourceforge.net"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBGUICHAN 1
| #define HAVE_LIBPHYSFS 1
| #define HAVE_LIBCURL 1
| #define HAVE_LIBXML2 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_NET 1
| #define HAVE_LIBPNG 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GUICHAN_HPP 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| /* end confdefs.h. */
| #include <stdio.h>
| #if HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #if HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #if STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # if HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #if HAVE_STRING_H
| # if !STDC_HEADERS && HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #if HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #if HAVE_INTTYPES_H
| # include <inttypes.h>
| #else
| # if HAVE_STDINT_H
| # include <stdint.h>
| # endif
| #endif
| #if HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| error_at_line (0, 0, "", 0, "");
| ;
| return 0;
| }
configure:4702: result: no
configure:4720: checking for stdlib.h
configure:4725: result: yes
configure:4864: checking for GNU libc compatible malloc
configure:4893: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:4896: $? = 0
configure:4898: ./conftest
./conftest: error while loading shared libraries: libphysfs-1.1.so.0: cannot open shared object file: No such file or directory
configure:4901: $? = 127
configure: program exited with status 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "The Mana World"
| #define PACKAGE_TARNAME "tmw"
| #define PACKAGE_VERSION "0.0.18.1"
| #define PACKAGE_STRING "The Mana World 0.0.18.1"
| #define PACKAGE_BUGREPORT "umperio@users.sourceforge.net"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBGUICHAN 1
| #define HAVE_LIBPHYSFS 1
| #define HAVE_LIBCURL 1
| #define HAVE_LIBXML2 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_NET 1
| #define HAVE_LIBPNG 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GUICHAN_HPP 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STDLIB_H 1
| /* end confdefs.h. */
| #if STDC_HEADERS || HAVE_STDLIB_H
| # include <stdlib.h>
| #else
| char *malloc ();
| #endif
|
| int
| main ()
| {
| exit (malloc (0) ? 0 : 1);
| ;
| return 0;
| }
configure:4915: result: no
configure:4950: checking for stdlib.h
configure:4955: result: yes
configure:5094: checking for GNU libc compatible realloc
configure:5123: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:5126: $? = 0
configure:5128: ./conftest
./conftest: error while loading shared libraries: libphysfs-1.1.so.0: cannot open shared object file: No such file or directory
configure:5131: $? = 127
configure: program exited with status 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "The Mana World"
| #define PACKAGE_TARNAME "tmw"
| #define PACKAGE_VERSION "0.0.18.1"
| #define PACKAGE_STRING "The Mana World 0.0.18.1"
| #define PACKAGE_BUGREPORT "umperio@users.sourceforge.net"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBGUICHAN 1
| #define HAVE_LIBPHYSFS 1
| #define HAVE_LIBCURL 1
| #define HAVE_LIBXML2 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_NET 1
| #define HAVE_LIBPNG 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GUICHAN_HPP 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 0
| #define malloc rpl_malloc
| #define HAVE_STDLIB_H 1
| /* end confdefs.h. */
| #if STDC_HEADERS || HAVE_STDLIB_H
| # include <stdlib.h>
| #else
| char *realloc ();
| #endif
|
| int
| main ()
| {
| exit (realloc (0, 0) ? 0 : 1);
| ;
| return 0;
| }
configure:5145: result: no
configure:5190: checking sys/select.h usability
configure:5202: g++ -c -g -O2 conftest.cc >&5
configure:5208: $? = 0
configure:5211: test -z || test ! -s conftest.err
configure:5214: $? = 0
configure:5217: test -s conftest.o
configure:5220: $? = 0
configure:5230: result: yes
configure:5234: checking sys/select.h presence
configure:5244: g++ -E conftest.cc
configure:5250: $? = 0
configure:5270: result: yes
configure:5305: checking for sys/select.h
configure:5312: result: yes
configure:5181: checking for sys/socket.h
configure:5186: result: yes
configure:5325: checking types of arguments for select
configure:5358: g++ -c -g -O2 conftest.cc >&5
configure:5364: $? = 0
configure:5367: test -z || test ! -s conftest.err
configure:5370: $? = 0
configure:5373: test -s conftest.o
configure:5376: $? = 0
configure:5392: result: int,fd_set *,struct timeval *
configure:5419: checking for vprintf
configure:5476: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:5482: $? = 0
configure:5485: test -z || test ! -s conftest.err
configure:5488: $? = 0
configure:5491: test -s conftest
configure:5494: $? = 0
configure:5506: result: yes
configure:5513: checking for _doprnt
configure:5570: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
/tmp/ccF65Xlm.o: In function `main':
/home/david/tmw/conftest.cc:92: undefined reference to `_doprnt'
/tmp/ccF65Xlm.o:(.data+0x0): undefined reference to `_doprnt'
collect2: ld returned 1 exit status
configure:5576: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "The Mana World"
| #define PACKAGE_TARNAME "tmw"
| #define PACKAGE_VERSION "0.0.18.1"
| #define PACKAGE_STRING "The Mana World 0.0.18.1"
| #define PACKAGE_BUGREPORT "umperio@users.sourceforge.net"
| #ifdef __cplusplus
| extern "C" void std::exit (int) throw (); using std::exit;
| #endif
| #define HAVE_LIBPTHREAD 1
| #define HAVE_LIBGUICHAN 1
| #define HAVE_LIBPHYSFS 1
| #define HAVE_LIBCURL 1
| #define HAVE_LIBXML2 1
| #define HAVE_LIBSDL_IMAGE 1
| #define HAVE_LIBSDL_MIXER 1
| #define HAVE_LIBSDL_NET 1
| #define HAVE_LIBPNG 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_GUICHAN_HPP 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 0
| #define malloc rpl_malloc
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 0
| #define realloc rpl_realloc
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define HAVE_VPRINTF 1
| /* end confdefs.h. */
| /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define _doprnt innocuous__doprnt
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char _doprnt (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef _doprnt
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char _doprnt ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub__doprnt) || defined (__stub____doprnt)
| choke me
| #else
| char (*f) () = _doprnt;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != _doprnt;
| ;
| return 0;
| }
configure:5600: result: no
configure:5625: checking for atexit
configure:5682: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:5688: $? = 0
configure:5691: test -z || test ! -s conftest.err
configure:5694: $? = 0
configure:5697: test -s conftest
configure:5700: $? = 0
configure:5712: result: yes
configure:5625: checking for floor
configure:5682: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:5688: $? = 0
configure:5691: test -z || test ! -s conftest.err
configure:5694: $? = 0
configure:5697: test -s conftest
configure:5700: $? = 0
configure:5712: result: yes
configure:5625: checking for getcwd
configure:5682: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:5688: $? = 0
configure:5691: test -z || test ! -s conftest.err
configure:5694: $? = 0
configure:5697: test -s conftest
configure:5700: $? = 0
configure:5712: result: yes
configure:5625: checking for gethostbyname
configure:5682: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:5688: $? = 0
configure:5691: test -z || test ! -s conftest.err
configure:5694: $? = 0
configure:5697: test -s conftest
configure:5700: $? = 0
configure:5712: result: yes
configure:5625: checking for memset
configure:5682: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:5688: $? = 0
configure:5691: test -z || test ! -s conftest.err
configure:5694: $? = 0
configure:5697: test -s conftest
configure:5700: $? = 0
configure:5712: result: yes
configure:5625: checking for mkdir
configure:5682: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:5688: $? = 0
configure:5691: test -z || test ! -s conftest.err
configure:5694: $? = 0
configure:5697: test -s conftest
configure:5700: $? = 0
configure:5712: result: yes
configure:5625: checking for select
configure:5682: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:5688: $? = 0
configure:5691: test -z || test ! -s conftest.err
configure:5694: $? = 0
configure:5697: test -s conftest
configure:5700: $? = 0
configure:5712: result: yes
configure:5625: checking for socket
configure:5682: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:5688: $? = 0
configure:5691: test -z || test ! -s conftest.err
configure:5694: $? = 0
configure:5697: test -s conftest
configure:5700: $? = 0
configure:5712: result: yes
configure:5724: checking whether build environment is sane
configure:5767: result: yes
configure:5832: checking for gawk
configure:5861: result: no
configure:5832: checking for mawk
configure:5848: found /usr/bin/mawk
configure:5858: result: mawk
configure:5889: checking for style of include used by make
configure:5917: result: GNU
configure:6093: checking dependency style of gcc
configure:6183: result: gcc3
configure:6202: checking dependency style of g++
configure:6292: result: gcc3
configure:6331: checking for sdl-config
configure:6349: found /usr/bin/sdl-config
configure:6361: result: /usr/bin/sdl-config
configure:6510: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by The Mana World config.status 0.0.18.1, which was
generated by GNU Autoconf 2.59. Invocation command line was

CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status

on akulinux

config.status:753: creating Makefile
config.status:753: creating src/Makefile
config.status:753: creating data/Makefile
config.status:753: creating data/graphics/Makefile
config.status:753: creating data/graphics/gui/Makefile
config.status:753: creating data/graphics/images/Makefile
config.status:753: creating data/graphics/sprites/Makefile
config.status:753: creating data/graphics/tiles/Makefile
config.status:753: creating data/help/Makefile
config.status:753: creating data/icons/Makefile
config.status:753: creating data/maps/Makefile
config.status:753: creating data/sfx/Makefile
config.status:753: creating docs/Makefile
config.status:819: creating config.h
config.status:1205: executing depfiles commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_volatile=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_func__doprnt=no
ac_cv_func_atexit=yes
ac_cv_func_floor=yes
ac_cv_func_getcwd=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_malloc_0_nonnull=no
ac_cv_func_memset=yes
ac_cv_func_mkdir=yes
ac_cv_func_realloc_0_nonnull=no
ac_cv_func_select=yes
ac_cv_func_select_args='int,fd_set *,struct timeval *'
ac_cv_func_socket=yes
ac_cv_func_vprintf=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_guichan_hpp=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_malloc_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdbool_h=yes
ac_cv_header_stdc=no
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_time=yes
ac_cv_header_unistd_h=yes
ac_cv_lib_SDL_image_IMG_LoadPNG_RW=yes
ac_cv_lib_SDL_mixer_Mix_OpenAudio=yes
ac_cv_lib_SDL_net_SDLNet_Init=yes
ac_cv_lib_curl_curl_global_init=yes
ac_cv_lib_error_at_line=no
ac_cv_lib_guichan_gcnGuichanVersion=yes
ac_cv_lib_physfs_PHYSFS_init=yes
ac_cv_lib_png_png_write_info=yes
ac_cv_lib_pthread_pthread_create=yes
ac_cv_lib_xml2_xmlInitParser=yes
ac_cv_objext=o
ac_cv_path_LIBSDL_CONFIG=/usr/bin/sdl-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=mawk
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=yes
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_type__Bool=no
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/david/tmw/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /home/david/tmw/missing --run tar'
AUTOCONF='${SHELL} /home/david/tmw/missing --run autoconf'
AUTOHEADER='${SHELL} /home/david/tmw/missing --run autoheader'
AUTOMAKE='${SHELL} /home/david/tmw/missing --run automake-1.9'
AWK='mawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPPFLAGS=''
CURL_CFLAGS=' -I/usr/local/include '
CURL_LIBS=' -L/usr/local/lib -lcurl -ldl -lz'
CXX='g++'
CXXCPP='g++ -E'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=' error$U.o malloc$U.o realloc$U.o'
LIBS='-lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread '
LIBSDL_CFLAGS='-I/usr/include/SDL -D_REENTRANT'
LIBSDL_CONFIG='/usr/bin/sdl-config'
LIBSDL_LIBS='-L/usr/lib -lSDL -lpthread -lSDL_image -lSDL_mixer'
LTLIBOBJS=' error$U.lo malloc$U.lo realloc$U.lo'
MAKEINFO='${SHELL} /home/david/tmw/missing --run makeinfo'
OBJEXT='o'
OPENGL_CFLAGS=' -DUSE_OPENGL'
OPENGL_LIBS=' -lGL -lguichan_opengl'
PACKAGE='tmw'
PACKAGE_BUGREPORT='umperio@users.sourceforge.net'
PACKAGE_NAME='The Mana World'
PACKAGE_STRING='The Mana World 0.0.18.1'
PACKAGE_TARNAME='tmw'
PACKAGE_VERSION='0.0.18.1'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.0.18.1'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='${prefix}'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/david/tmw/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_ARPA_INET_H 1
#define HAVE_ATEXIT 1
#define HAVE_FCNTL_H 1
#define HAVE_FLOOR 1
#define HAVE_GETCWD 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GUICHAN_HPP 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBCURL 1
#define HAVE_LIBGUICHAN 1
#define HAVE_LIBPHYSFS 1
#define HAVE_LIBPNG 1
#define HAVE_LIBPTHREAD 1
#define HAVE_LIBSDL 1
#define HAVE_LIBSDL_IMAGE 1
#define HAVE_LIBSDL_MIXER 1
#define HAVE_LIBSDL_NET 1
#define HAVE_LIBXML2 1
#define HAVE_MALLOC 0
#define HAVE_MALLOC_H 1
#define HAVE_MEMORY_H 1
#define HAVE_MEMSET 1
#define HAVE_MKDIR 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_REALLOC 0
#define HAVE_SELECT 1
#define HAVE_SOCKET 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_UNISTD_H 1
#define HAVE_VPRINTF 1
#define PACKAGE "tmw"
#define PACKAGE_BUGREPORT "umperio@users.sourceforge.net"
#define PACKAGE_NAME "The Mana World"
#define PACKAGE_STRING "The Mana World 0.0.18.1"
#define PACKAGE_TARNAME "tmw"
#define PACKAGE_VERSION "0.0.18.1"
#define SELECT_TYPE_ARG1 int
#define SELECT_TYPE_ARG234 (fd_set *)
#define SELECT_TYPE_ARG5 (struct timeval *)
#define TIME_WITH_SYS_TIME 1
#define VERSION "0.0.18.1"
#define malloc rpl_malloc
#define realloc rpl_realloc
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0
User avatar
Platyna
Grand Knight
Grand Knight
Posts: 2215
Joined: 19 Nov 2005, 13:19
Location: Poland
Contact:

Post by Platyna »

config.log wrote: configure:5094: checking for GNU libc compatible realloc
configure:5123: g++ -o conftest -g -O2 conftest.cc -lpng -lSDL_net -lSDL_mixer -lSDL_image -lxml2 -lcurl -lphysfs -lguichan -lpthread >&5
configure:5126: $? = 0
configure:5128: ./conftest ./conftest: error while loading shared libraries: libphysfs-1.1.so.0: cannot open shared object file: No such file or directory configure:5131: $? = 127
configure: program exited with status 127
configure:5145: result: no
*Hint* *hint*. First of all: you haven't RTFM - Depencies information, and you are trying to use physfs 1.1.x which doesn't work with TMW. Tsk, tsk.
Second...you have installed that lib in the wrong place. Get physfs 1.0.x and configure it with --prefix=/usr. You may also play with your ld.so.conf (which I can't recommend since I think files shouldn't be spread all over the FS unless it is really required).

Regards.
akurashy
Peon
Peon
Posts: 8
Joined: 19 Nov 2005, 04:36

Post by akurashy »

well nvm, probably i try other games, looks like tmw is buggy
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Post by ElvenProgrammer »

Feel free to, and TMW is buggy of course, it's still under heavy development, but please don't state it's buggy only because YOU were not able to compile it.
User avatar
Platyna
Grand Knight
Grand Knight
Posts: 2215
Joined: 19 Nov 2005, 13:19
Location: Poland
Contact:

Post by Platyna »

akurashy wrote:well nvm, probably i try other games, looks like tmw is buggy
Problem exists by your side. If you are not willing to comply with the documentation we provide you can't blame us it doesn't work. I posted a solution of this problem for everyone who actually wants to use it.

Regards.
Post Reply