opnames.h - where are you?

ajtaylor on 2003-06-25T18:34:55

I had an interesting problem today when installing HTML::Parser. On my dev server it compiled fine, with no problems. But trying to install it on the production machine gave me an error during make along the lines of "can't find /usr/lib/perl5/5.005003/i386-linux/CORE/opnames.h". And it refused to continue.

After a bit of googling, I found instructions at http://www.qitc.net/support/mailscanner/ which explained that I needed to touch a few files and perl would be fine. I did and everything went smoothly from there.

Now my questions are: why did I get the error on one machine and not the other? And what is this opnames.h file and why is it needed? Terminally curious minds want to know...


MakeMaker Bug

link on 2003-06-25T20:26:46

It seems to be a bug with makemaker generating dependencies on files that don't exist for all versions of perl.
More details here and here
Do the dev and production servers use the same version of perl?

Re:MakeMaker Bug

ajtaylor on 2003-06-26T21:54:50

Do the dev and production servers use the same version of perl?

But of course! :-) That is one of the things that was so perplexing to me.