Perl / perl5

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

COMPILING WITH DYNALOAD FAILED FOR 5.6 on SOLARIS 2.6 #3473

Closed p5pRT closed 20 years ago

p5pRT commented 23 years ago

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

Searchable as RT5895$

p5pRT commented 23 years ago

From benoit_cardon@yahoo.fr

Script started on Thu Feb 22 16​:12​:54 2001 ROOT@​hal​:/soft/freeware/perl5.6_source/perl-5.6.0 >> ./C onfigure

Sources for perl5 found in "/shared/auspnfs_p2/soft/freeware/perl5.6_source/perl-5.6.0".

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 //bin/awk. cat is in //bin/cat. comm is in //bin/comm. cp is in //bin/cp. echo is in //bin/echo. expr is in //bin/expr. grep is in //bin/grep. ls is in //bin/ls. make is in /usr/ccs/bin/make. mkdir is in //bin/mkdir. rm is in //bin/rm. sed is in //bin/sed. sort is in //bin/sort. touch is in //bin/touch. tr is in //bin/tr. uniq is in //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/ccs/bin/ar. I don't see byacc out there\, either. cpp is in /usr/ccs/lib/cpp. csh is in //bin/csh. date is in //bin/date. egrep is in //bin/egrep. gzip is in //bin/gzip. less is in /soft/freeware/bin/less. ln is in //bin/ln. more is in //bin/more. nm is in /usr/ccs/bin/nm. nroff is in //bin/nroff. pg is in //bin/pg. test is in //bin/test. uname is in //bin/uname. I don't see zip out there\, either. Using the test built into your sh.

Checking compatibility between //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 isc openbsd sunos_4_0
aix dynixptx isc_2 opus sunos_4_1
altos486 epix linux os2 svr4
amigaos esix4 lynxos os390 svr5
apollo fps machten posix-bc ti1500
aux_3 freebsd machten_2 powerux titanos
beos genix mint qnx ultrix_4
bsdos gnu mips rhapsody umips
convexos greenhills mpc sco unicos
cxux hpux mpeix sco_2_3_0 unicosmk
cygwin i386 ncr_tower sco_2_3_1 unisysdynix
darwin irix_4 netbsd sco_2_3_2 utekv
dcosx irix_5 newsos4 sco_2_3_3 uts
dec_osf irix_6 next_3 sco_2_3_4 uwin
dgux irix_6_0 next_3_0 solaris_2 vmesa
dos_djgpp irix_6_1 next_4 stellar

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 or a wrong OS.

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

NOTE​: libucb has been found in /usr/lib. libucb should reside in /usr/ucblib. You may have trouble while building Perl extensions.

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? [solaris]

Operating system version? [2.5.1]

Perl can be built to take advantage of threads on some systems. To do so\, Configure can 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.

If this doesn't make any sense to you\, just accept the default 'n'. Build a threading Perl? [n]

Perl can be built so that multiple Perl interpreters can coexist within the same Perl executable.

If this doesn't make any sense to you\, just accept the default 'n'. Build Perl for multiplicity? [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]

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...

Use which C compiler? [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... Maybe "cc -E" will work... Nope...maybe "cc -E -" will work... Yup\, it does.

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 /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 remainder of this configuration.

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

Perl can be built to use the SOCKS proxy protocol library. To do so\, Configure must be run with -Dusesocks.

If this doesn't make any sense to you\, just accept the default 'n'. Build Perl for SOCKS? [n]

Checking for optional libraries... No -lsfio. Found -lsocket (shared). No -lbind. No -linet. Found -lnsl (shared). No -lnm. No -lndbm. No -lgdbm. No -ldbm. No -ldb. Found -ldl (shared). No -ldld. No -lsun. Found -lm (shared). Found -lc (shared). No -lcposix. No -lposix. No -lndir. No -ldir. Found -lcrypt. Found -lsec (shared). No -lbsd. No -lBSD. No -lPW. No -lx. No -liconv.

In order to compile perl5 on your machine\, a number of libraries are usually needed. Include any other special libraries here as well. Say "none" for none. The default list is almost always right.

What libraries to use? [-lsocket -lnsl -ldl -lm -lc -lcrypt -lsec]

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? [none]

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 /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.

Checking to see how big your integers are... Your integers are 4 bytes long. Your long integers are 4 bytes long. Your short integers are 2 bytes long.

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

Checking to see how big your file offsets are... Your file offsets are 4 bytes long.

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

Checking the size of fpos_t... Your fpos_t is 4 bytes long.

Perl can be built to understand large files (files larger than 2 gigabytes) on some systems. To do so\, Configure can be run with -Duselargefiles.

If this doesn't make any sense to you\, just accept the default 'y'. Try to understand large files\, if available? [y] Your platform has some specific hints for large file builds\, using them...

Rechecking to see how big your file offsets are... Your file offsets are now 4 bytes long. Rechecking the size of fpos_t... 4 bytes.

Perl can be built to take advantage of 64-bit integer types on some systems. To do so\, Configure can be run with -Duse64bitint. Choosing this option will most probably introduce binary incompatibilities.

If this doesn't make any sense to you\, just accept the default 'n'. Try to use 64-bit integers\, if available? [n]

You may also choose to try maximal 64-bitness. It means using as much 64-bitness as possible on the platform. This in turn means even more binary incompatibilities. On the other hand\, your platform may not have any more 64-bitness available than what you already have chosen.

If this doesn't make any sense to you\, just accept the default 'n'. Try to use maximal 64-bit support\, if available? [n]

What is your architecture name [sun4-solaris]

By default\, perl5 will be installed in /usr/local/bin\, manual pages under /usr/local/man\, etc...\, i.e. with /usr/local as prefix for all installation directories. Typically this is something like /usr/local. If you wish to have binaries under /usr/bin but other parts of the installation under /usr/local\, 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) [/usr/local] /soft/freeware              /soft/freeware/perl5.6

AFS does not seem to be running...

In some special cases\, particularly when building perl5 for distribution\, it is convenient to distinguish between the directory in which files should be installed from the directory (/soft/freeware/perl5.6) in which they will eventually reside. For most users\, these two directories are the same.

What installation prefix should I use for installing files? (~name ok) [/soft/freeware/perl5.6]

Getting the current patchlevel... (You have perl5 revision 5 patchlevel 6 .)

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) [/soft/freeware/perl5.6/lib/5.6.0]

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) [/soft/freeware/perl5.6/lib/5.6.0/sun4-solaris]

This version of Perl can be compiled for binary compatibility with 5.005. If you decide to do so\, you will be able to continue using most of the extensions that were compiled for Perl 5.005.

Binary compatibility with Perl 5.005? [y]

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.)

Congratulations\, your kernel has secure setuid scripts!

No need to emulate SUID scripts since they are secure here.

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]

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

The installation process will also create a directory for vendor-supplied add-ons. Vendors who supply perl with their system may find it convenient to place all vendor-supplied files in this directory rather than in the main distribution directory. This will ease upgrades between binary-compatible maintenance versions of perl.

Of course you may also use these directories in whatever way you see fit. For example\, you might use them to access modules shared over a company-wide network.

The default answer should be fine for most people. This causes further questions about vendor add-ons to be skipped and no vendor-specific directories will be configured for perl.

Do you want to configure vendor-specific add-on directories? [n]

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

Pathname where the public executables will reside? (~name ok) [/soft/freeware/perl5.6/bin] Looking for a previously installed perl5.005 or later... Killed None found. That's ok.

After perl5 is installed\, you may wish to install various add-on modules and utilities. Typically\, these add-ons will be installed under /soft/freeware/perl5.6 with the rest of this package. However\, you may wish to install such add-ons elsewhere under a different prefix.

If you do not wish to put everything under a single prefix\, that's ok. You will be prompted for the individual locations; this siteprefix is only used to suggest the defaults.

The default should be fine for most people.

Installation prefix to use for add-on modules and utilities? (~name ok) [/soft/freeware/perl5.6]

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

Pathname for the site-specific library files? (~name ok) [/soft/freeware/perl5.6/lib/site_perl/5.6.0]

In order to ease the process of upgrading\, this version of perl can be configured to use modules built and installed with earlier versions of perl that were installed under $prefix. Specify here the list of earlier versions that this version of perl should check. If Configure detected no earlier versions of perl installed under $prefix\, then the list will be empty. Answer 'none' to tell perl to not search earlier versions.

The default should almost always be sensible\, so if you're not sure\, just accept the default. List of earlier versions to include in @​INC? [none]

Many scripts expect 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 /soft/freeware/perl5.6/bin/perl). Do you want to install perl as /usr/bin/perl? [y] b n

Checking for GNU C Library... You are not using the GNU C Library

I can use /usr/ccs/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/ccs/bin/nm to extract C symbols from the libraries? [y]

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

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.so]

Extracting names from the following files for later perusal​:

  /lib/libc.so   /lib/libcrypt.a   /lib/libdl.so.1   /lib/libm.so.1   /lib/libnsl.so.1   /lib/libsec.so.1   /lib/libsocket.so.1

This may take a while..... done

\<dld.h> NOT found.

dlopen() found.

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

Some systems may require passing special flags to 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 cc -c to compile shared library modules? [-KPIC]

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

You appear to have ELF support. I'll use cc to build dynamic libraries. What command should be used to create dynamic libraries? [cc]

Some systems may require passing special flags to cc 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 cc to create a dynamically loaded library? [-G -L/usr/local/lib]

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

Any special flags to pass to cc to use dynamic linking? [none]

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.so. If you will have more than one executable linked to libperl.so\, 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.so (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) [/soft/freeware/perl5.6/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) [/soft/freeware/perl5.6/man/man3] What suffix should be used for the perl5 library man pages? [3]

Figuring out host name... Maybe "hostname" will work... Your host name appears to be "hal". Right? [y] n Please type the (one word) name of your host​: perpete (You do not have fully-qualified names in /etc/hosts) (No help from resolv.conf either -- attempting clever guess)

What is your domain name? [.cdcsdm] (That doesn't agree with your hostname command\, by the way.)

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 reality but may not be valid from outside your organization...

What is your e-mail address? [root@​perpete.cdcsdm] benoit_cardon@​cdcd        don@​yahoo.fr

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 [benoit_cardon@​yahoo.fr]

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 (/soft/freeware/perl5.6/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 #!)? [/soft/freeware/perl5.6/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 #!/soft/freeware/perl5.6/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) [/soft/freeware/perl5.6/bin]

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) [/soft/freeware/perl5.6/lib/site_perl/5.6.0/sun4-solaris] Pathname where the add-on public executables should be installed? (~name ok) [/soft/freeware/perl5.6/bin]

sqrtl() NOT found.

Perl can be built to take advantage of long doubles which (if available) may give more accuracy and range for floating point numbers.

If this doesn't make any sense to you\, just accept the default 'n'. Try to use long doubles if available? [n]

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

qgcvt() found.

Checking to see how big your double precision numbers are... Your double is 8 bytes long.

Checking to see if you have long double... You have long double.

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

Checking how to print long doubles... We will use %Lf.

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

access() found.

\<unistd.h> defines the *_OK access constants.

accessx() NOT found.

alarm() found.

atolf() NOT found.

atoll() 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... (I see you are running Configure as super-user...) You have to use getpgrp() instead of getpgrp(pid).

setpgrp() found.

Checking to see which flavor of setpgrp is in use... (I see you are running Configure as super-user...) You have to use setpgrp() instead of setpgrp(pid\,pgrp).

bzero() found.

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

Checking whether your C compiler can cast large floats to int32. Yup\, it can.

Checking whether your C compiler can cast negative float to unsigned. 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.

\<dirent.h> found.

Your directory entries are struct dirent.

Your directory entry does not know about the d_namlen field.

dlerror() found.

\<dlfcn.h> 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 [so]

Checking whether your dlsym() needs a leading underscore ... dlsym doesn't need a leading underscore.

drand48() prototype found.

dup2() found.

eaccess() NOT found.

endgrent() found.

endhostent() found.

endnetent() found.

endprotoent() found.

endpwent() found.

endservent() found.

endspent() found.

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

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

Figuring out the flag used by open() for non-blocking I/O... Seems like we can use O_NONBLOCK.

Let's see what value errno gets from read() on a O_NONBLOCK file... 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.

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

socketpair() found.

Checking the availability of certain socket constants...

\<sys/select.h> 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).

fgetpos() found.

flock() NOT found.

fork() found.

pathconf() found.

fpathconf() found.

Checking to see if you have fpos64_t... You do not have fpos64_t.

\<sys/param.h> found.

\<sys/mount.h> found.

\<sys/types.h> found.

Checking to see if your system supports struct fs_data... No\, it doesn't.

fseeko() NOT found.

fsetpos() found.

fstatfs() found.

statvfs() found.

fstatvfs() found.

ftello() NOT found.

getcwd() found.

getfsstat() NOT found.

getgrent() found.

gethostbyaddr() found.

gethostbyname() found.

gethostent() found.

gethostname() found. uname() found.

Every now and then someone has a gethostname() that lies about the hostname but can't be fixed for political or economic reasons. If you wish\, I can pretend gethostname() isn't there and maybe compute hostname at run-time thanks to the 'hostname' command.

Shall I ignore gethostname() from now on? [n]

\<netdb.h> found.

gethostent() prototype found.

getlogin() found.

getmnt() NOT found.

getmntent() found.

getnetbyaddr() found.

getnetbyname() found.

getnetent() found.

getnetent() prototype found.

getprotobyname() found.

getprotobynumber() found.

getprotoent() found.

getpgid() found.

getpgrp2() NOT found.

getppid() found.

getpriority() found.

getprotoent() prototype found.

getpwent() found.

getservbyname() found.

getservbyport() found.

getservent() found.

getservent() prototype found.

getspent() found.

getspnam() found.

gettimeofday() found.

\<grp.h> found.

hasmntopt() found.

\<netinet/in.h> found.

\<arpa/inet.h> found.

htonl() found.

iconv() found.

strchr() found.

inet_aton() NOT found.

\<inttypes.h> NOT found.

Checking to see if you have int64_t... You do not have int64_t.

isascii() found.

killpg() found.

lchown() found.

LDBL_DIG found.

link() found.

localeconv() found.

lockf() found.

Checking to see if you have long long... You have have long long.

Checking to see how big your long longs are... Your long longs are 8 bytes long.

lseek() prototype found.

lstat() found.

madvise() found.

mblen() found.

mbstowcs() found.

mbtowc() found.

memchr() found.

memcmp() found.

memcpy() found.

memmove() found.

memset() found.

mkdir() found.

mkdtemp() NOT found.

mkfifo() found.

mkstemp() found.

mkstemps() NOT found.

mktime() found.

\<sys/mman.h> found.

mmap() found. and it returns (caddr_t).

mprotect() found.

msgctl() found.

msgget() found.

msgsnd() found.

msgrcv() found.

You have the full msg*(2) library.

msync() found.

munmap() found.

nice() found.

Checking which 64-bit integer type we could use... We could use 'long long' for 64-bit integers.

Checking to see how big your characters are (hey\, you never know)... What is the size of a character (in bytes)? [1]

Choosing the C types to be used for Perl's internal types... (IV will be long\, 4 bytes) (UV will be unsigned long\, 4 bytes) (NV will be double\, 8 bytes) Checking whether your NVs can preserve your UVs... Yes\, they can.

Checking to see if you have off64_t... You do not have off64_t.

\<pthread.h> found.

pause() found.

pipe() found.

poll() found.

\<pwd.h> 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... Yes\, it can.

Checking to see if your memcpy() can do overlapping copies... It can't\, sorry. But that's Ok since you have memmove().

Checking if your memcmp() can compare relative magnitude... 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 cannot use struct semid_ds* for semctl IPC_STAT.

setegid() found.

seteuid() found.

setgrent() found.

sethostent() found.

setlinebuf() found.

setlocale() found.

setnetent() found.

setprotoent() found.

setpgid() found.

setpgrp2() NOT found.

setpriority() found.

setpwent() found.

setregid() found.

setresgid() NOT found.

setreuid() found.

setresuid() NOT found.

setrgid() NOT found.

setruid() NOT found.

setservent() found.

setsid() found.

setspent() 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.

POSIX sigsetjmp found.

\<sys/stat.h> found.

Checking to see if your struct stat has st_blocks field...

\<sys/vfs.h> found.

\<sys/statfs.h> found.

Checking to see if your system supports struct statfs... Yes\, it does.

Checking to see if your struct statfs has f_flags field... No\, it doesn't.

Checking how std your stdio is... Your stdio acts pretty std. And its _base field acts std. Checking how to access stdio streams by file descriptor number... You can access stdio streams by file descriptor number by the __iob array.

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.

strtold() NOT found.

strtoll() found. Checking whether your strtoll() works okay... Your strtoll() seems to be working okay.

strtoul() found.

strtoull() found. Checking whether your strtoull() works okay... Your strtoull() seems to be working okay.

strtouq() NOT found.

strxfrm() found.

symlink() found.

syscall() found.

sysconf() found.

system() found.

tcgetpgrp() found.

tcsetpgrp() found.

telldir() prototype 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.

ustat() 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> NOT found.

\<sys/ndir.h> NOT found.

closedir() found.

Checking whether closedir() returns a status... Yes\, it does.

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

wait4() found.

waitpid() found.

wcstombs() found.

wctomb() found.

Checking alignment constraints... 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\, an Alpha will report 12345678. 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.

Looking for a random number function... Good\, found drand48().

Use which function to generate random numbers? [drand48]

Determining whether or not we are on an EBCDIC system... Nope\, no EBCDIC\, probably ASCII or some ISO Latin.

Checking how to flush all pending stdio output... Your fflush(NULL) works okay for output streams. Let's see if it clobbers input pipes... Ouch\, fflush(NULL) clobbers input pipes! We will not use it. All is futile. Even fflush(stdin) clobbers input pipes! OK\, I give up. I cannot figure out how to flush pending stdio output. We won't be flushing handles at all before fork/exec/popen.

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

Checking the size of gid_t... Your gid_t is 4 bytes long.

Checking the sign of gid_t... Your gid_t is signed.

Checking how to print 64-bit integers... We will use the %lld style.

Checking the format strings to be used for Perl's internal types...

Checking the format string to be used for gids...

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]

Checking if your /usr/ccs/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 long.

What pager is used on your system? [/soft/freeware/bin/less]

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

Checking to see how big your pointers are... Your pointers are 4 bytes long.

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

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... Your select() operates on 32 bits at a time.

Generating a list of signal names and numbers... The following 45 signals are available​:

SIGZERO SIGHUP SIGINT SIGQUIT SIGILL SIGTRAP SIGABRT SIGEMT SIGFPE SIGKILL SIGBUS SIGSEGV SIGSYS SIGPIPE SIGALRM SIGTERM SIGUSR1 SIGUSR2 SIGCHLD SIGPWR SIGWINCH SIGURG SIGIO SIGSTOP SIGTSTP SIGCONT SIGTTIN SIGTTOU SIGVTALRM SIGPROF SIGXCPU SIGXFSZ SIGWAITING SIGLWP SIGFREEZE SIGTHAW SIGCANCEL SIGRTMIN SIGNUM38 SIGNUM39 SIGNUM40 SIGNUM41 SIGNUM42 SIGNUM43 SIGRTMAX SIGIOT SIGCLD SIGPOLL

Checking the size of size_t... Your size_t size is 4 bytes.

Checking to see if you have socklen_t... You do not have socklen_t. (You do have size_t\, that might work. Some people are happy with just an int.)

Checking to see what type is the last argument of accept(). Your system accepts 'int *' for the last argument of accept().

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.

Checking the size of uid_t... Your uid_t is 4 bytes long.

Checking the sign of uid_t... Your uid_t is signed.

Checking the format string to be used for uids...

dbmclose() found.

\<dbm.h> NOT found.

\<rpcsvc/dbm.h> found.

\<sys/file.h> found.

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

\<fcntl.h> found.

We'll be including \<fcntl.h>.

\<iconv.h> found.

\<ieeefp.h> found.

\<locale.h> found.

\<math.h> found.

\<mntent.h> NOT found.

\<ndbm.h> found.

dbm_open() found.

\<net/errno.h> NOT found.

\<netinet/tcp.h> found.

\<poll.h> found.

Guessing which symbols your C compiler and preprocessor define... Your C pre-processor defines the following symbols​: __STDC__ __SVR4 sparc __sparc sun __sun unix __unix

tcsetattr() found.

You have POSIX termios.h... good!

\<shadow.h> found.

\<socks.h> NOT found.

\<stdarg.h> found.

\<varargs.h> found.

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

\<stddef.h> found.

\<sunmath.h> found.

\<sys/access.h> NOT found.

\<sys/filio.h> found.

\<sys/ioctl.h> found.

\<syslog.h> found.

\<sys/mode.h> found.

\<sys/resource.h> found.

\<sys/security.h> NOT found.

\<sys/statvfs.h> found.

\<sys/uio.h> found.

\<sys/un.h> found.

\<sys/utsname.h> found.

\<sys/wait.h> found.

\<ustat.h> found.

\<utime.h> found.

\<values.h> found.

\<gdbm.h> NOT 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 ByteLoader Data/Dumper Devel/DProf Devel/Peek Fcntl File/Glob IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Sys/Hostname Sys/Syslog attrs re] What extensions do you wish to load statically? [none]

End of configuration questions.

Stripping down executable paths...

Creating config.sh...

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 myconfig (with variable substitutions) 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] y sh ./makedepend MAKE=make make​: Warning​: Both `makefile' and `Makefile' exist Current working directory /shared/auspnfs_p2/soft/freeware/perl5.6_source/perl-5.6.0 sh writemain lib/auto/DynaLoader/DynaLoader.a > writemain.tmp sh mv-if-diff writemain.tmp perlmain.c File perlmain.c not changed. echo malloc.c av.c scope.c op.c doop.c doio.c dump.c hv.c mg.c perl.c perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c gv.c sv.c taint.c toke.c util.c deb.c run.c universal.c xsutils.c globals.c perlio.c perlapi.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 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 utf8.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 xsutils.o. Finding dependencies for globals.o. Finding dependencies for perlio.o. Finding dependencies for perlapi.o. Finding dependencies for miniperlmain.o. Finding dependencies for perlmain.o. make​: Warning​: Both `makefile' and `Makefile' exist Current working directory /shared/auspnfs_p2/soft/freeware/perl5.6_source/perl-5.6.0 echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH | tr ' ' '\n' >.shlist Updating makefile... test -s perlmain.c && touch perlmain.c cd x2p; make depend sh ../makedepend MAKE=make make​: Warning​: Both `makefile' and `Makefile' exist Current working directory /shared/auspnfs_p2/soft/freeware/perl5.6_source/perl-5.6.0/x2p 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. make​: Warning​: Both `makefile' and `Makefile' exist Current working directory /shared/auspnfs_p2/soft/freeware/perl5.6_source/perl-5.6.0/x2p 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.

ROOT@​hal​:/soft/freeware/perl5.6_source/perl-5.6.0 >> script done on Thu Feb 22 18​:16​:34 2001

p5pRT commented 23 years ago

From benoit_cardon@yahoo.fr

Prototype mismatch​: sub ExtUtils​::MakeMaker​::prompt vs ($;$) at /soft/perl/lib/ExtUtils/MakeMaker.pm line 183. Can't load module Safe\, dynamic loading not available in this perl.   (You may need to build a new perl executable which either supports   dynamic loading or has the Safe module statically linked into it.) at /soft/perl/lib/Safe.pm line 390 Compilation failed in require at /soft/perl/lib/CPAN.pm line 21. BEGIN failed--compilation aborted at /soft/perl/lib/CPAN.pm line 21. Compilation failed in require. BEGIN failed--compilation aborted.

p5pRT commented 23 years ago

From The RT System itself

User had PERL5LIB set to point to wrong place.