Front page | perl.perl5.porters |
Postings from May 2008
Re: [perl #55008] help - initial make failing, but don't know why
Thread Previous
|
Thread Next
From:
Steve Michel
Date:
May 29, 2008 17:42
Subject:
Re: [perl #55008] help - initial make failing, but don't know why
Message ID:
483EF1A4.5010706@ugs.com
Thanks, I'll revisit these flags using the info you provided.
I really hadn't looked at them that closely....
I am attempting to build a macos perl 5.8.8 using guts & flags
from an old script previously used to build perl 5.0 for other platforms.
Trying to avoid any dependencies on the vendor provided perl, (ie.
/System/Library/Perl/*)
and add lots of extra modules we need, so we have a consistent perl
across all platforms.
I've already done this for several other platforms,
(wnti32, lnx64, i686, sol, aix), but they all had pre-built core perl
downloads to start with.
darwin, hpp, hpi, sgi, etc. do not, and all seem to have had various
problems building the core perl from source.
(well, darwin had one in a .dmg file, but without root, I'm unable to
extract and install it - even after converting itto .iso to get at the
pax.gz file)
Thanks again,
Steve
Andy Dougherty wrote:
> On Thu, 29 May 2008, Steve Michel wrote:
>
>
>> sh /plm/cinas/chucktestshare2/perl.d/tgz/AP820_source/Configure
>> -Dmksymlinks -Uloclibpth -Duselargefiles -Uinstallusrbinperl -Ud_sigsetjmp
>> -Dusethreads -Duseithreads -Ulocincpth -Uversion
>> -Dprefix=/plm/cinas/chucktestshare2/perl.d/pub/macos
>> -Dbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
>> -Dscriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
>> -Dsitebin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
>> -Dsitescriptbin=/plm/cinas/chucktestshare2/perl.d/pub/macos/bin
>> -Dsitelib=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
>> -Dsitearch=/plm/cinas/chucktestshare2/perl.d/pub/macos/site/lib
>> -Darchlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib
>> -Dprivlib=/plm/cinas/chucktestshare2/perl.d/pub/macos/lib -Darchname=macos
>> -DINST_VER -DUSE_SITECUST -DMULTI -DUSE_ITHREADS -DIMP_SYS -DUSE_PERLIO
>> -DUSE_LARGE_FILES -DCRYPT_SRC -DNO_HASH_SEED -DPERL_DARWIN
>> -Dusemultiplicity -Duseperlio -Dcc=/usr/bin/cc
>>
>
> I don't think this relates to the particular problem you're having, but
> I feel I ought to point out that some of those Configure arguments
> are probably not doing what you want them to do.
>
>
>> -Uversion
>>
>
> This doesn't do anything. version is the perl version number, probably
> 5.8.8 in your case. Configure doesn't allow you to undefine it.
>
>
>> -DINST_VER -DUSE_SITECUST -DMULTI -DUSE_ITHREADS -DIMP_SYS -DUSE_PERLIO
>> -DUSE_LARGE_FILES -DCRYPT_SRC -DNO_HASH_SEED -DPERL_DARWIN
>>
>
> None of these do anything useful. More specifically, they are defining
> Configure shell variables named 'INST_VER', 'USE_SITECUST', 'MULTI',
> etc. If you actually wanted to set flags for the C compiler, see the section
>
> =head2 Altering Configure variables for C compiler switches etc.
>
> in the INSTALL file.
>
> Instead of USE_SITECUST, you should use the Configure variable instead.
> See the section
>
> =item usesitecustomize
>
> in the INSTALL file.
>
> I don't know what -DMULTI is intending to do. There is no MULTI
> C preprocessor symbol.
>
> It's not necessary to add -DUSE_ITHERADS, -DUSE_PERLIO, or
> -DUSE_LARGE_FILES to the ccflags; calling the correct Configure
> variables (namely -Duseithreads, -Duseperlio, and -Duselargefiles) already
> handles that automatically through config.h.
>
> I don't know what -DIMP_SYS was intended to do. There is no IMP_SYS
> C preprocessor symbol.
>
> I don't know what -DCRYPT_SRC was intended to do. There is no CRYPT_SRC
> C preprocessor symbol.
>
> NO_HASH_SEED is indeed a valid preprocessor symbol; I don't know why you
> want it, but you'll have to use the -Accflags trick to actually
> have it do anything.
>
> The addition of -DPERL_DARWIN to the ccflags is already handled
> automatically by the hints/darwin.sh file, so you actually don't need
> that either.
>
> Anyway, there are just a few minor details to help you get Configure to
> do what you actually want.
>
>
Thread Previous
|
Thread Next