in reply to Re^3: unable to install warnings.pm under Cygwin
in thread unable to install warnings.pm under Cygwin

i know it seems weird. i developped a script using LibXML Library. the script is working very well on Cygwin. i used pp to transform the script to .exe and run it on Sun Solaris. where many colleagues have there scripts working using same libraries. under Sun, i have a problem related to the warnings.pm (that i don't use directly but one of my module may use it) here is the error am having under Sun Solaris :
Search pattern not terminated at /usr/lib/perl5/5.22/warnings.pm line +1099. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.22/Carp. +pm line 5. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.22/C +arp.pm line 5. Compilation failed in require at /usr/lib/perl5/vendor_perl/5.22/Carp/ +Heavy.pm line 3. BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.22/C +arp/Heavy.pm line 3. Compilation failed in require at /usr/local/bin/par.pl line 361.
any help is appreciated.

Replies are listed 'Best First'.
Re^5: unable to install warnings.pm under Cygwin
by Corion (Patriarch) on Oct 16, 2015 at 16:46 UTC

    Most likely, the version of Perl you're running on Solaris does not match the version from which /usr/lib/perl5/vendor_perl/* was taken. Maybe you have multiple versions of Perl installed on that machine or a weird $ENV{PERL5LIB} setup.

    Changing things on Windows will not help with errors happening on Solaris.