LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-24-2013, 12:35 AM   #1
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Rep: Reputation: Disabled
Configure on Amaya is failing to find OpenGL


I am trying to compile the program Amaya, which I got the tarball from www.w3.org.

Here is a snippet of the ../configure script output.
Quote:
checking for OpenGL headers... found in /usr/include
checking for GL/gl.h... yes
checking GL/glu.h usability... yes
checking GL/glu.h presence... yes
checking for GL/glu.h... yes
checking for -lGL... found in /usr/lib
checking for -lGLU... no
checking for -lMesaGL... no
configure: error: OpenGL libraries not available
configure: error: A problem occurs durring wxWidgets library configuration. Please fix the problem and try again.
I can't find what package provides the OpenGL library. Any ideas?
- Raj
 
Old 04-24-2013, 12:49 AM   #2
guyonearth
Member
 
Registered: Jun 2012
Location: USA
Distribution: Ubuntu
Posts: 424

Rep: Reputation: 83
This occurs on all the Red-hat/Fedora based distros. I suggest trying the RPM package.

http://pkgs.org/fedora-18/rpm-sphere....i686.rpm.html
 
Old 04-24-2013, 04:50 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Fedora :

# yum install mesa-libGLU-devel mesa-libGL-devel
 
Old 04-24-2013, 06:25 AM   #4
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Original Poster
Rep: Reputation: Disabled
GuyOnEarth - I took your advice, and it is almost working, but the build on the server is core dumping on my Fedora client.
Quote:
raj@rajhome2 ~$ which amaya
/usr/bin/amaya
raj@rajhome2 ~$ amaya
06:19:03 AM: Deleted stale lock file '/home/raj/.amaya_bin-raj'.
06:19:06 AM: Warning: Application was compiled with png.h from libpng-1.5.10
06:19:06 AM: Warning: Application is running with png.c from libpng-1.0.60
06:19:06 AM: Warning: Incompatible libpng version in application and library
/usr/bin/amaya: line 11: 6289 Segmentation fault (core dumped) env XLIB_SKIP_ARGB_VISUALS=1 G_SLICE="always-malloc" $PREFIX/$AMAYA_INSTALLDIR/$AMAYAGUI/bin/amaya_bin "${1+$@}"
knudfl - I have installed the libraries, and am currently building the package. I will let you know of my status.

Thank you both for your help,

Raj
 
Old 04-24-2013, 09:08 PM   #5
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora 20
Posts: 167

Original Poster
Rep: Reputation: Disabled
the install from the RPM is core dumping so I built a ticket for it.

https://bugzilla.redhat.com/show_bug.cgi?id=956399

I am getting an error while building Amaya.

I got through the configure step, so I think all the libraries I need are there.

I then do a make. Here is the error.

Any ideas?
-Raj
Quote:
Amaya configured
Amaya configured with libWWW (local source)
Amaya configured with SVG support
Amaya configured with Annotations support
Amaya configured with the RaptorF library (system)
Amaya configured with templates support
Amaya configured with generic XML support
Amaya configured with internationalization support
Amaya configured with OpenGL Canvas Rendering (MesaLib)
Amaya configured with WebDAV support
Amaya configured with wxWidgets {srcdir=/home/raj/source/Amaya11.4.4/wxWidgets}

Now type "make" (GNU make preferably) to build the binaries

raj@rajhome2 obj$ make
Makefile:11: Options: No such file or directory
/usr/bin/cp Options.orig Options
make[1]: Entering directory `/home/raj/source/Amaya11.4.4/Amaya/obj/tools/mkdep'
g++ -O2 -Wall -x c++ -D__cplusplus -I../../ -c ../../../tools/mkdep/mkdep.c -o mkdep.o
<command-line>:0:0: warning: "__cplusplus" redefined [enabled by default]
../../../tools/mkdep/mkdep.c:1:0: note: this is the location of the previous definition
../../../tools/mkdep/mkdep.c: In function ‘int main(int, char**)’:
../../../tools/mkdep/mkdep.c:433:26: warning: variable ‘ptr’ set but not used [-Wunused-but-set-variable]
g++ -o mkdep mkdep.o
make[1]: Leaving directory `/home/raj/source/Amaya11.4.4/Amaya/obj/tools/mkdep'
make[1]: Entering directory `/home/raj/source/Amaya11.4.4/Amaya/obj/tools'
make[2]: Entering directory `/home/raj/source/Amaya11.4.4/Amaya/obj/tools/mkdep'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/raj/source/Amaya11.4.4/Amaya/obj/tools/mkdep'
make[2]: Entering directory `/home/raj/source/Amaya11.4.4/Amaya/obj/tools/cextract-1.7'
Makefile:40: .depends: No such file or directory
../../tools/mkdep/mkdep -relative -vpath ../../../tools/cextract-1.7 ../../../tools/cextract-1.7/*.c > .depends
make[2]: Leaving directory `/home/raj/source/Amaya11.4.4/Amaya/obj/tools/cextract-1.7'
make[2]: Entering directory `/home/raj/source/Amaya11.4.4/Amaya/obj/tools/cextract-1.7'
g++ -x c '-DCPP="'"gcc -E -x c"'"' -O -c ../../../tools/cextract-1.7/parse.c -o parse.o
g++ -x c '-DCPP="'"gcc -E -x c"'"' -O -c ../../../tools/cextract-1.7/main.c -o main.o
g++ -x c '-DCPP="'"gcc -E -x c"'"' -O -c ../../../tools/cextract-1.7/io.c -o io.o
g++ -o ../../bin/cextract parse.o main.o io.o -ldl -lm
make[2]: Leaving directory `/home/raj/source/Amaya11.4.4/Amaya/obj/tools/cextract-1.7'
make[1]: Leaving directory `/home/raj/source/Amaya11.4.4/Amaya/obj/tools'
make[1]: Entering directory `/home/raj/source/Amaya11.4.4/Amaya/obj/Mesa'
make[2]: Entering directory `/home/raj/source/Amaya11.4.4/Amaya/obj/Mesa/src'
Making sources for linux-x86-static
mkdir ../lib
make[3]: Entering directory `/home/raj/source/Amaya11.4.4/Amaya/obj/Mesa/src/mesa'
running makedepend
make[3]: *** [depend] Error 127
make[3]: Leaving directory `/home/raj/source/Amaya11.4.4/Amaya/obj/Mesa/src/mesa'
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/raj/source/Amaya11.4.4/Amaya/obj/Mesa/src'
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/raj/source/Amaya11.4.4/Amaya/obj/Mesa'
make: *** [gl] Error 2
raj@rajhome2 obj$
 
  


Reply

Tags
compile, compilerconfigure



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building the mod_jk connector - failing after ./configure jlipker Linux - Newbie 2 09-26-2013 02:26 PM
[SOLVED] Trying to configure WPA-PSK with wpa_supplicant but failing Ehlyah Linux - Wireless Networking 2 05-06-2010 11:31 AM
configure: WARNING: OpenGL development headers not found nickster22 Linux - Software 6 07-24-2008 11:17 AM
How to find OpenGL library? Hnefi Slackware 5 02-22-2007 07:46 AM
FC3 : Failing to configure a chrooted sftp gmuller Linux - Software 3 06-28-2005 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration