RE: Apache::DB ported to mp2

2004-04-08 Thread Craig Dayton
Hi Frank,

Thanks for the Update.

In compiling with 'VS .Net 2003', the error shown below is generated.


-Craig


E:\Perl\cpan\build\Apache-DB-0.07>nmake

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation.  All rights reserved.

cl -c-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
-DNO_ST
RICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO
-DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1-DVERSION=\"0.07\"
-DXS_VERSION=\
"0.07\"  "-IE:\Perl\lib\CORE"   DB.c
DB.c
DB.xs(55) : error C2065: 'SIGINT' : undeclared identifier
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

-Original Message-
From: Frank Wiles [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 07, 2004 11:42
To: [EMAIL PROTECTED]
Subject: Apache::DB ported to mp2



  Hi Everyone, 

  I've ported Apache::DB to work with mp1 and mp2.  I've done some 
  initial testing, but would appreciate anyone interested to give 
  it a whirl.  Let me know if you run into any problems. 

  Note that I haven't ported Apache::DProf or Apache::SmallProf
  yet, but plan on doing those in the next few weeks as time
  permits. 

  You can grab it at: 

  http://cpan.org/authors/id/F/FW/FWILES/Apache-DB-0.07.tar.gz

  Once I've done a bit more testing and get the other modules ported
  it will be released on CPAN for general consumption. 

 -
   Frank Wiles <[EMAIL PROTECTED]>
   http://frank.wiles.org
 -


-- 
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


-- 
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



RE: Apache::DB ported to mp2

2004-04-09 Thread Craig Dayton
Frank,

I get the same error exact error with Apache::DB 0.06.  Compress-Zlib-1.33
has compiled & installed successfully just now and it appears to be using
XS.

VS .Net (prior version) is generating the same error too.

Note: The option '-Gf' was changed to '-GF' in the makefile because the
compiler didn't like '-Gf'.  I don't mind doing compile tests, if you need
that support.

-Craig

-Original Message-
From: Frank Wiles [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 08:17
To: Craig Dayton
Cc: [EMAIL PROTECTED]
Subject: Re: Apache::DB ported to mp2



  Hi Craig, 

  I didn't have to make any changes to the XS code on this module to
  port it to mp2.  Can you do me a favor and grab Apache::DB 0.06 and
  see if you get the same error? 

  Not being a Windows user or even having access to a Windows
  installation with a compiler, this is going to be difficult for me
  to track down. I'm assuming you've built other CPAN modules that
  have C/XS components on this system with that compiler before without
  problems? 

  Does anyone know if XS generates C code that .net 2003 can compile? 

 -
   Frank Wiles <[EMAIL PROTECTED]>
   http://frank.wiles.org
 -----

On Thu, 8 Apr 2004 19:39:25 -0700
"Craig Dayton" <[EMAIL PROTECTED]> wrote:

> Hi Frank,
> 
> Thanks for the Update.
> 
> In compiling with 'VS .Net 2003', the error shown below is generated.
> 
> 
> -Craig
> 
> 
> E:\Perl\cpan\build\Apache-DB-0.07>nmake
> 
> Microsoft (R) Program Maintenance Utility Version 7.10.3077 Copyright 
> (C) Microsoft Corporation.  All rights reserved.
> 
> cl -c-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
> -D_CONSOLE
> -DNO_ST
> RICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS 
> -DUSE_PERLIO
> -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1-DVERSION=\"0.07\"
> -DXS_VERSION=\
> "0.07\"  "-IE:\Perl\lib\CORE"   DB.c
> DB.c
> DB.xs(55) : error C2065: 'SIGINT' : undeclared identifier NMAKE : 
> fatal error U1077: 'cl' : return code '0x2' Stop.
> 
> -Original Message-
> From: Frank Wiles [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, April 07, 2004 11:42
> To: [EMAIL PROTECTED]
> Subject: Apache::DB ported to mp2
> 
> 
> 
>   Hi Everyone,
> 
>   I've ported Apache::DB to work with mp1 and mp2.  I've done some 
>   initial testing, but would appreciate anyone interested to give 
>   it a whirl.  Let me know if you run into any problems.
> 
>   Note that I haven't ported Apache::DProf or Apache::SmallProf
>   yet, but plan on doing those in the next few weeks as time
>   permits.
> 
>   You can grab it at:
> 
>   http://cpan.org/authors/id/F/FW/FWILES/Apache-DB-0.07.tar.gz
> 
>   Once I've done a bit more testing and get the other modules ported
>   it will be released on CPAN for general consumption.
> 
>  -
>Frank Wiles <[EMAIL PROTECTED]>
>http://frank.wiles.org
>  -


-- 
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



RE: Apache::DB ported to mp2

2004-04-09 Thread Craig Dayton
Thanks Randy,

You got it.  After adding '#define SIGINT 2' to DB.xs, it compiled just
fine.

-Craig 

-Original Message-
From: Randy Kobes [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 09, 2004 17:15
To: Craig Dayton
Cc: 'Frank Wiles'; [EMAIL PROTECTED]
Subject: RE: Apache::DB ported to mp2


On Thu, 8 Apr 2004, Craig Dayton wrote:

> Hi Frank,
>
> Thanks for the Update.
> In compiling with 'VS .Net 2003', the error shown below is generated. 
> E:\Perl\cpan\build\Apache-DB-0.07>nmake
>
> cl -c-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE
> -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT 
> -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi 
> -DNDEBUG -O1 -DVERSION=\"0.07\" -DXS_VERSION=\ "0.07\" 
> "-IE:\Perl\lib\CORE"  DB.c DB.c
> DB.xs(55) : error C2065: 'SIGINT' : undeclared identifier

This needs the definition of SIGINT in signal.h on Win32.
For some reason just including signal.h results for me
in a syntax error, probably because of some other header
files also being needed, but as a workaround, putting in
  #define SIGINT 2
in DB.xs will allow it to compile.

-- 
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



Win32 build problems libapreq2-2.04_03-dev

2004-08-31 Thread Craig Dayton

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



RE: Win32 build problems libapreq2-2.04_03-dev

2004-09-08 Thread Craig Dayton

After updating both Apache2 and mod_perl on the W2K Server, there are still
some problems in building libarpeq2-2.04_03-dev on Win32.

Current software levels are:
Apache/2.0.50 (Win32) mod_perl/1.99_16 Perl/v5.8.4 Server 

When invoking 'nmake perl_glue', 'nmake perl_test', or nmake perl_install
each will return the same error message. Nmake correctly detects that
Apache2 is installed at 'E:\Apache2'.
.
.
.
>nmake perl_glue
writing...xs//Makefile.PL
writing...xs/Apache/Makefile.PL
[   info] generating script t/TEST
Can't find the mod_perl include dir (reason: path D:\Apache2\include doesn't
exi
st) at E:/Perl/site/lib/Apache2/Apache/Build.pm line 1715.
NMAKE : fatal error U1077: 'E:\Perl\bin\perl.exe' : return code '0x2' 

If this error message is indeed attempting to find files in the directory,
'D:\Apache2\include', it won't because the directory doesn't exist.  Its not
clear to me where the build process is picking up the reference to
'D:\Apache2\include'.

Scanning both the directories 'E:\Perl' and 'E:\Apache2' for 'D:\Apache2',
the file
'E:\Perl\site\lib\Apache2\auto\libaprext\extralibs.ld' was found to contain
references to 'D:\Apache2\lib'. After correcting the invalid references, the
problem still exists.

Windows XP Pro is having the exact same problem too.

Thanks, Craig

   

>-Original Message-
>From: Randy Kobes [mailto:[EMAIL PROTECTED] 
>Sent: Wednesday, September 01, 2004 21:15
>To: Craig Dayton
>Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: RE: Win32 build problems libapreq2-2.04_03-dev
>
>
>On Wed, 1 Sep 2004, Craig Dayton wrote:
>
>> Hi Randy,
>>
>> For the Windows 2000 Server system its running mod_perl/1.99_14, so 
>> this explains the missing file problem.  The current 
>mod_perl will get 
>> built on this system.
>
>Great - that should resolve that problem ...
>
>> >
>> >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?
>>
>> Yes & Yes.
>>
>> I tried 'perl Makefile.PL' and it found the correct Apache2 location 
>> and I responded 'yes' to the prompt. Also, I tried 'perl Makefile.PL 
>> --with-Apache2=E:/Apache2'.  In both cases its trying to find Apache 
>> on a another drive.  In the first instance, it was expecting Apache2 
>> on drive Z: which was a valid network drive. After disconnecting the 
>> network drive Z:, the second attempt was expecting Apache to be on 
>> drive D: (CD-ROM).
>
>I take it this is at the
>   nmake test
>stage? I can't see why it would be looking in different
>drives at this point; it's already found Apache ...
>
>>
>> >> [  debug] can't figure out Apache revision, from string: 
>'', using 
>> >> a non-existin g revision 0
>>
>> Its interesting that an empty string is referenced in the output 
>> above.
>>
>> >
>> >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?
>>
>> No. TestConfigData.pm is only located at 'E:\Perl\site\lib\Apache\'. 
>> Looking at this module, I see the following:
>>
>> "$Apache::TestConfigData::vars = {'httpd' => 
>> '\Apache2\bin\Apache.EXE',};" I tried changing this to 
>> 'E:\Apache2\bin\Apache.EXE'.  This didn't help.
>
>What if you tried moving this file completely away?
>
>> I tried adding 'E:\Apache2\bin' to the Path environmental variable 
>> just see if that might help. It didn't.  The 'nmake test' is still 
>> failing for the same apparent reason of not being able to resolve 
>> Apache2's location.  Also, I find it interesting that 
>apxs.bat failed 
>> its 3 query attempts too.
>>
>> Thanks, Craig
>
>The problem with apxs.bat on Win32 is related to something
>that changed recently in Apache-Test; I haven't been able to 
>trace why these warnings are arising ...
>
>To try to eliminate one possibility, what happens if you
>move $APACHE2\bin\apxs.bat somewhere outside of the PATH,
>and then do
>   nmake perl_glue
>   nmake perl_test
>That should work - it's only the
>   nmake test
>target that requires apxs.
>
>Also, there's a file $APACHE2\build\config_vars.mak with 
>various settings used by apxs - for those that reference a 
>drive, is the letter correct?
>
>-- 
>best regards,
>randy
>
>-- 
>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
>


--
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