Closed p5pRT closed 20 years ago
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';
Migrated from rt.perl.org#2481 (status was 'resolved')
Searchable as RT2481$