Date: Fri, 19 Mar 2004 13:56:29 -0600 From: "Darryl Hoar" <darryl@osborne-ind.com> To: <darryl@osborne-ind.com> Cc: freebsd-questions@freebsd.org Subject: RE: 5.1 & mysql problem - solved Message-ID: <009901c40dec$45c46bc0$0701a8c0@darryl> In-Reply-To: <007501c40dbe$1059bb80$0701a8c0@darryl>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?009901c40dec$45c46bc0$0701a8c0>