CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Strange runtime errors

 



zeb
New User

Jun 8, 2007, 6:08 PM

Post #1 of 2 (910 views)
Strange runtime errors Can't Post

hi
We recently moved our perl codes and cgi to a new platform on a Solaris 10 X86 system. Installed perl 5.8.8 and all the perl modules necessary to make our application run. Used a gcc 3.4.6 compiler to create the binaries. We also needed syscalls so I got all the C header files *.h to *.ph using h2ph. Perfect? ...not so. When I run the web application at some point it calls a ccompile.ph and throws out the following error:

Software error:

[Mon Jun 4 12:12:01 2007] nph-ExperimentEntry: [Mon Jun 4 12:12:01 2007] nph-ExperimentEntry: Undefined subroutine &main::__GNUC_PATCHLEVEL__ called at (eval 264) line 1.
[Mon Jun 4 12:12:01 2007] nph-ExperimentEntry: Compilation failed in require at /tools/perl/5.8.8_new/lib/site_perl/5.8.8/i86pc-solaris/sys/feature_tests.ph line 7.
Compilation failed in require at /tools/perl/5.8.8_new/lib/site_perl/5.8.8/i86pc-solaris/sys/resource.ph line 7.
For help, please send mail to the webmaster giving this error message and the time and date of the error.

nph-ExperimentEntry is the perl script that is doing the system call. On the old platform which is Solaris SPARC, it runs without any problems. Ofcourse there is no such thing as ccompile.h there. What can be wrong. Is there something that I would have missed while using the compiler. I had suspected my build of the gcc compiler 3.4.6 and so recompiled perl using the gcc compiler that came with solaris 10. There was no improvement either way.

I look forward to any reply/insight to this strange problem.

Thanks much.


KevinR
Veteran


Jun 9, 2007, 2:17 PM

Post #2 of 2 (899 views)
Re: [zeb] Strange runtime errors [In reply to] Can't Post

Ask on www.perlmonks.com if you get no replies here.
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives