New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get perl to work?? #687
Comments
From rick@erienet.netI have compiled perl on many machines, including systems with the same OS Attached is the myconfig and a copy of the compilation. Any assistance would be greatly appreciated. Richard Foos |
From rick@erienet.net./Configure Beginning of configuration questions for perl5. Checking echo to see how to suppress newlines... First let's make sure your kit is complete. Checking... This installation shell script will examine your system and ask you questions On some of the questions which ask for file or directory names you are allowed [Type carriage return to continue] The prompter used in this script allows you to use shell variables and Everytime there is a substitution, you will have to confirm. If there is an If you are in a hurry, you may run 'Configure -d'. This will bypass nearly all [Type carriage return to continue] Much effort has been expended to ensure that this shell script will run on any This installation script affects things in two ways: 1) it may do direct variable substitutions on some of the files included If you make a mistake on a question, there is no easy way to back up to it [Type carriage return to continue] Locating common programs... Don't worry if any of the following aren't found... Checking compatibility between /usr/bin/echo and builtin echo (if any)... Symbolic links are supported. Good, your tr supports [:lower:] and [:upper:] to convert case. First time through, eh? I have some defaults handy for some systems 3b1 dynix irix_6_1 next_3_0 stellar You may give one or more space-separated answers, or "none" if appropriate. Which of these apply, if any? [solaris_2] NOTE: Some people have reported problems with /usr/ucb/cc. Configure uses the operating system name and version to set some defaults. Operating system name? [solaris] Operating system version? [2.7] Perl can be built to take advantage of threads, on some systems. Note that threading is a highly experimental feature, and What is your architecture name [sun4-solaris] AFS does not seem to be running... By default, perl5 will be installed in /usr/local/bin, manual Installation prefix to use? (~name ok) [/usr/local] Getting the current patchlevel... There are some auxiliary files for perl5 that need to be put into a Pathname where the private library files will reside? (~name ok) Perl5 contains architecture-dependent library files. If you are Where do you want to put the public architecture-dependent libraries? (~name ok) 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 First let's decide if your kernel supports secure setuid #! scripts. Congratulations, your kernel has secure setuid scripts! No need to emulate SUID scripts since they are secure here. System manual is in /usr/man/man1. Some systems have different model sizes. On most systems they are called The default for most systems is "none". Which memory models are supported? [none] Use which C compiler? [cc] Beginning of configuration questions for perl5. Checking echo to see how to suppress newlines... First let's make sure your kit is complete. Checking... Would you like to see the instructions? [n] Locating common programs... Don't worry if any of the following aren't found... Checking compatibility between /usr/bin/echo and builtin echo (if any)... Symbolic links are supported. Good, your tr supports [:lower:] and [:upper:] to convert case. First time through, eh? I have some defaults handy for some systems 3b1 dynix irix_6_1 next_3_0 stellar You may give one or more space-separated answers, or "none" if appropriate. Which of these apply, if any? [solaris_2] NOTE: Some people have reported problems with /usr/ucb/cc. Configure uses the operating system name and version to set some defaults. Operating system name? [solaris] Operating system version? [2.7] Perl can be built to take advantage of threads, on some systems. Note that threading is a highly experimental feature, and What is your architecture name [sun4-solaris] AFS does not seem to be running... By default, perl5 will be installed in /usr/local/bin, manual Installation prefix to use? (~name ok) [/usr/local] Getting the current patchlevel... There are some auxiliary files for perl5 that need to be put into a Pathname where the private library files will reside? (~name ok) Perl5 contains architecture-dependent library files. If you are Where do you want to put the public architecture-dependent libraries? (~name ok) 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 First let's decide if your kernel supports secure setuid #! scripts. Congratulations, your kernel has secure setuid scripts! No need to emulate SUID scripts since they are secure here. System manual is in /usr/man/man1. Some systems have different model sizes. On most systems they are called The default for most systems is "none". Which memory models are supported? [none] Use which C compiler? [cc] gcc NOTE: You are using GNU ld(1). GNU ld(1) will not build Perl. Checking for GNU cc in disguise and/or its version number... Hmm... Doesn't look like a MIPS system. Now, how can we feed standard input to your C preprocessor... Some systems have incompatible or broken versions of libraries. Among Directories to use for library searches? On some systems, shared libraries may be available. Answer 'none' if What is the file extension used for shared libraries? [so] Checking for optional libraries... Some versions of Unix support shared libraries, which make executables smaller On some systems, mostly System V Release 3's, the shared library is included Any additional libraries? [-lsocket -lnsl -ldl -lm -lc -lcrypt] Some C compilers have problems with their optimizers. By default, perl5 What optimizer/debugger flag should be used? [-O] Your C compiler may want other flags. For this question you should include To use no flags, specify the word "none". Any additional cc flags? [-I/usr/local/include] Let me guess what the preprocessor flags are... Your C linker may need flags. For this question you should Make sure you include the appropriate -L/path flags if your C linker Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib] Checking your choice of C compiler and flags for coherency... Computing filename position in cpp output for #include directives... <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. Checking out function prototypes... Pathname where the public executables will reside? (~name ok) Many scripts expect to perl to be installed as /usr/bin/perl. Checking for GNU C Library... I can use /usr/ccs/bin/nm to extract the symbols from your C libraries. This 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 Where is your C library? [/lib/libc.so] Extracting names from the following files for later perusal: /lib/libc.so This may take a while... <dld.h> NOT found. dlopen() found. Do you wish to use dynamic loading? [y] The following dynamic loading files are available: Some systems may require passing special flags to gcc -B/usr/ccs/bin/ -c to Any special flags to pass to gcc -B/usr/ccs/bin/ -c to compile shared library modules? Some systems use ld to create libraries that can be dynamically loaded, You appear to have ELF support. I'll use gcc -B/usr/ccs/bin/ to build dynamic libraries. Some systems may require passing special flags to gcc to create a Any special flags to pass to gcc to create a dynamically loaded library? Some systems may require passing special flags to gcc -B/usr/ccs/bin/ to indicate that Any special flags to pass to gcc -B/usr/ccs/bin/ to use dynamic loading? The perl executable is normally obtained by linking perlmain.c with Build a shared libperl.so (y/n) [n] Perl5 has manual pages available in source form. Where do the main Perl5 manual pages (source) go? (~name ok) You can have filenames longer than 14 characters. Perl5 has manual pages for many of the library modules. Where do the perl5 library man pages (source) go? (~name ok) Figuring out host name... What is your domain name? [.saintmail.net] I need to get your e-mail address in Internet format if possible, i.e. What is your e-mail address? [rick@mail.saintmail.net] If you or somebody else will be maintaining perl at your site, please Perl administrator e-mail address [rick@mail.saintmail.net] I can use the #! construct to start perl on your system. This will What shall I put after the #! to start up perl ("none" to not use #!)? Some installations have a separate directory just for executable scripts so Where do you keep publicly executable scripts? (~name ok) [/usr/local/bin] The installation process will also create a directory for Pathname for the site-specific library files? (~name ok) The installation process will also create a directory for Pathname for the site-specific architecture-dependent library files? (~name ok) Previous version of perl5 used the standard IO mechanisms as defined If this doesn't make any sense to you, just accept the default 'n'. Checking for an efficient way to convert floats to strings. access() found. <unistd.h> defines the *_OK access constants. alarm() found. Checking whether your compiler can handle __attribute__ ... bcmp() found. bcopy() found. <unistd.h> found. getpgrp() found. Checking to see which flavor of getpgrp is in use... setpgrp() found. Checking to see which flavor of setpgrp is in use... bzero() found. Checking to see how big your integers are... You have void (*signal())(). Checking whether your C compiler can cast large floats to int32. Checking whether your C compiler can cast negative float to unsigned. vprintf() found. chown() found. chroot() found. chsize() NOT found. Checking to see if your C compiler knows about "const"... crypt() found. cuserid() found. <limits.h> found. <float.h> found. DBL_DIG found. difftime() found. <sys/stat.h> found. <dirent.h> found. gcc: file path prefix `/usr/ccs/bin/' never used gcc: file path prefix `/usr/ccs/bin/' never used dlerror() found. <dlfcn.h> found. On a few systems, the dynamically loaded modules that perl generates and uses What is the extension of dynamically loaded modules [so] Checking whether your dlsym() needs a leading underscore ... dup2() found. endhostent() found. endnetent() found. endprotoent() found. endservent() found. <fcntl.h> defines the O_* constants... Figuring out the flag used by open() for non-blocking I/O... Let's see what value errno gets from read() on a O_NONBLOCK file... 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> NOT found. getmntent() found. hasmntopt() found. getpgid() found. getpgrp2() NOT 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() found. Using <string.h> instead of <strings.h>. strchr() found. inet_aton() NOT 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... Yup, it does. Checking to see how big your long longs are... 8 bytes. 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.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... Checking to see if your memcpy() can do overlapping copies... Checking if your memcmp() can compare relative magnitude... 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. setegid() found. seteuid() found. sethostent() found. setlinebuf() found. setlocale() found. setnetent() found. setprotoent() found. setpgid() found. setpgrp2() NOT found. setpriority() found. setregid() found. setresgid() NOT found. setreuid() found. setresuid() NOT found. setrgid() NOT found. setruid() NOT found. setservent() found. setsid() found. setvbuf() found. <sfio.h> NOT found. shmctl() found. shmget() found. shmat() found. shmdt() found. You have the full shm*(2) library. sigaction() found. POSIX sigsetjmp found. Hmm... Looks like you have Berkeley networking support. socketpair() found. Checking how std your stdio is... strcoll() found. Checking to see if your C compiler can copy structs... strerror() found. 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. truncate() found. tzname[] found. umask() found. uname() found. vfork() found. Perl can only use a vfork() that doesn't suffer from strict Do you still want to use vfork()? [n] <sys/dir.h> NOT found. <sys/ndir.h> NOT found. <sys/types.h> found. closedir() found. Checking whether closedir() returns a status... Checking to see if your C compiler knows about "volatile"... wait4() found. waitpid() found. wcstombs() found. wctomb() found. Checking alignment constraints... Checking to see how your cpp does stuff like catenate tokens... <db.h> NOT found. Checking to see how well your C compiler groks the void type... Checking to see how big your double precision numbers are... 8 bytes. Determining whether or not we are on an EBCDIC system... Looking for the type for file position used by fsetpos(). Looking for the type for group ids returned by getgid(). getgroups() found. setgroups() found. What type of pointer is the second argument to getgroups() and setgroups()? What type pointer is the second argument to getgroups() and setgroups()? Looking for the type used for lseek's offset on this system. Checking if your /usr/local/bin/make program sets $(MAKE)... Looking for the type used for file modes for system calls (e.g. fchmod()). Looking for the type used for the length parameter for string functions. Checking to see what type of arguments are accepted by gethostbyaddr(). Checking to see what type of argument is accepted by gethostbyname(). Checking to see what type of 1st argument is accepted by getnetbyaddr(). What pager is used on your system? [/usr/bin/more] Looking for the type of process ids on this system. Checking to see how big your pointers are... 4 bytes. Checking to see how many bits your rand function produces... Checking how to generate random libraries on your machine... <sys/select.h> found. Testing to see if we should include <time.h>, <sys/time.h> or both. Checking to see how well your C compiler handles fd_set and friends ... Checking to see on how many bits at a time your select() operates... Generating a list of signal names and numbers... SIGZERO SIGHUP SIGINT SIGQUIT SIGILL SIGTRAP SIGABRT SIGEMT SIGFPE I'll be using ssize_t for functions returning a byte count. Your stdio uses signed chars. time() found. Looking for the type returned by time() on this system. Looking for the type for user ids returned by getuid(). 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>. <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... gcc: file path prefix `/usr/ccs/bin/' never used Your C pre-processor also defines the following symbols: Your C compiler further defines the following cpp symbols: 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> 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> NOT found. Looking for extensions... What extensions do you wish to load dynamically? 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 Press return or use a shell escape to edit config.sh: Doing variable substitutions on .SH files... Now you need to generate make dependencies by running "make depend". Run make depend now? [y] |
From [Unknown Contact. See original ticket]x |
From The RT System itself'x\n' |
Migrated from rt.perl.org#1585 (status was 'resolved')
Searchable as RT1585$
The text was updated successfully, but these errors were encountered: