<[EMAIL PROTECTED]> wrote on 05/10/2004 04:45:03 PM:

> If I wish to have the OS390::STDIO functions on top of a non-standard
> location perl distribution code installation
> (ie. I compile/build the Perl source files but not use the standard
> locations for the target executables or libraries), will that work?

It will work - but it appears from the error message
generated by MakeMaker that you either did not issue
"make install" for your non standard build, or you have deleted
portions of your perl installation, or perhaps you did not tell perl
to install in a non standard location at Configure time.

> Or does
> OS390::STDIO
> have to be installed on HFS where perl elements are in the "usual
locations"
> (ie. /usr/local/lib/perl5) from a build from source code?

Perl extension building will go into the perl tree that you
specify.

> Is it possible to get perl with OS390::STDIO already build?

I don't know of any.

> I got this message because I did not build perl on my MVS system:
>
> *********************************
>
> Checking if your kit is complete...
> Looks good
>
> Error: Unable to locate installed Perl libraries or Perl source code.
>
> It is recommended that you install perl in a standard location before
> building extensions. Some precompiled versions of perl do not contain
> these header files, so you cannot build extensions. In such a case,
> please build and install your perl from a fresh perl distribution. It
> usually solves this kind of problem.
>
> (You get this message, because MakeMaker could not find
> "/usr/local/lib/perl5/5
> 6.1/os390/CORE/perl.h")

So it is trying to find the file perl.h in the path
/usr/local/lib/perl5/5.6.1.os390/CORE which implies that
your perl was built and installed with a default path and
portions of that default installation tree are now missing.

If you want to override the installation location for a build of
perl I recommend that you configure and build it with:

    sh Configure -Dprefix=/some/path
    make
    make test
    make install

After which you may wish to put /some/path/bin along
your $PATH environment variable.

To build a module from CPAN you then issue:

    /some/path/bin/perl Makefile.PL
    make
    make test
    make install

I hope that helps.

Peter Prymmer

Reply via email to