[Orca-users] Re: running make after configure

Blair Zajac blair at orcaware.com
Tue Aug 28 11:28:40 PDT 2001


A couple of questions:

1) When you installed Perl, what exactly did you install?

2) I'm guessing you didn't do this, but if you mount /usr/local/perl
to /orca/lib/perl5 then you still won't have write permissions.

3) When you ran configure, which Perl did it find?

It looks like even if you have the new Perl installed, you still need
to have the new Perl in your path since some of the Perl warning
messages you have show the /usr/local perl.

Blair

tburke at timebridge.com wrote:
> 
> In my instance I'm was nfs mounting perl in /usr/local.  I dont have
> permission to put the modules there so I went and got perl 5.6.1.  I
> extracted orca to /opt/orca-0.26.  I've created a mount point /orca
> for the files.  I also placed perl in /orca as below
> 
> /orca/var/orca/orcallator
> /orca/var/orca/rrd/orcallator
> /orca/var/orca/rrd
> /orca/var/orca
> /orca/var
> /orca/lib/Orca
> /orca/lib/perl5/5.6.1
> /orca/man/man1
> 
> etc.
> 
> I run configure as below...
> configure --prefix=/orca --with-html-dir=/orca/html
> 
> configure runs fine but make give the following error
> 
> # make
> cd packages && make CFLAGS=-g -O2
> make[1]: Entering directory `/opt/orca-0.26/packages'
> cd Digest-MD5-2.09 && /orca/bin/perl Makefile.PL
> Testing alignment requirements for U32... u32align.c:9: EXTERN.h: No
> such file or directory
> u32align.c:10: perl.h: No such file or directory
> Can't compile test program
> 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/sun4-solaris/CORE/perl.h")
> make[1]: *** [Digest-MD5-2.09/Makefile] Error 2
> make[1]: Leaving directory `/opt/orca-0.26/packages'
> cd lib && make CFLAGS=-g -O2
> make[1]: Entering directory `/opt/orca-0.26/lib'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/opt/orca-0.26/lib'
> cd src && make CFLAGS=-g -O2
> make[1]: Entering directory `/opt/orca-0.26/src'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/opt/orca-0.26/src'
> cd orcallator && make CFLAGS=-g -O2
> make[1]: Entering directory `/opt/orca-0.26/orcallator'
> cat ../config/PerlHead1 orcallator_running.pl > orcallator_running
> chmod 0755 orcallator_running
> cp restart_orcallator.sh restart_orcallator
> chmod 0755 restart_orcallator
> cp stop_orcallator.sh stop_orcallator
> chmod 0755 stop_orcallator
> cp start_orcallator.sh start_orcallator
> chmod 0755 start_orcallator
> cp S99orcallator.sh S99orcallator
> chmod 0755 S99orcallator
> make[1]: Leaving directory `/opt/orca-0.26/orcallator'
> cd docs && make CFLAGS=-g -O2
> make[1]: Entering directory `/opt/orca-0.26/docs'
> pod2man ../src/orca.pl > orca.man
> syntax error at /orca/lib/perl5/5.6.1/warnings.pm line 311, near "{^"
> BEGIN failed--compilation aborted at /orca/lib/perl5/5.6.1/vars.pm
> line 12.
> BEGIN failed--compilation aborted at
> /orca/lib/perl5/5.6.1/Getopt/Long.pm line 37.
> BEGIN failed--compilation aborted at /orca/bin/pod2man line 15.
> make[1]: *** [orca.man] Error 2
> make[1]: Leaving directory `/opt/orca-0.26/docs'
> make: *** [all] Error 2
> 
> I searched the posts and found some similar items.  I'm sure I'm just
> missing something simple in the setup.  Any ideas?
> 
> Mike



More information about the Orca-users mailing list