Read the archives for the list at
http://www.perl.org
All the instructions are there.
in summary,
at first.
if you can compile on UFS partition there will be no problem.
if not,
cd to your CPAN cache directory. (set up in original CPAN configuring.)
edit the configure file to change the Variable $First Makefile
to GNUMakefile or any other name.
The problem is, the HFS+ formatting is Case retaining but also case
unaware.
This means MakeFile and makefile are equal.
On UFS they are not equal so they Both appear.
on HFS+ they write over each other during the config process and you
end up with nothing.
seems finally, we need an
if Darwin
{ do the right thing with the makefile}
to become part of the standard installation package.
Then after you get that solved, you will be able to make just fine.
There has been another problem though.
also mentioned on the list:
after a successful make install CPAN and other modules crash with
"undefined" variables.
The pro-offered solution is to
make
make test
then remove the
/System/Library/Perl
and /Library/Perl
directory contents completely.
seems all the files in binaries don't interfere.
then make install
and you should find everything working... well... nearly perfectly.
Just for the sake of getting more of the tests to pass you can:
install Berkeley DB 3.29 from www.sleepycat.com
also I saw something out there (maybe www.MacOSXHINTS.com regarding
fixing the MacOSX HEAD function.
anyway, 98.4% tests passed is good.
then
if you want to be sure you keep the 5.6.1 install folder, you better
move it away from the CPAN cache directory.
though you will be completely up-to-date with that.
go back to CPAN and type "r" to find out what else is new.
Oh yeah.... thanks snakeyes...
setenv LC_ALL C
setenv LANG "en_US"
although I set my environment for the build
LANG C
I can't seem to locate the locale functions in MacOSX
a search of the appropriate locale directories
/usr/share/locale
drwxr-xr-x 3 root wheel 264 Feb 24 17:54 cs/
drwxr-xr-x 3 root wheel 264 Feb 24 17:55 de/
drwxr-xr-x 3 root wheel 264 Feb 24 17:52 el/
drwxr-xr-x 3 root wheel 264 Feb 24 17:52 eo/
drwxr-xr-x 3 root wheel 264 Feb 24 17:55 es/
drwxr-xr-x 3 root wheel 264 Feb 24 17:52 et/
drwxr-xr-x 3 root wheel 264 Feb 24 17:51 fi/
drwxr-xr-x 3 root wheel 264 Feb 24 17:55 fr/
drwxr-xr-x 3 root wheel 264 Feb 24 17:52 hr/
drwxr-xr-x 3 root wheel 264 Feb 24 17:52 id/
drwxr-xr-x 3 root wheel 264 Feb 24 17:54 it/
drwxr-xr-x 3 root wheel 264 Feb 24 17:52 ja/
drwxr-xr-x 3 root wheel 264 Feb 24 17:55 ko/
drwxr-xr-x 3 root wheel 264 Feb 24 17:55 nl/
drwxr-xr-x 3 root wheel 264 Feb 24 17:54 no/
drwxr-xr-x 3 root wheel 264 Feb 24 17:55 pl/
drwxr-xr-x 3 root wheel 264 Feb 24 17:54 pt/
drwxr-xr-x 3 root wheel 264 Feb 24 17:52 pt_BR/
drwxr-xr-x 3 root wheel 264 Feb 24 17:55 ru/
drwxr-xr-x 3 root wheel 264 Feb 24 17:51 sl/
drwxr-xr-x 3 root wheel 264 Feb 24 17:54 sv/
where the heck is en_US?
though the system uses that locale by some other means.
-------------------------------------------------------
The next problem I would like to know about also is BBEDIT.
when it launches a terminal my personal environment and default terminal
settings are not used. though it still uses tcsh
I see an XML propertylist called PerlDebugger.term
in the macPerlsupport folder. does it launch here as well?
I also have a perl.info file which is now wrong
>>>>(sorry, maybe I made myself.)
this infomation is from OSXbeta install which went a little smoother
after figuring out the need for UFS.
perl.info
----------------------------------------------
perl-14-1] root# perl -V (it was the official darwin release)
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=darwin, osvers=1.0, archname=darwin
uname='darwin trento 1.0 darwin kernel version 1.2: wed jul 19
23:09:36 pdt
2000; root:xnuxnu-79.5.obj~1release_ppc power macintosh powerpc '
...........etc......
--------------------------------------------------
now after the 10.02 update....
uname -a
Darwin localhost 1.3.2 Darwin Kernel Version 1.3.2: Fri Apr 27 22:50:58
PDT 2001; root:xnu/xnu-124.7.obj~1/RELEASE_PPC Power Macintosh powerpc
perl -v
This is perl, v5.6.1 built for darwin
perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=darwin, osvers=1.3, archname=darwin
uname='darwin localhost 1.3 darwin kernel version 1.3: fri mar 30
20:45:03 pst 2001; root:xnuxnu-124.1.obj~1release_ppc power macintosh
powerpc '
>>>>><<<10.01 OSX>>>>>>>>
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -I/usr/local/include',
optimize='-O3',
cppflags='-pipe -fno-common -DHAS_TELLDIR_PROTOTYPE
-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='Apple DevKit-based CPP 6.0alpha',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
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=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldb -lm -lc
perllibs=-lm -lc
libc=/System/Library/Frameworks/System.framework/System, so=dylib,
useshrplib=true, libperl=libperl.dylib
Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined suppress
-L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under darwin
Compiled at 04/30/01 08:05:36
@INC:
/System/Library/Perl/darwin
/System/Library/Perl
/Library/Perl/darwin
/Library/Perl
/Library/Perl
.
guess I will have to RTFM on that one...
what default directory is BBEDIT launching the terminal from?
if known, we can put an appropriate set of
environment.mine, login.mine, etc. for BBEDIT
otherwise, add to the defaults.
Jim Cooper
iMedia, Ltd.
Tokyo
On Sunday, May 6, 2001, at 07:49 AM, [EMAIL PROTECTED] wrote:
> Has anyone managed to upgrade their perl installation from 5.6.0 to
> 5.6.1 for darwin?
>
> When I enter:
>
> perl -MCPAN -e shell
> install Bundle::CPAN
>
> it trys to install perl 5.6.1 but it fails when it trys to make it.
>
> I chose all the darwin default options, and have a standard 10.0.2
> installation.
>
> Any ideas?
>