in reply to Re^3: Another CPAN Module problem
in thread Another CPAN Module problem

I remember putting it in the right directory and everything worked, but I don't remember where I got it from
Yes, I remember having that problem too. When you unpack libexpat's source tarball, you will notice the file expat_external.h in one of the sub directories; manually copy it from there to /usr/local/include and all will be well.

Replies are listed 'Best First'.
Re^5: Another CPAN Module problem
by lensman (Novice) on Oct 13, 2005 at 19:45 UTC
    You were right. I tried the same solution on my 2nd server and I still had to copy expat_external.h to /usr/local/include to get a clean make. Looks like the solution is:
    1. download, gunzip, tar,
    2. run configure,
    3. make install (which will fail),
    4. move expat_external.h
    5. run make install again (which should succeed),
    5. install XML::Parser.

    And all is well, indeed.

    Thanks! You guys are great!
Re^5: Another CPAN Module problem
by lensman (Novice) on Oct 13, 2005 at 18:28 UTC
    I tried copying to a few places with no luck. Here's what I think happened: I am so inexperienced with this, and it is taking so long to research the steps and stumble thru them that by the time I find out what to do next I've forgotten where I left off.
    I must have not done the make install on expat. After I did it, I re-did perl -MCPAN -e shell / install XML::Parser, and lo-and-behold! it worked! I guess I need to write stuff down. I say that everytime and I never learn.

    I want to thank all you patient and wise brothers for tolerating my ignorance.

    But, I'll be one of you someday!!