[Gambas-user] gambas 0.55

Benoit Minisini gambas at ...2...
Tue May 6 13:26:57 CEST 2003


Le Lundi 5 Mai 2003 21:52, Charlie a écrit :
> Benoit Minisini schrieb:
> >Le Lundi 5 Mai 2003 20:29, Jochen Georges a écrit :
> >>On Monday 05 May 2003 18:22, Benoit Minisini wrote:
> >>>Hi everybody,
> >>>
> >>>Gambas 0.55 is out !
> >>
> >>hi benoit
> >>
> >>gambas 0.55 does not compile on debian woody :(
> >>
> >>...
> >>Making all in mysql
> >>make[5]: Entering directory `/opt/gambas-0.55/src/lib/db/mysql'
> >>/bin/sh ../../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.
> >>-I. -I../../../.. -I../../../../src/share -I/usr/include/mysql/
> >>-I/usr/include/mysql//    -pipe -Wall -g -O0 -c main.c
> >>gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share
> >>-I/usr/include/mysql/ -I/usr/include/mysql// -pipe -Wall -g -O0 -c
> >>main.c  -fPIC -DPIC -o main.lo
> >>main.c: In function `open_database':
> >>main.c:298: parse error before `char'
> >>main.c:303: `name' undeclared (first use in this function)
> >>main.c:303: (Each undeclared identifier is reported only once
> >>main.c:303: for each function it appears in.)

It is (alas) exactly the same problem.

Replace:

  char *name = GB.ToZeroString(ARG(name));

  if (DB_CheckName(name, "table"))
    return;

  CTABLE *table = get_table(THIS, name, FALSE);

by:

  CTABLE *table;
  char *name = GB.ToZeroString(ARG(name));

  if (DB_CheckName(name, "table"))
    return;

  table = get_table(THIS, name, FALSE);

And it should work.

> >>make[5]: *** [main.lo] Error 1
> >>make[5]: Leaving directory `/opt/gambas-0.55/src/lib/db/mysql'
> >>make[4]: *** [all-recursive] Error 1
> >>make[4]: Leaving directory `/opt/gambas-0.55/src/lib/db'
> >>make[3]: *** [all-recursive] Error 1
> >>make[3]: Leaving directory `/opt/gambas-0.55/src/lib'
> >>make[2]: *** [all-recursive] Error 1
> >>make[2]: Leaving directory `/opt/gambas-0.55/src'
> >>make[1]: *** [all-recursive] Error 1
> >>make[1]: Leaving directory `/opt/gambas-0.55'
> >>make: *** [all-recursive-am] Error 2
> >>archie:~#
> >>
> >>beste gruesse
> >>jochen
> >
> >See my answer to Charlie below.
> >
> >Try to exchange the line 298 and the line 297 in the main.c
> >file of src/lib/db/mysql, it should work.
>
> Salut Benoît,
>
> it is 23:50 on my box but your mail came one houre ago with date
> 06.05.2003 00:48
>
> Charlie
>

Strange, the date of the mail is correct on my box ?? (22:48)
I go to the date/time configuration of KDE, and, strange, the time zone was 
not configured. I have selected 'Paris'. We will see if it changes anything.

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list