You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Frank Wiles <fr...@wiles.org> on 2004/04/07 20:42:22 UTC
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 <fr...@wiles.org>
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
Posted by Craig Dayton <ca...@starband.net>.
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:frank@wiles.org]
Sent: Friday, April 09, 2004 08:17
To: Craig Dayton
Cc: modperl@perl.apache.org
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 <fr...@wiles.org>
http://frank.wiles.org
---------------------------------
On Thu, 8 Apr 2004 19:39:25 -0700
"Craig Dayton" <ca...@starband.net> 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:frank@wiles.org]
> Sent: Wednesday, April 07, 2004 11:42
> To: modperl@perl.apache.org
> 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 <fr...@wiles.org>
> 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
Posted by Frank Wiles <fr...@wiles.org>.
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 <fr...@wiles.org>
http://frank.wiles.org
---------------------------------
On Thu, 8 Apr 2004 19:39:25 -0700
"Craig Dayton" <ca...@starband.net> 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:frank@wiles.org]
> Sent: Wednesday, April 07, 2004 11:42
> To: modperl@perl.apache.org
> 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 <fr...@wiles.org>
> 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
Posted by Stas Bekman <st...@stason.org>.
Frank Wiles wrote:
> On Fri, 9 Apr 2004 19:15:03 -0500 (CDT)
> Randy Kobes <ra...@theoryx5.uwinnipeg.ca> wrote:
>
>
>>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.
>
>
> Thanks for helping find this bug guys! So would it be safe
> for me to add that #define to DB.xs in all cases or will that
> have any bad side effects for *nix installations?
No, please wrap it into:
#ifdef WIN32
...
#endif
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
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
Posted by Frank Wiles <fr...@wiles.org>.
On Fri, 9 Apr 2004 19:15:03 -0500 (CDT)
Randy Kobes <ra...@theoryx5.uwinnipeg.ca> wrote:
> 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.
Thanks for helping find this bug guys! So would it be safe
for me to add that #define to DB.xs in all cases or will that
have any bad side effects for *nix installations?
---------------------------------
Frank Wiles <fr...@wiles.org>
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
Posted by Craig Dayton <ca...@starband.net>.
Thanks Randy,
You got it. After adding '#define SIGINT 2' to DB.xs, it compiled just
fine.
-Craig
-----Original Message-----
From: Randy Kobes [mailto:randy@theoryx5.uwinnipeg.ca]
Sent: Friday, April 09, 2004 17:15
To: Craig Dayton
Cc: 'Frank Wiles'; modperl@perl.apache.org
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
RE: Apache::DB ported to mp2
Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
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
RE: Apache::DB ported to mp2
Posted by Craig Dayton <ca...@starband.net>.
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:frank@wiles.org]
Sent: Wednesday, April 07, 2004 11:42
To: modperl@perl.apache.org
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 <fr...@wiles.org>
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