Re: [As-users] Build problems AS 2.0.5 on old laptop
rpm (as@16hd.freeserve.co.uk)
Mon, 16 May 2005 19:45:27 +0100
Hi Nathan,
Thanks - that was basically it. Couldn't find opengl-devel in YaST (yes,
I'm using SuSE!) but picked a few likely candidates (gltt was my first
choice) and now it builds as it should. If it wasn't so frustratingly
slow I'd try to pin down exactly what _was_ required & post to list, but
a ./configure and build takes an hour or more (I seem to have no DMA for
some reason - another tangle to unweave).
Thanks for the pointer
--
Regards,
Richard.
Nathan Mahon wrote:
> these are the opengl libraries. Apparently configure detected opengl,
> but you don't have the headers.
> look for an opengl-devel rpm or explicitly disable it.
>
> n8
>
> rpm wrote:
>
>> Hi,
>>
>> I'm having build problems with 2.0.5 on an elderly P100 laptop.
>>
>> Used "./configure" straight (no options) & it reported no issues (once
>> I had all the headers installed!) then "make" which stumbled a number
>> of times as below but kept on going - however no executable at the end :(
>>
>> Several more attempts to build this file, all from the same run of
>> make (?) but all with similar errors.
>>
>> I also get a few "warning: cast from pointer to integer of different
>> size" and "warning: dereferencing type-punned pointer" messages but I
>> assume they're expected.
>>
>> BTW (1) indeed there's no directory GL nor gl.h and I can't see them
>> in the downloaded AfterStep-2.00.05.tar.bz2?
>>
>> (2) same tarball builds perfectly on my desktop machine (AMD XP2600)
>> and of course many times faster. But still no directory GL nor file
>> gl.h visible.
>>
>> Any suggestions please!?
>>
>>
>> Excerpt from build output:
>>
>> ...
>> make[1]: Leaving directory
>> ./home/rpm/Progs/AfterStep-2.00.05/libAfterBase'
>> make[1]: Entering directory
>> `/home/rpm/Progs/AfterStep-2.00.05/libAfterImage'
>> gcc -O3 -DNO_DEBUG_OUTPUT -Wall -fPIC -I/usr/include/freetype2
>> -I/usr/X11R6/include -c asvisual.c -o asvisual.o
>> asvisual.c:52:20: GL/gl.h: No such file or directory
>> asvisual.c:53:21: GL/glx.h: No such file or directory
>> asvisual.c: In function `destroy_asvisual':
>> asvisual.c:498: warning: implicit declaration of function
>> `glXDestroyContext'
>> asvisual.c: In function `setup_truecolor_visual':
>> asvisual.c:634: warning: implicit declaration of function
>> `glXQueryExtension'
>> asvisual.c:637: warning: implicit declaration of function `glXGetConfig'
>> asvisual.c:637: error: `GLX_USE_GL' undeclared (first use in this
>> function)
>> asvisual.c:637: error: (Each undeclared identifier is reported only once
>> asvisual.c:637: error: for each function it appears in.)
>> asvisual.c:640: warning: implicit declaration of function
>> `glXCreateContext'
>> asvisual.c:640: warning: assignment makes pointer from integer without
>> a cast
>> asvisual.c:644: error: `GLX_RGBA' undeclared (first use in this function)
>> asvisual.c:646: error: `GLX_DOUBLEBUFFER' undeclared (first use in
>> this function)
>> asvisual.c:651: warning: assignment makes pointer from integer without
>> a cast
>> asvisual.c:652: warning: implicit declaration of function `glXIsDirect'
>> asvisual.c: In function `ximage2shmseg':
>> asvisual.c:1398: warning: dereferencing type-punned pointer will break
>> strict-aliasing rules
>> make[1]: *** [asvisual.o] Error 1
>> make[1]: Leaving directory
>> `/home/rpm/Progs/AfterStep-2.00.05/libAfterImage'
>> make[1]: Entering directory
>> `/home/rpm/Progs/AfterStep-2.00.05/libAfterStep'
>> ...
>>
>>
>> Regards,
>
>
>
>
Regards,
_______________________________________________
As-users mailing list
As-users@afterstep.org
http://mail.afterstep.org/mailman/listinfo/as-users