Re: Problems compiling Amaya 11.2 on FreeBSD

Le mercredi 09 septembre 2009 à 23:16 +0200, Philipp Ost a écrit :
> Hi *,
> 
> I have troubles compiling Amaya 11.2 on my FreeBSD machine (8.0-BETA2, 
> i386).
> 
> Here's what I've done so far:
> - downloaded amaya-sources-11.2.tgz and unpacked it
> - created a directory 'freebsd' under Amaya (as per the README-file)
> - ran configure: ../configure --with-gl --enable-system-libwww 
> --enable-system-raptor
> - gmake all
> 
> libwww-5.4.0 and raptor-1.4.18 are installed from the ports-tree.
> 
> Then the fun begins ;-)
> First, it fails due to a redefinition of intptr_t in thot_sys.h at line 
> 257. I commented this out. It then continues happily until it reaches
> 
> [snipped lots of stuff]
> gmake[3]: Entering directory 
> `/data/Projekte/Amaya/Amaya11.2/Amaya/freebsd/thotlib'
> g++ -O2 -Wall -x c++ -D__cplusplus -D_UNIX -D_GL -D_WX -DHAVE_CONFIG_H 
> -I.. -I../../amaya/xpm -I../../thotlib/include 
> -I../../thotlib/internals/var -I../../thotlib/internals/h 
> -I../../thotlib/internals/f 
> -I/data/Projekte/Amaya/Amaya11.2/wxWidgets/src/png 
> -I/data/Projekte/Amaya/Amaya11.2/wxWidgets/src/jpeg 
> -I/data/Projekte/Amaya/Amaya11.2/wxWidgets/src/tiff 
> -I/data/Projekte/Amaya/Amaya11.2/Amaya/freebsd/wxWidgets_RELEASE/lib/wx/include/gtk2-unicode-release-static-2.8 
> -I/data/Projekte/Amaya/Amaya11.2/wxWidgets/include 
> -I/data/Projekte/Amaya/Amaya11.2/wxWidgets/contrib/include 
> -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread 
> -D_THREAD_SAFE -I/usr/X11R6/include   -I/usr/local/include/freetype2 
> -I/usr/local/include  -c ../../thotlib/unicode/ustring.c -o 
> unicode/ustring.o
> .../../thotlib/unicode/ustring.c: In function 'CHARSET 
> TtaGetLocaleCharset()':
> .../../thotlib/unicode/ustring.c:440: error: '_NL_MESSAGES_CODESET' was 
> not declared in this scope
> gmake[3]: *** [unicode/ustring.o] Error 1
> gmake[3]: Leaving directory 
> `/data/Projekte/Amaya/Amaya11.2/Amaya/freebsd/thotlib'
> gmake[2]: *** [../thotlib/libThotKernel.a] Error 2
> gmake[2]: Leaving directory 
> `/data/Projekte/Amaya/Amaya11.2/Amaya/freebsd/batch'
> gmake[1]: *** [../bin/str] Error 2
> gmake[1]: Leaving directory 
> `/data/Projekte/Amaya/Amaya11.2/Amaya/freebsd/amaya'
> $
> 
> I looked for _NL_MESSAGES_CODESET on my system but couldn't find 
> anything. Neither did Google.
> Where does this thing come from? How to resolve this?

Normally this value is defined in my system in /usr/include/langinfo.h

> 
> Thanks a lot in advance.
> 
> Regards,
> Philipp
-- 
Irene Vatton <Irene.Vatton@inria.fr>
INRIA

Received on Tuesday, 15 September 2009 07:41:27 UTC