Talk:Building on Mac OS X

From Gnash Project Wiki

Jump to: navigation, search

I've almost successfully build gnash-0.8.8 release on snow leopard 64bit using:

sudo port upgrade outdated
sudo port install gmake antigraingeometry gettext boost curl jpeg libungif libsdl ffmpeg
sudo port install fontconfig freetype cairo #  cairo-devel is actually not compatible with cairo
sudo port install python26 py26-curl
sudo port install curl +universal
sudo port sync
./configure --enable-renderer=agg --enable-gui=aqua,sdl --enable-media=ffmpeg

configure completes without error however when I run gmake I get the following error.

gmake =>

gmake[2]: Entering directory `/Users/admin/Desktop/gnash-release/gnash-0.8.8/gui' 
CXX    aqua_gnash-gnash.o
In file included from gnash.cpp:54:
/opt/local/include/libavcodec/avcodec.h:44:1: warning: "LIBAVCODEC_IDENT" redefined 
<command line>:1:1: warning: this is the location of the previous definition
gnash.cpp: In function ‘int main(int, char**)’:
 gnash.cpp:561: error: ‘libintl_setlocale’ is not a member of ‘std’
gmake[2]: *** [aqua_gnash-gnash.o] Error 1
gmake[2]: Leaving directory `/Users/admin/Desktop/gnash-release/gnash-0.8.8/gui'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/Users/admin/Desktop/gnash-release/gnash-0.8.8'
gmake: *** [all] Error 2