Re^3: Compiling Tk under Windows
by PodMaster (Abbot) on Jun 29, 2005 at 12:02 UTC
|
vcvars32, like the tutorial explains, comes with the microsoft compiler.
Regardless of what compiler you use, if perl is looking for some .lib, your compiler is also,
and it has to be able to find it, which is generally does by examining the INCLUDE/LIB enviroment variables (which is what vcvars32 sets).
Shouldn't this libs come with mingw, too???
I don't know, but if the perl you compiled with MinGW is looking for them now,
that means that you should already have them, otherwise you could not have compiled perl as you claim to have done.
I tried to copy them to the windows/system32-directory but the problem was still there...
Thats probably because windows/system32 is not in your %LIB%, just like that directory you copied them from.
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] |
|
|
Ok. I think i got what you meant...
How can I change the INCLUDE/LIB or view it? Where is it?
Sorry for asking so stupid questions...
| [reply] |
|
|
| [reply] [d/l] |
|
|
|
|
Re^3: Compiling Tk under Windows
by CountZero (Bishop) on Jun 29, 2005 at 19:44 UTC
|
Someone managed to compile Tk::WinPrint on Windows: see: Cpan Testers.I suggest that you contact the tester ('barbie(at)missbarbell.co.uk') and ask her how she did it and whether perhaps she still has the compiled version. I would be surprised if a mingw environment was specially set-up for this module (but of course you never know until you ask).
CountZero "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
| [reply] |
|
|
I suggest that you contact the tester ('barbie(at)missbarbell.co.uk') and ask her how she did it and whether perhaps she still has the compiled version.
Please don't, that's not the reason cpan-testers sign up and test and report on distributions.
I would be surprised if a mingw environment was specially set-up for this module (but of course you never know until you ask).
You do if you read the report.
http://www.nntp.perl.org/group/perl.cpan.testers/129360
...
Compiler:
cc='cl', ccflags ='-nologo
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] |
|
|
| [reply] |
|
|
|
|
|
|
|
... ask her how she did it and whether perhaps she still ...
Not to disappoint you too much, but .... s/\sher\s/him/g;s/\ss(he)\s/$1/g; :)
The compiler listed is a misnomer, it's the compiler used to compile that version of the perl binary. In this instance I didn't compile Tk, although I have previously using Visual Studio. The version I currently have, 800.024, was installed via PPM, although I can't remember which repository I got it from now. Have a look through the list in PPM::Repositories, or better yet install the list into your copy of PPM and try 'install Tk' :)
I built and tested Tk::WinPrint with Visual Studio 6.0 if that helps. I don't have the binary any more as I was only testingit, not installing it.
--
Barbie | Birmingham Perl Mongers user group | http://birmingham.pm.org/
| [reply] |
|
|
Not to disappoint you too much, but .... s/\sher\s/him/g;s/\ss(he)\s/$1/g; :) Fortunately Perl is strong on regex and string-replacement!
CountZero "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
| [reply] [d/l] |