#180 Perl 5.18 support

v1.0 (example)
open
None
5
2013-09-16
2013-09-14
spams
No

PAC 4.5.2.3 stopped working with perl 5.18
Looks like Vte.so library which is link in pac module directory pointing to library version for perl 5.16

PAC started (pac) with PID 30896
INFO: Used config file '/home/user/.config/pac/pac.nfreeze'
INFO: Using 'standard Gnome2' tray icon
unhandled exception in callback:
Can't locate object method "new" via package "Gnome2::Vte::Terminal" (perhaps you forgot to load "Gnome2::Vte::Terminal"?) at /opt/pac/lib/PACTerminal.pm line 491.
*** ignoring at /opt/pac/lib/PACMain.pm line 298.

Discussion

  • Blake

    Blake - 2013-09-16

    Hi. I wanted to report this bug last week, but I was busy.

    To temporary deal with it I had to download/compile/install Gnome2-Vte-0.10
    http://search.cpan.org/~xaoc/Gnome2-Vte-0.10/

    After that:
    (on 32 bit system) remove(or rename) /opt/pac/lib/ext/{vte64,vteARM}
    and rename vte32 to vte.

     
  • spams

    spams - 2013-09-16

    I failed to do this on debian-testing.
    http://search.cpan.org/~xaoc/Gnome2-Vte-0.10/ requires libvte 0.10 , but debian comes with version 0.09 and just too much stuff depends on it

     
  • spams

    spams - 2013-09-16

    Ok, here's how I solved it on debian-testing with perl 5.18
    Was forced to drag in bunch of development packages in process on my netbook.

    1.Install dependencies

    apt-get install libglib2.0-dev libpango1.0-dev libvte-dev libvte-2.90-dev

    1. If there isn't directory named vte in /usr/include then

    ln -s /usr/include/vte-2.90/vte /usr/include/vte

    3.build the package with dh-make-perl (will ease its removal in future)
    dh-make-perl --cpan Gnome2::Vte --build

    or

    perl -MCPAN -e 'install Gnome2::Vte'

    or

    just download archive from cpan and follow instructions

    1. if you used dh-make-perl then

    dpkg -i libgnome2-vte-perl_0.10-1_i386.deb

    1. remove following idrectories if install was successful
      rm -rf /opt/pac/lib/ext/{vte32,vte64,vteARM}

    Everything works for me and I'm very happy (I'm hooked on pac and doing everything without pac is pain).

    Still it would be nice to see perl 5.18 support included.

     
  • David Torrejón Vaquerizas

    Hi all!

    Sorry for the late answer!

    I know about this problem :(
    Please, stay tuned for next PAC release with precompiled libraries (both 32 and 64 bit) of such Vte library (or simply use Getdeb repositories to update PAC).

    Once again, thanks for your patience!!

    • David.
     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks