make fails with open GL/glu.h missing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

make fails with open GL/glu.h missing

LordGeoffrey
Any suggestions on how to avoid this problem:

make[2]: Entering directory
`/home/geoffrey/Downloads/smalltalk/smalltalk-3.1/packages/opengl'
/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../..  -I../../libgst -I../../lib-src   -g -O2 -Wall
-Wdeclaration-after-statement -Wno-format -Wpointer-arith
-Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno-switch
-fno-gcse -fstrict-aliasing  -MT gstopengl.lo -MD -MP -MF
.deps/gstopengl.Tpo -c -o gstopengl.lo gstopengl.c
 gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libgst -I../../lib-src -g -O2
-Wall -Wdeclaration-after-statement -Wno-format -Wpointer-arith
-Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno-switch
-fno-gcse -fstrict-aliasing -MT gstopengl.lo -MD -MP -MF
.deps/gstopengl.Tpo -c gstopengl.c  -fPIC -DPIC -o .libs/gstopengl.o
In file included from gstopengl.c:53:
gstopengl.h:60:18: error: GL/glu.h: No such file or directory
make[2]: *** [gstopengl.lo] Error 1
make[2]: Leaving directory
`/home/geoffrey/Downloads/smalltalk/smalltalk-3.1/packages/opengl'
make[1]: *** [OpenGL.star] Error 2
make[1]: Leaving directory
`/home/geoffrey/Downloads/smalltalk/smalltalk-3.1'
make: *** [check-recursive] Error 1



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: make fails with open GL/glu.h missing

Paolo Bonzini-2
Are you on Windows?  If so, I suggest using the latest git snapshots
instead, since the port was barely working before.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: make fails with open GL/glu.h missing

LordGeoffrey
No, Paolo - Ubunu 9.10
Paolo Bonzini wrote:
> Are you on Windows?  If so, I suggest using the latest git snapshots
> instead, since the port was barely working before.
>
> Paolo
>
>  



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: make fails with open GL/glu.h missing

Paolo Bonzini-2
On 11/17/2009 11:39 AM, LordGeoffrey wrote:
> No, Paolo - Ubunu 9.10

Thanks, I'll refine the configure tests.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: make fails with open GL/glu.h missing

LordGeoffrey
In reply to this post by LordGeoffrey
Resolution: Ubuntu doesn't ship with the necessary headers.
The one shot solution is:
sudo apt-get install build-essential libsdl1.2debian libsdl1.2-dev
libgl1-mesa-dev libglu1-mesa-dev libsdl-image1.2 libsdl-image1.2-dev

LordGeoffrey wrote:

> Any suggestions on how to avoid this problem:
>
> make[2]: Entering directory
> `/home/geoffrey/Downloads/smalltalk/smalltalk-3.1/packages/opengl'
> /bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H
> -I. -I../..  -I../../libgst -I../../lib-src   -g -O2 -Wall
> -Wdeclaration-after-statement -Wno-format -Wpointer-arith
> -Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno-switch
> -fno-gcse -fstrict-aliasing  -MT gstopengl.lo -MD -MP -MF
> .deps/gstopengl.Tpo -c -o gstopengl.lo gstopengl.c
> gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libgst -I../../lib-src -g -O2
> -Wall -Wdeclaration-after-statement -Wno-format -Wpointer-arith
> -Wno-pointer-sign -Wwrite-strings -Wno-strict-aliasing -Wno-switch
> -fno-gcse -fstrict-aliasing -MT gstopengl.lo -MD -MP -MF
> .deps/gstopengl.Tpo -c gstopengl.c  -fPIC -DPIC -o .libs/gstopengl.o
> In file included from gstopengl.c:53:
> gstopengl.h:60:18: error: GL/glu.h: No such file or directory
> make[2]: *** [gstopengl.lo] Error 1
> make[2]: Leaving directory
> `/home/geoffrey/Downloads/smalltalk/smalltalk-3.1/packages/opengl'
> make[1]: *** [OpenGL.star] Error 2
> make[1]: Leaving directory
> `/home/geoffrey/Downloads/smalltalk/smalltalk-3.1'
> make: *** [check-recursive] Error 1
>
>
>
> _______________________________________________
> help-smalltalk mailing list
> [hidden email]
> http://lists.gnu.org/mailman/listinfo/help-smalltalk
>



_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: make fails with open GL/glu.h missing

Nicolas Petton
Le mercredi 18 novembre 2009 à 07:34 +1000, LordGeoffrey a écrit :
> Resolution: Ubuntu doesn't ship with the necessary headers.
> The one shot solution is:
> sudo apt-get install build-essential libsdl1.2debian libsdl1.2-dev
> libgl1-mesa-dev libglu1-mesa-dev libsdl-image1.2 libsdl-image1.2-dev

You may also want to install libreadline-dev libgtk2.0-dev and
libgpm-dev

They are not necessary (well, libgtk2 will be if you want visualGST),
but useful :)

Cheers!

Nico

_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: make fails with open GL/glu.h missing

Paolo Bonzini-2
In reply to this post by LordGeoffrey
On 11/17/2009 10:34 PM, LordGeoffrey wrote:
> Resolution: Ubuntu doesn't ship with the necessary headers.
> The one shot solution is:
> sudo apt-get install build-essential libsdl1.2debian libsdl1.2-dev
> libgl1-mesa-dev libglu1-mesa-dev libsdl-image1.2 libsdl-image1.2-dev

Good.  I committed anyway a patch to build-aux/gl.m4 to avoid the build
failure.  I was assuming that finding GL/gl.h was enough, but apparently
it's better to test for GL/glu.h too.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk