Compiling MySQL on 4.0G

From: Dermot Paikkos (dermot_at_sciencephoto.com)
Date: 10/06/03

  • Next message: MARCELO ALONSO MONDRAGON: "ps and arguments of a process"
    Date: Mon, 06 Oct 2003 17:17:22 +0100
    To: tru64-unix-managers@ornl.gov
    
    

    Hi Managers,

    MySQL 4.0.15a Tru64 4.0G

    I have run into trouble compiling mysql on my system. I have tried
    this in a few ways. There are some install notes at mysql that say
    use these flags and compiler args. I have tried the 2 options. The
    last of these say if you are using Compaq CC compiler this args
    should work:

    CC="cc -pthread"
    CFLAGS="-O4 -ansi_alias -ansi_args -fast -inline speed all -arch
    host" CXX="cxx -pthread"
    CXXFLAGS="-O4 -ansi_alias -ansi_args -fast -inline speed all -arch
    host \
    -noexceptions -nortti"
    export CC CFLAGS CXX CXXFLAGS
    ./configure \ --prefix=/usr/local/mysql \ --with-low-memory \ --
    enable-large-files \ --enable-shared=yes \ --with-named-thread-
    libs="-lpthread -lmach -lexc -lc"

    What I got was this:
    checking for gcc... cc -pthread
    checking for C compiler default output... configure: error: C
    compiler cannot create executables

    Without these options I could get further but I hit a snag at the
    client compilation. So I am not sure what is the best way to
    proceed.

    There are a few mysql queries in the archives. One mentions using
    gcc but that hasn't made a difference. Can anyone help. I have
    resorted to trying to compile older 3X versions of mysql and even
    tried a binary package built for a later version of Tru64, obviously
    they didn't work either.

    Thanx.
    Dp.
    ~~
    Dermot Paikkos * dermot@sciencephoto.com
    Network Administrator @ Science Photo Library
    Phone: 0207 432 1100 * Fax: 0207 286 8668


  • Next message: MARCELO ALONSO MONDRAGON: "ps and arguments of a process"

    Relevant Pages

    • Re: CPAN and DBD::mysql install failure
      ... If that's the case, the the additional definition of -D_FORTEC leads me to believe that MySQL wasn't built with GCC, but with Sun's Forte C compiler. ... CPAN would not build modules using my gcc when the original perl was built using cc. ...
      (comp.lang.perl.misc)
    • Re: [SOLVED] php5-mysql? (with added bonus for snort)
      ... make install of php5 and of mysql but no luck so far. ... Configured with: FreeBSD/i386 system compiler ... configure:2823: checking build system type ... configure:2974: checking for PHP includes ...
      (freebsd-questions)
    • [RESOLVED] DBD::mysql unresolved symbol _intel_fast_memcpy & mysql-standard-5.0.22-l
      ... Some of you may have wanted to build and install the DBD::mysql ... Mysql**, "...the MySQL Community Server compiled with the Intel CC ... Server compiled with the Intel CC compiler exhibit faster performance ... I will use the following settings for compiling and testing: ...
      (comp.lang.perl.modules)
    • php5-mysql?
      ... make install of php5 and of mysql but no luck so far. ... Configured with: FreeBSD/i386 system compiler ... configure:2823: checking build system type ... configure:2974: checking for PHP includes ...
      (freebsd-questions)
    • Re: FreeBSD MySQL still WAY slower than Linux
      ... Billy Newsom: COMPILER, DISK, MYSQLVERSION ... Thomas Hurst: FreeBSD-current, Don't overload mysql! ... tests to profile mysql on identical hardware running FreeBSD and Linux ...
      (freebsd-stable)