perl & Win32 lib support

linda w cygwin@tlinx.org
Thu Feb 10 12:09:00 GMT 2005


Yitzchak Scott-Thoennes wrote:

> What exactly is giving the error, and what error are you getting?

I had an IsWinNT is undefined error message 2 days ago, but I removed some
old-seeming directories (since I have 5.8.6 installed, I thought I'd
try deleting older versioned directories, though I have no 5.8.6
directories and most of the perl-lib files I had installed were under
/lib/perl5/5.8.5 which seems odd -- I would have thought installing a
newer perl would have installed lib files in 5.8.6...(?)

The error/build messages I am seeing now are:

cpan> install Win32
Running install for module Win32
Running make for G/GS/GSAR/libwin32-0.191.zip
  Is already unwrapped into directory /share/CPAN/build-cygwin/GSAR001

  CPAN.pm: Going to build G/GS/GSAR/libwin32-0.191.zip

'INSTALLSITESEARCH' is not a known MakeMaker parameter name.
'SITE_PREFIX' is not a known MakeMaker parameter name.
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Win32API::File
Checking if your kit is complete...
Looks good
Writing Makefile for Win32API::Net
Checking if your kit is complete...
Looks good
Writing Makefile for Win32API::Registry
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::ChangeNotify
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Clipboard
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Console
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Event
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::EventLog
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::File
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::FileSecurity
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::IPC
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: ':nosearch'
Unrecognized argument in LIBS ignored: 'wininet.lib'
Writing Makefile for Win32::Internet
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Job
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Mutex
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::NetAdmin
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::NetResource
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::ODBC
Checking if your kit is complete...
Looks good
Processing hints file hints/cygwin.pl
Note (probably harmless): No library found for -lole32
Note (probably harmless): No library found for -loleaut32
Note (probably harmless): No library found for -luuid
Note (probably harmless): No library found for -lmsvcrt40
Writing Makefile for Win32::OLE
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::PerfLib
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Pipe
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Process
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Registry
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Semaphore
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Service
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Shortcut
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::Sound
Checking if your kit is complete...
Looks good
Warning: prerequisite Win32API::Registry 0 not found.
Writing Makefile for Win32::TieRegistry
Checking if your kit is complete...
Looks good
Writing Makefile for Win32::WinError
Writing Makefile for Win32
Writing Makefile for Win32
make[1]: Entering directory 
`//ishtar/share/CPAN/build-cygwin/GSAR001/libwin32-0.191'
cp Win32.pm ../blib/lib/Win32.pm
make[2]: Entering directory 
`//ishtar/share/CPAN/build-cygwin/GSAR001/libwin32-0.191/APIFile'
Makefile:705: *** missing separator.  Stop.
make[2]: Leaving directory 
`//ishtar/share/CPAN/build-cygwin/GSAR001/libwin32-0.191/APIFile'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory 
`//ishtar/share/CPAN/build-cygwin/GSAR001/libwin32-0.191'
make: *** [subdirs] Error 2
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible
=========

I don't know which error/warning messages are abnormal, starting with:

1) 'INSTALLSITESEARCH' is not a known MakeMaker parameter name.
   'SITE_PREFIX' is not a known MakeMaker parameter name.

2) Unrecognized argument in LIBS ignored: ':nosearch'
   Unrecognized argument in LIBS ignored: 'wininet.lib'

3) Processing hints file hints/cygwin.pl
   Note (probably harmless): No library found for -lole32
   Note (probably harmless): No library found for -loleaut32
   Note (probably harmless): No library found for -luuid
   Note (probably harmless): No library found for -lmsvcrt40
### these are all libs I see in /usr/lib/w32api as "lib<libname>.a"

4) Warning: prerequisite Win32API::Registry 0 not found.
   Writing Makefile for Win32::TieRegistry

5) make[2]: Entering directory 
`//ishtar/share/CPAN/build-cygwin/GSAR001/libwin32-0.191/APIFile'
Makefile:705: *** missing separator.  Stop.
make[2]: Leaving directory
### This appears to be a bug in the Makefile, line 704 has a target,
### but the build-line on line 705 isn't tab-indented, it's space indented
### which would seem to be a problem in the source that builds the Makefile




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list