On Mon, 17 Mar 2003 10:34:38 +1100, "Stas Bekman" <[EMAIL PROTECTED]> said:

> You will need to provide more information about the cause of the problem.
> Your 
> analysis could be much more useful if it was placed into some context.
> e.g. I 
> have no clue how did you try to invoked 'perl Makefile.PL', where your 
> installed Apache resides, what OS you use, etc. The following guidelines 
> should help you to figure out, what information you should supply.
> http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems

   ok...  Linux Suse 8.1 

    apache2   updated from CVS 3/16/03  ' cvs up -dP'
                       source tree  /home/kermit/cvs_stuff/httpd-2.0
                       install_home  /usr/local/apache2
    mod_perl2  updated from CVS 3/16/03  'cvs up -dP

  using script : 
##########################################
       cd httpd-2.0
         cvs up -dP
          make clean && ./buildconf
          ./configure --prefix=/usr/local/apache2 --with-mpm=prefork
          --enable-modules=mod_info
          make && make install
        cd ../modperl-2.0
       cvs up -dP
        make clean
       perl Makefile.PL
       make && make install
###########################################

    error is noticed on "make install in modperl-2.0'
    manual edit of Makefile to  add correct path of APACHE_INCLUDEDIR
    allows completion of   ' make  install
##############################################
   two files appended inline    as per/faq
              mybugreport  (t/REPORT output)

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


  make  && make install fails in one small area.
  files are not copied to a directory because "APACHE_INCLUDEDIR"
  is an empty string.
  
 + APACHE_INCLUDEDIR is built by Makefile.PL by use of the 'macro' hash
   in the call of ModPerl::MM:WriteMakefile
    APACHE_INCLUDEDIR  => $build->apxs('-q' => 'includedir'),

 +  $build->apxs('-q' => X  for all X) returns an empty string

 +  $APACHE2_SOURCE_TREE/support/apxs and $APACHE2_INSTALLED/bin/apxs
    return the correct string  "/usr/local/apache2/include'

2. Used Components and their Configuration:

*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
  MP_GENERATE_XS => 1
  MP_LIBNAME     => mod_perl
  MP_USE_DSO     => 1
  MP_USE_STATIC  => 1


*** The httpd binary was not found


*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.19, archname=i586-linux-thread-multi
    uname='linux bloembergen 2.4.19 #1 mon apr 15 08:57:26 gmt 2002 i686
    unknown '
    config_args='-ds -e -Dprefix=/usr -Dusethreads -Di_db -Di_dbm
    -Di_ndbm -Di_gdbm -Duseshrplib=true'
    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 ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O3 --pipe',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing'
    ccversion='', gccversion='3.2', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
    lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib /usr/local/lib
    libs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.2.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
    -Wl,-rpath,/usr/lib/perl5/5.8.0/i586-linux-thread-multi/CORE'
    cccdlflags='-fPIC', lddlflags='-shared'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
  PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Sep  9 2002 18:13:56
  %ENV:
    PERL5LIB="/home/kermit/.perllib"
    PERL_LWP_USE_HTTP_10="1"
  @INC:
    /home/kermit/.perllib
    /usr/lib/perl5/5.8.0/i586-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl
    .


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

  [CORE TRACE COMES HERE]

This report was generated by t/REPORT on Mon Mar 17 02:15:21 2003 GMT.

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

included excerpt of Makefile as generated by Makefile.PL 

notice that  APACHE_INCLUDEDIR=>q[ ]  which WriteMakefile generates as
 " APACHE_INCLUDIR =                  "

###############################################################

 It was generated automatically by MakeMaker version
# 6.05 (Revision: 1.69) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
#       ANY CHANGES MADE HERE WILL BE LOST!
#
#   MakeMaker ARGV: ()
#
#   MakeMaker Parameters:

#     CCFLAGS => q[ -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing 
-DMOD_PERL]
#     DIR => [q[Apache-Test], q[ModPerl-Registry], q[WrapXS], q[xs]]
#     INC => q[-I/home/kermit/cvs_stuff/modperl-2.0/src/modules/perl
-I/home/kermit/cvs_stuff/modperl-2.0/xs
-I/home/kermit/cvs_stuff/modperl-2.0/../httpd-2.0/include
-I/home/kermit/cvs_stuff/modperl-2.0/../httpd-2.0/srclib/apr/include
-I/home/kermit/cvs_stuff/modperl-2.0/../httpd-2.0/srclib/apr-util/include
-I/home/kermit/cvs_stuff/modperl-2.0/../httpd-2.0/os/unix]
#     LDDLFLAGS => q[-shared]
#     LIBS => q[ ]
#     NAME => q[mod_perl]
#     OPTIMIZE => q[-O3 --pipe]
#     TYPEMAPS => [q[/home/kermit/cvs_stuff/modperl-2.0/xs/typemap]]
#     VERSION => q[1.99_09-dev]
#     clean => { FILES=>q[src/modules/perl/Makefile.modperl
src/modules/perl/ldopts lib/Apache/BuildConfig.pm lib/typemap
xs/apache_global.exp xs/apache_inline.exp xs/apache_ithreads.exp
xs/modperl_global.exp xs/modperl_inline.exp xs/modperl_ithreads.exp
xs/apache.def xs/modperl.def src/modules/perl/modperl_hooks.c
src/modules/perl/modperl_directives.c src/modules/perl/modperl_flags.c
src/modules/perl/modperl_xsinit.c src/modules/perl/modperl_constants.c
src/modules/perl/modperl_hooks.h src/modules/perl/modperl_directives.h
src/modules/perl/modperl_flags.h src/modules/perl/modperl_trace.h
src/modules/perl/modperl_constants.h] }
#     dist => { DIST_DEFAULT=>q[mydist], COMPRESS=>q[gzip -9f],
SUFFIX=>q[gz] }
#     dynamic_lib => { OTHERLDFLAGS=>q[] }
#     macro => { MODPERL_MAKEFILE=>q[Makefile.modperl],
MODPERL_XS_H_FILES=>q[xs/modperl_xs_sv_convert.h \     
xs/modperl_xs_typedefs.h \      xs/modperl_xs_util.h],
APACHE_INCLUDEDIR=>q[], PERL=>q[/usr/bin/perl], APACHE_PREFIX=>q[],
MOD_INSTALL=>q[$(PERL) -I$(INST_LIB) -I$(PERL_LIB) \ -e "BEGIN { eval
{require Apache2} } use ModPerl::MM; \
ModPerl::MM::install([EMAIL PROTECTED],'$(VERBINST)',0,'$(UNINST)');" ],
MODPERL_SRC=>q[src/modules/perl], MAKE_F=>q[$(MAKE) -f],
APACHE_LIBDIR=>q[], MODPERL_LIBMAKE=>q[$(MAKE) -f $(MODPERL_MAKEFILE)] }

####################################################
-- 
  Kermit  Tensmeyer
  [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to