Perl V4.036 on Solaris 2.3 Shell escapes do not work 
Author Message
 Perl V4.036 on Solaris 2.3 Shell escapes do not work

I am using perl 4.036 on a Solaris 2.3 machine.
the following command leaves $cwd empty

$cwd = `pwd`;

Any suggetstions???

--
------------------------------------------------------------------------------
| Rhett Smith                         Louisiana State University             |

|                                     Baton Rouge, LA 70803                  |
------------------------------------------------------------------------------



Sun, 02 Mar 1997 00:04:28 GMT  
 Perl V4.036 on Solaris 2.3 Shell escapes do not work
: I am using perl 4.036 on a Solaris 2.3 machine.
: the following command leaves $cwd empty
:
: $cwd = `pwd`;
:
: Any suggetstions???

The only thing I can think is that you perl is nor correctly
compiled. Did you execute an 'make test' ?

Or... Could you be using a bin from SunOS 4.x ??? I don't know if this
will produce this error, but with Sun I can expect everything

I just tested:

        #!/usr/local/bin/perl4.036
        $cwd=`pwd`;
        print $cwd,"\n";

On my 2.3 machine and it worked ok.
--
regards,


<<< A man who steals his neighbor's wife is not alone >>>



Sun, 02 Mar 1997 05:48:31 GMT  
 Perl V4.036 on Solaris 2.3 Shell escapes do not work
: I am using perl 4.036 on a Solaris 2.3 machine.
: the following command leaves $cwd empty

: $cwd = `pwd`;

: Any suggetstions???

When you built perl did you run the test suite? i.e. make test

I would guess that the problem is caused by compiling Perl with vfork enabled.
Look in config.sh for

    d_vfork='define'

change it to

    d_vfork='undef'

and recompile.

Paul



Sun, 02 Mar 1997 15:55:02 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. perl-4.036 installation on Solaris 2.3

2. Link error for perl-4.036 on Solaris 2.3

3. Porting perl-4.036 to Solaris 2.3?

4. socket() fails on Solaris 2.3, perl4.036

5. Trouble compiling perl4.036 on Solaris 2.3

6. perl4.036 on Solaris 2.3 using gcc

7. socket problems with solaris 2.3 /perl4.036

8. Help with installation of perl4.036 on SunOS Sparc 10 solaris 2.3

9. Perl v4.036 under Solaris v2.4

10. HELP: Oraperl makefile needed for Oracle 7.1.3 and perl v4.036

11. Problems with perly.o (in compiling perl-v4.036)

12. Oraperl V2.4, Oracle V7.0, Perl V4.036 on Ultrix 4.4

 

 
Powered by phpBB® Forum Software