Perl / perl5

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

5.7.3 configure IRIX problem #5262

Closed p5pRT closed 16 years ago

p5pRT commented 22 years ago

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

Searchable as RT8849$

p5pRT commented 22 years ago

From swmcd@TheWorld.com

shell01​:/usr/tmp/swmcd/perl-5.7.3>sh 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...

*** WHOA THERE!!! ***

  This is an UNSTABLE DEVELOPMENT release.   The version of this perl5 distribution is 7\, that is\, odd\,   (as opposed to even) and that signifies a development release.   If you want a maintenance release\, you want an even-numbered   version.

  Do ***NOT*** install this into production use.   Data corruption and crashes are possible.

  It is most seriously suggested that you do not continue any   further   unless you want to help in developing and debugging Perl.

  If you *still* want to build perl\, you can answer 'y' now\,   or pass -Dusedevel to Configure.

Do you really want to continue? [n] y Okay\, continuing.

This installation shell script will examine your system and ask you questions to determine how the perl5 package should be installed. If you get stuck on a question\, you may use a ! shell escape to start a subshell or execute a command. Many of the questions will have default answers in square brackets; typing carriage return will give you the default.

On some of the questions which ask for file or directory names you are allowed to use the ~name construct to specify the login directory belonging to "name"\, even if you don't have a shell which knows about that. Questions where this is allowed will be marked "(~name ok)".

[Type carriage return to continue]

The prompter used in this script allows you to use shell variables and backticks in your answers. You may use $1\, $2\, etc... to refer to the words in the default answer\, as if the default line was a set of arguments given to a script shell. This means you may also use $* to repeat the whole default line\, so you do not have to re-type everything to add something to the default.

Everytime there is a substitution\, you will have to confirm. If there is an error (e.g. an unmatched backtick)\, the default answer will remain unchanged and you will be prompted again.

If you are in a hurry\, you may run 'Configure -d'. This will bypass nearly all the questions and use the computed defaults (or the previous answers if there was already a config.sh file). Type 'Configure -h' for a list of options. You may also start interactively and then answer '& -d' at any prompt to turn on the non-interactive behaviour for the remainder of the execution.

[Type carriage return to continue]

Much effort has been expended to ensure that this shell script will run on any Unix system. If despite that it blows up on yours\, your best bet is to edit Configure and run it again. If you can't run Configure for some reason\, you'll have to generate a config.sh file by hand. Whatever problems you have\, let me (perlbug@​perl.org) know how I blew it.

This installation script affects things in two ways​:

1) it may do direct variable substitutions on some of the files   included   in this kit. 2) it builds a config.h file for inclusion in C programs. You may   edit   any of these files as the need arises after running this script.

If you make a mistake on a question\, there is no easy way to back up to it currently. The easiest thing to do is to edit config.sh and rerun all the SH files. Configure will offer to let you do this before it runs the SH files.

[Type carriage return to continue]

Locating common programs... awk is in /bin/awk. cat is in /bin/cat. chmod is in /bin/chmod. 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. 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 /bin/ar. bison is in /usr/local/bin/bison. I don't see byacc out there\, either. cpp is in /usr/local/bin/cpp. csh is in /bin/csh. date is in /bin/date. egrep is in /bin/egrep. gmake is in /usr/local/bin/gmake. gzip is in /usr/sbin/gzip. less is in /usr/local/bin/less. ln is in /bin/ln. make is in /bin/make. more is in /usr/ucb/more. nm is in /bin/nm. nroff is in /usr/local/bin/nroff. pg is in /bin/pg. test is in /bin/test. uname is in /bin/uname. zip is in /usr/local/bin/zip. 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.

Checking how to test for symbolic links... You can test for symbolic links with 'test -h'.

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

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

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

Operating system version? [6.5]

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]

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 -n32]

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

Hmm... Looks like a MIPS system... and you're compiling with the System V compiler and libraries.

Where are the include files you want to use? [/usr/include]

Now\, how can we feed standard input to your C preprocessor... Maybe "cc -n32 -E" will work... Nope...maybe "cc -n32 -E -" will work... Nope...maybe "cc -n32 -P" will work... Nope...maybe "cc -n32 -P -" will work... No such luck\, maybe "/usr/local/bin/cpp" will work... It works! Perhaps can we force cc -n32 -E using a wrapper... Yup\, we can.

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 /usr/lib32 /lib32 /lib /usr/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 you use SOCKS you also need to use the PerlIO abstraction layer\, this will be implicitly selected.

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. No -lbind. No -linet. No -lnm. No -lndbm. Found -lgdbm (shared). No -ldbm. Found -ldb (shared). No -ldld. No -lld. Found -lm (shared). Found -lc (shared). No -lcposix. No -lposix. No -lndir. No -ldir. No -lsec. No -lucb. No -lBSD. No -lx. No -lutil.

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? [-lgdbm -ldb -lm -lc]

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

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_BSD_TYPES -D_BSD_TIME -woff 1184\,1552 -OPT​:Olimit=0​:space=ON -I/usr/local/include -DLANGUAGE_C]

Let me guess what the preprocessor flags are... They appear to be​: -D_BSD_TYPES -D_BSD_TIME -OPT​:Olimit=0​:space=ON -I/usr/local/include -DLANGUAGE_C

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 /usr/lib32 /lib32 /lib /usr/lib To use no flags\, specify the word "none".

Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib32 -L/usr/local/lib -Wl\,-woff\,84]

Checking your choice of C compiler and flags for coherency... 1939719​:./try​: rld​: Warning​: Version Search Suppressed in ./try Because Object libgdbm.so in liblist has non-sgi interface version (2.0) 1939719​:./try​: rld​: Fatal Error​: Cannot Successfully map soname 'libgdbm.so' under any of the filenames /usr/lib32/libgdbm.so​:/usr/lib32/internal/libgdbm.so​:/lib32/libgdbm.so​:/opt/lib32/libgdbm.so​: I've tried to compile and run the following simple program​:

#include \<stdio.h> int main() { printf("Ok\n"); exit(0); }

I used the command​:

  cc -n32 -o try -O3 -D_BSD_TYPES -D_BSD_TIME -woff 1184\,1552   -OPT​:Olimit=0​:space=ON -I/usr/local/include -DLANGUAGE_C   -L/usr/local/lib32 -L/usr/local/lib -Wl\,-woff\,84 try.c -lgdbm   -ldb -lm -lc   ./try

and I got the following output​:

The program compiled OK\, but exited with status 1. (The supplied flags or libraries might be incorrect.)

You have a problem. Shall I abort Configure [y] Ok. Stopping Configure. shell01​:/usr/tmp/swmcd/perl-5.7.3>

p5pRT commented 16 years ago

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