Hi David,
Thank you for PAC, it's been my go to worktool for years. I just tested installing it on the most current setup of Ubuntu 17.04 and I cannot get it to run. Here's a sample of what happens.
Btw I tested it in VM on both Ubuntu Gnome and classic with Unity. Same deal.
perl -d /usr/bin/pac
Loading DB routines from perl5db.pl version 1.49_05
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
main::(/usr/bin/pac:22): $|++;
DB<1> c
PAC started (pac) with PID 5370
ERROR: PAC was unable to load any config file from '/home/user/.config/pac'... Now starting from scratch...Use of uninitialized value in string eq at /opt/pac/lib/PACConfig.pm line 672.
at /opt/pac/lib/PACConfig.pm line 672.
PACConfig::_updateGUIPreferences(HASH(0x555978e0d3c0)) called at /opt/pac/lib/PACConfig.pm line 195
PACConfig::_initGUI(HASH(0x555978e0d3c0)) called at /opt/pac/lib/PACConfig.pm line 104
PACConfig::new("PACConfig", HASH(0x555978d12b90)) called at /opt/pac/lib/PACMain.pm line 853
PACMain::_initGUI(PACMain=HASH(0x555975b371b8)) called at /opt/pac/lib/PACMain.pm line 282
PACMain::start(PACMain=HASH(0x555975b371b8)) called at /usr/bin/pac line 116
Signal SEGV at /opt/pac/lib/PACMain.pm line 282.
PACMain::start(PACMain=HASH(0x555975b371b8)) called at /usr/bin/pac line 116
Aborted (core dumped)
Found some older bug that suggested to Vte.so from the local pac folder. This seems to work, PAC starts now. Will this have an effect later on?
This will remove the file from the local installation.
# find /opt/pac/ -name "Vte.so*" -exec rm {} +thank you, you solved my day
Well no ssh connections work after removing
Vte.so*files so that's not an option.Reinstating the files and having a better look now gave me the follwing errors.
Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine", at /usr/lib/x86_64-linux-gnu/perl5/5.24/Gtk2.pm line 126. Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine", at /usr/lib/x86_64-linux-gnu/perl5/5.24/Gtk2.pm line 126. Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine", at /usr/lib/x86_64-linux-gnu/perl5/5.24/Gtk2.pm line 126. PAC started (pac) with PID 4002 INFO: Used config file '/home/user/.config/pac/pac.nfreeze' Segmentation fault (core dumped)The Murrine error was fixed by installing
gtk2-engines-murrinepackage.That left the Segmentation fault. Running
perl -d /usr/bin/pacreturned the following.`Loading DB routines from perl5db.pl version 1.49_05
Editor support available.
Enter h or 'h h' for help, or 'man perldebug' for more help.
main::(/usr/bin/pac:22): $|++;
DB<1> c
PAC started (pac) with PID 4549
INFO: Used config file '/home/user/.config/pac/pac.nfreeze'
Signal SEGV at /opt/pac/lib/PACMain.pm line 282.
PACMain::start(PACMain=HASH(0x5569dd2b5370)) called at /usr/bin/pac line 116
Aborted (core dumped)`
Hope this helps others.
I was able to fix this by applying commands of this post with some changes:
apt install libglib2.0-dev libpango1.0-dev libvte-dev libvte-2.91-dev dh-make-perldh-make-perl --cpan Gnome2::Vte --buildsudo dpkg -i libgnome2-vte*.debsudo find /opt/pac/ -name "Vte.so*" -exec rm {} +PAC is starting great and SSH connctions are working.
This worked great, but I needed to also install libextutils-pkgconfig-perl and libextutils-depends-perl, i.e change (1) to
1. apt install libglib2.0-dev libpango1.0-dev libvte-dev libvte-2.91-dev dh-make-perl libextutils-pkgconfig-perl libextutils-depends-perl,
Is there a way to get this answer to float to the top? It would be helpful to whoever runs into this problem next.
Thanks!
I'm running Ubuntu 17.04 but Step 3 didn't work for me, so I tried: sudo apt-get install libgnome* . Now it works! Thanks
I was getting these errors:
MakeMaker FATAL: prerequisites not found.
ExtUtils::Depends not installed
ExtUtils::PkgConfig not installed
So I had to do..
$ perl -MCPAN -e 'shell'
$ install ExtUtils::Depends
$ install ExtUtils::PkgConfig
Once I got those installed I was able to proceed with step 2 and everything worked perfectly.
Thanks for the fix Matthias!
Hi,
Is there an update scheduled to solve this issue? I really prefer to avoid manual configuration to avoid issue for ... following updates.
Regards
+1 on unity
im on ubuntu 17.04 with the pac issue, i followed Matthias steps and had the problems that Thom mentions... finally i get PAC gui running and SSH connections too.. thanks
I'm on Ubuntu-Budgie an fixed it with:
The only error message shows up at start with:
I guess this is because of PAC not knowing Budgie.....but the tray icon seems to work.
Sash
Matthias solution worked for me
Genio Matthias!
I had the same issue and used the tricks above.
The program started but no any terminal window.
After some digging I found that when opening it from terminal it works but when opening it from the UI (Ubuntu 17.04, Unity) it doesn't work and the Vte stuff (shared objects - so) isn't loaded at all.
I don't know what is the difference between loading it from the terminal or using the UI.
The solution was: istead of deleting the Vte.so file I replaced the Vte.so link to poing to the new one compiled by me:
Hope it will help someone.
Last edit: Eli Orzitzer 2017-07-24
gave up on this but then i found Asbru (fork of PAC that is still maintained) and this solved my problems. I was able to import my PAC connections without any issues :-)
https://www.asbru-cm.net/