Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Compilation aborted - RHEL 5.8/9 (x86_64)

Help
Remy Je
2013-02-12
2013-04-23
  • Remy Je
    Remy Je
    2013-02-12

    I've been trying, in vain, to get pac-4.5.0.3-2.x86 installed on RHEL 5.8 and 5.9.

    Here's the error:

    $ pac Warning: Use of "shift" without parentheses is ambiguous at /opt/pac/lib/PACUtils.pm line 150. String found where operator expected at /opt/pac/lib/PACUtils.pm line 150, near "// "<b>Starting $APPNAME (v$APPVERSION)...</b>"" (Missing operator before "<b>Starting $APPNAME (v$APPVERSION)...</b>"?) Warning: Use of "shift" without parentheses is ambiguous at /opt/pac/lib/PACUtils.pm line 151. Number found where operator expected at /opt/pac/lib/PACUtils.pm line 151, near "// 0" (Missing operator before 0?) Warning: Use of "shift" without parentheses is ambiguous at /opt/pac/lib/PACUtils.pm line 152. Number found where operator expected at /opt/pac/lib/PACUtils.pm line 152, near "// 1" (Missing operator before 1?) Warning: Use of "shift" without parentheses is ambiguous at /opt/pac/lib/PACUtils.pm line 199. String found where operator expected at /opt/pac/lib/PACUtils.pm line 199, near "// ''" (Missing operator before ''?) Bareword found where operator expected at /opt/pac/lib/PACUtils.pm line 281, near "_( $self, 'labelConnOptions' ) -> set_markup( "'<b>$method</b" Bad name after labelExpect' at /opt/pac/lib/PACUtils.pm line 282. Compilation failed in require at /opt/pac/lib/PACMain.pm line 48. BEGIN failed--compilation aborted at /opt/pac/lib/PACMain.pm line 48. Compilation failed in require at /usr/bin/pac line 35. BEGIN failed--compilation aborted at /usr/bin/pac line 35.
    

    Here's the output related to Vte:

    $ sudo find /usr* -name "*vte*" /usr/bin/udevtest /usr/share/doc/vte-0.14.0 /usr/share/vte /usr/share/man/man8/udevtest.8.gz /usr/share/locale/cs/LC_MESSAGES/vte.mo /usr/share/locale/az/LC_MESSAGES/vte.mo /usr/share/locale/id/LC_MESSAGES/vte.mo /usr/share/locale/bn/LC_MESSAGES/vte.mo /usr/share/locale/lt/LC_MESSAGES/vte.mo /usr/share/locale/ka/LC_MESSAGES/vte.mo /usr/share/locale/hu/LC_MESSAGES/vte.mo /usr/share/locale/es/LC_MESSAGES/vte.mo /usr/share/locale/bs/LC_MESSAGES/vte.mo /usr/share/locale/gu/LC_MESSAGES/vte.mo /usr/share/locale/ar/LC_MESSAGES/vte.mo /usr/share/locale/et/LC_MESSAGES/vte.mo /usr/share/locale/is/LC_MESSAGES/vte.mo /usr/share/locale/bg/LC_MESSAGES/vte.mo /usr/share/locale/ru/LC_MESSAGES/vte.mo /usr/share/locale/pt_BR/LC_MESSAGES/vte.mo /usr/share/locale/cy/LC_MESSAGES/vte.mo /usr/share/locale/ga/LC_MESSAGES/vte.mo /usr/share/locale/pl/LC_MESSAGES/vte.mo /usr/share/locale/sv/LC_MESSAGES/vte.mo /usr/share/locale/xh/LC_MESSAGES/vte.mo /usr/share/locale/rw/LC_MESSAGES/vte.mo /usr/share/locale/nn/LC_MESSAGES/vte.mo /usr/share/locale/fi/LC_MESSAGES/vte.mo /usr/share/locale/el/LC_MESSAGES/vte.mo /usr/share/locale/pt/LC_MESSAGES/vte.mo /usr/share/locale/ang/LC_MESSAGES/vte.mo /usr/share/locale/kn/LC_MESSAGES/vte.mo /usr/share/locale/th/LC_MESSAGES/vte.mo /usr/share/locale/eu/LC_MESSAGES/vte.mo /usr/share/locale/en_CA/LC_MESSAGES/vte.mo /usr/share/locale/bn_IN/LC_MESSAGES/vte.mo /usr/share/locale/ca/LC_MESSAGES/vte.mo /usr/share/locale/ro/LC_MESSAGES/vte.mo /usr/share/locale/dz/LC_MESSAGES/vte.mo /usr/share/locale/hr/LC_MESSAGES/vte.mo /usr/share/locale/tr/LC_MESSAGES/vte.mo /usr/share/locale/uk/LC_MESSAGES/vte.mo /usr/share/locale/sk/LC_MESSAGES/vte.mo /usr/share/locale/ug/LC_MESSAGES/vte.mo /usr/share/locale/am/LC_MESSAGES/vte.mo /usr/share/locale/ne/LC_MESSAGES/vte.mo /usr/share/locale/sl/LC_MESSAGES/vte.mo /usr/share/locale/sr/LC_MESSAGES/vte.mo /usr/share/locale/gl/LC_MESSAGES/vte.mo /usr/share/locale/nb/LC_MESSAGES/vte.mo /usr/share/locale/he/LC_MESSAGES/vte.mo /usr/share/locale/it/LC_MESSAGES/vte.mo /usr/share/locale/mr/LC_MESSAGES/vte.mo /usr/share/locale/nl/LC_MESSAGES/vte.mo /usr/share/locale/da/LC_MESSAGES/vte.mo /usr/share/locale/li/LC_MESSAGES/vte.mo /usr/share/locale/mn/LC_MESSAGES/vte.mo /usr/share/locale/fa/LC_MESSAGES/vte.mo /usr/share/locale/ku/LC_MESSAGES/vte.mo /usr/share/locale/ml/LC_MESSAGES/vte.mo /usr/share/locale/sq/LC_MESSAGES/vte.mo /usr/share/locale/ja/LC_MESSAGES/vte.mo /usr/share/locale/vi/LC_MESSAGES/vte.mo /usr/share/locale/or/LC_MESSAGES/vte.mo /usr/share/locale/ta/LC_MESSAGES/vte.mo /usr/share/locale/zh_HK/LC_MESSAGES/vte.mo /usr/share/locale/en_GB/LC_MESSAGES/vte.mo /usr/share/locale/sr@Latn/LC_MESSAGES/vte.mo /usr/share/locale/hi/LC_MESSAGES/vte.mo /usr/share/locale/mk/LC_MESSAGES/vte.mo /usr/share/locale/zh_CN/LC_MESSAGES/vte.mo /usr/share/locale/pa/LC_MESSAGES/vte.mo /usr/share/locale/mi/LC_MESSAGES/vte.mo /usr/share/locale/fr/LC_MESSAGES/vte.mo /usr/share/locale/ky/LC_MESSAGES/vte.mo /usr/share/locale/ko/LC_MESSAGES/vte.mo /usr/share/locale/wa/LC_MESSAGES/vte.mo /usr/share/locale/lv/LC_MESSAGES/vte.mo /usr/share/locale/de/LC_MESSAGES/vte.mo /usr/share/locale/be/LC_MESSAGES/vte.mo /usr/share/locale/ms/LC_MESSAGES/vte.mo /usr/share/locale/zh_TW/LC_MESSAGES/vte.mo /usr/share/terminfo/m/mvterm /usr/lib64/python2.4/site-packages/gtk-2.0/vtemodule.so /usr/lib64/openoffice.org/basis3.1/program/resource/bf_svten-US.res /usr/lib64/openoffice.org/basis3.1/program/resource/svten-US.res /usr/lib64/vte /usr/lib64/libvte.so.9 /usr/lib64/libvte.so.9.1.5 /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Gnome2/Vte/Install/vte2perl.h /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Gnome2/Vte/Install/vte2perl-version.h /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Gnome2/Vte/Install/vte2perl.typemap /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Gnome2/Vte/Install/vte2perl-autogen.h
    

    Thanks for the help!

     
  • Hmmm….
    Weird weird weird…what perl version do you have? (perl -v)
    Also, ahve you ever had this same problems with older versions of PAC?

    BTW: Vte information is irrelevant in this case, but thanks anyway! :)

    - David.

     
  • Remy Je
    Remy Je
    2013-02-13

    Perl Version 5.8.8.

    • Jeremy
     
  • That's it.
    Perl < 5.10 is known to be somehow incompatible ( //, and other perlops)
    I thinks there is not much I can do about it… :(