bugGnash - The GNU Flash player - Bugs: bug #18286, wrong detection of gtkglext (0.7.2...

 
 

bug #18286: wrong detection of gtkglext (0.7.2 + head)

Submitted by:  None
Submitted on:  Mon 13 Nov 2006 02:50:06 PM UTC  
 
Category: buildSeverity: 4 - Important
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Markus Gothe <nihilus>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Mon 09 Jul 2007 09:18:20 AM UTC, comment #15:

I just tried this with gtkglext installed under /usr/local and it found all the headers and compiled fine.

Martin Guy <martinwguy>
Mon 28 May 2007 06:14:08 PM UTC, comment #14:

It seems something changed again in the code base, could you try with an up to date CVS ?

Sandro Santilli <strk>
Project Member
Sun 25 Feb 2007 08:47:53 PM UTC, comment #13:

just verified against gnash-cvs-20070224; essentially identical error to previous comment.

pkg-config --cflags gtkglext-1.0
-I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0

locate gdkglext-config.h
/usr/lib/gtkglext-1.0/include/gdkglext-config.h

compiler call from make file was

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../server/parser -I../server/vm -I../libltdl -I../libbase -I../backend -I../libgeometry -I/usr/include/SDL -I/usr/include -I/usr/include/gtkglext-1.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -DPKGDATADIR=\"/usr/share/gnash\" -DRENDERER_CONFIG=\"opengl\" -DGUI_CONFIG=\"gtk\" -DSOUND_CONFIG=\"none\" -DDECODER_CONFIG=\"none\" -DTARGET_CONFIG=\"i386-redhat-linux-gnu\" -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT gtk.lo -MD -MP -MF .deps/gtk.Tpo -c gtk.cpp -fPIC -DPIC -o .libs/gtk.o

Anonymous
Mon 27 Nov 2006 02:01:03 PM UTC, comment #12:

Note that output of 'make dumpconfig' is attached.

Anonymous
Wed 22 Nov 2006 10:52:13 PM UTC, comment #11:

please gimme: 'make dumpconfig'

Markus Gothe <nihilus>
Project MemberIn charge of this item.
Wed 22 Nov 2006 02:12:45 PM UTC, comment #10:

And I get the same error on CVS head...

Anonymous
Wed 22 Nov 2006 01:57:39 PM UTC, comment #9:

Unfortunately this is NOT yet fixed - and final 0.7.2 does not compile:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../server/parser -I../libbase -I../backend -I../libgeometry -I/usr/include/SDL -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/local/include/gtkglext-1.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPKGDATADIR=\"/usr/local/share/gnash\" -DRENDERER_CONFIG=\"opengl\" -DGUI_CONFIG=\"gtk\" -DSOUND_CONFIG=\"sdl\" -DDECODER_CONFIG=\"mad\" -g -O2 -march=pentium3 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT gtk.lo -MD -MP -MF .deps/gtk.Tpo -c gtk.cpp -fPIC -DPIC -o .libs/gtk.o
In file included from /usr/local/include/gtkglext-1.0/gtk/gtkgl.h:22,
from gtksup.h:31,
from gtk.cpp:30:
/usr/local/include/gtkglext-1.0/gdk/gdkgl.h:22:29: gdkglext-config.h: No such file or directory
In file included from /usr/local/include/gtkglext-1.0/gdk/gdkgl.h:24,
from /usr/local/include/gtkglext-1.0/gtk/gtkgl.h:22,
from gtksup.h:31,
from gtk.cpp:30:
/usr/local/include/gtkglext-1.0/gdk/gdkgldefs.h:24:29: gdkglext-config.h: No such file or directory
gtk.cpp: In member function `virtual void
gnash::GtkGui::set_invalidated_region(const gnash::rect&)':
gtk.cpp:220: warning: unused parameter `const gnash::rect&bounds'
make[3]: *** [gtk.lo] Error 1
make[3]: Leaving directory `/home/fabio/sorgenti/gnash-0.7.2/gui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/fabio/sorgenti/gnash-0.7.2/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash-0.7.2'
make: *** [all] Error 2

Anonymous
Wed 15 Nov 2006 01:39:12 PM UTC, comment #8:

I tried current 0.7.2 CVS but don't work. I get again the same error.

Anonymous
Mon 13 Nov 2006 07:37:27 PM UTC, comment #7:

For some reason the file in question is here: ${prefix}/lib/gtkglext-1.0/include/gdkglext-config.h

I'll fix this.

Markus Gothe <nihilus>
Project MemberIn charge of this item.
Mon 13 Nov 2006 05:17:11 PM UTC, comment #6:

Ok, so it is the non-pkg-config-based check that is missing to add an additional -I flagusr/local/lib/gtkglext-1.0/include/

And what does 'make dumpconfig' report as GLEXT_CFLAGS ?
You'd need at least:
-I/usr/local/lib/gtkglext-1.0/include/
in it...

Sandro Santilli <strk>
Project Member
Mon 13 Nov 2006 05:03:38 PM UTC, comment #5:

$ pkg-config --cflags gtkglext-1.0
Package gtkglext-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtkglext-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtkglext-1.0' found

$ find / -name gdkglext-config.h
/usr/local/lib/gtkglext-1.0/include/gdkglext-config.h

Anonymous
Mon 13 Nov 2006 04:50:15 PM UTC, comment #4:

This seems a bug in the gtkglext.m4 macros file, probably similar to the bug in glib.m4 reported in bug #18158.
Do you have pkg-config ?
If yes, what does the following return:

pkg-config --cflags gtkglext-1.0

And where do you have the file gdkglext-config.h ?

Sandro Santilli <strk>
Project Member
Mon 13 Nov 2006 04:44:07 PM UTC, comment #3:

./configure --disable-klash

Configurable options are:
Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable.
POSIX Threads support enabled (default)
Web server support disabled (default)
DMalloc support disabled (default). Use --enable-dmalloc to enable.
XML and XMLSocket enabled (default). Use --disable-xml to disable.
Firefox plugin enabled (default). Use --disable-plugin to disable.
Konqueror plugin disabled.
GNOME help disabled (default). Use --enable-ghelp to enable.
Unit testing support disabled
Renderer engine: opengl
GUI: gtk
Sound handler: sdl
MP3 decoder: mad

Anonymous
Mon 13 Nov 2006 04:25:51 PM UTC, comment #2:

What's your call to ./configure ?
What's the last report of ./configure ? (gui/renderer)

Sandro Santilli <strk>
Project Member
Mon 13 Nov 2006 03:35:13 PM UTC, comment #1:

I get the same error also on head.

Anonymous
Mon 13 Nov 2006 02:50:06 PM UTC, original submission:

Just update to current 0.7.2 and now I get this compile error:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../server -I../server/parser -I../libbase -I../backend -I../libgeometry -I/usr/include/SDL -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/local/include/gtkglext-1.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I.. -I.. -I../server -I../server/parser -I../libbase -I../backend -I../libgeometry -I/usr/include/SDL -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/local/include/gtkglext-1.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPKGDATADIR=\"/usr/local/share/gnash\" -DRENDERER_CONFIG=\"opengl\" -DGUI_CONFIG=\"gtk\" -DSOUND_CONFIG=\"sdl\" -DDECODER_CONFIG=\"mad\" -g -march=pentium3 -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -MT gtk.lo -MD -MP -MF .deps/gtk.Tpo -c gtk.cpp -fPIC -DPIC -o .libs/gtk.o
In file included from /usr/local/include/gtkglext-1.0/gtk/gtkgl.h:22,
from gtksup.h:31,
from gtk.cpp:30:
/usr/local/include/gtkglext-1.0/gdk/gdkgl.h:22:29: gdkglext-config.h: No such file or directory
In file included from /usr/local/include/gtkglext-1.0/gdk/gdkgl.h:24,
from /usr/local/include/gtkglext-1.0/gtk/gtkgl.h:22,
from gtksup.h:31,
from gtk.cpp:30:
/usr/local/include/gtkglext-1.0/gdk/gdkgldefs.h:24:29: gdkglext-config.h: No such file or directory
gtk.cpp: In member function `virtual void
gnash::GtkGui::set_invalidated_region(const gnash::rect&)':
gtk.cpp:220: warning: unused parameter `const gnash::rect&bounds'
gtk_glue_gtkglext.h: In member function `virtual void
gnash::GtkGlExtGlue::render(int, int, int, int)':
gtk_glue_gtkglext.h:47: warning: unused parameter `int minx'
gtk_glue_gtkglext.h:47: warning: unused parameter `int miny'
gtk_glue_gtkglext.h:47: warning: unused parameter `int maxx'
gtk_glue_gtkglext.h:47: warning: unused parameter `int maxy'
make[3]: *** [gtk.lo] Error 1
make[3]: Leaving directory `/home/fabio/sorgenti/gnash/gui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/fabio/sorgenti/gnash/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabio/sorgenti/gnash'
make: *** [all] Error 2

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #12036:  dumpconfig-gnash-cvs-20070224 added by None (2KiB - application/octet-stream - dumpconfig related to gnash-cvs-20070224)
file #11336:  dumpconfig added by None (3KiB - application/octet-stream - output of make dumpconfig as requested)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by nihilus (Updated the item)
  •  

    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 15 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 09 Jul 2007 09:18:20 AM UTCmartinwguyStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 25 Feb 2007 09:03:21 PM UTCNoneAttached File-=>Added dumpconfig-gnash-cvs-20070224, #12036
    Fri 05 Jan 2007 10:27:33 PM UTCnihilusStatusIn Progress=>Ready For Test
    Thu 23 Nov 2006 02:41:36 PM UTCNoneAttached File-=>Added dumpconfig, #11336
    Wed 22 Nov 2006 02:40:09 PM UTCstrkSeverity3 - Normal=>4 - Important
      StatusFixed=>In Progress
      Open/ClosedClosed=>Open
    Fri 17 Nov 2006 08:23:47 PM UTCnihilusStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Mon 13 Nov 2006 07:55:56 PM UTCnihilusStatusIn Progress=>Ready For Test
    Mon 13 Nov 2006 07:37:27 PM UTCnihilusStatusNone=>In Progress
    Mon 13 Nov 2006 05:17:11 PM UTCstrkSummarycompile error (0.7.2)=>wrong detection of gtkglext (0.7.2 + head)
    Mon 13 Nov 2006 04:25:51 PM UTCstrkCategoryNone=>build
      Assigned toNone=>nihilus

    Back to the top


    Powered by Savane 3.1-cleanup1