Perl / perl5

🐪 The Perl programming language
https://dev.perl.org/perl5/
Other
1.85k stars 527 forks source link

Dynamic Loading on HP-UX 10.20 (PERL 5005_03) #2091

Closed p5pRT closed 12 years ago

p5pRT commented 23 years ago

Migrated from rt.perl.org#3380 (status was 'resolved')

Searchable as RT3380$

p5pRT commented 23 years ago

From subbuk@dal.asp.ti.com

Hi

PLEASE HELP ME!!! I am installing perl 5005_03 for HP machine (10.20). Can someone out there tell me what does it mean when "Configure" asks the following question??

  Do you wish to use dynamic loading? [y]

I am not able to successfully "make" when I answer "y" to this prompt. Can anyone please let me know how critical and important this is????

I have attached the screen output of the entire install step/Configure/Procedure.

I would really appreciate any help/info/pointers on this.

Thanks a lot in advance.

-Subbu

p5pRT commented 23 years ago

From subbuk@dal.asp.ti.com

Script started on Thu Jun 15 00​:18​:19 2000 viper@​truman[/data/timepilot/BlahBlahBlah/perl5.005_03]>Configure

(I see you are using the Korn shell. Some ksh's blow up on Configure\, mainly on older exotic systems. If yours does\, try the Bourne shell instead.)

Beginning of configuration questions for perl5.

Checking echo to see how to suppress newlines... ...using \c The star should be here-->*

First let's make sure your kit is complete. Checking... Looks good...

Would you like to see the instructions? [n]

Locating common programs... awk is in /usr/bin/awk. cat is in /usr/bin/cat. comm is in /usr/bin/comm. cp is in /usr/bin/cp. echo is in /usr/bin/echo. expr is in /usr/bin/expr. find is in /usr/bin/find. grep is in /usr/bin/grep. ls is in /usr/bin/ls. make is in /usr/bin/make. mkdir is in /usr/bin/mkdir. rm is in /usr/bin/rm. sed is in /usr/bin/sed. sort is in /usr/bin/sort. touch is in /usr/bin/touch. tr is in /usr/bin/tr. uniq is in /usr/bin/uniq.

Don't worry if any of the following aren't found... I don't see Mcc out there\, offhand. ar is in /usr/bin/ar. I don't see byacc out there\, either. cpp is in /usr/local/bin/cpp. csh is in /usr/bin/csh. date is in /usr/bin/date. egrep is in /usr/bin/egrep. gzip is in /usr/local/bin/gzip. less is in /usr/local/bin/less. line is in /usr/bin/line. ln is in /usr/bin/ln. more is in /usr/bin/more. nm is in /usr/bin/nm. nroff is in /usr/bin/nroff. perl is in /usr/local/bin/perl. pg is in /usr/bin/pg. sendmail is in /usr/lib/sendmail. tee is in /usr/bin/tee. test is in /usr/bin/test. uname is in /usr/bin/uname. zip is in /usr/local/bin/zip. Using the test built into your sh.

Checking compatibility between /usr/bin/echo and builtin echo (if any)... They are compatible. In fact\, they may be identical.

Symbolic links are supported.

Good\, your tr supports [​:lower​:] and [​:upper​:] to convert case. Using [​:upper​:] and [​:lower​:] to convert case.

First time through\, eh? I have some defaults handy for some systems that need some extra help getting the Configure answers right​:

3b1 dynix irix_6_1 next_3_0 stellar
aix dynixptx isc next_4 sunos_4_0
altos486 epix isc_2 openbsd sunos_4_1
amigaos esix4 linux opus svr4
apollo fps lynxos os2 ti1500
aux_3 freebsd machten os390 titanos
beos genix machten_2 powerux ultrix_4
bsdos gnu mint qnx umips
convexos greenhills mips sco unicos
cxux hpux mpc sco_2_3_0 unicosmk
cygwin32 i386 mpeix sco_2_3_1 unisysdynix
dcosx irix_4 ncr_tower sco_2_3_2 utekv
dec_osf irix_5 netbsd sco_2_3_3 uts
dgux irix_6 newsos4 sco_2_3_4 uwin
dos_djgpp irix_6_0 next_3 solaris_2

You may give one or more space-separated answers\, or "none" if appropriate. A well-behaved OS will have no hints\, so answering "none" or just "Policy" is a good thing. DO NOT give a wrong version.

Which of these apply\, if any? [hpux]

Configure uses the operating system name and version to set some defaults. The default value is probably right if the name rings a bell. Otherwise\, since spelling matters for me\, either accept the default or answer "none" to leave it blank.

Operating system name? [hpux]

Operating system version? [10.20]

Perl can be built to take advantage of threads\, on some systems. To do so\, Configure must be run with -Dusethreads.

Note that threading is a highly experimental feature\, and some known race conditions still remain. If you choose to try it\, be very sure to not actually deploy it for production purposes. README.threads has more details\, and is required reading if you enable threads. Build a threading Perl? [n]

What is your architecture name [PA-RISC2.0]

AFS does not seem to be running...

By default\, perl5 will be installed in /opt/perl5/bin\, manual pages under /opt/perl5/man\, etc...\, i.e. with /opt/perl5 as prefix for all installation directories. Typically set to /usr/local\, but you may choose /usr if you wish to install perl5 among your system binaries. If you wish to have binaries under /bin but manual pages under /usr/local/man\, that's ok​: you will be prompted separately for each of the installation directories\, the prefix being only used to set the defaults.

Installation prefix to use? (~name ok) [/opt/perl5] /data/timepilot/BlahBlahBlah/hp1020

Getting the current patchlevel... (You have perl5 5.0 patchlevel 5 subversion 3 .)

There are some auxiliary files for perl5 that need to be put into a private library directory that is accessible by everyone.

Pathname where the private library files will reside? (~name ok) [/data/timepilot/BlahBlahBlah/hp1020/lib/perl5/5.00503]

Perl5 contains architecture-dependent library files. If you are sharing libraries in a heterogeneous environment\, you might store these files in a separate location. Otherwise\, you can just include them with the rest of the public library files.

Where do you want to put the public architecture-dependent libraries? (~name ok) [/data/timepilot/BlahBlahBlah/hp1020/lib/perl5/5.00503/PA-RISC2.0]

Hmm... Looks kind of like a BSD system\, but we'll see...

Congratulations. You aren't running Eunice.

It's not Xenix...

Nor is it Venix...

Some kernels have a bug that prevents setuid #! scripts from being secure. Some sites have disabled setuid #! scripts because of this.

First let's decide if your kernel supports secure setuid #! scripts. (If setuid #! scripts would be secure but have been disabled anyway\, don't say that they are secure if asked.)

I don't think setuid scripts are secure (no /dev/fd directory). (That's for file descriptors\, not floppy disks.)

Some systems have disabled setuid scripts\, especially systems where setuid scripts cannot be secure. On systems where setuid scripts have been disabled\, the setuid/setgid bits on scripts are currently useless. It is possible for perl5 to detect those bits and emulate setuid/setgid in a secure fashion. This emulation will only work if setuid scripts have been disabled in your kernel.

Do you want to do setuid/setgid emulation? [n]

System manual is in /usr/man/man1.

Some systems have different model sizes. On most systems they are called small\, medium\, large\, and huge. On the PDP11 they are called unsplit and split. If your system doesn't support different memory models\, say "none". If you wish to force everything to one memory model\, say "none" here and put the appropriate flags later when it asks you for other cc and ld flags. Venix systems may wish to put "none" and let the compiler figure things out. (In the following question multiple model names should be space separated.)

The default for most systems is "none".

Which memory models are supported? [none]

Use which C compiler? [cc] /opt/ansic/bin/cc

Checking for GNU cc in disguise and/or its version number... You are not using GNU cc.

Hmm... Doesn't look like a MIPS system.

Now\, how can we feed standard input to your C preprocessor... You used to use cc -E -Aa - so we'll use that again. (And we'll use cc -E -Aa - to preprocess directly.)

Some systems have incompatible or broken versions of libraries. Among the directories listed in the question below\, please remove any you know not to be holding relevant libraries\, and add any that are needed. Say "none" for none.

Directories to use for library searches? [/usr/local/lib /lib/pa1.1 /lib /usr/lib /usr/ccs/lib]

On some systems\, shared libraries may be available. Answer 'none' if you want to suppress searching of shared libraries for the remaining of this configuration.

What is the file extension used for shared libraries? [sl]

Checking for optional libraries... No -lsfio. No -lsocket. No -linet. Found -lnsl_s. No -lnm. Found -lndbm (shared). Found -lgdbm. No -ldb. Found -lmalloc. No -ldl. Found -ldld (shared). No -lsun. Found -lm (shared). Found -lc (shared). No -lcposix. No -lposix. Found -lndir. No -ldir. Found -lcrypt. No -lucb. No -lbsd. No -lx.

Some versions of Unix support shared libraries\, which make executables smaller but make load time slightly longer.

On some systems\, mostly System V Release 3's\, the shared library is included by putting the option "-lc_s" as the last thing on the cc command line when linking. Other systems use shared libraries by default. There may be other libraries needed to compile perl5 on your machine as well. If your system needs the "-lc_s" option\, include it here. Include any other special libraries here as well. Say "none" for none.

Any additional libraries? [-lnsl_s -lndbm -lgdbm -lmalloc -ldld -lm -lc -lndir -lcrypt]

Some C compilers have problems with their optimizers. By default\, perl5 compiles with the -O flag to use the optimizer. Alternately\, you might want to use the symbolic debugger\, which uses the -g flag (on traditional Unix systems). Either flag can be specified here. To use neither flag\, specify the word "none".

What optimizer/debugger flag should be used? [-O]

Your C compiler may want other flags. For this question you should include -I/whatever and -DWHATEVER flags and any other flags used by the C compiler\, but you should NOT include libraries or ld flags like -lwhatever. If you want perl5 to honor its debug switch\, you should include -DDEBUGGING here. Your C compiler might also need additional flags\, such as -D_POSIX_SOURCE.

To use no flags\, specify the word "none".

Any additional cc flags? [-D_HPUX_SOURCE -Aa -I/usr/local/include]

Let me guess what the preprocessor flags are... They appear to be​: -D_HPUX_SOURCE -Aa -I/usr/local/include

Your C linker may need flags. For this question you should include -L/whatever and any other flags used by the C linker\, but you should NOT include libraries like -lwhatever.

Make sure you include the appropriate -L/path flags if your C linker does not normally search all of the directories you specified above\, namely   /usr/local/lib /lib/pa1.1 /lib /usr/lib /usr/ccs/lib To use no flags\, specify the word "none".

Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib]

Checking your choice of C compiler and flags for coherency... OK\, that should do.

Computing filename position in cpp output for #include directives... Your cpp writes the filename in the third field of the line.

\<malloc.h> found.

\<stdlib.h> found.

Do you wish to attempt to use the malloc that comes with perl5? [y] Removing unneeded -lmalloc from library list libs = -lnsl_s -lndbm -lgdbm -ldld -lm -lc -lndir -lcrypt

Your system wants malloc to return 'void *'\, it would seem. Your system uses void free()\, it would seem.

Checking out function prototypes... Your C compiler appears to support function prototypes.

Pathname where the public executables will reside? (~name ok) [/data/timepilot/BlahBlahBlah/hp1020/bin]

Many scripts expect to perl to be installed as /usr/bin/perl. I can install the perl you are about to compile also as /usr/bin/perl (in addition to /data/timepilot/BlahBlahBlah/hp1020/bin/perl). Do you want to install perl as /usr/bin/perl? [y] n

Checking for GNU C Library... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (gnulibc.o) was detected. The linked output may not run on a PA 1.x system. You are not using the GNU C Library

I can use /usr/bin/nm to extract the symbols from your C libraries. This is a time consuming task which may generate huge output on the disk (up to 3 megabytes) but that should make the symbols extraction faster. The alternative is to skip the 'nm' extraction part and to compile a small test program instead to determine whether each symbol is present. If you have a fast C compiler and/or if your 'nm' output cannot be parsed\, this may be the best solution.

You probably shouldn't let me use 'nm' if you are using the GNU C Library.

Shall I use /usr/bin/nm to extract C symbols from the libraries? [y]

Your (shared) C library seems to be in /lib/libc.sl.

If the guess above is wrong (which it might be if you're using a strange compiler\, or your machine supports multiple models)\, you can override it here.

Where is your C library? [/lib/libc.sl]

Extracting names from the following files for later perusal​:

  /lib/libc.sl   /lib/libcrypt.a   /lib/libdld.sl   /lib/libm.sl   /lib/libndbm.sl   /lib/libndir.a   /lib/libnsl_s.sl   /usr/local/lib/libgdbm.a

This may take a while.....done

\<dld.h> NOT found.

dlopen() NOT found.

Do you wish to use dynamic loading? [y] The following dynamic loading files are available​: [?1h=ext/DynaLoader/dl_aix.xs ext/DynaLoader/dl_hpux.xs ext/DynaLoader/dl_beos.xs ext/DynaLoader/dl_mpeix.xs ext/DynaLoader/dl_cygwin32.xs ext/DynaLoader/dl_next.xs ext/DynaLoader/dl_dld.xs ext/DynaLoader/dl_none.xs ext/DynaLoader/dl_dlopen.xs ext/DynaLoader/dl_vms.xs Source file to use for dynamic loading [ext/DynaLoader/dl_hpux.xs]

Some systems may require passing special flags to /opt/ansic/bin/cc -c to compile modules that will be used to create a shared library. To use no flags\, say "none".

Any special flags to pass to /opt/ansic/bin/cc -c to compile shared library modules? [+z]

Some systems use ld to create libraries that can be dynamically loaded\, while other systems (such as those using ELF) use /opt/ansic/bin/cc.

I'll use ld to build dynamic libraries. What command should be used to create dynamic libraries? [ld]

Some systems may require passing special flags to ld to create a library that can be dynamically loaded. If your ld flags include -L/other/path options to locate libraries outside your loader's normal search path\, you may need to specify those -L options here as well. To use no flags\, say "none".

Any special flags to pass to ld to create a dynamically loaded library? [-b -L/usr/local/lib]

Some systems may require passing special flags to /opt/ansic/bin/cc to indicate that the resulting executable will use dynamic linking. To use no flags\, say "none".

Any special flags to pass to /opt/ansic/bin/cc to use dynamic loading? [-Wl\,-E -Wl\,-B\,deferred ]

The perl executable is normally obtained by linking perlmain.c with libperl.a\, any static extensions (usually just DynaLoader)\, and any other libraries needed on this system (such as -lm\, etc.). Since your system supports dynamic loading\, it is probably possible to build a shared libperl.sl. If you will have more than one executable linked to libperl.sl\, this will significantly reduce the size of each executable\, but it may have a noticeable affect on performance. The default is probably sensible for your system.

Build a shared libperl.sl (y/n) [n]

Perl5 has manual pages available in source form. If you don't want the manual sources installed\, answer 'none'.

Where do the main Perl5 manual pages (source) go? (~name ok) [/data/timepilot/BlahBlahBlah/hp1020/man/man1] What suffix should be used for the main Perl5 man pages? [1]

You can have filenames longer than 14 characters.

Perl5 has manual pages for many of the library modules. If you don't want the manual sources installed\, answer 'none'.

Where do the perl5 library man pages (source) go? (~name ok) [/data/timepilot/BlahBlahBlah/hp1020/lib/perl5/5.00503/man/man3] What suffix should be used for the perl5 library man pages? [3]

Are you getting the hosts file via yellow pages? [y]

Figuring out host name... Maybe "hostname" will work... Your host name appears to be "truman". Right? [y]

What is your domain name? [.dal.asp.ti.com]

I need to get your e-mail address in Internet format if possible\, i.e. something like user@​host.domain. Please answer accurately since I have no easy means to double check it. The default value provided below is most probably close to the reality but may not be valid from outside your organization...

What is your e-mail address? [viper@​truman.dal.asp.ti.com]

If you or somebody else will be maintaining perl at your site\, please fill in the correct e-mail address here so that they may be contacted if necessary. Currently\, the "perlbug" program included with perl will send mail to this address in addition to perlbug@​perl.com. You may enter "none" for no administrator.

Perl administrator e-mail address [viper@​truman.dal.asp.ti.com]

I can use the #! construct to start perl on your system. This will make startup of perl scripts faster\, but may cause problems if you want to share those scripts and perl is not in a standard place (/data/timepilot/BlahBlahBlah/hp1020/bin/perl) on all your platforms. The alternative is to force a shell by starting the script with a single '​:' character.

What shall I put after the #! to start up perl ("none" to not use #!)? [/data/timepilot/BlahBlahBlah/hp1020/bin/perl]

WARNING​: Some systems limit the #! command to 32 characters. If you experience difficulty running Perl scripts with #!\, try installing Perl in a directory with a shorter pathname.

I'll use #!/data/timepilot/BlahBlahBlah/hp1020/bin/perl to start perl scripts.

Some installations have a separate directory just for executable scripts so that they can mount it across multiple architectures but keep the scripts in one spot. You might\, for example\, have a subdirectory of /usr/share for this. Or you might just lump your scripts in with all your other executables.

Where do you keep publicly executable scripts? (~name ok) [/data/timepilot/BlahBlahBlah/hp1020/bin]

The installation process will also create a directory for site-specific extensions and modules. Some users find it convenient to place all local files in this directory rather than in the main distribution directory.

Pathname for the site-specific library files? (~name ok) [/data/timepilot/BlahBlahBlah/hp1020/lib/perl5/site_perl/5.005]

The installation process will also create a directory for architecture-dependent site-specific extensions and modules.

Pathname for the site-specific architecture-dependent library files? (~name ok) [/data/timepilot/BlahBlahBlah/hp1020/lib/perl5/site_perl/5.005/PA-RISC2.0]

Previous version of perl5 used the standard IO mechanisms as defined in \<stdio.h>. Versions 5.003_02 and later of perl allow alternate IO mechanisms via a "PerlIO" abstraction\, but the stdio mechanism is still the default. This abstraction layer can use AT&T's sfio (if you already have sfio installed) or regular stdio. Using PerlIO with sfio may cause problems with some extension modules. Using PerlIO with stdio is safe\, but it is slower than plain stdio and therefore is not the default.

If this doesn't make any sense to you\, just accept the default 'n'. Use the experimental PerlIO abstraction layer? [n] Ok\, doing things the stdio way

Checking for an efficient way to convert floats to strings. Trying gconvert gconvert NOT found. Trying gcvt gcvt found. I'll use gcvt to convert floats into a string.

access() found.

\<sys/file.h> defines the *_OK access constants.

alarm() found.

Checking whether your compiler can handle __attribute__ ... Your C compiler doesn't seem to understand __attribute__ at all.

bcmp() found.

bcopy() found.

\<unistd.h> found.

getpgrp() found.

Checking to see which flavor of getpgrp is in use... You have to use getpgrp() instead of getpgrp(pid).

setpgrp() found.

Checking to see which flavor of setpgrp is in use... You have to use setpgrp() instead of setpgrp(pid\,pgrp).

bzero() found.

Checking to see how big your integers are... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (intsize.o) was detected. The linked output may not run on a PA 1.x system. Your integers are 4 bytes long. Your long integers are 4 bytes long. Your short integers are 2 bytes long.

You have void (*signal())().

Checking whether your C compiler can cast large floats to int32. /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system. Yup\, it can.

Checking whether your C compiler can cast negative float to unsigned. /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system. Yup\, it can.

vprintf() found. Your vsprintf() returns (int).

chown() found.

chroot() found.

chsize() NOT found.

Checking to see if your C compiler knows about "const"... Yup\, it does.

crypt() found.

cuserid() found.

\<limits.h> found.

\<float.h> found.

DBL_DIG found.

difftime() found.

\<sys/stat.h> found.

\<dirent.h> found.

Your directory entries are struct dirent.

Good\, your directory entry keeps length information in d_namlen.

dlerror() NOT found.

\<dlfcn.h> NOT found.

On a few systems\, the dynamically loaded modules that perl generates and uses will need a different extension than shared libs. The default will probably be appropriate.

What is the extension of dynamically loaded modules [sl]

dup2() found.

endhostent() found.

endnetent() found.

endprotoent() found.

endservent() found.

\<sys/file.h> defines the O_* constants... and you have the 3 argument form of open().

Figuring out the flag used by open() for non-blocking I/O... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system. Seems like we can use O_NONBLOCK.

Let's see what value errno gets from read() on a O_NONBLOCK file... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system. A read() system call with no data present returns -1. Your read() sets errno to EAGAIN when no data is available. And it correctly returns 0 to signal EOF.

fchmod() found.

fchown() found.

fcntl() found.

fgetpos() found.

flock() NOT found.

fork() found.

pathconf() found.

fpathconf() found.

fsetpos() found.

gethostbyaddr() found.

gethostbyname() found.

\<sys/param.h> found.

\<sys/mount.h> found.

fstatfs() found.

\<sys/statvfs.h> found.

fstatvfs() found.

gethostent() found.

\<netdb.h> found.

gethostent() prototype found.

getlogin() found.

getnetbyaddr() found.

getnetbyname() found.

getnetent() found.

getnetent() prototype found.

getprotobyname() found.

getprotobynumber() found.

getprotoent() found.

\<mntent.h> found.

getmntent() found.

hasmntopt() found.

getpgid() found.

getpgrp2() found.

getppid() found.

getpriority() found.

getprotoent() prototype found.

getservbyname() found.

getservbyport() found.

getservent() found.

getservent() prototype found.

gettimeofday() found.

\<netinet/in.h> found.

\<arpa/inet.h> found.

htonl() NOT found. But it seems to be defined as a macro.

Using \<string.h> instead of \<strings.h>.

strchr() found.

inet_aton() found.

isascii() found.

killpg() found.

lchown() found.

link() found.

localeconv() found.

lockf() found.

Checking to see if your system supports long doubles... Yup\, it does.

Checking to see how big your long doubles are... 16 bytes.

Checking to see if your system supports long long... Nope\, it doesn't.

lstat() found.

mblen() found.

mbstowcs() found.

mbtowc() found.

memcmp() found.

memcpy() found.

memmove() found.

memset() found.

mkdir() found.

mkfifo() found.

mktime() found.

msgctl() found.

msgget() found.

msgsnd() found.

msgrcv() found.

You have the full msg*(2) library.

nice() found.

pause() found.

pipe() found.

poll() found. pthread_yield() NOT found. sched_yield() found.

\<pthread.h> found.

\<mach/cthreads.h> NOT found.

\<pwd.h> found.

setpwent() found.

getpwent() found.

endpwent() found.

readdir() found.

seekdir() found.

telldir() found.

rewinddir() found.

readlink() found.

rename() found.

rmdir() found.

\<memory.h> found.

We won't be including \<memory.h>.

Checking to see if your bcopy() can do overlapping copies... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system. Yes\, it can.

Checking to see if your memcpy() can do overlapping copies... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system. Yes\, it can.

Checking if your memcmp() can compare relative magnitude... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system. Yes\, it can.

select() found.

semctl() found.

semget() found.

semop() found.

You have the full sem*(2) library.

You do not have union semun in \<sys/sem.h>.

You can use union semun for semctl IPC_STAT. You can also use struct semid_ds* for semctl IPC_STAT.

setegid() NOT found.

seteuid() NOT found.

sethostent() found.

setlinebuf() NOT found.

setlocale() found.

setnetent() found.

setprotoent() found.

setpgid() found.

setpgrp2() found.

setpriority() found.

setregid() found.

setresgid() found.

setreuid() found.

setresuid() found.

setrgid() NOT found.

setruid() NOT found.

setservent() found.

setsid() found.

setvbuf() found.

\<sfio.h> NOT found.

shmctl() found.

shmget() found.

shmat() found. and it returns (void *).

shmdt() found.

You have the full shm*(2) library.

sigaction() found. /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system.

POSIX sigsetjmp found.

Hmm... Looks like you have Berkeley networking support.

socketpair() found.

Checking how std your stdio is... Your stdio acts pretty std. And its _base field acts std.

strcoll() found.

Checking to see if your C compiler can copy structs... Yup\, it can.

strerror() found. (You also have sys_errlist[]\, so we could roll our own strerror.)

strtod() found.

strtol() found.

strtoul() found.

strxfrm() found.

symlink() found.

syscall() found.

sysconf() found.

system() found.

tcgetpgrp() found.

tcsetpgrp() found.

\<sys/times.h> found.

times() found.

Looking for the type returned by times() on this system. clock_t found.

truncate() found.

tzname[] found.

umask() found.

uname() found.

vfork() found.

Perl can only use a vfork() that doesn't suffer from strict restrictions on calling functions or modifying global data in the child. For example\, glibc-2.1 contains such a vfork() that is unsuitable. If your system provides a proper fork() call\, chances are that you do NOT want perl to use vfork().

Do you still want to use vfork()? [n] Ok\, we won't use vfork().

\<sys/dir.h> found.

\<sys/ndir.h> NOT found.

\<sys/types.h> found.

closedir() found.

Checking whether closedir() returns a status... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (closedir.o) was detected. The linked output may not run on a PA 1.x system. Yes\, it does.

Checking to see if your C compiler knows about "volatile"... Yup\, it does.

wait4() NOT found.

waitpid() found.

wcstombs() found.

wctomb() found.

Doubles must be aligned on a how-many-byte boundary? [8]  
In the following\, larger digits indicate more significance. A big-endian machine like a Pyramid or a Motorola 680?0 chip will come out to 4321. A little-endian machine like a Vax or an Intel 80?86 chip would be 1234. Other machines may have weird orders like 3412. A Cray will report 87654321. If the test program works the default is probably right. I'm now running the test program... (The test program ran ok.) byteorder=4321

Checking to see how your cpp does stuff like catenate tokens... Oh! Smells like ANSI's been here. We can catify or stringify\, separately or together!

\<db.h> NOT found.

Checking to see how well your C compiler groks the void type... Good. It appears to support void to the level perl5 wants.

Checking to see how big your double precision numbers are.../usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system. 8 bytes.

Determining whether or not we are on an EBCDIC system... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (tebcdic.o) was detected. The linked output may not run on a PA 1.x system. Nope\, no EBCDIC. Assuming ASCII or some ISO Latin.

Looking for the type for file position used by fsetpos(). fpos_t found.

Looking for the type for group ids returned by getgid(). gid_t found.

getgroups() found.

setgroups() found.

What type of pointer is the second argument to getgroups() and setgroups()? Usually this is the same as group ids\, gid_t\, but not always.

What type pointer is the second argument to getgroups() and setgroups()? [gid_t]

Looking for the type used for lseek's offset on this system. off_t found.

Checking if your /usr/bin/make program sets $(MAKE)... Yup\, it does.

Looking for the type used for file modes for system calls (e.g. fchmod()). mode_t found.

Looking for the type used for the length parameter for string functions. size_t found.

Checking to see what type of arguments are accepted by gethostbyaddr(). Your system accepts const char * for the first arg. ...and int for the second arg.

Checking to see what type of argument is accepted by gethostbyname(). Your system accepts const char *.

Checking to see what type of 1st argument is accepted by getnetbyaddr(). Your system accepts int.

What pager is used on your system? [/usr/local/bin/less]

Looking for the type of process ids on this system. pid_t found.

Checking to see how big your pointers are.../usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system. 4 bytes.

Checking to see how many bits your rand function produces... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system. How many bits does your rand() function produce? [15]

Checking how to generate random libraries on your machine... /usr/bin/ar appears to generate random libraries itself.

\<sys/select.h> NOT found.

Testing to see if we should include \<time.h>\, \<sys/time.h> or both. I'm now running the test program.... Succeeded with -DI_SYSTIME -DS_TIMEVAL We'll include \<sys/time.h>.

Checking to see how well your C compiler handles fd_set and friends ... Well\, your system knows about the normal fd_set typedef... and you have the normal fd_set macros (just as I'd expect). Checking to see what type of arguments are accepted by select(). Your system accepts fd_set *.

Checking to see on how many bits at a time your select() operates... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (try.o) was detected. The linked output may not run on a PA 1.x system. Your select() operates on 32 bits at a time.

Generating a list of signal names and numbers... /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (signal.o) was detected. The linked output may not run on a PA 1.x system. The following signals are available​:

SIGZERO SIGHUP SIGINT SIGQUIT SIGILL SIGTRAP SIGABRT SIGEMT SIGFPE SIGKILL SIGBUS SIGSEGV SIGSYS SIGPIPE SIGALRM SIGTERM SIGUSR1 SIGUSR2 SIGCHLD SIGPWR SIGVTALRM SIGPROF SIGIO SIGWINCH SIGSTOP SIGTSTP SIGCONT SIGTTIN SIGTTOU SIGURG SIGLOST SIGNUM31 SIGDIL SIGXCPU SIGXFSZ SIGRTMIN SIGIOT SIGCLD SIGPOLL SIGWINDOW

/usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (ssize.o) was detected. The linked output may not run on a PA 1.x system. I'll be using ssize_t for functions returning a byte count.

Your stdio uses unsigned chars.

time() found.

Looking for the type returned by time() on this system. time_t found.

Looking for the type for user ids returned by getuid(). uid_t found.

dbmclose() found.

\<dbm.h> found.

\<sys/file.h> found.

We'll be including \<sys/file.h>.

\<fcntl.h> found.

We don't need to include \<fcntl.h> if we include \<sys/file.h>.

\<grp.h> found.

setgrent() found.

getgrent() found.

endgrent() found.

\<locale.h> found.

\<math.h> found.

\<ndbm.h> found.

dbm_open() found.

\<net/errno.h> NOT found.

Hmm... Your C compiler defines the following cpp symbols​: _PA_RISC1_1 __CLASSIC_C__ __hp9000s700 __hp9000s800 __hppa __hpux __unix

tcsetattr() found.

You have POSIX termios.h... good!

\<stdarg.h> found.

\<varargs.h> found.

We'll include \<stdarg.h> to get va_dcl definition.

\<stddef.h> found.

\<sys/filio.h> NOT found.

\<sys/ioctl.h> found.

\<sys/resource.h> found.

\<sys/un.h> found.

\<sys/wait.h> found.

\<utime.h> found.

\<values.h> found.

\<gdbm.h> found.

gdbm_open() found.

Looking for extensions... A number of extensions are supplied with perl5. You may choose to compile these extensions for dynamic loading (the default)\, compile them into the perl5 executable (static loading)\, or not include them at all. Answer "none" to include no extensions. Note that DynaLoader is always built and need not be mentioned here.

What extensions do you wish to load dynamically? [B Data/Dumper Fcntl GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket attrs re] What extensions do you wish to load statically? [none]

End of configuration questions.

Stripping down executable paths...

Creating config.sh... Hmm...You had some extra variables I don't know about...I'll try to keep 'em...   Propagating recommended variable $toke_cflags...

If you'd like to make any changes to the config.sh file before I begin to configure things\, do it as a shell escape now (e.g. !vi config.sh).

Press return or use a shell escape to edit config.sh​:

Doing variable substitutions on .SH files... Extracting Makefile (with variable substitutions) Extracting Policy.sh (with variable substitutions) Extracting cflags (with variable substitutions) Extracting config.h (with variable substitutions) Extracting makeaperl (with variable substitutions) Extracting makedepend (with variable substitutions) Extracting makedir (with variable substitutions) Extracting perl.exp Extracting writemain (with variable substitutions) Extracting x2p/Makefile (with variable substitutions) Extracting x2p/cflags (with variable substitutions)

Now you need to generate make dependencies by running "make depend". You might prefer to run it in background​: "make depend > makedepend.out &" It can take a while\, so you might not want to run it right now.

Run make depend now? [y]   sh ./makedepend MAKE=make   sh writemain lib/auto/DynaLoader/DynaLoader.a > tmp   sh mv-if-diff tmp perlmain.c   echo malloc.c av.c scope.c op.c doop.c doio.c dump.c hv.c mg.c byterun.c perl.c perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c gv.c sv.c taint.c toke.c util.c deb.c run.c universal.c globals.c perlio.c miniperlmain.c perlmain.c | tr ' ' '\n' >.clist Finding dependencies for malloc.o. Finding dependencies for av.o. Finding dependencies for scope.o. Finding dependencies for op.o. Finding dependencies for doop.o. Finding dependencies for doio.o. Finding dependencies for dump.o. Finding dependencies for hv.o. Finding dependencies for mg.o. Finding dependencies for byterun.o. Finding dependencies for perl.o. Finding dependencies for perly.o. Finding dependencies for pp.o. Finding dependencies for pp_hot.o. Finding dependencies for pp_ctl.o. Finding dependencies for pp_sys.o. Finding dependencies for regcomp.o. Finding dependencies for regexec.o. Finding dependencies for gv.o. Finding dependencies for sv.o. Finding dependencies for taint.o. Finding dependencies for toke.o. Finding dependencies for util.o. Finding dependencies for deb.o. Finding dependencies for run.o. Finding dependencies for universal.o. Finding dependencies for globals.o. Finding dependencies for perlio.o. Finding dependencies for miniperlmain.o. Finding dependencies for perlmain.o.   echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH perl_exp.SH writemain.SH | tr ' ' '\n' >.shlist Updating makefile...   test -s perlmain.c && touch perlmain.c   cd x2p; make depend   sh ../makedepend MAKE=make   echo hash.c str.c util.c walk.c | tr ' ' '\n' >.clist Finding dependencies for hash.o. Finding dependencies for str.o. Finding dependencies for util.o. Finding dependencies for walk.o.   echo Makefile.SH cflags.SH | tr ' ' '\n' >.shlist Updating makefile... Now you must run a make.

If you compile perl5 on a different machine or from a different object directory\, copy the Policy.sh file from this object directory to the new one before you run Configure -- this will help you with most of the policy defaults.

viper@​truman[/data/timepilot/BlahBlahBlah/perl5.005_03]>

viper@​truman[/data/timepilot/BlahBlahBlah/perl5.005_03]>

viper@​truman[/data/timepilot/BlahBlahBlah/perl5.005_03]>make

  `sh cflags libperl.a miniperlmain.o` miniperlmain.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a perl.o` perl.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a malloc.o` malloc.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a gv.o` gv.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a toke.o` toke.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -DARG_ZERO_IS_SCRIPT -O
cc​: Perl_yylex()​: warning 6062​: Optdriver​: Exceeding compiler resource limits in Perl_yylex; some optimizations skipped. Use +Onolimit if override desired. (6062) cc​: Perl_keyword()​: warning 6062​: Optdriver​: Exceeding compiler resource limits in Perl_keyword; some optimizations skipped. Use +Onolimit if override desired. (6062)   `sh cflags libperl.a perly.o` perly.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a op.o` op.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a regcomp.o` regcomp.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a dump.o` dump.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a util.o` util.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a mg.o` mg.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a byterun.o` byterun.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a hv.o` hv.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a av.o` av.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a run.o` run.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a pp_hot.o` pp_hot.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a sv.o` sv.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a pp.o` pp.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a scope.o` scope.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a pp_ctl.o` pp_ctl.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a pp_sys.o` pp_sys.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a doop.o` doop.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a doio.o` doio.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a regexec.o` regexec.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
cc​: regmatch()​: warning 6062​: Optdriver​: Exceeding compiler resource limits in regmatch; some optimizations skipped. Use +Onolimit if override desired. (6062)   `sh cflags libperl.a taint.o` taint.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a deb.o` deb.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a universal.o` universal.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a globals.o` globals.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags libperl.a perlio.o` perlio.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  rm -f libperl.a   /usr/bin/ar rcu libperl.a perl.o malloc.o gv.o toke.o perly.o op.o regcomp.o dump.o util.o mg.o byterun.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o taint.o deb.o universal.o globals.o perlio.o   /opt/ansic/bin/cc -L/usr/local/lib -o miniperl miniperlmain.o libperl.a -lnsl_s -lndbm -lgdbm -ldld -lm -lc -lndir -lcrypt /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (miniperlmain.o) was detected. The linked output may not run on a PA 1.x system.   ./miniperl -w -Ilib -MExporter -e 0 || make minitest   ./miniperl configpm tmp   sh mv-if-diff tmp lib/Config.pm   rm -f lib/re.pm   cat ext/re/re.pm > lib/re.pm   ./miniperl -Ilib pod/pod2html.PL Extracting pod2html (with variable substitutions)   ./miniperl -Ilib pod/pod2latex.PL Extracting pod2latex (with variable substitutions)   ./miniperl -Ilib pod/pod2man.PL Extracting pod2man (with variable substitutions)   ./miniperl -Ilib pod/pod2text.PL Extracting pod2text (with variable substitutions)   AutoSplitting perl library   ./miniperl -Ilib -e 'use AutoSplit; \   autosplit_lib_modules(@​ARGV)' lib/*.pm lib/*/*.pm AutoSplitting lib/Getopt/Long.pm (lib/auto/Getopt/Long)   ./miniperl minimod.pl > tmp   sh mv-if-diff tmp lib/ExtUtils/Miniperl.pm   `sh cflags libperl.a perlmain.o` perlmain.c   CCCMD = /opt/ansic/bin/cc -DPERL_CORE -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O

  Making DynaLoader (static) Writing Makefile for DynaLoader mkdir ../../lib/auto/DynaLoader   ../../miniperl -I../../lib -I../../lib -I../../lib -I../../lib DynaLoader_pm.PL DynaLoader.pm cp DynaLoader.pm ../../lib/DynaLoader.pm AutoSplitting ../../lib/DynaLoader.pm (../../lib/auto/DynaLoader)   cp dl_hpux.xs DynaLoader.xs   ../../miniperl -I../../lib -I../../lib ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap DynaLoader.xs >xstmp.c && mv xstmp.c DynaLoader.c   /opt/ansic/bin/cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" -I../.. -DPERL_CORE -DLIBC="/lib/libc.sl" DynaLoader.c   rm -rf ../../lib/auto/DynaLoader/DynaLoader.a   ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o && : ../../lib/auto/DynaLoader/DynaLoader.a   chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a   /opt/ansic/bin/cc -L/usr/local/lib -Wl\,-E -Wl\,-B\,deferred -o perl perlmain.o lib/auto/DynaLoader/DynaLoader.a libperl.a `cat ext.libs` -lnsl_s -lndbm -lgdbm -ldld -lm -lc -lndir -lcrypt /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (perlmain.o) was detected. The linked output may not run on a PA 1.x system.

  Making utilities   ../miniperl -I../lib c2ph.PL Extracting c2ph (with variable substitutions) Linking c2ph to pstruct.   ../miniperl -I../lib h2ph.PL Extracting h2ph (with variable substitutions)   ../miniperl -I../lib h2xs.PL Extracting h2xs (with variable substitutions)   ../miniperl -I../lib perlbug.PL Extracting perlbug (with variable substitutions)   ../miniperl -I../lib perldoc.PL Extracting perldoc (with variable substitutions)   ../miniperl -I../lib pl2pm.PL Extracting pl2pm (with variable substitutions)   ../miniperl -I../lib splain.PL Extracting splain (with variable substitutions)   ../miniperl -I../lib perlcc.PL Extracting perlcc (with variable substitutions)

  Making x2p stuff   `sh cflags hash.o` -DPERL_FOR_X2P hash.c   CCCMD = /opt/ansic/bin/cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags str.o` -DPERL_FOR_X2P str.c   CCCMD = /opt/ansic/bin/cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags util.o` -DPERL_FOR_X2P util.c   CCCMD = /opt/ansic/bin/cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
  `sh cflags walk.o` -DPERL_FOR_X2P walk.c   CCCMD = /opt/ansic/bin/cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
cc​: walk()​: warning 6062​: Optdriver​: Exceeding compiler resource limits in walk; some optimizations skipped. Use +Onolimit if override desired. (6062)   `sh cflags a2p.o` a2p.c   CCCMD = /opt/ansic/bin/cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O
cc​: yylex()​: warning 6062​: Optdriver​: Exceeding compiler resource limits in yylex; some optimizations skipped. Use +Onolimit if override desired. (6062)   /opt/ansic/bin/cc -o a2p -L/usr/local/lib hash.o str.o util.o walk.o a2p.o -lnsl_s -lndbm -lgdbm -ldld -lm -lc -lndir -lcrypt /usr/ccs/bin/ld​: (Warning) At least one PA 2.0 object file (hash.o) was detected. The linked output may not run on a PA 1.x system.   ../miniperl -I../lib s2p.PL Extracting s2p (with variable substitutions)   ../miniperl -I../lib find2perl.PL Extracting find2perl (with variable substitutions)

  Making B (dynamic) Writing Makefile for B mkdir ../../lib/auto/B cp B/Deparse.pm ../../lib/B/Deparse.pm cp B/CC.pm ../../lib/B/CC.pm cp B/Debug.pm ../../lib/B/Debug.pm cp B/Showlex.pm ../../lib/B/Showlex.pm cp B/makeliblinks ../../lib/B/makeliblinks cp B/Bblock.pm ../../lib/B/Bblock.pm cp B/cc_harness ../../lib/B/cc_harness cp B/Bytecode.pm ../../lib/B/Bytecode.pm cp B.pm ../../lib/B.pm cp B/Stackobj.pm ../../lib/B/Stackobj.pm cp B/Xref.pm ../../lib/B/Xref.pm cp B/Lint.pm ../../lib/B/Lint.pm cp B/Asmdata.pm ../../lib/B/Asmdata.pm cp B/Assembler.pm ../../lib/B/Assembler.pm cp O.pm ../../lib/O.pm cp B/Disassembler.pm ../../lib/B/Disassembler.pm cp B/disassemble ../../lib/B/disassemble cp B/assemble ../../lib/B/assemble cp B/Terse.pm ../../lib/B/Terse.pm cp B/C.pm ../../lib/B/C.pm   ../../miniperl -I../../lib -I../../lib ../../lib/ExtUtils/xsubpp -typemap ../../lib/ExtUtils/typemap -typemap typemap B.xs >xstmp.c && mv xstmp.c B.c   /opt/ansic/bin/cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"a5\" -DXS_VERSION=\"a5\" +z -I../.. B.c Running Mkbootstrap for B ()   chmod 644 B.bs   LD_RUN_PATH="" ld -o ../../lib/auto/B/B.sl -b -L/usr/local/lib B.o
ld​: (Warning) At least one PA 2.0 object file (B.o) was detected. The linked output may not run on a PA 1.x system.   chmod 755 ../../lib/auto/B/B.sl   cp B.bs ../../lib/auto/B/B.bs   chmod 644 ../../lib/auto/B/B.bs

  Making Data​::Dumper (dynamic) Writing Makefile for Data​::Dumper mkdir ../../../lib/Data mkdir ../../../lib/auto/Data mkdir ../../../lib/auto/Data/Dumper cp Dumper.pm ../../../lib/Data/Dumper.pm   ../../../miniperl -I../../../lib -I../../../lib ../../../lib/ExtUtils/xsubpp -typemap ../../../lib/ExtUtils/typemap Dumper.xs >xstmp.c && mv xstmp.c Dumper.c   /opt/ansic/bin/cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"2.101\" -DXS_VERSION=\"2.101\" +z -I../../.. Dumper.c Running Mkbootstrap for Data​::Dumper ()   chmod 644 Dumper.bs   LD_RUN_PATH="" ld -o ../../../lib/auto/Data/Dumper/Dumper.sl -b -L/usr/local/lib Dumper.o
ld​: (Warning) At least one PA 2.0 object file (Dumper.o) was detected. The linked output may not run on a PA 1.x system.   chmod 755 ../../../lib/auto/Data/Dumper/Dumper.sl   cp Dumper.bs ../../../lib/auto/Data/Dumper/Dumper.bs   chmod 644 ../../../lib/auto/Data/Dumper/Dumper.bs

  Making Fcntl (dynamic) Writing Makefile for Fcntl mkdir ../../lib/auto/Fcntl cp Fcntl.pm ../../lib/Fcntl.pm   ../../miniperl -I../../lib -I../../lib ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap Fcntl.xs >xstmp.c && mv xstmp.c Fcntl.c   /opt/ansic/bin/cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" +z -I../.. Fcntl.c Running Mkbootstrap for Fcntl ()   chmod 644 Fcntl.bs   LD_RUN_PATH="" ld -o ../../lib/auto/Fcntl/Fcntl.sl -b -L/usr/local/lib Fcntl.o
ld​: (Warning) At least one PA 2.0 object file (Fcntl.o) was detected. The linked output may not run on a PA 1.x system.   chmod 755 ../../lib/auto/Fcntl/Fcntl.sl   cp Fcntl.bs ../../lib/auto/Fcntl/Fcntl.bs   chmod 644 ../../lib/auto/Fcntl/Fcntl.bs

  Making GDBM_File (dynamic) Writing Makefile for GDBM_File mkdir ../../lib/auto/GDBM_File cp GDBM_File.pm ../../lib/GDBM_File.pm AutoSplitting ../../lib/GDBM_File.pm (../../lib/auto/GDBM_File)   ../../miniperl -I../../lib -I../../lib ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap -typemap typemap GDBM_File.xs >xstmp.c && mv xstmp.c GDBM_File.c   /opt/ansic/bin/cc -c -D_HPUX_SOURCE -Aa -I/usr/local/include -O -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" +z -I../.. GDBM_File.c Running Mkbootstrap for GDBM_File ()   chmod 644 GDBM_File.bs   LD_RUN_PATH="/usr/local/lib" ld -o ../../lib/auto/GDBM_File/GDBM_File.sl -b -L/usr/local/lib GDBM_File.o -L/usr/local/lib -lgdbm ld​: (Warning) At least one PA 2.0 object file (GDBM_File.o) was detected. The linked output may not run on a PA 1.x system. ld​: DP relative code in file /usr/local/lib/libgdbm.a(gdbmopen.o) - shared library must be position   independent. Use +z or +Z to recompile. *** Error exit code 1

Stop. *** Error exit code 1

Stop. viper@​truman[/data/timepilot/BlahBlahBlah/perl5.005_03]>

viper@​truman[/data/timepilot/BlahBlahBlah/perl5.005_03]>^Dexit

script done on Thu Jun 15 00​:26​:06 2000

p5pRT commented 23 years ago

From [Unknown Contact. See original ticket]

At 00​:23 -0500 2000-06-15\, Subbu Kalyanasundaram wrote​:

I am installing perl 5005_03 for HP machine (10.20). Can someone out there tell me what does it mean when "Configure" asks the following question??

Do you wish to use dynamic loading? [y]

I am not able to successfully "make" when I answer "y" to this prompt. Can anyone please let me know how critical and important this is????

I'd give it around a seven out of ten​: you can build a statically-linked perl\, but it'll be a pain to add modules to it (and it'll take up a bit more of your virtual memory). Since most people need to add modules to perl to get it to do what they want\, you really should go for a dynamically-linked version if you can. So.

1. Let Configure select default settings for everything. It almost always   makes the right decisions\, and gives you the chance to get a cup of   coffee/take a leak/whatever​:

  rm -f config.sh Policy.sh   sh Configure -de   make all test

  or similar. See INSTALL for more information.

2. Have you read README.hpux? Does it help?

3. Why are you building 5.005_03? Unless you have a strong reason to use   the older version\, you may well have more luck with the current stable   release\, 5.6.0\, which has a number of HP-specific tweaks\, an expanded   README.hpux\, and an INSTALL file which tells you to use   sh Configure -de. You'll find the source at   http​://www.cpan.org/src/stable.tar.gz.

I have attached the screen output of the entire install step/Configure/Procedure.

Eeek! next time\, just the last ten lines will do. Good luck.

p5pRT commented 23 years ago

From @tux

subbuk@​dal.asp.ti.com (Subbu Kalyanasundaram) wrote in \3945E5D5@&#8203;ns01\.procura\.nl​:

Forwarded Message from​: Subbu Kalyanasundaram \subbuk@&#8203;dal\.asp\.ti\.com

Hi

PLEASE HELP ME!!! I am installing perl 5005_03 for HP machine (10.20). Can someone out there tell me what does it mean when "Configure" asks the following question??

Do you wish to use dynamic loading? [y]

I am not able to successfully "make" when I answer "y" to this prompt. Can anyone please let me know how critical and important this is????

I have attached the screen output of the entire install step/Configure/Procedure.

I would really appreciate any help/info/pointers on this.

You have a static GDBM_File library. Tree options here​:

1. Build perl without GDBM_File support from core. (You can try to add   later if you find time) 2. Build libgdbm.sl again being a shared version (or get a shared version   from the web somewhere). I'm prepared to put mine on-line ;-) 3. Extract all objects from libgdbm.a (with "ar x") and add them to the   lib used on ext/GDBM_File (use your creativity)\, so it doesn't need   a shared library.

p5pRT commented 23 years ago

From [Unknown Contact. See original ticket]

At 11​:21 +0200 2000-06-15\, H.Merijn Brand wrote​:

You have a static GDBM_File library. Tree options here​:

Is this a common issue? (Not that I recall it coming up before.) If so\, perhaps yet another amendment to README.hpux is in order.

p5pRT commented 23 years ago

From @tux

On Thu\, 15 Jun 2000 15​:09​:11 +0200\, Dominic Dunlop \domo@&#8203;computer\.org wrote​:

At 11​:21 +0200 2000-06-15\, H.Merijn Brand wrote​:

You have a static GDBM_File library. Tree options here​:

Is this a common issue? (Not that I recall it coming up before.) If so\, perhaps yet another amendment to README.hpux is in order.

Might be.

Common problems with HP-UX include situation discussed here for both HP-UX 10.20 and HP-UX 11.00. Solutions I've mentioned are not allways obvious and requires some creativity. Linking a dynamic perl against static libraries seems possible in *ALL* occasions I encountered so far (using either of the three solutions presented).

A more problematic situation occurs - quite regularly - on HP-UX 11.00 with the 'Invalid loader fixup' message\, which looks like above\, but cannot be solved the same way all the time. Many time I gave up due to time-shortage.

This is from http​://devresource.hp.com/devresource/Docs/TechTips/cxxTips.html#tip13

  What to do about "invalid loader fixup" errors   If you are linking a shared library and get an error like this​:

  aCC -g0 +z -b -o libsample.sl active.o csock.o tip.o udp.o mom.o   /opt/aCC/lbin/ld​: Invalid loader fixup for symbol "$00260018"

  you've neglected to compile a file with +z.

  There is an enhancement to the linker to print that useful message before it   prints the "Invalid loader fixup" error. At least on 11.0\, the linker will   print the name of the object file.

  To solve the problem\, you'll need to go through each of the object files to   check which has that label. Or you can use the following ld option to show   which file​:   -Wl\,-y"$00260018"

  The symbol in question $00260018 is probably for some switch case label.

p5pRT commented 15 years ago

p5p@spam.wizbit.be - Status changed from 'open' to 'stalled'

p5pRT commented 12 years ago

From @tux

Both perl5.005_03 and HP-UX 10.20 might be considered dead\, therefor I'm closing this bug. I'm still building for 10.20\, but only "recent" stuff\, and most of that goes slow\, but steady. Building static extensions is not an advisable solution\, as one can never upgrade these modules/extensions later.

p5pRT commented 12 years ago

@tux - Status changed from 'stalled' to 'resolved'