[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] Creating Gnash.app - Aqua build missing aqua-gnash
From: |
Michael Brancato |
Subject: |
Re: [Gnash-dev] Creating Gnash.app - Aqua build missing aqua-gnash |
Date: |
Fri, 13 Jun 2008 15:51:16 -0400 |
User-agent: |
Thunderbird 2.0.0.12 (Macintosh/20080213) |
Hubert Figuiere wrote:
On Fri, 2008-06-13 at 14:40 -0400, Michael Brancato wrote:
glib-object.h: No such file or directory
you need glib
Or disable gstreamer support and use ffmpeg directly.
Hub
I don't know that a lack of glib is the cause. The configure script
should generate the proper flags for compile time and glib is installed
and detected by configure.
checking for Glib header... -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include
checking for glib library... -L/sw/lib -lglib-2.0 -lintl -liconv
but then again, I just was trying "make aqua-gnash" but the normal
"make" in the top-level directory should build everything.
the Makefile in gui/ seemed to be lacking any reference to include glib
so I modified the following lines to hack together a test for my setup:
am__append_7 = $(GSTREAMER_CFLAGS) -I/sw/include/glib-2.0
-I/sw/lib/glib-2.0/include
am__append_8 = $(GSTREAMER_LIBS) -L/sw/lib -lglib-2.0 -lintl -liconv
That did the trick. So there is something in the Makefile generation
that is not passing glib include/lib flags into the gui/Makefile for
aqua builds. Secondarily, the "make aqua-gnash" is not being run from
the top-level "make".
Thanks for the direction, this successfully built the aqua-gnash binary.
<snip>
g++ -g -O2 -D_THREAD_SAFE -W -Wall -Wcast-align -Wcast-qual
-Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -Wextra -ansi
-o .libs/aqua-gnash aqua_gnash-gnash.o aqua_gnash-gui.o
aqua_gnash-Player.o aqua_gnash-NullGui.o aqua_gnash-gui_aqua.o
aqua_gnash-aqua_ogl_glue.o aqua_gnash-aqua.o -framework Carbon
-framework ApplicationServices -framework OpenGL -framework AGL
-dylib_file
/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries/libGL.dylib
-Wl,-bind_at_load -L/sw/lib -L/usr/local/lib
../libamf/.libs/libgnashamf.dylib ../libnet/.libs/libgnashnet.dylib
../libmedia/.libs/libgnashmedia.dylib
../server/.libs/libgnashserver.dylib
/home/mike/Documents/gnash/gnash/libnet/.libs/libgnashnet.dylib
/home/mike/Documents/gnash/gnash/libamf/.libs/libgnashamf.dylib
/home/mike/Documents/gnash/gnash/libmedia/.libs/libgnashmedia.dylib
/usr/local/lib/libgstbase-0.10.dylib
/home/mike/Documents/gnash/gnash/libbase/.libs/libgnashbase.dylib
/usr/lib/libxml2.dylib -licucore -L/usr/X11/lib
/usr/X11/lib/libfontconfig.dylib /usr/lib/libiconv.dylib
/usr/X11/lib/libfreetype.dylib /usr/lib/libexpat.dylib
../libbase/.libs/libgnashbase.dylib /sw/lib/libjpeg.dylib
/sw/lib/libltdl.dylib -ldl -lcurl -lboost_thread-mt-1_35
-lboost_date_time-mt-1_35 /usr/local/lib/libgstreamer-0.10.dylib
/sw/lib/libgobject-2.0.dylib /sw/lib/libgthread-2.0.dylib
/sw/lib/libgmodule-2.0.dylib /sw/lib/libxml2.dylib -lpthread -lz -lm
/sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib -lc
/sw/lib/libiconv.dylib ../backend/.libs/libgnashogl.a -llber
creating aqua-gnash
which lead to further completion of Gnash.app. I'm having new problems
with the plugin now...
But aqua-gnash "works" from the command-line.
--
Mike Brancato, CISSP