dmake.exe

519 views
Skip to first unread message

Garrett Sparks

unread,
Oct 25, 2012, 3:53:47 AM10/25/12
to citru...@googlegroups.com
Hi,

I'm trying to install a module (namely WWW::Mechanize).  I am running from the cpan.bat file in the bin directory of Citrus Perl.  I'm getting the error "Encountered unknown error" on make, which tells me nothing. 

However, after running
"install Bundle::CPAN" I see the error 'dmake.exe' is not recognized as an internal or external command

Do I need to install a special maker?  Does anyone know where I can find dmake?

Thanks for your help,

Garrett

Garrett Sparks

unread,
Oct 25, 2012, 3:58:43 AM10/25/12
to citru...@googlegroups.com
So dmake.exe is inside of mingw like I thought earlier.  How do I point CPAN to that dmake.exe, or tell Windows to use that executable? 

Citrus Support

unread,
Oct 25, 2012, 7:42:37 AM10/25/12
to citru...@googlegroups.com
Hi,

Once you have used the Citrus Utils application to set where your MinGW
is, use the 'citrusterm.bat' to open a command prompt set up for your
Citrus environment.
( <pathtocitrusperl>\bin\citrusterm.bat )

You can double click citrusterm.bat from Explorer to open the command
prompt.

Within the command prompt, all should work as expected.

You can simply do

cpan -i WWW::Mechanize

and all should work.

Regards

Mark

Garrett Sparks

unread,
Oct 25, 2012, 3:49:43 PM10/25/12
to citru...@googlegroups.com
Alright, that's fantastic, I can get modules installed now.  However, I'm seeing a similar error when trying to install the Cava::Packager utilities from inside Cava Packager. 

When I got to file -> Install Cava Packager Utilities and then point it to my perl.exe file inside C:/perl/bin, it says it can't find 'dmake.exe'. 

So what I did was run the cavapackager.exe from inside my citrusterm.bat file.  Is this what I should have done?  Should I post in the Cava Packager group? 

Thanks so much for your support.

-Garrett

Citrus Support

unread,
Oct 25, 2012, 4:20:09 PM10/25/12
to citru...@googlegroups.com
Hi,

That's a bug in current Cava Packager. It would be useful if you posted
your work-around as a tip to Cava Packager group.

I think I am quite close to releasing 'Citrus Packager' - a fully Open
Source replacement for Cava, so I'll probably not release bug fixes for
Cava for a few weeks.

Regards

Mark

Garrett Sparks

unread,
Oct 25, 2012, 6:35:27 PM10/25/12
to citru...@googlegroups.com
Hi,
 
I will post that work-around. 
 
Just a heads up, there seems to be an issue with the Scan function in Cava for windows creating Read-only files.  So when it get to the Build part of scan/build, it can't overwrite the files in the project directory, causing Build to fail returning a "could not rename <file>" error.  There's a post in the Cava group on it.  I'm having the same problem.  Should we revert to an older version of Cava?
 
Thanks,
 
Garrett
Reply all
Reply to author
Forward
0 new messages