develooper Front page | perl.perl5.porters | Postings from August 2008

[perl #58242] Perl-5.8.8 compilation on HP_UX 11iv2 Itanium

From:
kawaljeet kaur
Date:
August 22, 2008 14:17
Subject:
[perl #58242] Perl-5.8.8 compilation on HP_UX 11iv2 Itanium
Message ID:
rt-3.6.HEAD-29759-1219405929-1140.58242-75-0@perl.org
# New Ticket Created by  "kawaljeet kaur" 
# Please include the string:  [perl #58242]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58242 >


Hi,

I am compiling Perl-5.8.8 on HP-UX 11iv2 Itanium. I have few queries:

1) Every time when  I run configure with '-des' option, i get the below
error at end with configuration aborted:


Finding dependencies for opmini.o.
./makedepend[158]: makefile: Cannot find or open the file.
        echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH
makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' >.shlist
Updating makefile...
cp: cannot access makefile: No such file or directory
         test -s perlmain.c && touch perlmain.c
        cd x2p; make depend
Bad character > (octal 76), line 206Make: .  Stop.
*** Error exit code 1

 Why do i get this error?

On the other hand, when i run configure option without '-des' , i am able to
avoid this error most of the time.

2) Now moving on to next step, i find make producing errors unless i remove
words '<command-line>' and '<built-in>'  from makefiles in perl source
directory and x2p sub-directory.

3)Assuming , configure and make ran successfully with above 2 modifications,
i start getting many small errors ( with every module) when i run make test
as below ( but these don't seem to produce any further error as their
result).

Writing Makefile for DynaLoader
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
        false
*** Error exit code 1

Stop.
make config failed, continuing anyway...

.

.

Writing Makefile for Errno
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
        false
*** Error exit code 1

Stop.
make config failed, continuing anyway...
        ../../miniperl "-I../../lib" "-I../../lib" Errno_pm.PL Errno.pm
Skip ../../lib/Errno.pm (unchanged)
        cd lib/unicore &&  ../../miniperl -I../../lib mktables -w

and so on.

and also

lib/ExtUtils/t/Constant...................
Stop.
FAILED at test 33
lib/ExtUtils/t/dir_target.................ok
.

.

lib/ExtUtils/t/recurs.....................#   Failed test 'recursive make
exited normally'
#   in ../lib/ExtUtils/t/recurs.t at line 61.
#          got: '256'
#     expected: '0'
# Makefile out-of-date with respect to Makefile.PL
# Cleaning current config before rebuilding Makefile...
#        make -f Makefile.old clean > /dev/null 2>&1
#       /tmp/kawal/perl-5.8.8/t/perl "-I../../lib" "-I../../lib" Makefile.PL
# Writing Makefile for Recurs::prj2
# Writing Makefile for Recurs
# ==> Your Makefile has been rebuilt. <==
# ==> Please rerun the make command.  <==
#       false
# *** Error exit code 1
#
# Stop.
FAILED at test 6
lib/ExtUtils/t/split_command..............ok
.

At the end , it says

Failed 2 test scripts out of 963, 99.79% okay.

That means the above small errors except the below 2 are not considered as
errors.

Also I read on some forums that the 2 scripts that have failed above are
previously also reported to be failed by many, but could not find any
solution for it.

On other hand , if looking at the message to run make again , i abort make
test manually and run make again (though i did not change anything in
makefile ), i start getting errors with make also ,(but only for those
extensions for which make test was not run ) as below:

Writing Makefile for B
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
        false
*** Error exit code 1

Stop.
make config failed, continuing anyway...
Skip ../../lib/B/Stash.pm (unchanged)

Please guide me whether these errors can be solved and what are the
consequences of such errors produced while building perl.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About