Does anyone have an idea how to resolve either of the following errors when
building libapreq2-2.04_03-dev on either a Windows 2000 Server or on Windows
XP Pro (SP2)?

Thanks, Craig


Windows 2000 Server
Apache/2.0.49 mod_perl/1.99_15 perl/v5.8.4

The build process on W2K Server made it all the way to the 'nmake perl_glue'
step on returned the following message.

E:/Projects\libapreq2-2.04-dev\glue\perl\xsbuilder\Apache\Upload\Apache__Upl
oad.
h(20) : fatal error C1083: Cannot open include file:
'modperl_common_util.h': No
 such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
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.
NMAKE : fatal error U1077: 'E:\PROGRA~1\MICROS~4.NET\VC7\BIN\nmake.exe' :
return
 code '0x2'
Stop.

============================================================================
=========

Windows XP Professional SP2
Apache/2.0.49 mod_perl/1.99_16 perl/v5.8.4

After the 'nmake test' step the following error messages below were was
returned. For some reason the 'nmake test' process thinks the root directory
for Apache2 is on drive D: which in this case is a CD-ROM even though root
directory has been explictly specified. 

>perl makefile.pl --with-apache2=E:\Apache2
.
.
.
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.
.
.
>nmake test

22 tests run:  22 passed, 0 failed, 0 not implemented.

        cd E:\Projects\LIBAPR~1.04-
        nmake /nologo /f E:\Projects\LIBAPR~1.04-\win32\test_cgi.mak
CFG="test_c
gi - Win32 Release" APACHE="E:\Apache2"
APREQ_HOME="E:\Projects\LIBAPR~1.04-" AP
R_LIB="E:\Apache2\lib\libapr.lib" APU_LIB="E:\Apache2\lib\libaprutil.lib"
        cl.exe /nologo /MD /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D
"_MBC
S" /I"E:\Apache2\include" /I"E:\Projects\LIBAPR~1.04-\src"
/Fp"E:\Projects\LIBAP
R~1.04-\win32\libs\test_cgi.pch" /YX
/Fo"E:\Projects\LIBAPR~1.04-\win32\libs\\"
/Fd"E:\Projects\LIBAPR~1.04-\win32\libs\\" /FD /c
E:\Projects\LIBAPR~1.04-\env\t
est_cgi.c
test_cgi.c
        link.exe @E:\DOCUME~1\cadayton\LOCALS~1\Temp\nm42.tmp
        if not exist "E:\Projects\LIBAPR~1.04-\env\t\cgi-bin" mkdir
"E:\Projects
\LIBAPR~1.04-\env\t\cgi-bin"
        copy E:\Projects\LIBAPR~1.04-\win32\libs\test_cgi.exe
E:\Projects\LIBAPR
~1.04-\env\t\cgi-bin\test_cgi.exe
        1 file(s) copied.
        cd E:\Projects\LIBAPR~1.04-
        cd E:\Projects\LIBAPR~1.04-\env
        E:\Perl\bin\perl.exe t\TEST.PL -apxs E:\Apache2\bin\apxs.bat
[  debug] loading custom config data from:
'E:\Perl\site\lib\Apache\TestConfigDa
ta.pm'
[  debug] overlaying custom config data
APXS (E:\Apache2\bin\apxs.bat) query for SBINDIR failed
APXS (E:\Apache2\bin\apxs.bat) query for TARGET failed
APXS (E:\Apache2\bin\apxs.bat) query for SYSCONFDIR failed

*** at this point a dialog appear request to mount drive D ***

[  debug] configuring httpd
[  debug] can't figure out Apache revision, from string: '', using a
non-existin
g revision 0
[  debug] generating ..\c-modules\apache_httpd_test.h
[  error] configure() has failed:
Can't figure out what Apache server generation we are running at
E:/Perl/site/li
b/Apache/TestServer.pm line 98.

[warning] forcing Apache::TestConfig object save
[  debug] generating conf\apache_test_config.pm
[  debug] saving config data to apache_test_config.pm
[warning] run 't/TEST -clean' to clean up before continuing
NMAKE : fatal error U1077: 'E:\Perl\bin\perl.exe' : return code '0x1'
Stop.



--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to