http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5748
------- Additional Comments From [EMAIL PROTECTED] 2007-12-12 07:14 -------
> (In reply to comment #2)
> this is the default install of perl on Leopard, right? (just checking)
osx' perl? that buggy thing? ;-)
of course not. i haven't used it for ages -- since b4 i ever started building
SA. instead, it's my standard own-build of perl 588:
----------------------------
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=darwin, osvers=8.10.0,
archname=darwin-thread-multi-2level
uname='darwin sc.local 8.10.0 darwin kernel version 8.10.0: wed
may 23
16:50:59 pdt 2007; root:xnu-792.21.3~1release_ppc power macintosh powerpc '
config_args='-Dfirstmakefile=GNUmakefile
-Dprefix=/usr/local/perl5 ...'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define
usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/db46/include -I/usr/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN
-no-cpp-precomp
-fno-strict-aliasing -pipe -Wdeclaration-after-statement
-I/usr/local/db46/include -I/usr/local/include'
ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build
5367)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.4 cc', ldflags
='-L/usr/local/db46/lib
-L/usr/local/lib -L/usr/lib'
libpth=/usr/local/db46/lib /usr/local/lib /usr/lib
libs=-ldb -lc -lm -ldl
perllibs=-lc -lm -ldl
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
libperl=libperl.dylib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-L/usr/local/db46/lib
-L/usr/local/lib -L/usr/lib
-bundle -undefined dynamic_lookup'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
USE_ITHREADS USE_LARGE_FILES
USE_PERLIO
USE_REENTRANT_API
Built under darwin
Compiled at Aug 17 2007 16:10:22
----------------------------
compiled, obviously, befor my leopard upgrade, while still on osx 8.10.0.
i also note,
ld='env MACOSX_DEPLOYMENT_TARGET=10.4 cc'
which, for leopard, should be
... MACOSX_DEPLOYMENT_TARGET=10.5 ...
if you think it matters (i doubt it does ...), i can rebuild.
> have you built any other perl XS modules? e.g. trying installing HTML::Parser
> using CPAN.pm: "sudo cpan HTML::Parser"
many. including 'HTML::Parser'. no problems.
e.g.,
...
Module 'HTML::Parser' installed successfully
No errors installing all modules
------- Additional Comment #2 From Justin Mason 2007-12-12 03:10 [reply] -------
(In reply to comment #2)
> could it be this?
>
>
http://arstechnica.com/journals/apple.ars/2007/12/11/fix-a-potential-cpan-gotcha-on-leopard
hm. had not seen this one.
> " ... In order to get these modules working on a 64-bit machine ..."
atm, i'm not on a 64-bit CPU; _this_box is a PPC G4 ...
but what the heck. wouldn't be the 1st time i'd seen perl-voudou at work. so,
setting
setenv ARCHFLAGS '-arch i386 -arch ppc -arch ppc64 -arch x86_64'
on my leopard box, then
sa-compile --sudo -D
the fleet of errors are still there.
given where the errors start,namely,
...
Writing Makefile for Mail::SpamAssassin::CompiledRegexps::
make
cp .pm blib/lib/.pm
cc -L/usr/local/db46/lib -L/usr/local/lib -L/usr/lib Makefile
/usr/local/lib/perl/privlib/darwin-thread-multi-2level/CORE/EXTERN.h
/usr/local/lib/perl/privlib/darwin-thread-multi-2level/CORE/INTERN.h ...
...
worth noting, i _now_ have darwinsource 10.5's gcc 421 installed, so that ...
which cc
/usr/bin/cc
cc -v
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /usr/ports/gcc_42-5531/gcc_42-5531/build/obj/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/usr/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-gxx-include-dir=/usr/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=powerpc-apple-darwin9 --host=powerpc-apple-darwin9
--target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5531)
is what's been invoked in the sa-compile run.
just to test, dropping back to,
gcc_select 4.0
Default compiler has been set to:
gcc version 4.0.1 (Apple Inc. build 5465)
then, again,
sa-compile --sudo -D
same errors as b4 ...
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.