compiling modules for activeperl
compiling modules for activeperl
am 03.04.2007 00:19:36 von Mathieu Longtin
--===============1089965428==
Content-Type: multipart/alternative;
boundary="----=_Part_13189_29882209.1175552376866"
------=_Part_13189_29882209.1175552376866
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I'm trying to compile and debug DBD::SQLite using Activeperl on windows.
What compiler should I be using to generate compatible DLLs?
Thanks
--
Mathieu Longtin
------=_Part_13189_29882209.1175552376866
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I'm trying to compile and debug DBD::SQLite using Activeperl on windows.
What compiler should I be using to generate compatible DLLs?
Thanks
--
Mathieu Longtin
------=_Part_13189_29882209.1175552376866--
--===============1089965428==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============1089965428==--
RE: compiling modules for activeperl
am 03.04.2007 00:35:39 von Jan Dubois
Mathieu Longtin wrote:
> I'm trying to compile and debug DBD::SQLite using Activeperl on
> windows.
>
> What compiler should I be using to generate compatible DLLs?
DBD::SQLite is actually already bundled with the last couple of
releases of ActivePerl (because it is being used by PPM4).
If you want to compile XS modules yourself for ActivePerl, then
the following compilers are recommended:
Microsoft Visual C++ 6.0 (Visual Studio 98)
MinGW GCC with dmake
Both compilers will work out-of-the-box with newer ActivePerl
versions. ActivePerl will try to use VC++, but if it fails to
locate it on the PATH, it will fall back to using GCC.
You can use VC++ 7 (VS.NET) or VC++ 7.1 (VS.2003), but you'll
pick up an additional runtime dependency on MSVCR70.DLL or
MSVCR71.DLL.
Cheers,
-Jan
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: compiling modules for activeperl
am 03.04.2007 07:22:19 von Octavian Rasnita
Hi Jan,
I have seen that the older versions of nmake cannot be use to compile some
perl modules, so I need to use the nmake version from VS.net 2005.
If I have VS 6 and VS.net 2005, can I use VS6 and the nmake from VS.net
2005?
Does this create those dependencies?
Thanks.
Octavian
----- Original Message -----
From: "Jan Dubois"
To: "'Mathieu Longtin'" ;
Sent: Tuesday, April 03, 2007 1:35 AM
Subject: RE: compiling modules for activeperl
> Mathieu Longtin wrote:
>> I'm trying to compile and debug DBD::SQLite using Activeperl on
>> windows.
>>
>> What compiler should I be using to generate compatible DLLs?
>
> DBD::SQLite is actually already bundled with the last couple of
> releases of ActivePerl (because it is being used by PPM4).
>
> If you want to compile XS modules yourself for ActivePerl, then
> the following compilers are recommended:
>
> Microsoft Visual C++ 6.0 (Visual Studio 98)
> MinGW GCC with dmake
>
> Both compilers will work out-of-the-box with newer ActivePerl
> versions. ActivePerl will try to use VC++, but if it fails to
> locate it on the PATH, it will fall back to using GCC.
>
> You can use VC++ 7 (VS.NET) or VC++ 7.1 (VS.2003), but you'll
> pick up an additional runtime dependency on MSVCR70.DLL or
> MSVCR71.DLL.
>
> Cheers,
> -Jan
>
> _______________________________________________
> ActivePerl mailing list
> ActivePerl@listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: compiling modules for activeperl
am 03.04.2007 08:28:48 von Jan Dubois
On Mon, 02 Apr 2007, Octavian Rasnita wrote:
Hi Octavian,
> I have seen that the older versions of nmake cannot be use to compile
> some perl modules, so I need to use the nmake version from VS.net
> 2005. If I have VS 6 and VS.net 2005, can I use VS6 and the nmake from
> VS.net 2005? Does this create those dependencies?
No, the dependencies on msvcr7X.dll arise from using the VC7 compiler;
the version of nmake.exe is immaterial for this.
However, I'm curious which modules will require a newer version of
nmake.exe. The Makefile is normally generated by ExtUtils::MakeMaker,
which should generate a file compatible with nmake.exe from VC6.
Cheers,
-Jan
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: compiling modules for activeperl
am 03.04.2007 09:55:58 von Octavian Rasnita
Hi Jan,
I have seen that some modules, like Catalyst if I remember well, generate a
very long list of tests, and the older version of nmake cannot handle a very
long line, and that's why a newer version of nmake is required.
If using the cpan shell, it uses nmake automaticly to run the tests, and it
crashes.
Of course, it works if I use force install, but then I don't know if there
were errors or not.
Octavian
----- Original Message -----
From: "Jan Dubois"
To: "'Octavian Rasnita'" ; "'Mathieu Longtin'"
;
Sent: Tuesday, April 03, 2007 9:28 AM
Subject: RE: compiling modules for activeperl
> On Mon, 02 Apr 2007, Octavian Rasnita wrote:
>
> Hi Octavian,
>
>> I have seen that the older versions of nmake cannot be use to compile
>> some perl modules, so I need to use the nmake version from VS.net
>> 2005. If I have VS 6 and VS.net 2005, can I use VS6 and the nmake from
>> VS.net 2005? Does this create those dependencies?
>
> No, the dependencies on msvcr7X.dll arise from using the VC7 compiler;
> the version of nmake.exe is immaterial for this.
>
> However, I'm curious which modules will require a newer version of
> nmake.exe. The Makefile is normally generated by ExtUtils::MakeMaker,
> which should generate a file compatible with nmake.exe from VC6.
>
> Cheers,
> -Jan
>
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: compiling modules for activeperl
am 03.04.2007 18:48:08 von Mathieu Longtin
--===============0320276165==
Content-Type: multipart/alternative;
boundary="----=_Part_1151_9879765.1175618888995"
------=_Part_1151_9879765.1175618888995
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Thanks all for the info!
On 4/3/07, Octavian Rasnita wrote:
>
> Hi Jan,
>
> I have seen that some modules, like Catalyst if I remember well, generate
> a
> very long list of tests, and the older version of nmake cannot handle a
> very
> long line, and that's why a newer version of nmake is required.
>
> If using the cpan shell, it uses nmake automaticly to run the tests, and
> it
> crashes.
>
> Of course, it works if I use force install, but then I don't know if there
> were errors or not.
>
> Octavian
>
> ----- Original Message -----
> From: "Jan Dubois"
> To: "'Octavian Rasnita'" ; "'Mathieu Longtin'"
> ;
> Sent: Tuesday, April 03, 2007 9:28 AM
> Subject: RE: compiling modules for activeperl
>
>
> > On Mon, 02 Apr 2007, Octavian Rasnita wrote:
> >
> > Hi Octavian,
> >
> >> I have seen that the older versions of nmake cannot be use to compile
> >> some perl modules, so I need to use the nmake version from VS.net
> >> 2005. If I have VS 6 and VS.net 2005, can I use VS6 and the nmake from
> >> VS.net 2005? Does this create those dependencies?
> >
> > No, the dependencies on msvcr7X.dll arise from using the VC7 compiler;
> > the version of nmake.exe is immaterial for this.
> >
> > However, I'm curious which modules will require a newer version of
> > nmake.exe. The Makefile is normally generated by ExtUtils::MakeMaker,
> > which should generate a file compatible with nmake.exe from VC6.
> >
> > Cheers,
> > -Jan
> >
>
>
--
Mathieu Longtin
------=_Part_1151_9879765.1175618888995
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Thanks all for the info!
On 4/3/07, Octavian Rasnita <> wrote:
Hi Jan,
I have seen that some modules, like Catalyst if I remember well, generate a
very long list of tests, and the older version of nmake cannot handle a very
long line, and that's why a newer version of nmake is required.
If using the cpan shell, it uses nmake automaticly to run the tests, and it
crashes.
Of course, it works if I use force install, but then I don't know if there
were errors or not.
Octavian
----- Original Message -----
From: "Jan Dubois" <>
To: "'Octavian Rasnita'" <
orasnita@gmail.com>; "'Mathieu Longtin'"
<>; <activeperl@listserv.ActiveState.com
>
Sent: Tuesday, April 03, 2007 9:28 AM
Subject: RE: compiling modules for activeperl
> On Mon, 02 Apr 2007, Octavian Rasnita wrote:
>
> Hi Octavian,
>
>> I have seen that the older versions of nmake cannot be use to compile
>> some perl modules, so I need to use the nmake version from VS.net
>> 2005. If I have VS 6 and VS.net 2005, can I use VS6 and the nmake from
>> VS.net 2005? Does this create those dependencies?
>
> No, the dependencies on msvcr7X.dll arise from using the VC7 compiler;
> the version of nmake.exe is immaterial for this.
>
> However, I'm curious which modules will require a newer version of
> nmake.exe. The Makefile is normally generated by ExtUtils::MakeMaker,
> which should generate a file compatible with nmake.exe from VC6.
>
> Cheers,
> -Jan
>
--
Mathieu Longtin
------=_Part_1151_9879765.1175618888995--
--===============0320276165==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0320276165==--