fbsd 5.1 a mysql323-client - VYRESENO
Liquid
liquid at liquid.cz
Wed Jun 18 14:22:30 CEST 2003
Dekuji. Pomohlo to.
Liquid
> Zdravim,
> muzete zkusit nasledujici postup:
>
> 1. cd /usr/ports/databases/mysql323-client
> 2. make extract
> 3. cd work/mysql-3.23.56
> 4. otevrete si v editoru soubor configure a hledejte string longlong
> 5. mel byste najit zhruba nasledujici
>
> #include <stdio.h>
> typedef long long longlong;
> main()
> {
> longlong ll=1;
> float f;
> FILE *file=fopen("conftestval", "w");
> f = (float) ll;
> fprintf(file,"%g\n",f);
> close(file);
> exit (0);
> }
>
> 6. zmente close() na fclose() a ulozte zmenu
> 7. zkuste zkompilovat
>
> S pozdravemm,
> Josef Mruzek, ICZ,a.s.
>
> Liquid wrote:
> > Zdravim, uz jednou sjem to sem posilal ale neposlal jsem vsechno. Zprava
> > byla zbytecna. Ta chyab ktera se stane pri kompilaci mysql323-clienta z
> > PORTS je tato:
> > -------------
> > checking for type ulong... no
> > checking for type uchar... no
> > checking for type uint... yes
> > checking for type fp_except... no
> > checking if c++ supports bool types... yes
> > checking if conversion of longlong to float works... Segmentation fault
> > (core dumped)
> > no
> > 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
> > ===> Script "configure" failed unexpectedly.
> > Please report the problem to dirk at FreeBSD.org [maintainer] and
attach
> > the
> > "/usr/ports/databases/mysql323-client/work/mysql-3.23.56/config.log"
> > including the output of the failure of your make command. Also, it
> > might
> > be a good idea to provide an overview of all packages installed on
> > your
> > system (e.g. an `ls /var/db/pkg`).
> > *** Error code 1
> >
> > Stop in /usr/ports/databases/mysql323-client.
> >
> > --------------------------
> >
> > Vubec nevim jak s tim pohnout. Diky za pomoc.
> >
> > Liquid
>
More information about the Users-l
mailing list