SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Web Enthusiast
    Join Date
    Jul 2000
    Location
    Western Massachusetts, USA
    Posts
    1,389
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting gcc 2.95 installed to compile MySQL

    Can anyone help, or point me to someone who can help me get gcc-2.95.3 installed?

    Attempting to install MySQL from source code with Redhat Linux 7.1 on my Pentium MMX 234MHz system, I observed a MySQL website compiler advisory which said not to use gcc-2.96 (which comes with Redhat 7.1), but to downgrade to gcc-2.95. I downloaded gcc-2.95.3, uncompressed and unpacked the files. However, following gcc's website directions
    http://gcc.gnu.org/install/configure.html
    when as root (#) from /usr/local/gcc I typed
    # /tmp/download/gcc-2.95.3/configure
    I got the following error message:

    >>Config.guess failed to determine the host type. You need to specify one.
    Usage: configure [OPTIONS] [HOST]
    Options: (too many to list here)
    Where HOST and TARGET are something like "sparc-sunos",
    "mips-sgi-irix5", etc.<<

    Their docs say "GCC has code to correctly determine the correct value for 'target' (they seem to interchange this term with 'host')for nearly all native systems. Therefore, we highly recommend you not provide a configure target when configuring a native compiler."

    Yet the error message persists.

    I have tried combinations of 'options'
    (ex. --prefix=/usr/local)
    and 'target' or 'host' values
    (--target=i586-pc-linux-gnu) and still
    come up with the same error message.

    I have tried to get help from MySQL, Redhat and GCC, all to no avail.
    Paul C.
    ClickBasics
    http://www.clickbasics.com

  2. #2
    Are you ready for BSD? Marshall's Avatar
    Join Date
    Dec 2001
    Posts
    373
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What version of mysql are you attempting to install? See http://www.e-gineer.com/instructions...on-linux.phtml for good step-by-step instructions.

    Attempting to install MySQL from source code with Redhat Linux 7.1 on my Pentium MMX 234MHz system, I observed a MySQL website compiler advisory which said not to use gcc-2.96 (which comes with Redhat 7.1), but to downgrade to gcc-2.95.
    You'd be better off downgrading to a version of Linux that includes the required version of GCC by default. Downgrading just GCC may break other components on your system.

    - Marshall


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •