|
From: Nicholas Lewin-K. <koh...@co...> - 2000-11-28 06:53:42
|
Hi,
Uggh, does that mean to compile a PERL module (I am working on one) for
windows using mingw I have to compile PERL from scratch, and reconfigure
Config.pm so that perls MakeMaker works correctly. Crap, I just recently
figured out how to write my own simple make files that actually produce
working dlls.
I was hoping I could just use the active perl binaries and compile a
module just making some changes in the makefile. Of course this binary
incompaibility problem really %^$%$#'s things up. I don't suppose that
anyone has actually built and is distributing perl for win32 built with
mingw and that invokes mingw's build tools? I can't use cygwin because i
am using the wingtk port for the application, and that requires msvrt.dll.
Could you help me get through compiling perl, and I will see if I can help
with the last 10% of getting config.pm correcly set up. It would be nice
to just type make and let P2C2E compile and build my module for me, sigh.
Nicholas
PS P2C2E = Processes too complicated to explain
CH3
|
N Nicholas Lewin-Koh
/ \ Dept of Statistics
N----C C==O Program in Ecology and Evolutionary Biology
|| || | Iowa State University
|| || | Ames, IA 50011
CH C N--CH3 http://www.public.iastate.edu/~nlewin
\ / \ / nl...@ia...
N C
| || Currently
CH3 O Graphics Lab
School of Computing
National University of Singapore
The Real Part of Coffee koh...@co...
On Mon, 27 Nov 2000, Soren Andersen wrote:
> On Mon, 27 Nov 2000, an entity purporting to be Nicholas Lewin-Koh wrote
> [regarding: Modules for perl on win32]
>
> > Hi,
> > Has anyone had any success building modules for activeperl using Mingw? I
> > was reading through the active perl docs and they are configured for VC++.
> > If someone could outline how to do it or point me to some relevant
> > documentation I would be very gratefull. Thanks
>
> What Perl are you using -- for what Perl are you wanting to build mods? If it's for
> an ActivePerl bindist (you made reference to the AS docs) then you need to realize
> that not just any compilation-requiring mod will work; for most ActivePerl dists it
> *has to be* compiled with VC++. It's referred to as "binary compatibility" issues.
>
> When you build a mod from source (such as distributed on CPAN) you are having
> perl (MakeMaker) use Config.pm to set up the build. You have to control what's in
> Config.pm, and you do that by building Perl yourself on your system, from scratch.
> Any other way is **not** "canonical" or "supported." Take a look at Config.pm
> from your own Perl and you'll see what's in there (it's a LOT, bewildering complexity
> and very huge text file). That's the key. If you have Perl built, you are (as I am)
> probably 90% of the way to being able to run the classic `make' invocation
> formulas for Perl mods and have it all go successfully.
>
> Last month I built Perl 5.7 (devel branch) using minGW. I am talking the standard
> "plain vanilla" source code from CPAN, not anything from AS. I have never tried to
> build AS source, yet.
>
> Let's keep in touch regarding this if the fundamental answers to my questions
> seem to point in the direction I am indicating (that you are going to, or have, built
> Perl on your own machine, using minGW + Free Software gnu tools). If that's the
> case maybe we could pool our knowlwdge and help each other out.
>
>
> Best,
> soren andersen
> _______________________________________________
> MinGW-users mailing list
> Min...@li...
>
> You may change your MinGW Account Options at:
> http://lists.sourceforge.net/mailman/listinfo/mingw-users
>
|