From owner-freebsd-questions@FreeBSD.ORG Fri Mar 19 11:55:22 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4D8816A4CE for ; Fri, 19 Mar 2004 11:55:22 -0800 (PST) Received: from ws1.cnweb.com (ws1.cnweb.com [207.91.1.11]) by mx1.FreeBSD.org (Postfix) with SMTP id EF1B243D49 for ; Fri, 19 Mar 2004 11:55:21 -0800 (PST) (envelope-from darryl@osborne-ind.com) Received: (qmail 4361 invoked from network); 19 Mar 2004 19:55:21 -0000 Received: from p245n23.ruraltel.net (HELO darryl) (24.225.23.245) by spkg.com with SMTP; 19 Mar 2004 19:55:21 -0000 From: "Darryl Hoar" To: Date: Fri, 19 Mar 2004 13:56:29 -0600 Message-ID: <009901c40dec$45c46bc0$0701a8c0@darryl> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <007501c40dbe$1059bb80$0701a8c0@darryl> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Importance: Normal cc: freebsd-questions@freebsd.org Subject: RE: 5.1 & mysql problem - solved X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: darryl@osborne-ind.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 19:55:22 -0000 > Cc: freebsd-questions@freebsd.org > Subject: RE: 5.1 & mysql problem > > > > darryl@osborne-ind.com wrote: > > > > >I installed Freebsd 5.1-release. > > > > > >I then installed lynx from the ports system > > >without problem. > > > > > >I then installed apache13 from ports without > > >problem. > > > > > >When I tried to install mysql323-client. I did > > >this by cd /usr/ports/databases/mysql323-client. > > >I then did a make. It trundled away for a while, > > >and eventually errored out. > > > > > >configure: error: Your compiler cannot convert a > > >longlong value to a float! > > > > > >I tried to install mysql323-server but it errored > > >out the same way. > > > > > >Any ideas why it won't compile ? I checked the > > >version of gcc the system is using, and the > > >man page say gcc-3.2.1. > > > > > > > > Do you have to use mysql323-client? Did you tried the newest mysql > > client from the newest port tree? > > > I was trying to install mysql323-client on a machine. I > wanted the same > mysql version as what is on my production box. So, I'd prefer not to > install mysql40-client. > > thanks, > Darryl After some googling, I found the following solution: 1. cd /usr/ports/databases/mysql323-client 2. rm -rf work 3. make extract 4. vi work/mysql-3.23.56/config find longlong. in the function that follows, change close to fclose. save file. 5. make 6. make install works like a champ. Seems to be a bug in the config script. thanks, Darryl