# Re: Programs with Inline::C suddenly fail to compile

On Jan 14, 5:41 pm, Ben Morrow <b...@xxxxxxxxxxxx> wrote:
Have you upgraded ExtUtils::MakeMaker in the meanwhile,
or any other toolchain modules?

No, I haven't, although since you mentioned it, I tried re-
installing it with:

cpan -fi ExtUtils::MakeMaker

but that didn't seem to change anything. I finally got it working,

Well, you could always find a copy of dlltool
(I presume it's part of GNU binutils for Win32)
and put it in strawberry\c\bin.

I checked, and dlltool.exe was not in my GNU unix utilities for
Win32 (I'm not sure... is that the same as GNU binutils?). However, I
did a "find2perl" search on C:\ and eventually found dlltool.exe in C:
\Program Files\GCL-2.6.7-ANSI\mingw\mingw32\bin , so I copied it to C:
\strawberry\c\bin (the directory where gcc.exe resides).

This solved the problem! My Inline::C programs now compile.

Of course, I'm still puzzled as to why I could compile with no
problems last month and today I got errors relating to not finding
dlltool.exe . I don't recall ever installing mingw (perhaps
installing Strawberry Perl or Inline::C did it for me), but maybe the
mingw bin directory was in my path and somehow got removed recently.

and skips the recompile if it's unchanged, so your old
script isn't getting recompiled at all. If you clear out
D:\tmp\_Inline you'll find the old script stops working
too (which is actually a step forward, even though it may
not seem like it).

Makes sense, as it would explain why there's multiple copies of
programs in the _Inline\lib\auto directory. This brings up the
question: If I modify the C code 20 times and run it after each
modification, will I have 20 cached programs in the _Inline
directory? Do the old cached programs ever go away, or do they
essentially stay around forever?

Anyway, thanks a million for your help, Ben.

-- Jean-Luc
.

## Relevant Pages

• Re: From Rumiancev Alexander
... The canonical way of forcing packages to use GNU make instead of BSD ... everything related to BSD make to work again by installing BSD make ... you can install BSD make manually by copying files from ...
(freebsd-questions)
• Re: Low-end machine for .ogg jukebox
... >> for CLI, it's fine. ... Only hits pagefile when running sw like gnu ... Installing X is probably a bit too much to ...
(comp.unix.bsd.freebsd.misc)
• Re: [SLE] Synaptic cries foul
... > As I mentioned about a week ago, I got the latest gnutls from the gnu ... > ftp site. ... > installing software. ... He is using the rpm system and you are ...
(SuSE)