FAQ

On 08/12/10 18:31, Randal L. Schwartz wrote:
"Philip" == Philip M Gollucci <pgollucci@p6m7g8.com> writes:
Philip> Actually just perl -V and Makefile.PL args will do.

Philip> I'm sure you've got a PERL w/o ITHREADS but you do have
Philip> PERL_IMPLICIT_CONTEXT/MULTIPLICITY which is something we don't support
Philip> due too an error in 1st days of mod_perl 2.x where these #if flags were
Philip> used incorrect through the whole codebase.

Philip> The fix here is since you're not using ITHREADS, you can drop the
Philip> MULTIPLICITY and CONTEXT in your perl compiles. Them mp will
Philip> work.

Can't do that. Need MULTIPLICITY for Postgresql pg/perl embedded.

Now what?
Compile in ITHREADS, or spend a few months fixing the usage of those 3
in the entire code base. Its likely something we'll never fix in mp2.
Maybe mp3 or after 2.0.5 if someone pays me or some else to sit down and
do it.





Here's my perl -V:

Summary of my perl5 (revision 5 version 10 subversion 1) configuration:

Platform:
osname=darwin, osvers=10.4.0, archname=darwin-multi-2level
uname='darwin locohost.local 10.4.0 darwin kernel version 10.4.0:
fri apr 23 18:28:53 pdt 2010; root:xnu-1504.7.4~1release_i386 i386 '
config_args='-Duseshrplib -des -Dprefix=/opt/local
-Dscriptdir=/opt/local/bin -Dcppflags=-I/opt/local/include
-Dccflags=-pipe -O2 -arch x86_64 -Dldflags=-L/opt/local/lib -arch
x86_64 -Dvendorprefix=/opt/local -Dusemultiplicity=y -D
cc=/usr/bin/gcc-4.2 -D ld=/usr/bin/gcc-4.2 -D man1ext=1pm -D
man3ext=3pm -D man1dir=/opt/local/share/man/man1p -D
man3dir=/opt/local/share/man/man3p -D
siteman1dir=/opt/local/share/man/man1 -D
siteman3dir=/opt/local/share/man/man3 -D
vendorman1dir=/opt/local/share/man/man1 -D
vendorman3dir=/opt/local/share/man/man3 -D pager=/usr/bin/less -sR'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='/usr/bin/gcc-4.2', ccflags ='-pipe -O2 -arch x86_64 -fno-common
-DPERL_DARWIN -I/opt/local/include -no-cpp-precomp
-fno-strict-aliasing -fstack-protector -I/opt/local/include',
optimize='-O3',
cppflags='-I/opt/local/include -no-cpp-precomp -pipe -O2 -arch
x86_64 -fno-common -DPERL_DARWIN -I/opt/local/include
-no-cpp-precomp -fno-strict-aliasing -fstack-protector
-I/opt/local/include'
ccversion='', gccversion='4.2.1 (Apple Inc. build 5659)',
gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.6 /usr/bin/gcc-4.2', ldflags
='-L/opt/local/lib -arch x86_64 -fstack-protector'
libpth=/opt/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
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/opt/local/lib -arch x86_64 -bundle
-undefined dynamic_lookup -fstack-protector'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
Built under darwin
Compiled at Jun 30 2010 15:04:49
%ENV:
PERL5LIB="/opt/perl/lib"
@INC:
/opt/perl/lib/5.10.1/darwin-multi-2level
/opt/perl/lib/5.10.1
/opt/perl/lib/darwin-multi-2level
/opt/perl/lib
/opt/local/lib/perl5/site_perl/5.10.1/darwin-multi-2level
/opt/local/lib/perl5/site_perl/5.10.1
/opt/local/lib/perl5/vendor_perl/5.10.1/darwin-multi-2level
/opt/local/lib/perl5/vendor_perl/5.10.1
/opt/local/lib/perl5/vendor_perl
/opt/local/lib/perl5/5.10.1/darwin-multi-2level
/opt/local/lib/perl5/5.10.1
.

- --
- ------------------------------------------------------------------------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollucci@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer, FreeBSD Foundation
Consultant, P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 11 of 16 | next ›
Discussion Overview
groupdev @
categoriesmodperl, perl
postedAug 8, '10 at 1:15a
activeAug 12, '10 at 6:54p
posts16
users4
websiteperl.apache.org

People

Translate

site design / logo © 2019 Grokbase