[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    [mp2] mod_perl2.o:  No such file or directory [bug?]
From:       "Fred Moyer" <fred () redhotpenguin ! com>
Date:       2007-07-13 18:41:14
Message-ID: 56203.71.139.172.64.1184352074.squirrel () www ! redhotpenguin ! com
[Download RAW message or body]

-------------8<---------- Start Bug Report ------------8<----------
1. Problem Description:

While attempting to compile mod_perl2 on os x 10.4 (tiger), I received the
following make error after most targets have been built.  I'm not sure if
an upgrade from apple in some underlying library caused this, I've been
able to build in the past with no issues and am currently stumped here.


Running Mkbootstrap for ModPerl::Const ()
chmod 644 Const.bs
rm -f ../../../blib/arch/auto/ModPerl/Const/Const.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib Const.o modperl_const.o
modperl_constants.o -L/usr/local/lib -L/opt/local/lib -o
../../../blib/arch/auto/ModPerl/Const/Const.bundle  \
        \

chmod 755 ../../../blib/arch/auto/ModPerl/Const/Const.bundle
cp Const.bs ../../../blib/arch/auto/ModPerl/Const/Const.bs
chmod 644 ../../../blib/arch/auto/ModPerl/Const/Const.bs
Running Mkbootstrap for mod_perl2 ()
chmod 644 mod_perl2.bs
rm -f blib/arch/auto/mod_perl2/mod_perl2.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib mod_perl2.o -L/usr/local/lib
-L/opt/local/lib -o blib/arch/auto/mod_perl2/mod_perl2.bundle    \
        \

i686-apple-darwin8-gcc-4.0.1: mod_perl2.o: No such file or directory
i686-apple-darwin8-gcc-4.0.1: no input files
make: *** [blib/arch/auto/mod_perl2/mod_perl2.bundle] Error 1

2. Used Components and their Configuration:

*** mod_perl version 2.000004

*** using
/Users/phred/dev/svn/modperl/mod_perl-2.0/lib/Apache2/BuildConfig.pm

*** Makefile.PL options:
  MP_APR_LIB     => aprext
  MP_APXS        => /Users/phred/dev/svn/sl/httpd2/bin/apxs
  MP_COMPAT_1X   => 1
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1


*** The httpd binary was not found


*** (apr|apu)-config linking info

 -L/Users/phred/dev/sl/httpd2/lib -laprutil-1 -lsqlite3 -lexpat -liconv
-L/usr/local/lib
 -L/Users/phred/dev/sl/httpd2/lib -lapr-1 -lpthread



*** /Users/phred/dev/perl/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=darwin, osvers=8.8.1, archname=darwin-2level
    uname='darwin pooky.redhotpenguin.com 8.8.1 darwin kernel version
8.8.1: mon sep 25 19:42:00 pdt 2006;
root:xnu-792.13.8.obj~1release_i386 i386 i386 '
    config_args='-Dprefix=/Users/phred/dev/perl/ -DDEBUGGING'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    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/include -I/opt/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/include -I/opt/local/include'
    ccversion='', gccversion='4.0.1 (Apple Computer, Inc. build 5363)',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    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.3 cc', ldflags =' -L/usr/local/lib
-L/opt/local/lib'
    libpth=/usr/local/lib /opt/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lc
    perllibs=-ldl -lm -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
  Built under darwin
  Compiled at Feb 19 2007 22:13:27
  %ENV:
    PERL5LIB=""
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /Users/phred/dev/perl/lib/5.8.8/darwin-2level
    /Users/phred/dev/perl/lib/5.8.8
    /Users/phred/dev/perl/lib/site_perl/5.8.8/darwin-2level
    /Users/phred/dev/perl/lib/site_perl/5.8.8
    /Users/phred/dev/perl/lib/site_perl
    .

*** Packages of interest status:

Apache2            : -
Apache2::Request   : 2.08
CGI                : 3.15
ExtUtils::MakeMaker: 6.30
LWP                : 5.805
mod_perl           : -
mod_perl2          : 2.000003


3. This is the core dump trace: (if you get a core dump):

  [CORE TRACE COMES HERE]

This report was generated by bin/mp2bug on Fri Jul 13 18:38:57 2007 GMT.

-------------8<---------- End Bug Report --------------8<----------

Note: Complete the rest of the details and post this bug report to
modperl <at> perl.apache.org. To subscribe to the list send an empty
email to modperl-subscribe@perl.apache.org.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic