Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Another CPAN Module problem

by dorko (Parson)
on Oct 13, 2005 at 17:03 UTC ( #499960=note: print w/replies, xml ) Need Help??


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

I remember having that problem too.

Googling "expat_external.h" gave me this link about expat_external.h not being copied to the right directory. I remember putting it in the right directory and everything worked, but I don't remember where I got it from... I think it gets installed, but just not copied to right directory. If you poke around, you should be able to find it and copy it over to the correct directory.

Cheers,

Brent

-- Yeah, I'm a Delt.

Replies are listed 'Best First'.
Re^4: Another CPAN Module problem
by eyepopslikeamosquito (Chancellor) on Oct 13, 2005 at 17:51 UTC

    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.

      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!
      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!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://499960]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2018-07-21 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (449 votes). Check out past polls.

    Notices?