Arthur Schwarz wrote:
With nothing better to do, I tried installing Win32::GUI into Activestate Perl
with bad results. Text below. Any solution?
If I wanted to install V1.03 on ActivePerl, then I'd use ppm.
c:\perl\bin\perl.exe -MCPAN -e shell
I've never had any good experiences with trying to install module on
Win32 using the CPAN shell. I always download the source, and do the
perl Makefile.PL
make
make test
make install
incantation myself.
I can' give you any definitive answers, but there are a couple of things
that look suspicious to me ..
Set up gcc environment - 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
That looks like a cygwin version of gcc - if so, then I think you'll
have trouble building libraries that'll work with Activeperl. You
really want the MinGW gcc version and related tools.
CPAN: File::HomeDir loaded ok
cpan shell -- CPAN exploration and modules installation (v1.87)
ReadLine support enabled
cpan> install Win32::GUI
CPAN: Storable loaded ok
Going to read C:\Perl\cpan\Metadata
Database was generated on Wed, 30 Aug 2006 05:31:43 GMT
Running install for module Win32::GUI
Running make for R/RO/ROBERTMAY/Win32-GUI/Win32-GUI-1.03.tar.gz
CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.
Scanning cache C:\Perl\cpan\build for sizes
CPAN: Compress::Zlib loaded ok
CPAN: Archive::Tar loaded ok
Win32-GUI-1.03/
<snip>
Win32-GUI-1.03/Removing previously used C:\Perl\cpan\build\Win32-GUI-1.03
CPAN: Module::Signature security checks disabled because Module::Signature
not installed. Please consider installing the Module::Signature module.
You may also need to be able to connect over the Internet to the public
keyservers like pgp.mit.edu (port 11371).
CPAN.pm: Going to build R/RO/ROBERTMAY/Win32-GUI/Win32-GUI-1.03.tar.gz
Set up gcc environment - 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
Still looking like cygwin version of gcc.
BUILDENV=mingw Used build environment is: MSWin32 and MinGW
The Win32::GUI Makefile.PL assumes that if $^O reports 'MSWin32', rather
than 'cygwin', then any gcc it finds is the MinGW version.
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
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::GUI
CPAN: YAML loaded ok
Microsoft (R) Program Maintenance Utility Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
cp GridLayout.pm blib\lib\Win32/GUI/GridLayout.pm
cp GUI.pm blib\lib\Win32/GUI.pm
cp BitmapInline.pm blib\lib\Win32/GUI/BitmapInline.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap
C:\Perl\lib\ExtUtils\typemap -typemap typemap GUI.xs > GUI.xsc &&
C:\Perl\bin\perl.exe -MExtUtils::Command -e mv GUI.xsc GUI.cpp
I'm a bit confused as to how your Makefile has chosen to use cp and mv,
is it possible that the CPAN shell when it issued 'perl Makefile.PL'
picked up a cygwin perl from your PATH?
gcc -c -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
-DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPER
L_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -DHASATTRIBUTE
-fno-strict-aliasing -O2 -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" "-IC
:\Perl\lib\CORE" GUI.cpp
> gcc: no input files
Given how this has wrapped, it's a bit difficult to tell exactly what's
going on. Is there a GUI.cpp in the build directory? If so, then I'd
be looking at how your shell is interacting with the quotes on this
command line.
Regards,
Rob.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop.
C:\Perl\bin\nmake.EXE -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Failed during this command:
ROBERTMAY/Win32-GUI/Win32-GUI-1.03.tar.gz : make NO
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/