Solaris?

Help
2003-09-17
2013-04-25
  • Randy Thomas

    Randy Thomas - 2003-09-17

    Has anyone successfully compiled this on Solaris (2.8, or any other post 2.5.1)?  I'm running SPARC Solaris 2.8 and I get:

    Note (probably harmless): No library found for -lXtest

    Yet, according to xdpystat, XTEST is one of the available extensions.

    In any case, make works, but make test dies instantly:

    Below is the error stack during 'make test':

    PERL_DL_NONLAZY=1 /usr/local/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
    t/test....Can't load '/net/sunu991/disc1/.cpanplus/5.8.0/build/X11-GUITest-0.15/blib/arch/auto/X11/GUITest/GUITest.so' for module X11::GUITest: ld.so.1: /usr/local/perl/bin/perl: fatal: relocation error: file /net/sunu991/disc1/.cpanplus/5.8.0/build/X11-GUITest-0.15/blib/arch/auto/X11/GUITest/GUITest.so: symbol XTestQueryExtension: referenced symbol not found at /usr/local/perl/lib/5.8.0/sun4-solaris/DynaLoader.pm line 229.
    at t/test.t line 7
    Compilation failed in require at t/test.t line 7.
    BEGIN failed--compilation aborted at t/test.t line 9.
    Use of inherited AUTOLOAD for non-method X11::GUITest::DeInitGUITest() is deprecated at /net/sunu991/disc1/.cpanplus/5.8.0/build/X11-GUITest-0.15/blib/lib/X11/GUITest.pm line 535.
    Can't locate auto/X11/GUITest/DeInitGUITe.al in @INC (@INC contains: /net/sunu991/disc1/.cpanplus/5.8.0/build/X11-GUITest-0.15/blib/lib /net/sunu991/disc1/.cpanplus/5.8.0/build/X11-GUITest-0.15/blib/arch /net/sunu991/disc1/.cpanplus/5.8.0/build/X11-GUITest-0.15/blib/lib /net/sunu991/disc1/.cpanplus/5.8.0/build/X11-GUITest-0.15/blib/arch /usr/local/perl/lib/5.8.0/sun4-solaris /usr/local/perl/lib/5.8.0/sun4-solaris /usr/local/perl/lib/5.8.0 /usr/local/perl/lib/site_perl/5.8.0/sun4-solaris /usr/local/perl/lib/site_perl/5.8.0/sun4-solaris /usr/local/perl/lib/site_perl/5.8.0 /usr/local/perl/lib/site_perl/5.6.1/sun4-solaris /usr/local/perl/lib/site_perl/5.6.1 /usr/local/perl/lib/site_perl/5.6.0/sun4-solaris /usr/local/perl/lib/site_perl/5.6.0 /usr/local/perl/lib/site_perl/5.8.0/sun4-solaris /usr/local/perl/lib/site_perl/5.8.0 /usr/local/perl/lib/site_perl/5.6.1 /usr/local/perl/lib/site_perl/5.6.0 /usr/local/perl/lib/site_perl . /usr/local/perl/lib/5.8.0/sun4-solaris /usr/local/perl/lib/5.8.0 /usr/local/perl/lib/site_perl/5.8.0/sun4-solaris /usr/local/perl/lib/site_perl/5.8.0 /usr/local/perl/lib/site_perl/5.6.1 /usr/local/perl/lib/site_perl/5.6.0 /usr/local/perl/lib/site_perl .) at /net/sunu991/disc1/.cpanplus/5.8.0/build/X11-GUITest-0.15/blib/lib/X11/GUITest.pm line 535
    END failed--call queue aborted at t/test.t line 9.
    dubious
        Test returned status 2 (wstat 512, 0x200)
    DIED. FAILED tests 1-18
        Failed 18/18 tests, 0.00% okay
    Failed Test Stat Wstat Total Fail  Failed  List of Failed
    -------------------------------------------------------------------------------
    t/test.t       2   512    18   35 194.44%  1-18
    Failed 1/1 test scripts, 0.00% okay. 18/18 subtests failed, 0.00% okay.
    make: *** [test_dynamic] Error 2

    (see full details at http://nntp.x.perl.org/group/perl.cpan.testers/94239\)

    Thanks in advance for any help. 

     
    • Dennis K. Paulsen

      If you get a chance, please try the following installation sequence (with LINKTYPE=static specified) and let me know how it works:

      perl Makefile.PL LINKTYPE=static
      make
      make test
      make install

       
    • Dennis K. Paulsen

      The latest version of X11::GUITest (v0.18) should compile successfully on Solaris.

       
    • Marek Rouchal

      Marek Rouchal - 2007-07-25

      You might need to edit the Makefile.PL to point to the place where the X11 libs are, like this:

             'LIBS'  => ["/usr/openwin/lib -lXtst -lXext -lX11"],
             'INC'   => "-I/usr/openwin/include",
             dynamic_lib => { OTHERLDFLAGS => "-R /usr/openwin/lib" }

      Worked for me nicely!

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks