bugGnash - The GNU Flash player - Bugs: bug #15420, configure script ignores...

 
 

bug #15420: configure script ignores --with-opengl and --with-sdl-prefix

Submitted by:  None
Submitted on:  Wed 11 Jan 2006 10:36:56 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Sandro Santilli <strk>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 17 Jan 2006 05:46:16 PM UTC, comment #4:

Since there's been no answer on previous comment
I'll consider the item closed.
Anyone feel free to reopen if this is not the case.

Sandro Santilli <strk>
Project MemberIn charge of this item.
Sun 15 Jan 2006 11:25:06 PM UTC, comment #3:

--with-opengl should be now fixed in CVS, about sdl could
you try using --with-sdl_mixer-incl ?

Sandro Santilli <strk>
Project MemberIn charge of this item.
Fri 13 Jan 2006 03:20:41 PM UTC, comment #2:

/usr/X11R6/lib/libGL.so
/usr/X11R6/lib/libGL.so.1
/usr/local/include/SDL11/SDL_mixer.h

But as you can see from the config.log, it does set OPENGL_CFLAGS/LIBS but when compiling the test program, it doesn't use those flags.

configure:23437: gcc -o conftest -g -O2 conftest.c -lGL >&5
/usr/bin/ld: cannot find -lGL

This should be something like

gcc -o conftest -g -O2 -I/usr/X11R6/include -L/usr/X11R6/lib -lGL ...

Anonymous
Wed 11 Jan 2006 06:21:45 PM UTC, comment #1:

Could you report exact locations of:
- libGL.so
- SDL_mixer.h

The paths seems to reflect what you specified with
the flags, so I don't see what's being ignored
(I might be tired)

Sandro Santilli <strk>
Project MemberIn charge of this item.
Wed 11 Jan 2006 10:36:56 AM UTC, original submission:

OpenGL is installed in /usr/X11R6 and SDL in /usr/local, running the configure script like this

./configure --with-sdl-prefix=/usr/local --with-opengl=/usr/X11R6

Will fail to compile the SDL and GL test programs, as it is not passing the CFLAGS/LDFLAGS. Here's the snippet from the config.log
configure:23034: checking for SDL_mixer header
configure:23047: result: none
configure:23063: checking SDL_mixer.h usability
configure:23075: gcc -c -g -O2 conftest.c >&5
conftest.c:63:23: SDL_mixer.h: No such file or directory

configure:23407: checking for glBegin in -lGL
configure:23437: gcc -o conftest -g -O2 conftest.c -lGL >&5
/usr/bin/ld: cannot find -lGL

As you can see, CC is called without CFLAGS/LDFLAGS, which are set correctly.

OPENGL_CFLAGS='-I/usr/X11R6/include'
OPENGL_FALSE='#'
OPENGL_LIBS='-L/usr/X11R6/lib -lGL -lGLU'
OPENGL_TRUE=''

SDL_CFLAGS='-I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT'
SDL_CONFIG='/usr/local/bin/sdl11-config'
SDL_LIBS='-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -pthread'
SDL_MIXER_CFLAGS=''
SDL_MIXER_LIBS='-L/usr/local/lib -lSDL_mixer'

Please fix. Thanks!

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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

Date Changed By Updated Field Previous Value => Replaced By
Fri 20 Jan 2006 05:27:41 PM UTCrsavoyeOpen/ClosedOpen=>Closed
Tue 17 Jan 2006 05:46:16 PM UTCstrkStatusIn Progress=>Fixed
Sun 15 Jan 2006 11:25:06 PM UTCstrkStatusNone=>In Progress
  Assigned toNone=>strk

Back to the top


Powered by Savane 3.1-cleanup1