Re: [CinCV] opengl libraries missing in Fedora 12, x86-64

2010-01-31 Thread Johannes Sixt
On Sonntag, 31. Januar 2010, Scott C. Frase wrote:
 I see that the libGL.so.1 in that directory has the appropriate OpenGL
 hooks:
 [sfr...@ogre usr]$ strings -a /usr/lib64/nvidia/libGL.so.1 | grep
 glDeleteShader glDeleteShader
 [sfr...@ogre usr]$ strings -a /usr/lib64/nvidia/libGL.so.1 | grep
 glUseProgram glUseProgram
 glUseProgramObjectARB

 I've tried manually pointing configure.in to the /usr/lib64/nvidia
 directory: AC_CHECK_LIB([GL], [glUseProgram],
  [OPENGL_LIBS=-lGL; libGL=yes],
 # On SUSE/OpenSUSE, NVidia places the OpenGL 2.0 capable library in
 /usr/X11R6/lib # but it doesn't place a libGL.so there, so the linker won't
 pick it up # we have to use the explicit libGL.so.1 path.
  save_LIBS=$LIBS
  for l in /usr/lib64/nvidia /usr/X11R6/lib
 /usr/X11R6/lib64; do LIBS=$l/libGL.so.1
  AC_MSG_CHECKING(for glUseProgram in $l/libGL.so.1)
  AC_TRY_LINK([],[extern int glUseProgram();
 glUseProgram();], [OPENGL_LIBS=$l/libGL.so.1; libGL=yes],[libGL=no])
 AC_MSG_RESULT([$libGL])
  test $libGL = yes  break
  done
  LIBS=$save_LIBS

 But still I get OpenGL missing when I run configure.

Analyze config.log. It should tell you what configure did exactly and why it 
was not successful.

-- Hannes

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] opengl libraries missing in Fedora 12, x86-64

2010-01-31 Thread Scott C. Frase

Hannes,
I did a search on some different things in config.log (error, gl, GL, 
OpenGL,etc), but don't see any errors related to opengl that are jumping out at 
me.


I'm sorry to bother you, but can you take a look?
http://content.serveftp.net/content/config.log

scott

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] opengl libraries missing in Fedora 12, x86-64

2010-01-31 Thread Edouard Chalaron
Scott
I had the same problem on Suse 11.2
Reason : try a force openGL and you may end up with the same error on libx264 I 
had, e.g. different versions of libx264 devel, make sure to have the most 
recent one.
It may lead you back to your error you had a couple of weeks ago.
Cheers
E

 I did a search on some different things in config.log
 (error, gl, GL, OpenGL,etc), but don't see any errors
 related to opengl that are jumping out at me.
 
 I'm sorry to bother you, but can you take a look?
 http://content.serveftp.net/content/config.log
 
 scott
 
 ___
 Cinelerra mailing list
 Cinelerra@skolelinux.no
 https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra



___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] opengl libraries missing in Fedora 12, x86-64

2010-01-31 Thread Johannes Sixt
On Sonntag, 31. Januar 2010, Scott C. Frase wrote:
 Hannes,
 I did a search on some different things in config.log (error, gl, GL,
 OpenGL,etc), but don't see any errors related to opengl that are jumping
 out at me.

 I'm sorry to bother you, but can you take a look?
 http://content.serveftp.net/content/config.log

Looks like you need pass --enable-opengl to configure. For some reason it's 
not on by default.

-- Hannes

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCV] opengl libraries missing in Fedora 12, x86-64

2010-01-31 Thread Scott C. Frase




Scott
I had the same problem on Suse 11.2
Reason : try a force openGL and you may end up with the same error on libx264 I 
had, e.g. different versions of libx264 devel, make sure to have the most 
recent one.
It may lead you back to your error you had a couple of weeks ago.
Cheers
E


Eduoard/Hannes,
Forcing --enable-opengl did the trick.  I was able to configure Cinelerra 
successfully.


thanks for the help!
scott

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra