URL:
<http://gna.org/bugs/?11512>
Summary: fails to build on mac, missing link to libintl
Project: Wormux
Submitted by: auria
Submitted on: Wednesday 04/16/2008 at 19:16
Category: Compilation
Severity: 3 - Normal
Priority: 1 - Later
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release: SVN (4241)
Discussion Lock: Any
_______________________________________________________
Details:
On mac, SVN, wormux will not compile because libintl symbols are missing.
The makefiles contain this :
INTLLIBS = -lintl -Wl,-framework -Wl,CoreFoundation
INTL_MACOSX_LIBS = -Wl,-framework -Wl,CoreFoundation
LDFLAGS =
LIBCURL = -L/usr/lib -lcurl -lssl -lcrypto -lz
LIBCURL_CPPFLAGS =
LIBICONV = -liconv
LIBINTL = -lintl -Wl,-framework -Wl,CoreFoundation
LIBOBJS =
LIBS = -lSDL_net -lSDL_ttf -lSDL_mixer -lSDL_image -lpng -lSDL_gfx
-Wl,-framework,Carbon -L/usr/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa
-L/usr/local/lib -lpng12 -lxml2 -lpthread -lz -liconv -lm
-L/usr/local/lib -lpng12
LOCALEDIR = /opt/wormux/share/locale
LTLIBICONV = -liconv
LTLIBINTL = -lintl -Wl,-framework -Wl,CoreFoundation
LTLIBOBJS =
INTLLIBS and friends are defined, but apparently not used (when doing 'make',
intl flags are not used during linking). This can be temporarly fixed by
adding "-lintl" in LIBS in src/makefile, but should be fixed in the autotools
files so that no manual fix is required
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11512>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna