On Tue, 31 Aug 2004, Craig Dayton wrote: > > 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
I've cc'd the apreq list on this ... The modperl_common_util.h header file should have been copied over to your $APACHE2\include directory when you installed mod_perl (assuming you compiled mod_perl yourself, and are using a version >= 1.99_15). Is there a file $APACHE2\include\modperl_common_util.h on your system (where $APACHE2 is the root of your Apache2 installation)? > ============================================================================ > > 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\TestConfigData.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/lib/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. I'm not sure what the problem is here - all of the Apache references above use E:\ as the drive, which appears correct. When you did the 'perl Makefile.PL', did a confirmation come up asking you which Apache to use? If so, was it the correct one, including the drive letter? Do you have an Apache/TestConfigData.pm somewhere on your system, either in the main Perl tree or under a .apache-test directory under, eg, C:\ or E:\? If so, does it help if you move it out of the way and run the tests again? -- best regards, randy kobes -- 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