On Fri, 2003-08-29 at 10:38, Dan Langille wrote:
On a 5.1-release box, I tried to install databases/mysql323-client and was told:

configure: error: Your compiler cannot convert a longlong value to a float!
If you are using gcc 2.8.# you should upgrade to egcs 1.0.3 or newer and try again.

The output of databases/mysql323-client/work/mysql-3.23.57/config.log is at <http://www.freebsddiary.org/tmp/config.log>

> On 29 Aug 2003 at 11:07, Tim Kientzle wrote:
#line 16878 "configure"
#include "confdefs.h"
#include <stdio.h>
typedef long long longlong;
  longlong ll=1;
  float f;
  FILE *file=fopen("conftestval", "w");
  f = (float) ll;
  exit (0);

Aaah. Yes, Kris was right; this is a bug in the configure script:

It should be "fclose(file)", of course.

This should work:

1) cd /usr/ports/mysql323-client
1a) rm -rf work
2) make extract
3) vi work/mysql-3.23.57/configure
   search on 'longlong' to find the above program.
   Change "close" to "fclose"
4) make
5) make install


[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to