in reply to Problems when installing DBD-Mysql

It seems like gcc hasn't been installed. Is there an RPM package for this?

Ralph.

Replies are listed 'Best First'.
Re (2): Problems when installing DBD-Mysql (locate)
by VSarkiss (Monsignor) on May 13, 2003 at 22:35 UTC

    It looks like your Config.pm thinks you're on Linux. Is that true? If so, it's highly unlikely that you don't have gcc installed: all the major distros I know of include the whole gcc suite.

    First try locate gcc or slocate gcc. It's quite possible that you have gcc, but it's not in your path. If you have it, look in your shell's PATH variable, and make sure the directory gcc is in appears in there.

    If you're not on Linux, then your Config.pm is confused.

Re: Re: Problems when installing DBD-Mysql
by shemp (Deacon) on May 13, 2003 at 22:20 UTC
    What platform are you running on? You need to be careful, because sometimes if perl is built using a different compiler than packages you are trying to install, there can be problems.
    I've actually only run across this issue on solaris, where perl was installed with solaris from the vendor. But we didnt buy their C++ compiler. So, to get some perl modules to run correctly, we had to recompile perl using gcc, then complie the packages.

    You may not be in this situation, but i thought i'd throw out the possibility.