From: Waldemar B. <wb...@sa...> - 2007-04-22 19:54:12
|
Hi! I've decided to install Win32::GUI on my machine (WinXPHE) via cpan port. I've compiled perl from source using mingw+dmake and everything pass OK. BUT... when I was installing Win32:GUI (1.05) from cpan (using polish mirror) I've noticed two problems: 1. the file GUI.rc (in root install directory) has readonly attribute and installation stops. When I change it to read/write attribute all pass OK. Is it a very small bug or I did something incorrectly? 2. Actually it has passed but not all! I'v got the note: ===================================================== BUILDENV=mingw Used build environment is: MSWin32 and MinGW NOTE: Makefile.PL will add the instruction to use the Resource Compiler to your Makefile; if you don't want to compile resources with your extension, call this script with this additional argument: perl Makefile.PL USERESOURCE=0 Win32::GUI::AxWindow can only be built using MSVC, not 'gcc', as it depends on the Microsoft Active Template Library (ATL). Win32::GUI::AxWindow will be skipped during the current build process. Writing Makefile for Win32::GUI::Constants - perfect.exe Writing Makefile for Win32::GUI::Constants At this time Win32::GUI::DIBitmap cannot be build using gcc. Win32::GUI::DIBitmap will be skipped during the current build process. Writing Makefile for Win32::GUI::DropFiles Win32::GUI::Grid can only be built using MSVC, not 'gcc', as it requires the MFC framework. Win32::GUI::Grid will be skipped during the current build process. Writing Makefile for Win32::GUI::ReleaseNotes Writing Makefile for Win32::GUI::Scintilla Writing Makefile for Win32::GUI ===================================================== My question: is it possible to install these uninstalled modules without installing MSVC and the mentioned libs: ATL and MFC? wb |
From: Reini U. <ru...@x-...> - 2007-04-23 13:23:51
|
Hi Waldemar, 2007/4/22, Waldemar Biernacki <wb...@sa...>: > I've decided to install Win32::GUI on my machine (WinXPHE) via cpan port. > I've compiled perl from source using mingw+dmake and everything pass OK. > BUT... > > when I was installing Win32:GUI (1.05) from cpan (using polish mirror) > I've noticed two problems: > > 1. the file GUI.rc (in root install directory) has readonly attribute > and installation stops. When I change it to read/write attribute all > pass OK. Is it a very small bug or I did something incorrectly? Thanks, this is a bug indeed. > 2. Actually it has passed but not all! I'v got the note: > ===================================================== > BUILDENV=mingw Used build environment is: MSWin32 and MinGW > > NOTE: Makefile.PL will add the instruction to use the Resource Compiler to > your Makefile; if you don't want to compile resources with your extension, > call this script with this additional argument: > > perl Makefile.PL USERESOURCE=0 > > Win32::GUI::AxWindow can only be built using MSVC, not 'gcc', > as it depends on the Microsoft Active Template Library (ATL). > Win32::GUI::AxWindow will be skipped during the current build process. > > Writing Makefile for Win32::GUI::Constants - perfect.exe > Writing Makefile for Win32::GUI::Constants > > At this time Win32::GUI::DIBitmap cannot be build using gcc. > Win32::GUI::DIBitmap will be skipped during the current build process. We assume that with mingw you don't have the original MSVC ATL libraries. This is most likely wrong for you, so you have to fix the Makefile.PL > Writing Makefile for Win32::GUI::DropFiles > > Win32::GUI::Grid can only be built using MSVC, not 'gcc', > as it requires the MFC framework. > Win32::GUI::Grid will be skipped during the current build process. We assume that with mingw you don't have the original MSVC MFC libraries. This is most likely wrong for you, so you have to fix the Makefile.PL > Writing Makefile for Win32::GUI::ReleaseNotes > Writing Makefile for Win32::GUI::Scintilla > Writing Makefile for Win32::GUI > ===================================================== > My question: is it possible to install these uninstalled modules without > installing MSVC and the mentioned libs: ATL and MFC? You only need the libraries and to fix the Makefile. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://spacemovie.mur.at/ http://helsinki.at/ |
From: Robert M. <rob...@us...> - 2007-04-24 19:14:45
|
On 23/04/07, Reini Urban <ru...@x-...> wrote: > Hi Waldemar, > > 2007/4/22, Waldemar Biernacki <wb...@sa...>: > > 1. the file GUI.rc (in root install directory) has readonly attribute > > and installation stops. When I change it to read/write attribute all > > pass OK. Is it a very small bug or I did something incorrectly? > > Thanks, this is a bug indeed. Hmm. I don't see that here (WinZip and Win98). What tools are used for unpacking, and what OS? > > 2. Actually it has passed but not all! I'v got the note: > > ===================================================== > > Win32::GUI::AxWindow can only be built using MSVC, not 'gcc', > > as it depends on the Microsoft Active Template Library (ATL). > > Win32::GUI::AxWindow will be skipped during the current build process. > > At this time Win32::GUI::DIBitmap cannot be build using gcc. > > Win32::GUI::DIBitmap will be skipped during the current build process. > > We assume that with mingw you don't have the original MSVC ATL libraries. > This is most likely wrong for you, so you have to fix the Makefile.PL > > > Win32::GUI::Grid can only be built using MSVC, not 'gcc', > > as it requires the MFC framework. > > Win32::GUI::Grid will be skipped during the current build process. > > We assume that with mingw you don't have the original MSVC MFC > libraries. This is most likely wrong for you, so you have to fix the > Makefile.PL > You only need the libraries and to fix the Makefile. If anyone has further information or success building these modules with mingw, then I'd be very interested in making this happen - I spent a long time looking at it last year, and drew a blank. I'm not convinced it's a simple problem. Regards, Rob. |
From: Waldemar B. <wb...@sa...> - 2007-04-24 20:21:31
|
Robert May napisał(a): > On 23/04/07, Reini Urban <ru...@x-...> wrote: >> Hi Waldemar, >> >> 2007/4/22, Waldemar Biernacki <wb...@sa...>: >> > 1. the file GUI.rc (in root install directory) has readonly attribute >> > and installation stops. When I change it to read/write attribute all >> > pass OK. Is it a very small bug or I did something incorrectly? >> >> Thanks, this is a bug indeed. > > Hmm. I don't see that here (WinZip and Win98). What tools are used > for unpacking, and what OS? > ====================================== OS = Windows XPHE [ver 5.1.2600] ====================================== Mingw with gcc 3.4.5 (date is 2006-01-18) ====================================== dmake 4.8-20070327-SHAY (Windows / MS Visual C++) ====================================== After standard perl installation (sources "stable.tar.gz" version 5.8.8 date 06-02-01 unpacked using the 7z software): dmake dmake test dmake install. During the installation I installed additional software it wanted (gpg, gzip, tar ... and so on a lot of questions!) Then I modified the files Config.pm and Config_heavy.pl properly. The module Win32::GUI I installed using standard cpan command: "cpan install Win32::GUI". I noticed the problem with the attribute. I pointed installation directory as "c:\perl\.cpan" and in the subdirectory of the packet I have changed the attribute (being in cpan shell in another cmd shell), returned to cpan shell and push the cpan command again. that's it. I have to admit I wanted to install perl (and libraries including DBD::Pg instead DBD::PgPP and my own too) from source last 6 months trying various perl/mingw/dmake/nmake/make software. At last I did it! I've just compiled Wn32::GUI again downloading it from cpan again. No atribute problem. Was the packet exchanged? No compilation problems! Some tests (after "dmake test") have not passed but no errors. > 2. Actually it has passed but not all! I'v got the note: >> > ===================================================== >> > Win32::GUI::AxWindow can only be built using MSVC, not 'gcc', >> > as it depends on the Microsoft Active Template Library (ATL). >> > Win32::GUI::AxWindow will be skipped during the current build process. > >> > At this time Win32::GUI::DIBitmap cannot be build using gcc. >> > Win32::GUI::DIBitmap will be skipped during the current build process. >> >> We assume that with mingw you don't have the original MSVC ATL >> libraries. >> This is most likely wrong for you, so you have to fix the Makefile.PL >> >> > Win32::GUI::Grid can only be built using MSVC, not 'gcc', >> > as it requires the MFC framework. >> > Win32::GUI::Grid will be skipped during the current build process. >> >> We assume that with mingw you don't have the original MSVC MFC >> libraries. This is most likely wrong for you, so you have to fix the >> Makefile.PL > >> You only need the libraries and to fix the Makefile. > > If anyone has further information or success building these modules > with mingw, then I'd be very interested in making this happen - I > spent a long time looking at it last year, and drew a blank. I'm not > convinced it's a simple problem. > > Regards, > Rob. > |