Re: Error running gda-buildclient (with patch)
- From: Rodrigo Moya Piernavieja <rmoya tsai es>
- To: gnome-db-list gnome org
- Subject: Re: Error running gda-buildclient (with patch)
- Date: Tue, 01 Feb 2000 15:23:58 +0100
Brian Jepson wrote:
> I tried to run gda-buildclient, but ran into a few problems with the
> following test case:
>
> export prefix=/usr
> export CC=gcc
> gda-buildclient --f gda-client-test12.c --o gda-client-test12
>
> Here are the problems:
>
> * The following error message occurs when I use it:
>
> /usr/bin/gda-buildclient: test: o: integer expression expected
> /usr/bin/gda-buildclient: test: =: unary operator expected
>
> * It assumes that $CC and $prefix are set without checking them.
>
> * It does not have a complete list of includes necessary to build an
> app (my test case was gda-client-test12.c)
>
> * -lgda-clnt should be -lgda-client
>
> * if --o is unspecified, it overwrites the input file
>
> * test for $target fails with:
>
> ./gda-buildclient: test: =: unary operator expected
> ./gda-buildclient: test: =: unary operator expected
>
> I've included a patch that corrects these problems:
Thanks! Committed to CVS. BTW, could you hack on the gda-buildserver.in script,
which is a little bit more difficult? If you want to, tell me and I'll send you
what it must do. (sorry for asking this, but I'm very bad on shell scripts)
Cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]