Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Problems when installing DBD-Mysql
by MrYoya (Monk) on May 13, 2003 at 21:54 UTC
    /bin/sh: line 1: gcc: command not found

    Is gcc installed?

Re: Problems when installing DBD-Mysql
by Anonymous Monk on May 13, 2003 at 23:32 UTC
    I'm installing more packages and I keep getting missing dependencies. I don't think even glibc is installed on the system.

    How do I check the PATH?

    Ralph.
      Assuming a sh-like shell, echo $PATH at the command line.
Re: Problems when installing DBD-Mysql
by Anonymous Monk on May 13, 2003 at 22:14 UTC
    It seems like gcc hasn't been installed. Is there an RPM package for this?

    Ralph.

      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.

      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.
Re: Problems when installing DBD-Mysql
by Anonymous Monk on May 14, 2003 at 09:16 UTC
    Isn't there an RPM for DBD-Mysql anywhere? Cause I've been all night installing dependencies and dependencies and dependencies... This just never ends. And now I can't even find the RPM for glibc-common.

    Ralph.