[mp2] cannot install from freebsd ports
[mp2] cannot install from freebsd ports
am 23.05.2011 12:42:14 von AM
Hello
I can't install mod_perl2 from FreeBSD 8.2 ports
mail# make
===> ap22-mod_perl2-2.0.4_2,3 depends on file:
/usr/local/lib/perl5/site_perl/5.8.9/mach/BSD/Resource.pm - found
===> ap22-mod_perl2-2.0.4_2,3 depends on file: /usr/local/sbin/apxs -
found
===> ap22-mod_perl2-2.0.4_2,3 depends on file:
/usr/local/bin/perl5.8.9 - found
===> Configuring for ap22-mod_perl2-2.0.4_2,3
Reading Makefile.PL args from @ARGV
MP_APXS = /usr/local/sbin/apxs
no conflicting prior mod_perl version found - good.
Configuring Apache/2.2.17 mod_perl/2.0.4 Perl/v5.8.9
Checking if your kit is complete...
Looks good
Subroutine MY::postamble redefined at ./Makefile.PL line 167.
Subroutine MY::constants redefined at ./Makefile.PL line 181.
[ info] generating script t/TEST
[ info] generating script ./t/cgi-bin/cookies.pl
[ info] generating script ./t/cgi-bin/next_available_port.pl
Writing Makefile for Apache::Test
Checking for File::Spec...ok
Checking for Cwd...ok
[ info] generating script t/TEST
Writing Makefile for ModPerl::Registry
Writing Makefile for APR::Base64
Writing Makefile for APR::Brigade
Writing Makefile for APR::Bucket
Writing Makefile for APR::BucketAlloc
Writing Makefile for APR::BucketType
Writing Makefile for APR::Date
Writing Makefile for APR::Error
Writing Makefile for APR::Finfo
Writing Makefile for APR::IpSubnet
Writing Makefile for APR::OS
Writing Makefile for APR::Pool
Writing Makefile for APR::SockAddr
Writing Makefile for APR::Socket
Writing Makefile for APR::Status
Writing Makefile for APR::String
Writing Makefile for APR::Table
Writing Makefile for APR::ThreadMutex
Writing Makefile for APR::ThreadRWLock
Writing Makefile for APR::URI
Writing Makefile for APR::UUID
Writing Makefile for APR::Util
Writing Makefile for APR
Writing Makefile for Apache2::Access
Writing Makefile for Apache2::CmdParms
Writing Makefile for Apache2::Command
Writing Makefile for Apache2::Connection
Writing Makefile for Apache2::ConnectionUtil
Writing Makefile for Apache2::Directive
Writing Makefile for Apache2::Filter
Writing Makefile for Apache2::FilterRec
Writing Makefile for Apache2::HookRun
Writing Makefile for Apache2::Log
Writing Makefile for Apache2::MPM
Writing Makefile for Apache2::Module
Writing Makefile for Apache2::Process
Writing Makefile for Apache2::RequestIO
Writing Makefile for Apache2::RequestRec
Writing Makefile for Apache2::RequestUtil
Writing Makefile for Apache2::Response
Writing Makefile for Apache2::ServerRec
Writing Makefile for Apache2::ServerUtil
Writing Makefile for Apache2::SubProcess
Writing Makefile for Apache2::SubRequest
Writing Makefile for Apache2::URI
Writing Makefile for Apache2::Util
Writing Makefile for Apache2
Writing Makefile for ModPerl::Global
Writing Makefile for ModPerl::Util
Writing Makefile for ModPerl
Writing Makefile for ModPerl::WrapXS
Unrecognized argument in LIBS ignored: '-pthread'
Writing Makefile for APR
Writing Makefile for APR::Const
Writing Makefile for APR::PerlIO
Writing Makefile for libaprext
Writing Makefile for APR_build
Writing Makefile for Apache2::Const
Writing Makefile for Apache2_build
Writing Makefile for ModPerl::Const
Writing Makefile for ModPerl
Writing Makefile for ModPerl::XS
Undefined subroutine &version::_VERSION called at ./Makefile.PL line
697.
*** Error code 2
Stop in /usr/ports/www/mod_perl2.
OS runnnig:
FreeBSD mail 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Fri Mar 4 18:32:05
EET 2011
Perl version:
mail# perl -V
Summary of my perl5 (revision 5 version 8 subversion 9) configuration:
Platform:
osname=freebsd, osvers=8.2-release,
archname=i386-freebsd-thread-multi-64int
uname='freebsd mail 8.2-release freebsd 8.2-release #2: fri mar 4
18:32:05 eet 2011 mail@mail :usrobjusrsrcsys i386 '
config_args='-sde -Dprefix=/usr/local
-Darchlib=/usr/local/lib/perl5/5.8.9/mach
-Dprivlib=/usr/local/lib/perl5/5.8.9
-Dman3dir=/usr/local/lib/perl5/5.8.9/perl/man/man3
-Dman1dir=/usr/local/man/man1
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.9/mach
-Dsitelib=/usr/local/lib/perl5/site_perl/5.8.9
-Dscriptdir=/usr/local/bin
-Dsiteman3dir=/usr/local/lib/perl5/5.8.9/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv
-Uinstallusrbinperl -Dcc=cc -Duseshrplib -Dinc_version_list=none
-Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN"
-Doptimize=-O2 -pipe -fno-strict-aliasing -Ud_dosuid -Ui_gdbm
-Dusethreads=y -Dusemymalloc=n -Duse64bitint'
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=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags
='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-O2 -pipe -fno-strict-aliasing',
cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-I/usr/local/include'
ccversion='', gccversion='4.2.1 20070719 [FreeBSD]',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-pthread -Wl,-E -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lgdbm -lm -lcrypt -lutil
perllibs=-lm -lcrypt -lutil
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-R/usr/local/lib/perl5/5.8.9/mach/CORE'
cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
USE_64_BIT_INT USE_FAST_STDIO USE_ITHREADS
USE_LARGE_FILES USE_PERLIO USE_REENTRANT_API
Locally applied patches:
defined-or
Built under freebsd
Compiled at May 22 2011 14:07:02
@INC:
/usr/local/lib/perl5/5.8.9/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.9/mach
/usr/local/lib/perl5/site_perl/5.8.9
/usr/local/lib/perl5/5.8.9/mach
/usr/local/lib/perl5/5.8.9
.
Thanks in advance
--
------------------------------------------------------------ --------------
_____________
Andrei Moraru
------------------------------------------------------------ --------------
Re: [mp2] cannot install from freebsd ports
am 23.05.2011 16:33:11 von Fred Moyer
On Mon, May 23, 2011 at 3:42 AM, am wrote:
> Hello
>
> I can't install mod_perl2 from FreeBSD 8.2 ports
It looks like FreeBSD ports was very recently updated to 2.0.5:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/mod_perl2/pk g-plist
Are you able to specify 2.0.5 in your ports install? (note I know
little about FreeBSD ports).
>
> mail# make
> ===3D> =A0 ap22-mod_perl2-2.0.4_2,3 depends on file:
> /usr/local/lib/perl5/site_perl/5.8.9/mach/BSD/Resource.pm - found
> ===3D> =A0 ap22-mod_perl2-2.0.4_2,3 depends on file: /usr/local/sbin/=
apxs -
> found
> ===3D> =A0 ap22-mod_perl2-2.0.4_2,3 depends on file: /usr/local/bin/p=
erl5.8.9 -
> found
> ===3D> =A0Configuring for ap22-mod_perl2-2.0.4_2,3
> Reading Makefile.PL args from @ARGV
> =A0 MP_APXS =3D /usr/local/sbin/apxs
> no conflicting prior mod_perl version found - good.
> Configuring Apache/2.2.17 mod_perl/2.0.4 Perl/v5.8.9
> Checking if your kit is complete...
> Looks good
> Subroutine MY::postamble redefined at ./Makefile.PL line 167.
> Subroutine MY::constants redefined at ./Makefile.PL line 181.
> [ =A0 info] generating script t/TEST
> [ =A0 info] generating script ./t/cgi-bin/cookies.pl
> [ =A0 info] generating script ./t/cgi-bin/next_available_port.pl
> Writing Makefile for Apache::Test
> Checking for File::Spec...ok
> Checking for Cwd...ok
> [ =A0 info] generating script t/TEST
> Writing Makefile for ModPerl::Registry
> Writing Makefile for APR::Base64
> Writing Makefile for APR::Brigade
> Writing Makefile for APR::Bucket
> Writing Makefile for APR::BucketAlloc
> Writing Makefile for APR::BucketType
> Writing Makefile for APR::Date
> Writing Makefile for APR::Error
> Writing Makefile for APR::Finfo
> Writing Makefile for APR::IpSubnet
> Writing Makefile for APR::OS
> Writing Makefile for APR::Pool
> Writing Makefile for APR::SockAddr
> Writing Makefile for APR::Socket
> Writing Makefile for APR::Status
> Writing Makefile for APR::String
> Writing Makefile for APR::Table
> Writing Makefile for APR::ThreadMutex
> Writing Makefile for APR::ThreadRWLock
> Writing Makefile for APR::URI
> Writing Makefile for APR::UUID
> Writing Makefile for APR::Util
> Writing Makefile for APR
> Writing Makefile for Apache2::Access
> Writing Makefile for Apache2::CmdParms
> Writing Makefile for Apache2::Command
> Writing Makefile for Apache2::Connection
> Writing Makefile for Apache2::ConnectionUtil
> Writing Makefile for Apache2::Directive
> Writing Makefile for Apache2::Filter
> Writing Makefile for Apache2::FilterRec
> Writing Makefile for Apache2::HookRun
> Writing Makefile for Apache2::Log
> Writing Makefile for Apache2::MPM
> Writing Makefile for Apache2::Module
> Writing Makefile for Apache2::Process
> Writing Makefile for Apache2::RequestIO
> Writing Makefile for Apache2::RequestRec
> Writing Makefile for Apache2::RequestUtil
> Writing Makefile for Apache2::Response
> Writing Makefile for Apache2::ServerRec
> Writing Makefile for Apache2::ServerUtil
> Writing Makefile for Apache2::SubProcess
> Writing Makefile for Apache2::SubRequest
> Writing Makefile for Apache2::URI
> Writing Makefile for Apache2::Util
> Writing Makefile for Apache2
> Writing Makefile for ModPerl::Global
> Writing Makefile for ModPerl::Util
> Writing Makefile for ModPerl
> Writing Makefile for ModPerl::WrapXS
> Unrecognized argument in LIBS ignored: '-pthread'
> Writing Makefile for APR
> Writing Makefile for APR::Const
> Writing Makefile for APR::PerlIO
> Writing Makefile for libaprext
> Writing Makefile for APR_build
> Writing Makefile for Apache2::Const
> Writing Makefile for Apache2_build
> Writing Makefile for ModPerl::Const
> Writing Makefile for ModPerl
> Writing Makefile for ModPerl::XS
> Undefined subroutine &version::_VERSION called at ./Makefile.PL line 697.
> *** Error code 2
>
> Stop in /usr/ports/www/mod_perl2.
>
>
> OS runnnig:
> FreeBSD mail 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Fri Mar =A04 18:32:05 EE=
T
> 2011
>
> Perl version:
> mail# perl -V
> Summary of my perl5 (revision 5 version 8 subversion 9) configuration:
> =A0Platform:
> =A0 =A0osname=3Dfreebsd, osvers=3D8.2-release,
> archname=3Di386-freebsd-thread-multi-64int
> =A0 =A0uname=3D'freebsd mail 8.2-release freebsd 8.2-release #2: fri mar =
4
> 18:32:05 eet 2011 mail@mail :usrobjusrsrcsys i386 '
> =A0 =A0config_args=3D'-sde -Dprefix=3D/usr/local
> -Darchlib=3D/usr/local/lib/perl5/5.8.9/mach
> -Dprivlib=3D/usr/local/lib/perl5/5.8.9
> -Dman3dir=3D/usr/local/lib/perl5/5.8.9/perl/man/man3
> -Dman1dir=3D/usr/local/man/man1
> -Dsitearch=3D/usr/local/lib/perl5/site_perl/5.8.9/mach
> -Dsitelib=3D/usr/local/lib/perl5/site_perl/5.8.9 -Dscriptdir=3D/usr/local=
/bin
> -Dsiteman3dir=3D/usr/local/lib/perl5/5.8.9/man/man3
> -Dsiteman1dir=3D/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinp=
erl
> -Dcc=3Dcc -Duseshrplib -Dinc_version_list=3Dnone
> -Dccflags=3D-DAPPLLIB_EXP=3D"/usr/local/lib/perl5/5.8.9/BSDP AN" -Doptimiz=
e=3D-O2
> -pipe -fno-strict-aliasing -Ud_dosuid -Ui_gdbm -Dusethreads=3Dy
> -Dusemymalloc=3Dn -Duse64bitint'
> =A0 =A0hint=3Drecommended, useposix=3Dtrue, d_sigaction=3Ddefine
> =A0 =A0usethreads=3Ddefine use5005threads=3Dundef useithreads=3Ddefine
> usemultiplicity=3Ddefine
> =A0 =A0useperlio=3Ddefine d_sfio=3Dundef uselargefiles=3Ddefine usesocks=
=3Dundef
> =A0 =A0use64bitint=3Ddefine use64bitall=3Dundef uselongdouble=3Dundef
> =A0 =A0usemymalloc=3Dn, bincompat5005=3Dundef
> =A0Compiler:
> =A0 =A0cc=3D'cc', ccflags =3D'-DAPPLLIB_EXP=3D"/usr/local/lib/perl5/5.8.9=
/BSDPAN"
> -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
> -I/usr/local/include',
> =A0 =A0optimize=3D'-O2 -pipe -fno-strict-aliasing',
> =A0 =A0cppflags=3D'-DAPPLLIB_EXP=3D"/usr/local/lib/perl5/5.8.9/B SDPAN"
> -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
> -I/usr/local/include'
> =A0 =A0ccversion=3D'', gccversion=3D'4.2.1 20070719 =A0[FreeBSD]', gccosa=
ndvers=3D''
> =A0 =A0intsize=3D4, longsize=3D4, ptrsize=3D4, doublesize=3D8, byteorder=
=3D12345678
> =A0 =A0d_longlong=3Ddefine, longlongsize=3D8, d_longdbl=3Ddefine, longdbl=
size=3D12
> =A0 =A0ivtype=3D'long long', ivsize=3D8, nvtype=3D'double', nvsize=3D8, O=
ff_t=3D'off_t',
> lseeksize=3D8
> =A0 =A0alignbytes=3D4, prototype=3Ddefine
> =A0Linker and Libraries:
> =A0 =A0ld=3D'cc', ldflags =3D'-pthread -Wl,-E =A0-L/usr/local/lib'
> =A0 =A0libpth=3D/usr/lib /usr/local/lib
> =A0 =A0libs=3D-lgdbm -lm -lcrypt -lutil
> =A0 =A0perllibs=3D-lm -lcrypt -lutil
> =A0 =A0libc=3D, so=3Dso, useshrplib=3Dtrue, libperl=3Dlibperl.so
> =A0 =A0gnulibc_version=3D''
> =A0Dynamic Linking:
> =A0 =A0dlsrc=3Ddl_dlopen.xs, dlext=3Dso, d_dlsymun=3Dundef, ccdlflags=3D'
> =A0-Wl,-R/usr/local/lib/perl5/5.8.9/mach/CORE'
> =A0 =A0cccdlflags=3D'-DPIC -fPIC', lddlflags=3D'-shared =A0-L/usr/local/l=
ib'
>
>
> Characteristics of this binary (from libperl):
> =A0Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT PERL_MALLOC_W=
RAP
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0USE_64_BIT_INT USE_FAST_ST=
DIO USE_ITHREADS
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0USE_LARGE_FILES USE_PERLIO=
USE_REENTRANT_API
> =A0Locally applied patches:
> =A0 =A0 =A0 =A0defined-or
> =A0Built under freebsd
> =A0Compiled at May 22 2011 14:07:02
> =A0@INC:
> =A0 =A0/usr/local/lib/perl5/5.8.9/BSDPAN
> =A0 =A0/usr/local/lib/perl5/site_perl/5.8.9/mach
> =A0 =A0/usr/local/lib/perl5/site_perl/5.8.9
> =A0 =A0/usr/local/lib/perl5/5.8.9/mach
> =A0 =A0/usr/local/lib/perl5/5.8.9
> =A0 =A0.
>
> Thanks in advance
> --
> ------------------------------------------------------------ -------------=
-
> _____________
>
> Andrei Moraru
> ------------------------------------------------------------ -------------=
-
>
>
Re: [mp2] cannot install from freebsd ports
am 23.05.2011 16:39:27 von a.smith
Quoting Fred Moyer :
>
> It looks like FreeBSD ports was very recently updated to 2.0.5:
>
> http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/mod_perl2/pk g-plist
>
> Are you able to specify 2.0.5 in your ports install? (note I know
> little about FreeBSD ports).
>
Well spotted. This means the ports tree is out of date, and should be
updated (ie via portsnap).
ta Andy.
Re: [mp2] cannot install from freebsd ports
am 23.05.2011 22:47:23 von AM
Solved.
The problem was solved by upgrading to perl5.10 and reinstalling all
dependent ports on system
--
------------------------------------------------------------ --------------
_____________
Andrei Moraru
------------------------------------------------------------ --------------
On Mon, 23 May 2011 15:39:27 +0100, a.smith@ukgrid.net wrote:
> Quoting Fred Moyer :
>>
>> It looks like FreeBSD ports was very recently updated to 2.0.5:
>>
>> http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/mod_perl2/pk g-plist
>>
>> Are you able to specify 2.0.5 in your ports install? (note I know
>> little about FreeBSD ports).
>>
>
> Well spotted. This means the ports tree is out of date, and should be
> updated (ie via portsnap).
>
> ta Andy.