On Thursday, May 30, 2002, at 03:23 , Mayank Ahuja wrote:

> Due to some unchangeable circumstances we need a perl binary (Version
> 4.0, preferably patch level more than 36) on Linux (Red Hat).

I gotta ask - but what are the unchangeable circumstances?????
that would mean going through all of your perl code and having it
expressly invoke

        /usr/local/bin/perl4.035

vice

        /usr/local/bin/perl

which of course would be running say 5.6.1.... which would
be coming as the default with rh linux 7.2....

or were you planning to make this linux box run only one version of perl?

> We downloaded the source code and compiled it but we can see some errors
> (Segmentation Fault) when a script is run using this compiled binary.
> The script runs fine with perl 4.0 on solaris.

now we may be walking into the problem of interest here.

Is the script calling out some 'unportable' piece of code?

And why not throw the core dump into the debugger, and figure
out what is causing it to do the segmentation fault - so that
you can figure out where in the 'perl script' that is being
executed things are Failing....

At which point it may well be worth it to ditch the whole
retreat to perl 4 approach by porting forward the part of the
perl code that needs to be fixed to run under 5.6.1 to begin with.


> Can somebody please share his perl 4.0 binary (which i know will be very
> rare) or point us to some sites where we can find more information.

All I have is the one we built for solaris.... { I think it was
for solaris.... I rather doubt it's from a sunOS 4.X release... }

which rev of solaris was this older version of perl working on?

ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to