develooper Front page | perl.perl5.porters | Postings from March 2000

[ID 20000321.001] Building perl5.5.670 on MacOS X (DR3) [PARTIALSUCCESS]

From:
Jon Wright
Date:
March 21, 2000 03:47
Subject:
[ID 20000321.001] Building perl5.5.670 on MacOS X (DR3) [PARTIALSUCCESS]
Message ID:
200003211146.WAA17844@sr14.nsw-remote.bigpond.net.au
This is a bug report for perl from jgw@guru-international.com.au,
generated with the help of perlbug 1.27 running under perl v5.5.670.


-----------------------------------------------------------------
[Please enter your report here]

I have created a hints file (adapted from the rhapsody file) which
sort of works. There are four obvious problems:

1. There is an issue with case sensitivity. Things like 'test -f' and
   'cd' are case insensitive - i.e. makefile and Makefile look the same.
   This can be resolved for makefiles by fiddling the firstmakefile
   value in the hints file.

2. I have not had time to find out how to make Configure autorecognise
   the platform (you have to manually select the macosx hints).

3. make test fails all over the place because IO/Handle and IO/File are
   not found (./lib is not in @INC). Running a good install (see problem
   #4) resolves most of these isses and I get 97.35% sucessful.

4. make install fails to install subdirectories from ./lib and 
./etc/IO/lib
   Installing these by hand works but is a clumsy approach.

I will clean up the hints file (it includes the debugger at the moment) 
and
try to tackle #2. Any help with #3 and #4 would be very much appreciated.

---------hints/macosx.sh-----------
##
# (Mac OS X) hints (adapted from Mac OS X Server)
# Wilfredo Sanchez <wsanchez@apple.com>
# Jon Wright <jgw@guru-international.com.au>
##

##
# Paths
##

prefix='/Local/Perl';
siteprefix='/Local/Perl';
installprefix='/Local/Perl';

# Where to put modules.
privlib='/Local/Perl/lib'
sitelib='/Local/Perl/lib'

# Since we can build fat, the archname doesn't need the processor type
archname='ppc';
osname='mac'
osvers='MacOS_X'

# nm works.
usenm='true';
  
# Libc is in libsystem.
libc='/System/Library/Frameworks/System.framework/System';

# Optimize.
optimize='-O -g';

# We have a prototype for telldir.
ccflags='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -DDEBUGGING 
-fno-strict-aliasing'

# Shared library extension is .dylib.
# Bundle extension is .bundle.
ld='cc';
so='dylib';
dlext='bundle';
dlsrc='dl_dyld.xs';
usedl='define';
cccdlflags='-fpic';
lddlflags="${ldflags} -bundle -undefined suppress";
ldlibpthname='DYLD_LIBRARY_PATH';
useshrplib='true';

# Kept from rhapsody file, use unknown.
base_address='0x4be00000';

# vfork works
usevfork='true';

# malloc works
usemymalloc='n';

# shared perl lib fails
useshrplib='false'

firstmakefile='GNUmakefile';

[Please do not change anything below this line]
-----------------------------------------------------------------

---
Site configuration information for perl v5.5.670:

Configured by jgw at Tue Mar 21 21:29:34 EST 2000.

Summary of my perl5 (revision 5.0 version 5 subversion 670) configuration:
  Platform:
    osname=mac, osvers=MacOS_X, archname=ppc
    uname='mac os localhost 10.0 mac os kernel version 10.0: mon jan 31 
21:27:03 pst 2000; 
root(rcbuilder):xnuxnu-59.10:xnuxnu-59.10.obj~1release_ppc copyright (c) 
1988-1995,1997-1999 apple computer, inc. all rights reserved. power 
macintosh powerpc '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define 
    use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
    cc='cc', optimize='-O -g', gccversion=Apple DevKit-based CPP 5.0
    cppflags='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -DDEBUGGING 
-fno-strict-aliasing -DDEBUGGING'
    ccflags ='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE -DDEBUGGING 
-fno-strict-aliasing -DDEBUGGING'
    stdchar='char', d_stdstdio=undef, usevfork=true
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib
    libs= 
    libc=/System/Library/Frameworks/System.framework/System, so=dylib, 
useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fpic', lddlflags=' -bundle -undefined suppress'

Locally applied patches:
    

---
@INC for perl v5.5.670:
    /Local/Perl/lib/ppc
    /Local/Perl/lib
    /Local/Perl
    .

---
Environment for perl v5.5.670:
    DYLD_LIBRARY_PATH (unset)
    HOME=/Local/Users/jgw
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    
PATH=/Local/Perl/bin:.:/Local/Users/jgw/bin/powerpc-apple-macos:/Local/User
s/jgw/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh



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