Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Strawberry CPAN: error code 130, while making 'pm_to_blib'

by Cody Pendant (Prior)
on Sep 30, 2008 at 07:04 UTC ( [id://714484]=perlquestion: print w/replies, xml ) Need Help??

Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying again to get Strawberry Perl running on my work PC.

Every time I try to install anything via CPAN, I get the above error.

More specifically, I get:

Checking if your kit is complete... Looks good Writing Makefile for HTML::Template !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! ERROR: Cannot copy '' to 'blib\lib\HTML\': No su +ch file or directory !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!! at -e line 1 dmake.EXE: Error code 130, while making 'pm_to_blib' SAMTREGAR/HTML-Template-2.9.tar.gz C:\strawberry\c\bin\dmake.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: SAMTREGAR/HTML-Template-2.9.tar.gz : make NO
I don't really know what to do from here.

I'll post the contents of the example Makefile below in a READMORE. Should I also post the CPAN config settings? Output of perl -V?

Any suggestions gratefully received.

# This Makefile is for the HTML::Template extension to perl. # # It was generated automatically by MakeMaker version # 6.44 (Revision: 54639) from the contents of # Makefile.PL. Don't edit this file, edit Makefile.PL instead. # # ANY CHANGES MADE HERE WILL BE LOST! # # MakeMaker ARGV: (q[LIBS=-LC:\strawberry\c\lib], q[INC=-IC:\strawbe +rry\c\include]) # # MakeMaker Parameters: # NAME => q[HTML::Template] # PREREQ_PM => { Scalar::Util=>q[0], Test::More=>q[0], Digest::MD5 +=>q[0], File::Spec=>q[0.82], Carp=>q[0] } # VERSION_FROM => q[] # --- MakeMaker post_initialize section: # --- MakeMaker const_config section: # These definitions are from (via C:/strawberry/perl/lib/Con # They may have been overridden via Makefile.PL or on the command line +. AR = ar CC = gcc CCCDLFLAGS = CCDLFLAGS = DLEXT = dll DLSRC = dl_win32.xs EXE_EXT = .exe FULL_AR = LD = g++ LDDLFLAGS = -mdll -s -L"c:\strawberry\perl\lib\CORE" -L"C:\strawberry\ +c\lib" LDFLAGS = -s -L"c:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" LIBC = -lmsvcrt LIB_EXT = .a OBJ_EXT = .o OSNAME = MSWin32 OSVERS = 5.1 RANLIB = rem SITELIBEXP = c:\strawberry\perl\site\lib SITEARCHEXP = c:\strawberry\perl\site\lib SO = dll VENDORARCHEXP = VENDORLIBEXP = # --- MakeMaker constants section: AR_STATIC_ARGS = cr DIRFILESEP = \\ DFSEP = $(DIRFILESEP) NAME = HTML::Template NAME_SYM = HTML_Template VERSION = 2.9 VERSION_MACRO = VERSION VERSION_SYM = 2_9 DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\" XS_VERSION = 2.9 XS_VERSION_MACRO = XS_VERSION XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\" INST_ARCHLIB = blib\arch INST_SCRIPT = blib\script INST_BIN = blib\bin INST_LIB = blib\lib INST_MAN1DIR = blib\man1 INST_MAN3DIR = blib\man3 MAN1EXT = 1 MAN3EXT = 3 INSTALLDIRS = site DESTDIR = PREFIX = $(SITEPREFIX) PERLPREFIX = c:\strawberry\perl SITEPREFIX = c:\strawberry\perl\site VENDORPREFIX = INSTALLPRIVLIB = c:\strawberry\perl\lib DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB) INSTALLSITELIB = c:\strawberry\perl\site\lib DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB) INSTALLVENDORLIB = DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB) INSTALLARCHLIB = c:\strawberry\perl\lib DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB) INSTALLSITEARCH = c:\strawberry\perl\site\lib DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH) INSTALLVENDORARCH = DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH) INSTALLBIN = c:\strawberry\perl\bin DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN) INSTALLSITEBIN = c:\strawberry\perl\bin DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN) INSTALLVENDORBIN = DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN) INSTALLSCRIPT = c:\strawberry\perl\bin DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT) INSTALLSITESCRIPT = $(INSTALLSCRIPT) DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT) INSTALLVENDORSCRIPT = DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT) INSTALLMAN1DIR = c:\strawberry\perl\man\man1 DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR) INSTALLSITEMAN1DIR = $(INSTALLMAN1DIR) DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR) INSTALLVENDORMAN1DIR = DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR) INSTALLMAN3DIR = c:\strawberry\perl\man\man3 DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR) INSTALLSITEMAN3DIR = $(INSTALLMAN3DIR) DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR) INSTALLVENDORMAN3DIR = DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR) PERL_LIB = c:\strawberry\perl\lib PERL_ARCHLIB = c:\strawberry\perl\lib LIBPERL_A = libperl.a FIRST_MAKEFILE = Makefile MAKEFILE_OLD = Makefile.old MAKE_APERL_FILE = Makefile.aperl PERLMAINCC = $(CC) PERL_INC = C:\strawberry\perl\lib\CORE PERL = C:\strawberry\perl\bin\perl.exe FULLPERL = C:\strawberry\perl\bin\perl.exe ABSPERL = $(PERL) PERLRUN = $(PERL) FULLPERLRUN = $(FULLPERL) ABSPERLRUN = $(ABSPERL) PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" PERL_CORE = 0 PERM_RW = 644 PERM_RWX = 755 MAKEMAKER = C:/strawberry/perl/lib/ExtUtils/ MM_VERSION = 6.44 MM_REVISION = 54639 # FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle). # BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg O +racle) # PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar) # DLBASE = Basename part of dynamic library. May be just equal BASEEX +T. MAKE = dmake FULLEXT = HTML\Template BASEEXT = Template PARENT_NAME = HTML DLBASE = $(BASEEXT) VERSION_FROM = INC = -IC:\strawberry\c\include OBJECT = LDFROM = $(OBJECT) LINKTYPE = dynamic BOOTDEP = # Handy lists of source code files: XS_FILES = C_FILES = O_FILES = H_FILES = MAN1PODS = MAN3PODS = # Where is the Config information that we are using/depend on CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP) $(PERL_INC)$(DFSEP)config +.h # Where to build things INST_LIBDIR = $(INST_LIB)\HTML INST_ARCHLIBDIR = $(INST_ARCHLIB)\HTML INST_AUTODIR = $(INST_LIB)\auto\$(FULLEXT) INST_ARCHAUTODIR = $(INST_ARCHLIB)\auto\$(FULLEXT) INST_STATIC = INST_DYNAMIC = INST_BOOT = # Extra linker info EXPORT_LIST = $(BASEEXT).def PERL_ARCHIVE = $(PERL_INC)\libperl58.a PERL_ARCHIVE_AFTER = TO_INST_PM = PM_TO_BLIB = \ $(INST_LIB)\HTML\ # --- MakeMaker platform_constants section: MM_Win32_VERSION = 6.44 # --- MakeMaker tool_autosplit section: # Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto AUTOSPLITFILE = $(ABSPERLRUN) -e "use AutoSplit; autosplit($$ARGV[0] +, $$ARGV[1], 0, 1, 1)" -- # --- MakeMaker tool_xsubpp section: # --- MakeMaker tools_other section: CHMOD = $(ABSPERLRUN) -MExtUtils::Command -e chmod CP = $(ABSPERLRUN) -MExtUtils::Command -e cp MV = $(ABSPERLRUN) -MExtUtils::Command -e mv NOOP = rem NOECHO = @ RM_F = $(ABSPERLRUN) -MExtUtils::Command -e rm_f RM_RF = $(ABSPERLRUN) -MExtUtils::Command -e rm_rf TEST_F = $(ABSPERLRUN) -MExtUtils::Command -e test_f TOUCH = $(ABSPERLRUN) -MExtUtils::Command -e touch UMASK_NULL = umask 0 DEV_NULL = > NUL MKPATH = $(ABSPERLRUN) "-MExtUtils::Command" -e mkpath EQUALIZE_TIMESTAMP = $(ABSPERLRUN) "-MExtUtils::Command" -e eqtime ECHO = $(ABSPERLRUN) -l -e "print qq{{@ARGV}" -- ECHO_N = $(ABSPERLRUN) -e "print qq{{@ARGV}" -- UNINST = 0 VERBINST = 0 MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e "install({{@ARGV}, +'$(VERBINST)', 0, '$(UNINST)');" -- DOC_INSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e perllocal_ins +tall UNINSTALL = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e uninstall WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) "-MExtUtils::Command::MM" -e warn +_if_old_packlist MACROSTART = MACROEND = USEMAKEFILE = -f FIXIN = pl2bat.bat # --- MakeMaker makemakerdflt section: makemakerdflt : all $(NOECHO) $(NOOP) # --- MakeMaker dist section: TAR = tar TARFLAGS = cvf ZIP = zip ZIPFLAGS = -r COMPRESS = gzip --best SUFFIX = .gz SHAR = shar PREOP = $(NOECHO) $(NOOP) POSTOP = $(NOECHO) $(NOOP) TO_UNIX = $(NOECHO) $(NOOP) CI = ci -u RCS_LABEL = rcs -Nv$(VERSION_SYM): -q DIST_CP = best DIST_DEFAULT = tardist DISTNAME = HTML-Template DISTVNAME = HTML-Template-2.9 # --- MakeMaker macro section: # --- MakeMaker depend section: # --- MakeMaker cflags section: # --- MakeMaker const_loadlibs section: # --- MakeMaker const_cccmd section: # --- MakeMaker post_constants section: # --- MakeMaker pasthru section: PASTHRU = # --- MakeMaker special_targets section: .SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT) .PHONY: all config static dynamic test linkext manifest blibdirs clean + realclean disttest distdir .USESHELL : # --- MakeMaker c_o section: # --- MakeMaker xs_c section: # --- MakeMaker xs_o section: # --- MakeMaker top_targets section: all :: pure_all $(NOECHO) $(NOOP) pure_all :: config pm_to_blib subdirs linkext $(NOECHO) $(NOOP) subdirs :: $(MYEXTLIB) $(NOECHO) $(NOOP) config :: $(FIRST_MAKEFILE) blibdirs $(NOECHO) $(NOOP) help : perldoc ExtUtils::MakeMaker # --- MakeMaker blibdirs section: blibdirs : $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exist +s $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists $ +(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DI +R)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists $(NOECHO) $(NOOP) # Backwards compat with 6.18 through 6.25 blibdirs.ts : blibdirs $(NOECHO) $(NOOP) $(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_LIBDIR) $(NOECHO) $(CHMOD) 755 $(INST_LIBDIR) $(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_ARCHLIB) $(NOECHO) $(CHMOD) 755 $(INST_ARCHLIB) $(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_AUTODIR) $(NOECHO) $(CHMOD) 755 $(INST_AUTODIR) $(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR) $(NOECHO) $(CHMOD) 755 $(INST_ARCHAUTODIR) $(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_BIN) $(NOECHO) $(CHMOD) 755 $(INST_BIN) $(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_SCRIPT) $(NOECHO) $(CHMOD) 755 $(INST_SCRIPT) $(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_MAN1DIR) $(NOECHO) $(CHMOD) 755 $(INST_MAN1DIR) $(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL $(NOECHO) $(MKPATH) $(INST_MAN3DIR) $(NOECHO) $(CHMOD) 755 $(INST_MAN3DIR) $(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists # --- MakeMaker linkext section: linkext :: $(LINKTYPE) $(NOECHO) $(NOOP) # --- MakeMaker dlsyms section: Template.def: Makefile.PL $(PERLRUN) -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"HTML::Template\", 'DLBASE' => '$(BASEEXT +)', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS +' => []);" # --- MakeMaker dynamic section: dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT) $(NOECHO) $(NOOP) # --- MakeMaker dynamic_bs section: BOOTSTRAP = # --- MakeMaker dynamic_lib section: # --- MakeMaker static section: ## $(INST_PM) has been moved to the all: target. ## It remains here for awhile to allow for old usage: "make static" static :: $(FIRST_MAKEFILE) $(INST_STATIC) $(NOECHO) $(NOOP) # --- MakeMaker static_lib section: # --- MakeMaker manifypods section: POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--" POD2MAN = $(POD2MAN_EXE) manifypods : pure_all \ $(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW) \ $(INST_MAN3DIR)\HTML\Template.$(MAN3EXT) # --- MakeMaker processPL section: # --- MakeMaker installbin section: # --- MakeMaker subdirs section: # none # --- MakeMaker clean_subdirs section: clean_subdirs : $(NOECHO) $(NOOP) # --- MakeMaker clean section: # Delete temporary files but do not touch installed files. We don't de +lete # the Makefile here so a later make realclean still has a makefile to +use. clean :: clean_subdirs - $(RM_F) \ *$(LIB_EXT) core \ core.[0-9] core.[0-9][0-9] \ $(BASEEXT).bso $(INST_ARCHAUTODIR)\extralibs.ld \ pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \ $(BASEEXT).x $(BOOTSTRAP) \ perl$(EXE_EXT) tmon.out \ $(INST_ARCHAUTODIR)\extralibs.all *$(OBJ_EXT) \ pm_to_blib blibdirs.ts \ core.[0-9][0-9][0-9][0-9][0-9] *perl.core \ core.*perl.*.? $(MAKE_APERL_FILE) \ perl $(BASEEXT).def \ core.[0-9][0-9][0-9] mon.out \ lib$(BASEEXT).def perlmain.c \ perl.exe so_locations \ $(BASEEXT).exp - $(RM_RF) \ dll.exp dll.base \ blib - $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL) # --- MakeMaker realclean_subdirs section: realclean_subdirs : $(NOECHO) $(NOOP) # --- MakeMaker realclean section: # Delete temporary files (via clean) and also delete dist files realclean purge :: clean realclean_subdirs - $(RM_F) \ $(MAKEFILE_OLD) $(FIRST_MAKEFILE) - $(RM_RF) \ $(DISTVNAME) # --- MakeMaker metafile section: metafile : create_distdir $(NOECHO) $(ECHO) Generating META.yml $(NOECHO) $(ECHO) "--- #YAML:1.0" > META_new.yml $(NOECHO) $(ECHO) "name: HTML-Template" >> META_new +.yml $(NOECHO) $(ECHO) "version: 2.9" >> META_new.yml $(NOECHO) $(ECHO) "abstract: ~" >> META_new.yml $(NOECHO) $(ECHO) "license: ~" >> META_new.yml $(NOECHO) $(ECHO) "author: ~" >> META_new.yml $(NOECHO) $(ECHO) "generated_by: ExtUtils::MakeMaker versio +n 6.44" >> META_new.yml $(NOECHO) $(ECHO) "distribution_type: module" >> META_new.yml $(NOECHO) $(ECHO) "requires: " >> META_new.yml $(NOECHO) $(ECHO) " Carp: 0" >> META_n +ew.yml $(NOECHO) $(ECHO) " Digest::MD5: 0" >> META_n +ew.yml $(NOECHO) $(ECHO) " File::Spec: 0.82" >> MET +A_new.yml $(NOECHO) $(ECHO) " Scalar::Util: 0" >> META_n +ew.yml $(NOECHO) $(ECHO) " Test::More: 0" >> META_n +ew.yml $(NOECHO) $(ECHO) "meta-spec:" >> META_new.yml $(NOECHO) $(ECHO) " url: +t/META-spec-v1.3.html" >> META_new.yml $(NOECHO) $(ECHO) " version: 1.3" >> META_new.yml -$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml # --- MakeMaker signature section: signature : cpansign -s # --- MakeMaker dist_basics section: distclean :: realclean distcheck $(NOECHO) $(NOOP) distcheck : $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck skipcheck : $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck manifest : $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest veryclean : realclean $(RM_F) *~ */*~ *.orig */*.orig *.bak */*.bak *.old */*.old # --- MakeMaker dist_core section: dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE) $(NOECHO) $(ABSPERLRUN) -l -e "print 'Warning: Makefile possibly o +ut of date with $(VERSION_FROM)'\ if -e '$(VERSION_FROM)' and -M '$(VERSION_FROM)' < -M '$(FIRST_MAK +EFILE)';" -- tardist : $(DISTVNAME).tar$(SUFFIX) $(NOECHO) $(NOOP) uutardist : $(DISTVNAME).tar$(SUFFIX) uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(D +ISTVNAME).tar$(SUFFIX)_uu $(DISTVNAME).tar$(SUFFIX) : distdir $(PREOP) $(TO_UNIX) $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME) $(RM_RF) $(DISTVNAME) $(COMPRESS) $(DISTVNAME).tar $(POSTOP) zipdist : $(DISTVNAME).zip $(NOECHO) $(NOOP) $(DISTVNAME).zip : distdir $(PREOP) $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME) $(RM_RF) $(DISTVNAME) $(POSTOP) shdist : distdir $(PREOP) $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar $(RM_RF) $(DISTVNAME) $(POSTOP) # --- MakeMaker distdir section: create_distdir : $(RM_RF) $(DISTVNAME) $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \ -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');" distdir : create_distdir distmeta $(NOECHO) $(NOOP) # --- MakeMaker dist_test section: disttest : distdir cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL "LIBS=-LC:\strawberry +\c\lib" "INC=-IC:\strawberry\c\include" cd $(DISTVNAME) && $(MAKE) $(PASTHRU) cd $(DISTVNAME) && $(MAKE) test $(PASTHRU) # --- MakeMaker dist_ci section: ci : $(PERLRUN) "-MExtUtils::Manifest=maniread" \ -e "@all = keys %{ maniread() };" \ -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" +\ -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LAB +EL) @all});" # --- MakeMaker distmeta section: distmeta : create_distdir metafile $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=ma +niadd -e "eval {{ maniadd({{q{{META.yml} => q{{Module meta-data (adde +d by MakeMaker)}}}) } \ or print \"Could not add META.yml to MANIFEST: $${{'@'}\n\"" -- # --- MakeMaker distsignature section: distsignature : create_distdir $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=ma +niadd -e "eval {{ maniadd({{q{{SIGNATURE} => q{{Public-key signature +(added by MakeMaker)}}}) } \ or print \"Could not add SIGNATURE to MANIFEST: $${{'@'}\n\"" -- $(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE cd $(DISTVNAME) && cpansign -s # --- MakeMaker install section: install :: all pure_install doc_install $(NOECHO) $(NOOP) install_perl :: all pure_perl_install doc_perl_install $(NOECHO) $(NOOP) install_site :: all pure_site_install doc_site_install $(NOECHO) $(NOOP) install_vendor :: all pure_vendor_install doc_vendor_install $(NOECHO) $(NOOP) pure_install :: pure_$(INSTALLDIRS)_install $(NOECHO) $(NOOP) doc_install :: doc_$(INSTALLDIRS)_install $(NOECHO) $(NOOP) pure__install : pure_site_install $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDI +RS=site doc__install : doc_site_install $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDI +RS=site pure_perl_install :: $(NOECHO) $(MOD_INSTALL) \ read $(PERL_ARCHLIB)\auto\$(FULLEXT)\.packlist \ write $(DESTINSTALLARCHLIB)\auto\$(FULLEXT)\.packlist \ $(INST_LIB) $(DESTINSTALLPRIVLIB) \ $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \ $(INST_BIN) $(DESTINSTALLBIN) \ $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \ $(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \ $(INST_MAN3DIR) $(DESTINSTALLMAN3DIR) $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ $(SITEARCHEXP)\auto\$(FULLEXT) pure_site_install :: $(NOECHO) $(MOD_INSTALL) \ read $(SITEARCHEXP)\auto\$(FULLEXT)\.packlist \ write $(DESTINSTALLSITEARCH)\auto\$(FULLEXT)\.packlist \ $(INST_LIB) $(DESTINSTALLSITELIB) \ $(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \ $(INST_BIN) $(DESTINSTALLSITEBIN) \ $(INST_SCRIPT) $(DESTINSTALLSITESCRIPT) \ $(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \ $(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR) $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ $(PERL_ARCHLIB)\auto\$(FULLEXT) pure_vendor_install :: $(NOECHO) $(MOD_INSTALL) \ read $(VENDORARCHEXP)\auto\$(FULLEXT)\.packlist \ write $(DESTINSTALLVENDORARCH)\auto\$(FULLEXT)\.packlist \ $(INST_LIB) $(DESTINSTALLVENDORLIB) \ $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \ $(INST_BIN) $(DESTINSTALLVENDORBIN) \ $(INST_SCRIPT) $(DESTINSTALLVENDORSCRIPT) \ $(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \ $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR) doc_perl_install :: $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCH +LIB)/perllocal.pod -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) -$(NOECHO) $(DOC_INSTALL) \ "Module" "$(NAME)" \ "installed into" "$(INSTALLPRIVLIB)" \ LINKTYPE "$(LINKTYPE)" \ VERSION "$(VERSION)" \ EXE_FILES "$(EXE_FILES)" \ >> $(DESTINSTALLARCHLIB)\perllocal.pod doc_site_install :: $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCH +LIB)/perllocal.pod -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) -$(NOECHO) $(DOC_INSTALL) \ "Module" "$(NAME)" \ "installed into" "$(INSTALLSITELIB)" \ LINKTYPE "$(LINKTYPE)" \ VERSION "$(VERSION)" \ EXE_FILES "$(EXE_FILES)" \ >> $(DESTINSTALLARCHLIB)\perllocal.pod doc_vendor_install :: $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCH +LIB)/perllocal.pod -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) -$(NOECHO) $(DOC_INSTALL) \ "Module" "$(NAME)" \ "installed into" "$(INSTALLVENDORLIB)" \ LINKTYPE "$(LINKTYPE)" \ VERSION "$(VERSION)" \ EXE_FILES "$(EXE_FILES)" \ >> $(DESTINSTALLARCHLIB)\perllocal.pod uninstall :: uninstall_from_$(INSTALLDIRS)dirs $(NOECHO) $(NOOP) uninstall_from_perldirs :: $(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)\auto\$(FULLEXT)\.packlist uninstall_from_sitedirs :: $(NOECHO) $(UNINSTALL) $(SITEARCHEXP)\auto\$(FULLEXT)\.packlist uninstall_from_vendordirs :: $(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)\auto\$(FULLEXT)\.packlist # --- MakeMaker force section: # Phony target to force checking subdirectories. FORCE : $(NOECHO) $(NOOP) # --- MakeMaker perldepend section: # --- MakeMaker makefile section: # We take a very conservative approach here, but it's worth it. # We move Makefile to Makefile.old here to avoid gnu make looping. $(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP) $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?" $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makef +ile..." -$(NOECHO) $(RM_F) $(MAKEFILE_OLD) -$(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) - $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL) $(PERLRUN) Makefile.PL "LIBS=-LC:\strawberry\c\lib" "INC=-IC:\stra +wberry\c\include" $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <==" $(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command. <==" false # --- MakeMaker staticmake section: # --- MakeMaker makeaperl section --- MAP_TARGET = perl FULLPERL = C:\strawberry\perl\bin\perl.exe $(MAP_TARGET) :: static $(MAKE_APERL_FILE) $(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@ $(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib $(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TA +RGET) $(NOECHO) $(PERLRUNINST) \ Makefile.PL DIR= \ MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \ MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= \ LIBS=-LC:\strawberry\c\lib \ INC=-IC:\strawberry\c\include # --- MakeMaker test section: TEST_VERBOSE=0 TEST_TYPE=test_$(LINKTYPE) TEST_FILE = TEST_FILES = t/*.t TESTDB_SW = -d testdb :: testdb_$(LINKTYPE) test :: $(TEST_TYPE) subdirs-test subdirs-test :: $(NOECHO) $(NOOP) test_dynamic :: pure_all $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST +_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES) testdb_dynamic :: pure_all $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $( +TEST_FILE) test_ : test_dynamic test_static :: test_dynamic testdb_static :: testdb_dynamic # --- MakeMaker ppd section: # Creates a PPD (Perl Package Description) for a binary distribution. ppd : $(NOECHO) $(ECHO) "<SOFTPKG NAME=\"$(DISTNAME)\" VERSION=\"2,9,0,0 +\">" > $(DISTNAME).ppd $(NOECHO) $(ECHO) " <TITLE>$(DISTNAME)</TITLE>" >> $(DISTNAME). +ppd $(NOECHO) $(ECHO) " <ABSTRACT></ABSTRACT>" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " <AUTHOR></AUTHOR>" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " <IMPLEMENTATION>" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " <DEPENDENCY NAME=\"Carp\" VERSION=\"0,0 +,0,0\" />" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " <DEPENDENCY NAME=\"Digest-MD5\" VERSION +=\"0,0,0,0\" />" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " <DEPENDENCY NAME=\"File-Spec\" VERSION= +\"0,82,0,0\" />" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " <DEPENDENCY NAME=\"Scalar-Util\" VERSIO +N=\"0,0,0,0\" />" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " <DEPENDENCY NAME=\"Test-More\" VERSION= +\"0,0,0,0\" />" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " <OS NAME=\"$(OSNAME)\" />" >> $(DISTNAM +E).ppd $(NOECHO) $(ECHO) " <ARCHITECTURE NAME=\"MSWin32-x86-multi- +thread-5.8\" />" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) " <CODEBASE HREF=\"\" />" >> $(DISTNAME). +ppd $(NOECHO) $(ECHO) " </IMPLEMENTATION>" >> $(DISTNAME).ppd $(NOECHO) $(ECHO) "</SOFTPKG>" >> $(DISTNAME).ppd # --- MakeMaker pm_to_blib section: pm_to_blib : $(TO_INST_PM) $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e "pm_to_blib({{@ARGV +}, '$(INST_LIB)\auto', '$(PM_FILTER)')" -- \ $(INST_LIB)\HTML\ $(NOECHO) $(TOUCH) pm_to_blib # --- MakeMaker selfdocument section: # --- MakeMaker postamble section: # End.

Nobody says perl looks like line-noise any more
kids today don't know what line-noise IS ...

Replies are listed 'Best First'.
Re: Strawberry CPAN: error code 130, while making 'pm_to_blib'
by syphilis (Archbishop) on Sep 30, 2008 at 07:31 UTC
    Checking if your kit is complete...
    Looks good
    Writing Makefile for HTML::Template
    ERROR: Cannot copy ''
    to 'blib\lib\HTML\': No such file or directory

    I see that there's no message printed that informs you precisely where the 'perl Makefile.PL' process stopped, and the 'dmake' process began. (To the people who are familiar with, I ask the question "Is that normal ?") The 'perl Makefile.PL' process, of course, terminates with the message Writing Makefile for HTML::Template, and the attempt to copy the pm file occurs at the beginning of the 'dmake' process.

    Does 'blib' exist in the cwd (ie in the top level source folder) ?
    If so, does 'blib\lib' exist ?
    If so, at what point does the blib tree stop ?

    Can you install modules manually ? (ie by running 'perl Makefile.PL', 'dmake test', and 'dmake install.)

Re: Strawberry CPAN: error code 130, while making 'pm_to_blib'
by Corion (Patriarch) on Sep 30, 2008 at 07:09 UTC

    Have you checked the error message?

    ERROR: Cannot copy '' to 'blib\lib\HTML\': No su +ch file or directory

    Is in the current directory when dmake executes? Maybe your distribution file is broken. Also, the most recent version of Template::Toolkit is 2.20, so you might be using a stale CPAN mirror. Version 2.09 is from 2003, over five years old. Version 2.10 was released one day after 2.09, so it might include some emergency fix.

    Update: This is about HTML::Template, not Template Toolkit.

      Every module I try to install ends up the same. I just chose HTML::Template as a fairly simple example of a module install which never causes me problems normally.

      Nobody says perl looks like line-noise any more
      kids today don't know what line-noise IS ...
Re: Strawberry CPAN: error code 130, while making 'pm_to_blib'
by poolpi (Hermit) on Sep 30, 2008 at 07:22 UTC

    Maybe a Strawberry library path problem.

    this post may help you.

    Update : Check your environment system variables (?)


    'Ebry haffa hoe hab im tik a bush'. Jamaican proverb
      That post is about a guy who wants to move Strawberry away from its hard-coded path. I'm happy for it to stay where it is!

      Nobody says perl looks like line-noise any more
      kids today don't know what line-noise IS ...
Re: Strawberry CPAN: error code 130, while making 'pm_to_blib'
by Cody Pendant (Prior) on Sep 30, 2008 at 23:20 UTC
    I decided my multiple Perl installations were probably to blame for these issues and I'm going to bite the bullet and uninstall all Perls on this computer and start from scratch with Strawberry, after I've run one more key script.

    Strawberry has an uninstaller, which tells me, helpfully, that uninstall is complete, but that some components haven't been uninstalled, that they can be uninstalled manually, but not what they are.

    Nobody says perl looks like line-noise any more
    kids today don't know what line-noise IS ...

      Strawberry puts everything under C:\Strawberry simply deleting this folder should be sufficient to finish removing all the files that were installed.

Re: Strawberry CPAN: error code 130, while making 'pm_to_blib'
by Anonymous Monk on Jun 15, 2011 at 18:10 UTC
    Having a very similar problem with dmake I discovered that for me it was caused by an autorun command I configured a long time ago to default my working directory when I open a new cmd prompt. Stupid me, the article above even indicates to use the feature at my own risk, and the result was two days of pulling my hair out thinking dmake didn't have permissions to create directories in my strawberry perl lib path. Turns out it forks to new shells, and with my autorun key set it was navigating away from the implied lib path to an unrelated directory (my development root) and creating the files there. Then the parent process attempts to access those files in the lib path and they're not there. Just in case someone else is pulling out their hair and ends up here, you may want to check the registry key HKCU\Software\Microsoft\Command Processor\autorun
      Anonymous Monk you have saved my life. I never would have realized that it was because of my autorun to change the cmd directory. I really didn't have days to pull my hair out so I am very grateful you found this out and posted about it
        Thanks you Anonymous Monk ! You have also saved my life..!
      Thank you so much. After 3 hrs of struggling with perl and googling I've found this post. And it saved my nerves too!
Re: Strawberry CPAN: error code 130, while making 'pm_to_blib'
by frankcox (Acolyte) on Mar 13, 2009 at 23:18 UTC
    You posted this months ago but your question came up in a search I did for a problem I'm having...

    Specificity, look at the first line in the pm_to_blib section of your makefile where is says "pm_to_blib({{@ARGV...". As I count it there is an extra right curly bracket which will be a error.

    This is the problem I have with my module under strawberry anyway.

    If you can, try running the following command and then make again:

    perl Makefile.PL NOECHO=

    This will turn off NOECHO so all the commands make runs can be seen. See if it dies on that line and count the brackets.

    If this problems is now too far in your past for you to bother with I understand.

    --Frank Lyon Cox

      As I count it there is an extra right curly bracket which will be a error.

      You mean an extra *left* curly bracket ? That seems to be normal. I get it in the Makefiles that 'perl Makefile.PL' builds for me, and it doesn't pose any problems.

      If that syntax is causing a problem for you, then perhaps it's your version of dmake that's at fault. (I have version 4.11-20080107-SHAY from CPAN).

        You mean an extra *left* curly bracket

        I did mean left, my typo.

        When I try to install Geo::ReadGRIB I'm actually getting the error "Missing right curly or square bracket..." on that pm_to_blib line when I try to build under Strawberry. With any other perl I've tried I don't get that error or the extra brackets.

        I've removed that extra bracket and a few others from the makefile by hand to get it to build and install.

        I'd like to know why it's happening in my case on Strawberry Perl. It can't be a widespread issue. I did a lot of searching and this is the only thread anyplace I've found that even comes close. (And I don't think that's what's causing this).

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://714484]
Approved by Corion
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-05-27 03:20 GMT
Find Nodes?
    Voting Booth?

    No recent polls found