hi
on my way to give a bug report on silver plate...without need
to compute pointer arithmetics in head :)
there is an error when compiling modperl 2 debug on NT
i have perl version 5.6.1 build 629 from activestate
i tried perl makefile.pl MP_INST_APACHE2=1
MP_AP_PREFIX=i:/apache2 MP_DEBUG=1
(apache 2.0.35 is compiled in debug version and installed in
i:/apache2)
I have a lot of messages like these
command line warning d00042 : ignoring unknown option -g
does this mean I have to rebuild perl itself with -Doptimize='-
g' ? (thrilling from the only idea)
without the debug flag it compiles and installs ok
best regards
pascal
below bug report
-------------8<----------Start Bug Report ------------8<-------
---
1. Problem Description:
perl makefile.pl MP_INST_APACHE2=1 MP_AP_PREFIX=i:/apache2
MP_DEBUG=1 is OK
nmake FAILS at the end see section 3
2. Used Components and their Configuration:
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_AP_PREFIX => i:/apache2
MP_DEBUG => 1
MP_GENERATE_XS => 1
MP_INST_APACHE2 => 1
MP_LIBNAME => mod_perl
MP_TRACE => 1
MP_USE_DSO => 1
*** i:/apache2/bin/Apache.exe -V
Server version: Apache/2.0.35
Server built: Apr 15 2002 15:22:46
Server's Module Magic Number: 20020329:0
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/winnt"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/apache"
-D SUEXEC_BIN="/apache/bin/suexec"
-D DEFAULT_ERRORLOG="logs/error.log"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
*** D:\Perl\bin\perl.exe -V
Summary of my perl5 (revision 5 version 6 subversion 1)
configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-
thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=undef use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=undef
usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -
D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -
DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -
DPERL_MSVCRT_READFIX',
optimize='-O1 -MD -DNDEBUG',
cppflags='-DWIN32'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8,
byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define,
longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='', ldflags ='-nologo -nodefaultlib -release -
libpath:"D:\Perl\lib\CORE" -machine:x86'
libpth="D:\Perl\lib\CORE"
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib
winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib
winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef,
ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -
release -libpath:"D:\Perl\lib\CORE" -machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS
PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS
Locally applied patches:
ActivePerl Build 629
Built under MSWin32
Compiled at Aug 20 2001 12:27:04
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
D:/Perl/lib
D:/Perl/site/lib
.
3. This is the core dump trace: (if you get a core dump):
nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cd "src/modules/perl" && NMAKE
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
link -out:..\..\..\blib\arch/Apache2
\auto\Apache\Filter\Filter.dll -dll -nologo -nodefaultlib -
release -libpath:"D:\Perl\lib\CORE" -machine:x86
Filter.obj D:\Perl\lib\CORE\perl56.lib i:\apache2
\lib\libapr.lib i:\apache2\lib\libaprutil.lib i:\apache2
\lib\libhttpd.lib I:\mod_perl-1.99_01
\src\modules\perl\mod_perl.lib D:\VC98\lib\oldnames.lib D:\VC98
\lib\kernel32.lib D:\VC98\lib\user32.lib D:\VC98\lib\gdi32.lib
D:\VC98\lib\winspool.lib D:\VC98\lib\comdlg32.lib D:\VC98
\lib\advapi32.lib D:\VC98\lib\shell32.lib D:\VC98
\lib\ole32.lib D:\VC98\lib\oleaut32.lib D:\VC98
\lib\netapi32.lib D:\VC98\lib\uuid.lib D:\VC98\lib\wsock32.lib
D:\VC98\lib\mpr.lib D:\VC98\lib\winmm.lib D:\VC98
\lib\version.lib D:\VC98\lib\odbc32.lib D:\VC98
\lib\odbccp32.lib D:\VC98\lib\msvcrt.lib -def:Filter.def
Creating library ..\..\..\blib\arch/Apache2
\auto\Apache\Filter\Filter.lib and
object ..\..\..\blib\arch/Apache2\auto\Apache\Filter\Filter.exp
Filter.obj : error LNK2001: unresolved external symbol
_MP_debug_level
..\..\..\blib\arch/Apache2\auto\Apache\Filter\Filter.dll :
fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
-------------8<----------End Bug Report --------------8<-------
---
Note: Complete the rest of the details and post this bug
report to dev
<at> perl.apache.org. To subscribe to the list send an empty
email to
[EMAIL PROTECTED]
Acc�dez au courrier �lectronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13
�/mn) ; t�l : 08 92 68 13 50 (0,34�/mn)"