Hi Hernán,

I haven't seen if you have had any further luck with this.
There are two parts to getting the TriD (OpenGL based)
stuff in PDL working:

(1) Determining the correct compile and link flags
(2) Massaging the configure process to recognize any idiosyncracies to 
your config

Here are some steps you could take:

Try building the Perl OpenGL module from the current SVN.  Get it following
the instructions at http://graphcomp.com/opengl/index.cgi?v=0111s5m1&r=s1m1
to get OpenGL (you don't need the others for this diagnostic).  Then cd 
to the
OpenGL directory and run a 'perl Makefile.PL verbose 2>&1 | tee 
../pogl-opensuse.log'
to configure and collect the output.  If the module configuration 
completes, you can try
'make' and then 'make test'.

If that works, then the flags OpenGL used for your system can be used to
build TriD with PDL.  Try seting the options in perldl.conf for the 
various library
and include locations.  If the configure or build fails, please send me 
the output
file an I'll take a look to see if I can help further.  I would also 
like to pass the
information onto the POGL developer for incorporation into his upcoming 0.57
release.  Work is underway to add the ability to use POGL rather than the
hand-rolled code in PDL so it would be great to have OpenGL (a.k.a POGL)
running on as many platforms as possible.

You could try to get the utils/glversion.c program from OpenGL SVN to 
compile, link,
and run on your system.  Start with the existing Makefile in that 
directory.  Of course
this will be easier if the OpenGL build is successful.

Also, could attach the output from 'perl -V' as well as indicating which 
version of
PDL you are working with.

Thanks,
Chris



Hernán De Angelis wrote:
> Hi Craig,
>
> Tanks for your promt answer. My library path is this (as found in
> "/etc/ld.so.conf"):
>
> /usr/X11R6/lib64/Xaw3d
> /usr/X11R6/lib64
> /usr/lib64/Xaw3d
> /usr/X11R6/lib/Xaw3d
> /usr/X11R6/lib
> /usr/lib/Xaw3d
> /usr/x86_64-suse-linux/lib
> /usr/local/lib
> /opt/kde3/lib
> /lib64
> /lib
> /usr/lib64
> /usr/lib
> /usr/local/lib64
> /opt/kde3/lib64
>
>
> and the libraries that OpenGL cannot find are in:
>
> /usr/lib
>
> libGLcore.so.1
> libGLcore.so.1.0
> libGLEW.so.1.5
> libGLEW.so.1.5.0
> libGL.so
> libGL.so.1
> libGL.so.1.2
> libGLU.so
> libGLU.so.1
> libGLU.so.1.3.070003
> libIndirectGL.so.1
> libIndirectGL.so.1.2
> libQtOpenGL.so.4
> libQtOpenGL.so.4.4
> libQtOpenGL.so.4.4.0
> libmesa_private.so
> libmesa_private.so.1
> libmesa_private.so.1.0
>
>
> /usr/lib64
>
> libGLcore.so.1
> libGLcore.so.1.0
> libGLEW.a
> libGLEW.so
> libGL.so
> libGL.so.1
> libGL.so.1.2
> libGLU.so
> libGLU.so.1
> libGLU.so.1.3.070003
> libIndirectGL.so.1
> libIndirectGL.so.1.2
> libQtOpenGL.la
> libQtOpenGL.prl
> libQtOpenGL.so
> libQtOpenGL.so.4
> libQtOpenGL.so.4.4
> libQtOpenGL.so.4.4.0
> libglut.a
> libglut.la
> libglut.so
> libglut.so.3
> libglut.so.3.8.0
> libOSMesa.so
> libOSMesa.so.6
> libOSMesa.so.6.5.3
> libmesa_private.so
> libmesa_private.so.1
> libmesa_private.so.1.0
>
>
> Yes, may be I cannot find -lXIE now. I do not have OpenGL of course i have 
> MESA.
>
>
> Hernán
>
>
>
>
>
> 2008/7/9 Craig DeForest <[EMAIL PROTECTED]>:
>   
>> Hi, Hernan,
>>
>> It would help if you could report here exactly where your opengl,glx,glu,
>> and glut libraries live.  We might be able to put an appropriate switch into
>> the makefile scripts for 2.4.4.  Also: what's your LIBPATH?
>>
>> Cheers,
>> Craig
>>
>> On Jul 9, 2008, at 6:49 AM, Hernán De Angelis wrote:
>>
>>     
>>> Dear all,
>>>
>>> I apologize for this being a bit off-topic, but as it concerns a
>>> requirement to PDL I guess someone could have a hint.
>>> I am installing PDL in OpenSUSE 11.0 64. The build crashes
>>> systematically with OpenGL and without OpenGL no TriD. The build
>>> script complains that libraries cannot be found:
>>>
>>> Note (probably harmless): No library found for -lopengl
>>> Note (probably harmless): No library found for -lGLX
>>> Note (probably harmless): No library found for -lglx
>>> Note (probably harmless): No library found for -lglu
>>> Note (probably harmless): No library found for -lGLUT
>>> Note (probably harmless): No library found for -lMesaGL
>>> Note (probably harmless): No library found for -lMesaGLU
>>> Note (probably harmless): No library found for -lMesaGLX
>>> Note (probably harmless): No library found for -lMesaGLUT
>>> In file included from glversion.c:2:
>>> ../include/GL/glut.h:69:1: warning: "APIENTRY" redefined
>>> In file included from ../include/GL/glut.h:63,
>>>                from glversion.c:2:
>>> /usr/include/GL/gl.h:105:1: warning: this is the location of the
>>> previous definition
>>> Checking if your kit is complete...
>>> Looks good
>>> Note (probably harmless): No library found for -lXIE
>>> Writing Makefile for OpenGL
>>> cp OpenGL.pm blib/lib/OpenGL.pm
>>>
>>> ..............
>>>
>>> But all these libraries are properly installed in the system, it is
>>> just the make script which cannot find them. I had problems with this
>>> in the past versions of openSUSE but I solved them by creating
>>> symlinks of the libraries to the build directory. Now this procedure
>>> does not work. Of course everything goes fine if one disables TriD in
>>> perdl.conf but in fact I want to have it.
>>>
>>> I want to make clear again that I know this is something related to
>>> openSUSE 11 and OpenGL and *NOT* PDL, but I write this in the hope
>>> someone has an idea about how to overcome this shortcoming.
>>>
>>>
>>> Thanks in advance
>>>
>>>
>>> Hernán
>>>
>>>
>>>
>>> --
>>>
>>> Hernán De Angelis
>>> Linux user # 397217
>>>
>>> _______________________________________________
>>> Perldl mailing list
>>> [email protected]
>>> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>>>
>>>       
>>     
>
>
>
>   


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to