Click here to get back home

dmake.exe: Error: -- 'C:\Perl\libConfig.pm' not found, and can't be made

 HomeNewsGroups | Search

comp.lang.perl.misc - PERL programming language 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
dmake.exe: Error: -- 'C:\Perl\libConfig.pm' not found, and can't be made tuser1 04-18-2009
Posted by tuser1 on April 18, 2009, 4:30 pm
Please log in for more thread options
I am trying to build Scalar::Util::Refcount from CPAN on Windows XP
under Activestate 5.10

show/hide quoted text
This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 5 registered patches, see perl -V for more detail)

Copyright 1987-2007, Larry Wall

Binary build 1004 [287188] provided by ActiveState http://www.ActiveState.com
Built Sep 3 2008 13:16:37
===========================

I have downloaded and extracted Scalar::Util::Refcount from CPAN and I
have successfully installed MinGW.ppm from
http://ppm4.activestate.com/MSWin32-x86/5.10/1004/,

but when I try to run dmake to make , it fails...

show/hide quoted text
dmake.exe: Error: -- `C:\Perl\libConfig.pm' not found, and can't be
made

Posted by sisyphus on April 18, 2009, 6:27 pm
Please log in for more thread options
On Apr 19, 6:30=A0am, tus...@gmail.com wrote:

show/hide quoted text

What does 'dmake -V' output ?

With my build of 1004 (where I *don't* have the problem you've
reported) it outputs:

#########################
dmake.exe - Version 4.11-20080107-SHAY (Windows / MS Visual C++)
Copyright (c) 1990,...,1997 by WTI Corp.

Default Configuration:
MAXLINELENGTH :=3D 32766
MAXPROCESSLIMIT :=3D 4
MAXPROCESS :=3D 1
.IMPORT .IGNORE: DMAKEROOT
.MAKEFILES : makefile.mk makefile
.SOURCE : .NULL
DMAKEROOT *=3D $(ABSMAKECMD:d)startup
MAKESTARTUP :=3D $(DMAKEROOT)\startup.mk

Please read the NEWS file for the latest release notes.
#########################

Is there anything at http://www.perlmonks.org/index.pl?node_id=3D603230
that helps ? (If so, what ? It would be nice to get to the bottom of
this error once and for all :-)

Cheers,
Rob

Posted by tuser1 on April 19, 2009, 6:10 am
Please log in for more thread options
show/hide quoted text

Here is my output from "dmake -V", looks identical to yours:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
show/hide quoted text
dmake.exe - Version 4.11-20080107-SHAY (Windows / MS Visual C++)
Copyright (c) 1990,...,1997 by WTI Corp.

Default Configuration:
MAXLINELENGTH :=3D 32766
MAXPROCESSLIMIT :=3D 4
MAXPROCESS :=3D 1
.IMPORT .IGNORE: DMAKEROOT
.MAKEFILES : makefile.mk makefile
.SOURCE : .NULL
DMAKEROOT *=3D $(ABSMAKECMD:d)startup
MAKESTARTUP :=3D $(DMAKEROOT)\startup.mk

Please read the NEWS file for the latest release notes.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D

According to the article on Perlmonks, here is my output for
ExtUtils::MakeMaker and the contents of the Makefile:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
show/hide quoted text
$ExtUtils::MakeMaker::VERSION"
Set up gcc environment - 3.4.5 (mingw-vista special r3)
6.42_01

contents of Makefile:
[...]
AR_STATIC_ARGS =3D cr
DIRFILESEP =3D ^\
DFSEP =3D $(DIRFILESEP)
[...]
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D

I then intervened manually in the Makefile and changed

DIRFILESEP =3D ^\

into

DIRFILESEP =3D \

...but now I have a different error message
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
show/hide quoted text
dmake.exe: Error executing 'rem': No such file or directory
dmake.exe: Error code 255, while making 'blibdirs'
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D

Posted by sisyphus on April 19, 2009, 3:31 pm
Please log in for more thread options
On Apr 19, 8:10=A0pm, tus...@gmail.com wrote:

show/hide quoted text

It's really strange that DIRFILESEP is set to ^\ for you. For me it's
definitely set to \.
Yet we both have the same build of ActivePerl, the same version of
EU::MM (I also have 6.42_01), the same version of dmake, and the same
MinGW compiler. I wonder what it is that makes the difference.

Did you install ActivePerl from the zip package or the msi package ? I
don't know why that should matter ... just clutching at straws :-)
(I installed from the zip package, btw.)

show/hide quoted text
=3D=3D=3D
show/hide quoted text

Don't think I've seen that error before.
Could you email me the Makefile ? - to sisyphus1 at (@) optusnet dot
(.) com dot(.) au. (Or post it to some public location where we can
all access it. I suspect it's bad etiquette to post a file of that
size to this newsgroup, though I could be wrong about that.)
I think it would help if we could do a 'diff -u' between the Makefile
you get, and the Makefile I get.

The Makefile I get can be seen at http://www.perlmonks.org/index.pl?viewmod=
e=3Dpublic;node_id=3D587490
for anyone interested.

Cheers,
Rob

Posted by tuser1 on April 19, 2009, 6:48 pm
Please log in for more thread options
show/hide quoted text
de=3Dpublic;node_id=3D587490
show/hide quoted text

I have upgraded EU::MM from version 6.42_01 to version 6.50 (about one
hour ago), but this shouldn't make any difference though, as the
problem still persists in exactly the same manner.

The makefile (for Scalar::Util::Refcount version 1.0.2) is too big to
be posted on c.l.p.m., therefore I had to send it to you per e-mail.

I hope the 'diff -u' between our two Makefiles is not too big, so it
can be posted on c.l.p.m

b.t.w., I have installed Activestate using the .msi package.


Similar ThreadsPosted
dmake.exe: Error code 255, while making 'test' November 27, 2004, 3:45 am
fedora core 3 install error - no drives found January 27, 2006, 6:37 pm
req: anybody have a pre-made script that does this? October 16, 2004, 12:09 pm
How do you lock a file BEFORE changes are made? August 27, 2004, 3:05 pm
I made my first real perl script July 6, 2006, 4:23 pm
Passing an array to an ActiveX object made with PerlCtrl? May 12, 2005, 6:05 pm
Can Perl be made to use IEEE floating=-point exception handling? August 22, 2005, 11:53 am
Can't send parameters to a webservice made with DotNet From a soap::lite client in Perl May 13, 2006, 4:26 pm
Can't send parameters to a webservice made with DotNet From a soap::lite client in Perl May 13, 2006, 4:27 pm
Found this and thought if was of Use ! December 16, 2004, 7:23 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy