[Bond-users] Can't compile bonddb

Dru dru at treshna.com
Tue May 8 17:54:07 EDT 2007


Can you run bondfrontend ?
It should be in /usr/local/bin

And it would give you an error when you run it about missing .conf file.
Look at one of the examples, edit and move the .conf file. Then run 
bondfrontend from within the example directory

Ibrahim Shaame wrote:
> Hi,
>    I have created the symlinks and scons does not give any error 
> messages anymore. So I have run scons and scons install on both bonddb 
> and bond. But then I don't seem to undertand where the applications are 
> installed ( as scons does not give you a choice of where to install the 
> application, as it the case with ./configure).  I  have not been able to 
> run bond. Am I missing something?
> Thanks again for your patience
> Ibrahim
> 
> On 5/8/07, *Colin Close* <itchka at compuserve.com 
> <mailto:itchka at compuserve.com>> wrote:
> 
>     Hi Ibrahim,
> 
>     I didn't touch scons I edited the source. The file you need to hack in
>     Bond is pgsql/binding_pgsql.c; I simply pre-pended the path to my
>     includes to libpq-fe.h.
>     I didn't do it with scons because its not possible (well, not
>     simple) to
>     get scons to accept environment variables from the shell although I
>     believe this can be done.
>     With regard to libraries thats fixable with a symbolic link. If you
>     don't know this then "man ln" will give you some help.
>     Before I get jumped on I must say that this is a very bad way of doing
>     things and it really should be sorted via the build system. The old
>     configure/make build system had mechanisms for getting round these kind
>     of difficulties scons however is much more disciplined but has the
>     advantage of being blisteringly fast.
> 
>     Best
> 
>     Colin Close
> 
> 
> 
>     Ibrahim Shaame wrote:
>      > Yes, my postgresql is not at a standard location. Now how can I tell
>      > scons to go and find my postgresql libs and include files. I tried to
>      > check the SConstruct file but could not get a clue.
>      > Ibrahim
>      >
>      >
>      > On 5/7/07, *Colin Close* < itchka at compuserve.com
>     <mailto:itchka at compuserve.com>
>      > <mailto:itchka at compuserve.com <mailto:itchka at compuserve.com>>> wrote:
>      >
>      >     Hi,
>      >
>      >     I had similar problems, you may find that your OS puts the psql
>      >     includes
>      >     in a different place that bond expects.  Mine is in two places on
>      >     Mandriva /usr/include/pgsql/libpq which has a single include
>     file and
>      >     /usr/include/pgsql/server/libpq which contains the ones
>     required to
>      >     compile Bond.
>      >     I patched the offending files but there are probably more elegant
>      >     ways.
>      >     Note that you will have the same problem with Papyrus.
>      >
>      >     Colin Close
>      >     itchka at compuserve.com <mailto:itchka at compuserve.com>
>     <mailto:itchka at compuserve.com <mailto:itchka at compuserve.com>>
>      >
>      >
>      >
>      >     jasen at tyreal.treshna.com <mailto:jasen at tyreal.treshna.com>
>     <mailto:jasen at tyreal.treshna.com <mailto:jasen at tyreal.treshna.com>>
>     wrote:
>      >     >
>      >     > On Mon, May 07, 2007 at 10:17:27PM +0200, Ibrahim Shaame wrote:
>      >     >
>      >     >> I have downgraded the scons and now I get a lot or error
>      >     messages. The
>      >     >> following is just a part of it. I guess  there is a problem of
>      >     a header file
>      >     >> not found, maybe?
>      >     >>
>      >     >
>      >     > was there a warning before the errors ?
>      >     >
>      >     >
>      >     >> pgsql/binding_pgsql.c: At top level:
>      >     >> pgsql/binding_pgsql.c:659: error: syntax error before '*'
>     token
>      >     >> pgsql/binding_pgsql.c: In function `_db_cachedefaultvalue':
>      >     >> pgsql/binding_pgsql.c:663: error: `l' undeclared (first
>     use in this
>      >     >> function)
>      >     >>
>      >     >
>      >     > have you installed libpq-dev ?
>      >     > (or if you don't want posgres support compile with scons
>      >     POSTGRES=0 ... )
>      >     >
>      >     >
>      >     >
>      >     >
>      >     > _______________________________________________
>      >     > Bond-users mailing list
>      >     > Bond-users at hcoop.net <mailto:Bond-users at hcoop.net>
>     <mailto:Bond-users at hcoop.net <mailto:Bond-users at hcoop.net>>
>      >     > http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
>     <http://hcoop.net/cgi-bin/mailman/listinfo/bond-users>
>      >     >
>      >     >
>      >
>      >
>      >     _______________________________________________
>      >     Bond-users mailing list
>      >     Bond-users at hcoop.net <mailto:Bond-users at hcoop.net>
>     <mailto:Bond-users at hcoop.net <mailto:Bond-users at hcoop.net>>
>      >     http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > Bond-users mailing list
>      > Bond-users at hcoop.net <mailto:Bond-users at hcoop.net>
>      > http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
>      >
> 
> 
>     _______________________________________________
>     Bond-users mailing list
>     Bond-users at hcoop.net <mailto:Bond-users at hcoop.net>
>     http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bond-users mailing list
> Bond-users at hcoop.net
> http://hcoop.net/cgi-bin/mailman/listinfo/bond-users


-- 
Andrew Hill
treshna Enterprises Ltd
Tel: 03 366 3649
Cel: 021 660 819
Web: www.treshna.com
IT Consultancy - Websites - Database development - Computer tech support




More information about the Bond-users mailing list