bugGnash - The GNU Flash player - Bugs: bug #18308, Build on Darwin fails at...

 
 

bug #18308: Build on Darwin fails at render_handler_ogl.cpp, can't find .h files in ./libbase

Submitted by:  Michael Brian Bentley <crenelle>
Submitted on:  Wed 15 Nov 2006 06:20:08 PM UTC  
 
Category: buildSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 18 Nov 2006 08:57:01 AM UTC, comment #5:

Please open a new bug item (since it's a different bug).
Make sure you're building from the HEAD branch and report
your ./configure invocation and it's summary lines

glXGetCurrentContext <--- this is our current problem, it seems..

Sandro Santilli <strk>
Project Member
Fri 17 Nov 2006 07:03:11 PM UTC, comment #4:

Using darwin/mac port, installed automake 1.9.6. Port automagically installed perl 5.8.8 and autoconf 2.60.

Gnash does not yet build, but this particular problem is resolved.

After doing a make clean, a cvs update, a ./autogen.sh, ./configure, and make:

The ./autogen.sh output is now:

processing .
Running aclocal -I macros ...
/opt/local/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
Running autoheader...
Running automake ...
Running autoconf ...
processing ./libltdl
Running aclocal ...
/opt/local/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
Running autoheader...
Running automake ...
Running autoconf ...

The salient part of the make results are:

Making all in backend
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../server/parser -I../libbase -I../backend -I../libgeometry -D_THREAD_SAFE -I/opt/local/include/pango-1.0 -I/usr/X11R6/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -g -O2 -D_THREAD_SAFE -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT render_handler_ogl.lo -MD -MP -MF ".deps/render_handler_ogl.Tpo" -c -o render_handler_ogl.lo render_handler_ogl.cpp; \
then mv -f ".deps/render_handler_ogl.Tpo" ".deps/render_handler_ogl.Plo"; else rm -f ".deps/render_handler_ogl.Tpo"; exit 1; fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../server/parser -I../libbase -I../backend -I../libgeometry -D_THREAD_SAFE -I/opt/local/include/pango-1.0 -I/usr/X11R6/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -g -O2 -D_THREAD_SAFE -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT render_handler_ogl.lo -MD -MP -MF .deps/render_handler_ogl.Tpo -c render_handler_ogl.cpp -fno-common -DPIC -o .libs/render_handler_ogl.o
render_handler_ogl.cpp: In function 'bool opengl_accessible()':
render_handler_ogl.cpp:1514: error: 'glXGetCurrentContext' was not declared in this scope
render_handler_ogl.cpp: At global scope:
render_handler_ogl.cpp:65: warning: 'yuv2rgb' defined but not used
render_handler_ogl.cpp:66: warning: 'yuv2rgbmatrix' defined but not used
render_handler_ogl.cpp:72: warning: 'iquad' defined but not used
make[2]: *** [render_handler_ogl.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Michael Brian Bentley <crenelle>
Fri 17 Nov 2006 05:35:33 PM UTC, comment #3:

guess you'll need a more recent version of automake.
What version do you have ?

Sandro Santilli <strk>
Project Member
Fri 17 Nov 2006 05:17:47 AM UTC, comment #2:

I did but I didn't watch it run. I ran it again and found that I overlooked a thousand million copies of stuff like:

"backend/Makefile.am:109: warning: automake does not support conditional definition of AM_LDFLAGS in libgnashbackend_la_LIBADD"

I missed 'em because the warnings scrolled off the screen.

Results enclosed as the file called results.

Michael Brian Bentley <crenelle>
Thu 16 Nov 2006 07:57:25 AM UTC, comment #1:

Did you run ./autogen.sh ? Any warning there ?

Sandro Santilli <strk>
Project Member
Wed 15 Nov 2006 06:20:08 PM UTC, original submission:

Darwin under OS X 10.4.7 with XCode 2.4.1 installed, using
gcc version 4.0.1 (Apple Computer, Inc. build 5367)

complete report included in enclosed file, here's an excerpt:

Making all in backend
source='render_handler_ogl.cpp' object='render_handler_ogl.lo' libtool=yes \
depfile='.deps/render_handler_ogl.Plo' tmpdepfile='.deps/render_handler_ogl.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -DQT_THREAD_SUPPORT -g -O2 -D_THREAD_SAFE -mcpu=7450 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -c -o render_handler_ogl.lo `test -f 'render_handler_ogl.cpp' || echo './'`render_handler_ogl.cpp
In file included from render_handler_ogl.cpp:12:
render_handler.h:161:40: error: tu_config.h: No such file or directory
render_handler.h:163:35: error: shape_character_def.h: No such file or directory
render_handler.h:164:35: error: generic_character.h: No such file or directory
In file included from render_handler_ogl.cpp:13:
render_handler_tri.h:29:19: error: gnash.h: No such file or directory
render_handler_tri.h:30:19: error: types.h: No such file or directory
render_handler_tri.h:31:19: error: image.h: No such file or directory
render_handler_tri.h:32:21: error: utility.h: No such file or directory

Michael Brian Bentley <crenelle>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #11281:  061115build.txt added by crenelle (218KiB - text/plain - record of gnash build output)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 18 Nov 2006 08:57:01 AM UTCstrkStatusNeed Info=>Fixed
  Open/ClosedOpen=>Closed
Thu 16 Nov 2006 07:57:25 AM UTCstrkStatusNone=>Need Info
Wed 15 Nov 2006 06:20:08 PM UTCcrenelleAttached File-=>Added 061115build.txt, #11281
  Carbon-Copy-=>Added -unavailable-

Back to the top


Powered by Savane 3.1-cleanup1