develooper Front page | perl.macosx | Postings from August 2001

no makefile created when attempting to compile perl 5.6.1 on mac os x

Thread Next
From:
Terrence Brannon
Date:
August 3, 2001 09:48
Subject:
no makefile created when attempting to compile perl 5.6.1 on mac os x
Message ID:
200108031648.f73GmHD18017@gmgw01.us.oracle.com

Well, after running sh Configure -des, I typed make , but no makefile
was created. Does anyone know what I need to do to get perl 5.6.1
compiled under Mac OS X? Also, I want to be sure to create a libperl.a
as some extra software for Perl I am using requires that this be
built.

Thanks a lot.


[localhost:~/wares] metaperl% gzip -dc stable.tar.gz | tar xf -
[localhost:~/wares] metaperl% cd stable.tar.gz 
stable.tar.gz: Not a directory.
[localhost:~/wares] metaperl% cd perl-5.6.1/
[localhost:~/wares/perl-5.6.1] metaperl% sh Configure -des
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
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.
3b1             dynix           isc             nonstopux       stellar   
aix             dynixptx        isc_2           openbsd         sunos_4_0   
altos486        epix            linux           opus            sunos_4_1   
amigaos         esix4           lynxos          os2             svr4   
apollo          fps             machten         os390           svr5   
aux_3           freebsd         machten_2       posix-bc        ti1500   
beos            genix           mint            powerux         titanos   
bsdos           gnu             mips            qnx             ultrix_4   
convexos        greenhills      mpc             rhapsody        umips   
cxux            hpux            mpeix           sco             unicos   
cygwin          i386            ncr_tower       sco_2_3_0       unicosmk   
darwin          irix_4          netbsd          sco_2_3_1       unisysdynix   
dcosx           irix_5          newsos4         sco_2_3_2       utekv   
dec_osf         irix_6          next_3          sco_2_3_3       uts   
dgux            irix_6_0        next_3_0        sco_2_3_4       uwin   
dos_djgpp       irix_6_1        next_4          solaris_2       vmesa   
Which of these apply, if any? [darwin]  
Operating system name? [darwin]  
Operating system version? [1.3.7]  
Build a threading Perl? [n]  
Build Perl for multiplicity? [n]  
Use which C compiler? [cc]  
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/usr/local/lib /usr/lib]  
What is the file extension used for shared libraries? [dylib]  
Build Perl for SOCKS? [n]  
Checking for optional libraries...
What libraries to use? [-lm -lc]  
What optimizer/debugger flag should be used? [-O3]  
Any additional cc flags?
[-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -fno-strict-aliasing -I/usr/local/include]  
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib]  
Checking your choice of C compiler and flags for coherency...
Checking to see how big your integers are...
off_t found.
Checking to see how big your file offsets are...
fpos_t found.
Checking the size of fpos_t...
Try to use 64-bit integers, if available? [n]  
Try to use maximal 64-bit support, if available? [n]  
Checking for GNU C Library...
Shall I use /usr/bin/nm to extract C symbols from the libraries? [y]  
Where is your C library?
[/System/Library/Frameworks/System.framework/System]  
Extracting names from the following files for later perusal:
	/System/Library/Frameworks/System.framework/System
	/usr/lib/libm.dylib
This may take a while....done
sqrtl() NOT found.
Try to use long doubles if available? [n]  
Checking to see how big your double precision numbers are...
Checking to see if you have long double...
Checking to see how big your long doubles are...
What is your architecture name [darwin]  
Installation prefix to use? (~name ok) [/usr]  
AFS does not seem to be running...
What installation prefix should I use for installing files? (~name ok)
[/usr]  
Getting the current patchlevel...
Pathname where the private library files will reside? (~name ok)
[/System/Library/Perl]  
Where do you want to put the public architecture-dependent libraries? (~name ok)
[/System/Library/Perl/darwin]  
Binary compatibility with Perl 5.005? [y]  
Other username to test security of setuid scripts with? [none]  
I'll assume setuid scripts are *not* secure.
Does your kernel have *secure* setuid scripts? [n]  
Do you want to do setuid/setgid emulation? [n]  
Computing filename position in cpp output for #include directives...
<malloc.h> NOT found.
<stdlib.h> found.
Do you wish to attempt to use the malloc that comes with perl5? [n]  
Your system wants malloc to return 'void *', it would seem.
Your system uses void free(), it would seem.
Installation prefix to use for add-on modules and utilities? (~name ok)
[/usr/local]  
Pathname for the site-specific library files? (~name ok)
[/Local/Library/Perl]  
Pathname for the site-specific architecture-dependent library files? (~name ok)
[/Local/Library/Perl/darwin]  
Do you want to configure vendor-specific add-on directories? [y]  
Installation prefix to use for vendor-supplied add-ons? (~name ok)
[/usr/local]  
Pathname for the vendor-supplied library files? (~name ok)
[/Network/Library/Perl]  
Pathname for vendor-supplied architecture-dependent files? (~name ok)
[/Network/Library/Perl/darwin]  
Colon-separated list of additional directories for perl to search? [none]  
Checking out function prototypes...
Pathname where the public executables will reside? (~name ok) [/usr/bin]  
List of earlier versions to include in @INC? [none]  
<dld.h> NOT found.
dlopen() NOT found.
Do you wish to use dynamic loading? [y]  
Source file to use for dynamic loading [ext/DynaLoader/dl_dyld.xs]  
Any special flags to pass to cc -c to compile shared library modules? [none]  
What command should be used to create dynamic libraries? [cc]  
Any special flags to pass to cc to create a dynamically loaded library?
[ -bundle -undefined suppress -L/usr/local/lib]  
Any special flags to pass to cc to use dynamic linking? [none]  
Build a shared libperl.dylib (y/n) [y]  
What name do you want to give to the shared libperl? [libperl.dylib]  
System manual is in /usr/share/man/man1.
Where do the main Perl5 manual pages (source) go? (~name ok)
[/usr/share/man/man1]  
What suffix should be used for the main Perl5 man pages? [1]  
You can have filenames longer than 14 characters.
Where do the perl5 library man pages (source) go? (~name ok)
[/usr/share/man/man3]  
What suffix should be used for the perl5 library man pages? [3]  
Figuring out host name...
Your host name appears to be "localhost". Right? [y]  
What is your domain name? [.oracle.com]  
What is your e-mail address? [metaperl@localhost.oracle.com]  
Perl administrator e-mail address [metaperl@localhost.oracle.com]  
Do you want to install only the version-specific parts of perl? [n]  
What shall I put after the #! to start up perl ("none" to not use #!)?
[/usr/bin/perl]  
Where do you keep publicly executable scripts? (~name ok) [/usr/bin]  
Pathname where the add-on public executables should be installed? (~name ok)
[/usr/local/bin]  
Use the experimental PerlIO abstraction layer? [n]  
Pathname for the vendor-supplied executables directory? (~name ok)
[/usr/local/bin]  
qgcvt() NOT found.
Checking how to print long doubles...
gconvert NOT found.
gcvt NOT found.
sprintf() found.
I'll use sprintf to convert floats into a string.
fwalk() found.
access() found.
<sys/file.h> defines the *_OK access constants.
accessx() NOT found.
alarm() found.
atolf() NOT found.
atoll() NOT found.
Checking whether your compiler can handle __attribute__ ...
bcmp() found.
bcopy() found.
<unistd.h> found.
getpgrp() found.
You have to use getpgrp() instead of getpgrp(pid).
setpgrp() found.
You have to use setpgrp(pid,pgrp) instead of setpgrp().
bzero() found.
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.
Your vsprintf() returns (int).
chown() found.
chroot() found.
chsize() NOT found.
Checking to see if your C compiler knows about "const"...
crypt() found.
cuserid() NOT found.
<limits.h> found.
<float.h> found.
DBL_DIG found.
difftime() 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.
What is the extension of dynamically loaded modules [bundle]  
dup2() found.
eaccess() NOT found.
endgrent() found.
endhostent() found.
endnetent() found.
endprotoent() found.
endpwent() found.
endservent() found.
<sys/file.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...
Let's see what value errno gets from read() on a O_NONBLOCK file...
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.
We'll include <sys/time.h>.
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() found.
fork() found.
pathconf() found.
fpathconf() found.
Checking to see if you have fpos64_t...
frexpl() NOT found.
<sys/param.h> found.
<sys/mount.h> found.
<sys/types.h> found.
Checking to see if your system supports struct fs_data...
fseeko() found.
fsetpos() found.
fstatfs() found.
statvfs() NOT found.
fstatvfs() NOT found.
fsync() found.
ftello() found.
getcwd() found.
getespwnam() NOT found.
getfsstat() found.
getgrent() found.
gethostbyaddr() found.
gethostbyname() found.
gethostent() found.
gethostname() found.
uname() found.
Shall I ignore gethostname() from now on? [n]  
<netdb.h> found.
getlogin() found.
getmnt() NOT found.
getmntent() NOT found.
getnetbyaddr() found.
getnetbyname() found.
getnetent() found.
getpagesize() found.
getprotobyname() found.
getprotobynumber() found.
getprotoent() found.
getpgid() NOT found.
getpgrp2() NOT found.
getppid() found.
getpriority() found.
getprpwnam() NOT found.
getpwent() found.
getservbyname() found.
getservbyport() found.
getservent() found.
getspnam() NOT found.
gettimeofday() found.
<grp.h> found.
hasmntopt() NOT found.
<netinet/in.h> found.
<arpa/inet.h> found.
htonl() found.
iconv() NOT found.
strchr() found.
inet_aton() found.
<inttypes.h> found.
Checking to see if you have int64_t...
isascii() found.
isnan() found.
isnanl() NOT found.
killpg() found.
lchown() NOT found.
LDBL_DIG found.
link() found.
localeconv() found.
lockf() NOT found.
Checking to see if you have long long...
Checking to see how big your long longs are...
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).
modfl() NOT found.
mprotect() found.
msgctl() found.
msgget() found.
msgsnd() found.
msgrcv() found.
You don't 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]  
Checking to see if your C compiler knows about "volatile"...
Choosing the C types to be used for Perl's internal types...
Checking how many bits of your UVs your NVs can preserve...
Checking to see if you have off64_t...
<pthread.h> found.
pause() found.
pipe() found.
poll() NOT found.
<pwd.h> found.
readdir() found.
seekdir() found.
telldir() found.
rewinddir() found.
readlink() found.
rename() found.
rmdir() found.
<memory.h> found.
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 don't have the full sem*(2) library.
You do not have union semun in <sys/sem.h>.
setegid() found.
seteuid() found.
setgrent() found.
sethostent() found.
setlinebuf() found.
setlocale() found.
setnetent() found.
setprotoent() found.
setpgid() found.
setpgrp2() NOT found.
setpriority() found.
setproctitle() NOT found.
setpwent() found.
setregid() found.
setresgid() NOT found.
setreuid() found.
setresuid() NOT found.
setrgid() found.
setruid() found.
setservent() found.
setsid() found.
setvbuf() found.
<sfio.h> NOT found.
libs = -lm -lc
shmctl() found.
shmget() found.
shmat() found.
and it returns (void *).
shmdt() found.
You have the full shm*(2) library.
sigaction() found.
POSIX sigsetjmp found.
socks5_init() NOT found.
<sys/stat.h> found.
Checking to see if your struct stat has st_blocks field...
<sys/vfs.h> NOT found.
<sys/statfs.h> NOT found.
Checking to see if your system supports struct statfs...
Checking to see if your struct statfs has f_flags field...
Checking how std your stdio is...
Checking to see what happens if we set the stdio ptr...
Increasing ptr in your stdio leaves cnt unchanged.  Good.
Checking how to access stdio streams by file descriptor number...
You can access stdio streams by file descriptor number by the __sF array.
strcoll() found.
Checking to see if your C compiler can copy structs...
strerror() found.
strtod() found.
strtol() found.
strtold() NOT found.
strtoll() NOT found.
strtoul() found.
strtoull() NOT found.
strtouq() found.
strxfrm() found.
symlink() found.
syscall() found.
sysconf() found.
system() found.
tcgetpgrp() found.
tcsetpgrp() found.
<sys/times.h> found.
times() found.
clock_t found.
truncate() found.
tzname[] found.
umask() found.
ustat() NOT found.
vfork() found.
Do you still want to use vfork()? [y]  
<sys/dir.h> found.
<sys/ndir.h> NOT found.
closedir() found.
Checking whether closedir() returns a status...
wait4() found.
waitpid() found.
wcstombs() found.
wctomb() found.
Checking to see how your cpp does stuff like catenate tokens...
Oh!  Smells like ANSI's been here.
<db.h> found.
Checking Berkeley DB version ...
Looks OK.
Checking return type needed for hash for Berkeley DB ...
Checking return type needed for prefix for Berkeley DB ...
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...
OK, found random().
Use which function to generate random numbers? [random]  
Checking to see how many bits your random() function produces...
How many bits does your random() function produce? [31]  
Determining whether or not we are on an EBCDIC system...
Nope, no EBCDIC, probably ASCII or some ISO Latin. Or UTF8.
Checking how to flush all pending stdio output...
Your fflush(NULL) works okay for output streams.
Let's see if it clobbers input pipes...
fflush(NULL) seems to behave okay with input streams.
Checking the size of gid_t...
Checking the sign of gid_t...
Checking how to print 64-bit integers...
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 pointer is the second argument to getgroups() and setgroups()?
[gid_t]  
Checking if your /usr/bin/make program sets $(MAKE)...
mode_t found.
size_t found.
What pager is used on your system? [/usr/bin/less]  
pid_t found.
Checking to see how big your pointers are...
Checking how to generate random libraries on your machine...
Your select() operates on 32 bits at a time.
Generating a list of signal names and numbers...
Checking the size of size_t...
Checking to see if you have socklen_t...
<socks.h> NOT found.
I'll be using ssize_t for functions returning a byte count.
Your stdio uses signed chars.
time() found.
time_t found.
Checking the size of uid_t...
Checking the sign of uid_t...
Checking the format string to be used for uids...
Which compiler compiler (yacc or bison -y) shall I use? [yacc]  
dbmclose() NOT 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>.
<iconv.h> NOT found.
<ieeefp.h> NOT found.
<libutil.h> NOT 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> NOT found.
<prot.h> NOT found.
Guessing which symbols your C compiler and preprocessor define...
tcsetattr() found.
You have POSIX termios.h... good!
<shadow.h> NOT found.
<stdarg.h> found.
<varargs.h> found.
We'll include <stdarg.h> to get va_dcl definition.
<stddef.h> found.
<sunmath.h> NOT found.
<sys/access.h> NOT found.
<sys/filio.h> found.
<sys/ioctl.h> found.
<syslog.h> found.
<sys/mode.h> NOT found.
<sys/resource.h> found.
<sys/security.h> NOT found.
<sys/statvfs.h> NOT found.
<sys/uio.h> found.
<sys/un.h> found.
<sys/utsname.h> found.
<sys/wait.h> found.
<ustat.h> NOT found.
<utime.h> found.
<values.h> NOT found.
<vfork.h> NOT found.
<gdbm.h> NOT found.
Looking for extensions...
What extensions do you wish to load dynamically?
[B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Fcntl File/Glob IO IPC/SysV NDBM_File Opcode POSIX SDBM_File Socket Sys/Hostname Sys/Syslog attrs re]  
What extensions do you wish to load statically? [none]  
Stripping down executable paths...
Creating 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 pod/Makefile (with variable substitutions)
Extracting writemain (with variable substitutions)
Extracting x2p/Makefile (with variable substitutions)
Extracting x2p/cflags (with variable substitutions)
Done.

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.

[localhost:~/wares/perl-5.6.1] metaperl% make
make: *** No targets specified and no makefile found.  Stop.
[localhost:~/wares/perl-5.6.1] metaperl% ls -l *file*
-r-xr-xr-x  1 metaperl  staff  30847 Apr  5 21:38 Makefile.SH
[localhost:~/wares/perl-5.6.1] metaperl% 


Thread Next


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