From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dermot Paikkos Newsgroups: gmane.os.tru64.managers Subject: Compiling MySQL on 4.0G Date: Mon, 06 Oct 2003 17:17:22 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <3F81A3A2.30785.1409705@localhost> Reply-To: dermot@sciencephoto.com NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1065457073 2858 80.91.224.253 (6 Oct 2003 16:17:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Oct 2003 16:17:53 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Oct 06 18:17:52 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1A6Y3T-0006hI-00 for ; Mon, 06 Oct 2003 18:17:51 +0200 Original-Received: (qmail 4066 invoked by uid 5); 6 Oct 2003 16:17:40 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 4051 invoked by uid 49493); 6 Oct 2003 16:17:39 -0000 Original-Received: from dermot@sciencephoto.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-2.6/5.0):. Processed in 0.613052 secs); 06 Oct 2003 16:17:39 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 6 Oct 2003 16:17:39 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HMC00IYQFXC5H@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 06 Oct 2003 12:17:38 -0400 (EDT) Original-Received: from helios.sciencephoto.co.uk (helios.sciencephoto.co.uk [194.200.237.129]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HMC00LJ8FX0GX@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 06 Oct 2003 12:17:25 -0400 (EDT) Original-Received: from [194.200.237.140] (helo=dione) by helios.sciencephoto.co.uk with esmtp (Exim 3.16 #3) id 1A6Y31-0004a1-00 for tru64-unix-managers@ornl.gov; Mon, 06 Oct 2003 17:17:23 +0100 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Pegasus Mail for Windows (v4.12a) Priority: normal Xref: main.gmane.org gmane.os.tru64.managers:5504 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:5504 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