Zinc doesn't know about the Starlink system and doesn't look there.
The fix is to install the opengl (mesagl) dev libraries for your linux
system. Starlink managed to build because it noted the (rare)
situation where mesa is not installed and built its own copy. We don't
do that very often.
Tim
On Fri, May 11, 2012 at 9:04 AM, Oba, Josh <[log in to unmask]> wrote:
> cpan-tk-zinc still fails. Forcing the build did not help.
>
> The error message(below) says that the GL/glx.h is not found. The file is located at /usr/local/star/include/GL/glx.h
>
> Seems to be looking at a different location. Any ideas to get around?
>
> Josh
>
> /star/Perl/bin/perl bin/shipwright-builder --install-base /tmp/starlink-perl --force --only cpan-tk-zinc
>
> building cpan-tk-zinc
> build cpan-tk-zinc make part failed, last output of build.log is:
> cp Tk/demos/zinc_data/stripped_texture.gif ../blib/lib/Tk/demos/zinc_data/stripped_texture.gif
> cp Tk/demos/zinc_lib/testGraphics.pl ../blib/lib/Tk/demos/zinc_lib/testGraphics.pl
> cp Tk/demos/zinc_lib/items.pl ../blib/lib/Tk/demos/zinc_lib/items.pl
> cp Tk/demos/zinc_data/videomap_orly ../blib/lib/Tk/demos/zinc_data/videomap_orly
> cp Tk/demos/zinc_lib/fillrule.pl ../blib/lib/Tk/demos/zinc_lib/fillrule.pl
> cp Tk/demos/zinc_lib/all_options.pl ../blib/lib/Tk/demos/zinc_lib/all_options.pl
> cp Tk/demos/zinc_lib/rotation.pl ../blib/lib/Tk/demos/zinc_lib/rotation.pl
> cp Tk/demos/zinc_data/background_texture.gif ../blib/lib/Tk/demos/zinc_data/background_texture.gif
> cp Tk/demos/zinc_contrib_lib/README ../blib/lib/Tk/demos/zinc_contrib_lib/README
> cp Tk/demos/zinc_data/zinc_anti.gif ../blib/lib/Tk/demos/zinc_data/zinc_anti.gif
> cp zinc-demos ../blib/script/zinc-demos
> /usr/local/star/Perl/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- ../blib/script/zinc-demos
> Manifying ../blib/man1/zinc-demos.1
> make[1]: Leaving directory `/MYFOLDER/perl-modules/dists/cpan-tk-zinc/demos'
> /usr/local/star/Perl/bin/perl /tmp/starlink-perl/lib/perl5/ExtUtils/xsubpp -typemap /star/Perl/lib/perl5/5.14.2/ExtUtils/typemap Zinc.xs > Zinc.xsc && mv Zinc.xsc Zinc.c
> gcc -c -I. -I/tmp/starlink-perl/lib/perl5/Tk -I/tmp/starlink-perl/lib/perl5/Tk/pTk -I/tmp/starlink-perl/lib/perl5/Tk/X11 -I/usr/X11R6/include -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"3.303\" -DXS_VERSION=\"804.03\" -fPIC "-I/star/Perl/lib/perl5/5.14.2/x86_64-linux/CORE" -DPTK -DGL -DSHAPE -DATC Tabular.c
> In file included from Tabular.c:19:0:
> Types.h:41:24: fatal error: GL/glx.h: No such file or directory
> compilation terminated.
> make: *** [Tabular.o] Error 1
> at bin/shipwright-builder line 605
> main::_install('cpan-tk-zinc', 'GLOB(0x860dd0)') called at bin/shipwright-builder line 435
> main::install() called at bin/shipwright-builder line 30
>
>
> ________________________________________
> From: Starlink development [[log in to unmask]] on behalf of Oba, Josh [[log in to unmask]]
> Sent: Thursday, May 10, 2012 3:56 PM
> To: [log in to unmask]
> Subject: Re: perl modules
>
> I had to switch to KDE (Plasma Workspace) from GNOME today due to very slow response from the GUI. Nvidia drivers didn't seem to work right on this machine. KDE seems to be OK. But I don't think this should have any effects on building perl-modules.
>
> I am not on remote X display. I will go ahead and force the build.
>
> Josh
>
> -----Original Message-----
> From: Starlink development [mailto:[log in to unmask]] On Behalf Of Tim Jenness
> Sent: May-10-12 3:46 PM
> To: [log in to unmask]
> Subject: Re: perl modules
>
> you can force that build as described in the README. I'm not sure exactly what that failure is caused by. Are you on a remote X display?
>
> On Thu, May 10, 2012 at 2:43 PM, Oba, Josh <[log in to unmask]> wrote:
>> Faling to build perl-modules. The error message is below.
>>
>> Am I missing something?
>>
>> Josh
>>
>> /star/Perl/bin/perl bin/shipwright-builder --install-base
>> /tmp/starlink-perl
>>
>> building cpan-Proc-Simple
>> building cpan-Tk
>> Use of uninitialized value in string at bin/shipwright-builder line 591.
>> build cpan-Tk test part failed, last output of build.log is:
>>
>> Test Summary Report
>> -------------------
>> t/canvas.t (Wstat: 0 Tests: 166 Failed: 0)
>> TODO passed: 124
>> t/listbox.t (Wstat: 512 Tests: 537 Failed: 2)
>> Failed tests: 442, 463
>> TODO passed: 328, 502
>> Non-zero exit status: 2
>> t/text.t (Wstat: 0 Tests: 415 Failed: 0)
>> TODO passed: 121
>> t/wm-tcl.t (Wstat: 0 Tests: 315 Failed: 0)
>> TODO passed: 86-87, 156-161, 164-165, 173-178, 181-182
>> 227, 264-269, 275-276, 280-283, 300
>> t/zzScrolled.t (Wstat: 0 Tests: 94 Failed: 0)
>> TODO passed: 52, 66, 80, 94
>> Files=72, Tests=4331, 52 wallclock secs ( 0.92 usr 0.13 sys +
>> 12.42 cusr 1.59 csys = 15.06 CPU)
>> Result: FAIL
>> Failed 1/72 test programs. 2/4331 subtests failed.
>> make: *** [test_dynamic] Error 255
>> at bin/shipwright-builder line 605
>> main::_install('cpan-Tk', 'GLOB(0x2312cb8)') called at
>> bin/shipwright-builder line 435
>> main::install() called at bin/shipwright-builder line 300
|