Fedora & Bond From Source

View: New views
12 Messages — Rating Filter:   Alert me  

Fedora & Bond From Source

by Piers Rowan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there!

I have downloaded all the required packages & libraries to build bond &
bonddb from source. I have encountered the following error *after*
installing bonddb:

This is using the bond tar.gz file which contains both a bond and bonddb
directory.

[root@mt bond]# cd ../bonddb/

[root@mt bonddb]# scons
scons: Reading SConscript files ...
usr=/usr/
Checking for C header file string.h... (cached) yes
Using postgresql backend.
building bondcommon
building bondsql
Building bonddb...
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
[root@mt bonddb]# scons install
scons: Reading SConscript files ...
usr=/usr/
Checking for C header file string.h... (cached) yes
Using postgresql backend.
building bondcommon
building bondsql
Building bonddb...
scons: done reading SConscript files.
scons: Building targets ...
scons: `install' is up to date.
scons: done building targets.

[root@mt bonddb]# cd ../bond

[root@mt bond]# scons
scons: Reading SConscript files ...
Checking for C header file string.h... yes
Checking for C function strcasecmp()... yes
Checking for libxml-2.0 >= 2.6.0... yes
Checking for gtk+-2.0 >= 2.6.0... yes
Checking for libgnomeui-2.0 >= 2.6.0... yes
Checking for bonddb2 >= 2.2.5... no
bonddb2 >= 2.2.5 failed. Install latest version of bonddb
[root@mt bond]#


And using the seperatly downloaded tar file for bonddb

[root@mt bond]# cd ../../../bonddb/
[root@mt bonddb]# ls
bonddb  bonddb-2.2.6.tar.gz
[root@mt bonddb]# cd bonddb
[root@mt bonddb]# scons
scons: Reading SConscript files ...
usr=/usr/
Checking for C header file string.h... (cached) yes
Using postgresql backend.
building bondcommon
building bondsql
Building bonddb...
scons: done reading SConscript files.
scons: Building targets ...
scons: `.' is up to date.
scons: done building targets.
[root@mt bonddb]# scons install
scons: Reading SConscript files ...
usr=/usr/
Checking for C header file string.h... (cached) yes
Using postgresql backend.
building bondcommon
building bondsql
Building bonddb...
scons: done reading SConscript files.
scons: Building targets ...
scons: `install' is up to date.
scons: done building targets.
[root@mt bonddb]#


And then to compile bond:

[root@mt bonddb]# cd ../../bond/bond/bond
[root@mt bond]# scons
scons: Reading SConscript files ...
Checking for C header file string.h... yes
Checking for C function strcasecmp()... yes
Checking for libxml-2.0 >= 2.6.0... yes
Checking for gtk+-2.0 >= 2.6.0... yes
Checking for libgnomeui-2.0 >= 2.6.0... yes
Checking for bonddb2 >= 2.2.5... no
bonddb2 >= 2.2.5 failed. Install latest version of bonddb
[root@mt bond]#


Sorry for the long [first] post. I was wondering what I am doing wrong?

[root@mt bond]# uname -a
Linux mt.rowan.id.au 2.6.22.5-76.fc7 #1 SMP Thu Aug 30 13:08:59 EDT 2007
x86_64 x86_64 x86_64 GNU/Linux
[root@mt bond]# uname -r
2.6.22.5-76.fc7


Many thanks for any pointers you can share.

Regards

Piers




_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: Fedora & Bond From Source

by Dru-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It looks like a problem with pkg-config not installing it in the right
place etc. Jasen or liam may have a better idea of whats going wrong.

what is the output from :
pkg-config bonddb2 --modversion

can you try checking out the latest version from subversion?
svn checkout ..

I'm bit behind on the public releases at the moment and i should really
release bond 2.6.2 and the new bonddb within the next week or two but
havn't got around to it yet.  And this bug may have been fixed before.

Piers Rowan wrote:

>Hi there!
>
>I have downloaded all the required packages & libraries to build bond &
>bonddb from source. I have encountered the following error *after*
>installing bonddb:
>
>This is using the bond tar.gz file which contains both a bond and bonddb
>directory.
>
>[root@mt bond]# cd ../bonddb/
>
>[root@mt bonddb]# scons
>scons: Reading SConscript files ...
>usr=/usr/
>Checking for C header file string.h... (cached) yes
>Using postgresql backend.
>building bondcommon
>building bondsql
>Building bonddb...
>scons: done reading SConscript files.
>scons: Building targets ...
>scons: `.' is up to date.
>scons: done building targets.
>[root@mt bonddb]# scons install
>scons: Reading SConscript files ...
>usr=/usr/
>Checking for C header file string.h... (cached) yes
>Using postgresql backend.
>building bondcommon
>building bondsql
>Building bonddb...
>scons: done reading SConscript files.
>scons: Building targets ...
>scons: `install' is up to date.
>scons: done building targets.
>
>[root@mt bonddb]# cd ../bond
>
>[root@mt bond]# scons
>scons: Reading SConscript files ...
>Checking for C header file string.h... yes
>Checking for C function strcasecmp()... yes
>Checking for libxml-2.0 >= 2.6.0... yes
>Checking for gtk+-2.0 >= 2.6.0... yes
>Checking for libgnomeui-2.0 >= 2.6.0... yes
>Checking for bonddb2 >= 2.2.5... no
>bonddb2 >= 2.2.5 failed. Install latest version of bonddb
>[root@mt bond]#
>
>
>And using the seperatly downloaded tar file for bonddb
>
>[root@mt bond]# cd ../../../bonddb/
>[root@mt bonddb]# ls
>bonddb  bonddb-2.2.6.tar.gz
>[root@mt bonddb]# cd bonddb
>[root@mt bonddb]# scons
>scons: Reading SConscript files ...
>usr=/usr/
>Checking for C header file string.h... (cached) yes
>Using postgresql backend.
>building bondcommon
>building bondsql
>Building bonddb...
>scons: done reading SConscript files.
>scons: Building targets ...
>scons: `.' is up to date.
>scons: done building targets.
>[root@mt bonddb]# scons install
>scons: Reading SConscript files ...
>usr=/usr/
>Checking for C header file string.h... (cached) yes
>Using postgresql backend.
>building bondcommon
>building bondsql
>Building bonddb...
>scons: done reading SConscript files.
>scons: Building targets ...
>scons: `install' is up to date.
>scons: done building targets.
>[root@mt bonddb]#
>
>
>And then to compile bond:
>
>[root@mt bonddb]# cd ../../bond/bond/bond
>[root@mt bond]# scons
>scons: Reading SConscript files ...
>Checking for C header file string.h... yes
>Checking for C function strcasecmp()... yes
>Checking for libxml-2.0 >= 2.6.0... yes
>Checking for gtk+-2.0 >= 2.6.0... yes
>Checking for libgnomeui-2.0 >= 2.6.0... yes
>Checking for bonddb2 >= 2.2.5... no
>bonddb2 >= 2.2.5 failed. Install latest version of bonddb
>[root@mt bond]#
>
>
>Sorry for the long [first] post. I was wondering what I am doing wrong?
>
>[root@mt bond]# uname -a
>Linux mt.rowan.id.au 2.6.22.5-76.fc7 #1 SMP Thu Aug 30 13:08:59 EDT 2007
>x86_64 x86_64 x86_64 GNU/Linux
>[root@mt bond]# uname -r
>2.6.22.5-76.fc7
>
>
>Many thanks for any pointers you can share.
>
>Regards
>
>Piers
>
>
>
>
>_______________________________________________
>Bond-users mailing list
>Bond-users@...
>http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
>  
>


_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: Fedora & Bond From Source

by Colin Close :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All

I had this recently the only way I found to solve it was to set the
PKG_CONFIG_PATH=/usr/local/bin/pkgconfig
Then I built bondb2 independently made sure the the bonddb2 pkgconfig
file actually ends up in /usr/local/bin/ if not copy it there. Then
build bond (with the PKG_CONFIG_PATH still set to /usr/local/bin). Its a
bodge but it gets the job done. I actually used the svn source of about
three weeks ago so the problem is in svn too.

Best

Colin Close

Andrew Hill wrote:

>  
> It looks like a problem with pkg-config not installing it in the right
> place etc. Jasen or liam may have a better idea of whats going wrong.
>
> what is the output from :
> pkg-config bonddb2 --modversion
>
> can you try checking out the latest version from subversion?
> svn checkout ..
>
> I'm bit behind on the public releases at the moment and i should really
> release bond 2.6.2 and the new bonddb within the next week or two but
> havn't got around to it yet.  And this bug may have been fixed before.
>
> Piers Rowan wrote:
>
>  
>> Hi there!
>>
>> I have downloaded all the required packages & libraries to build bond &
>> bonddb from source. I have encountered the following error *after*
>> installing bonddb:
>>
>> This is using the bond tar.gz file which contains both a bond and bonddb
>> directory.
>>
>> [root@mt bond]# cd ../bonddb/
>>
>> [root@mt bonddb]# scons
>> scons: Reading SConscript files ...
>> usr=/usr/
>> Checking for C header file string.h... (cached) yes
>> Using postgresql backend.
>> building bondcommon
>> building bondsql
>> Building bonddb...
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> scons: `.' is up to date.
>> scons: done building targets.
>> [root@mt bonddb]# scons install
>> scons: Reading SConscript files ...
>> usr=/usr/
>> Checking for C header file string.h... (cached) yes
>> Using postgresql backend.
>> building bondcommon
>> building bondsql
>> Building bonddb...
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> scons: `install' is up to date.
>> scons: done building targets.
>>
>> [root@mt bonddb]# cd ../bond
>>
>> [root@mt bond]# scons
>> scons: Reading SConscript files ...
>> Checking for C header file string.h... yes
>> Checking for C function strcasecmp()... yes
>> Checking for libxml-2.0 >= 2.6.0... yes
>> Checking for gtk+-2.0 >= 2.6.0... yes
>> Checking for libgnomeui-2.0 >= 2.6.0... yes
>> Checking for bonddb2 >= 2.2.5... no
>> bonddb2 >= 2.2.5 failed. Install latest version of bonddb
>> [root@mt bond]#
>>
>>
>> And using the seperatly downloaded tar file for bonddb
>>
>> [root@mt bond]# cd ../../../bonddb/
>> [root@mt bonddb]# ls
>> bonddb  bonddb-2.2.6.tar.gz
>> [root@mt bonddb]# cd bonddb
>> [root@mt bonddb]# scons
>> scons: Reading SConscript files ...
>> usr=/usr/
>> Checking for C header file string.h... (cached) yes
>> Using postgresql backend.
>> building bondcommon
>> building bondsql
>> Building bonddb...
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> scons: `.' is up to date.
>> scons: done building targets.
>> [root@mt bonddb]# scons install
>> scons: Reading SConscript files ...
>> usr=/usr/
>> Checking for C header file string.h... (cached) yes
>> Using postgresql backend.
>> building bondcommon
>> building bondsql
>> Building bonddb...
>> scons: done reading SConscript files.
>> scons: Building targets ...
>> scons: `install' is up to date.
>> scons: done building targets.
>> [root@mt bonddb]#
>>
>>
>> And then to compile bond:
>>
>> [root@mt bonddb]# cd ../../bond/bond/bond
>> [root@mt bond]# scons
>> scons: Reading SConscript files ...
>> Checking for C header file string.h... yes
>> Checking for C function strcasecmp()... yes
>> Checking for libxml-2.0 >= 2.6.0... yes
>> Checking for gtk+-2.0 >= 2.6.0... yes
>> Checking for libgnomeui-2.0 >= 2.6.0... yes
>> Checking for bonddb2 >= 2.2.5... no
>> bonddb2 >= 2.2.5 failed. Install latest version of bonddb
>> [root@mt bond]#
>>
>>
>> Sorry for the long [first] post. I was wondering what I am doing wrong?
>>
>> [root@mt bond]# uname -a
>> Linux mt.rowan.id.au 2.6.22.5-76.fc7 #1 SMP Thu Aug 30 13:08:59 EDT 2007
>> x86_64 x86_64 x86_64 GNU/Linux
>> [root@mt bond]# uname -r
>> 2.6.22.5-76.fc7
>>
>>
>> Many thanks for any pointers you can share.
>>
>> Regards
>>
>> Piers
>>
>>
>>
>>
>> _______________________________________________
>> Bond-users mailing list
>> Bond-users@...
>> http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
>>  
>>
>>    
>
>
> _______________________________________________
> Bond-users mailing list
> Bond-users@...
> http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
>
>  


_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: Fedora & Bond From Source

by Davor Ocelic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Oct 16, 2007 at 04:06:54PM -0400, Colin Close wrote:
> Hi All
>
> I had this recently the only way I found to solve it was to set the
> PKG_CONFIG_PATH=/usr/local/bin/pkgconfig
> Then I built bondb2 independently made sure the the bonddb2 pkgconfig
> file actually ends up in /usr/local/bin/ if not copy it there. Then
> build bond (with the PKG_CONFIG_PATH still set to /usr/local/bin). Its a
> bodge but it gets the job done. I actually used the svn source of about
> three weeks ago so the problem is in svn too.

Yo,

Yes, but this depends on the setup of course. If everything's alright
with your setup, bond should find bonddb2's pkgconfig.

Did you have /usr/local/bin in the PATH at time of running the
command?

Actually if I'm not mistaken, pkgconfig is a standalone package
that you need to install on your system and then it works for all
applications that use it.

See ya,
-doc

>
> Best
>
> Colin Close
>
> Andrew Hill wrote:
> >  
> > It looks like a problem with pkg-config not installing it in the right
> > place etc. Jasen or liam may have a better idea of whats going wrong.
> >
> > what is the output from :
> > pkg-config bonddb2 --modversion
> >
> > can you try checking out the latest version from subversion?
> > svn checkout ..
> >
> > I'm bit behind on the public releases at the moment and i should really
> > release bond 2.6.2 and the new bonddb within the next week or two but
> > havn't got around to it yet.  And this bug may have been fixed before.
> >
> > Piers Rowan wrote:
> >
> >  
> >> Hi there!
> >>
> >> I have downloaded all the required packages & libraries to build bond &
> >> bonddb from source. I have encountered the following error *after*
> >> installing bonddb:
> >>
> >> This is using the bond tar.gz file which contains both a bond and bonddb
> >> directory.
> >>
> >> [root@mt bond]# cd ../bonddb/
> >>
> >> [root@mt bonddb]# scons
> >> scons: Reading SConscript files ...
> >> usr=/usr/
> >> Checking for C header file string.h... (cached) yes
> >> Using postgresql backend.
> >> building bondcommon
> >> building bondsql
> >> Building bonddb...
> >> scons: done reading SConscript files.
> >> scons: Building targets ...
> >> scons: `.' is up to date.
> >> scons: done building targets.
> >> [root@mt bonddb]# scons install
> >> scons: Reading SConscript files ...
> >> usr=/usr/
> >> Checking for C header file string.h... (cached) yes
> >> Using postgresql backend.
> >> building bondcommon
> >> building bondsql
> >> Building bonddb...
> >> scons: done reading SConscript files.
> >> scons: Building targets ...
> >> scons: `install' is up to date.
> >> scons: done building targets.
> >>
> >> [root@mt bonddb]# cd ../bond
> >>
> >> [root@mt bond]# scons
> >> scons: Reading SConscript files ...
> >> Checking for C header file string.h... yes
> >> Checking for C function strcasecmp()... yes
> >> Checking for libxml-2.0 >= 2.6.0... yes
> >> Checking for gtk+-2.0 >= 2.6.0... yes
> >> Checking for libgnomeui-2.0 >= 2.6.0... yes
> >> Checking for bonddb2 >= 2.2.5... no
> >> bonddb2 >= 2.2.5 failed. Install latest version of bonddb
> >> [root@mt bond]#
> >>
> >>
> >> And using the seperatly downloaded tar file for bonddb
> >>
> >> [root@mt bond]# cd ../../../bonddb/
> >> [root@mt bonddb]# ls
> >> bonddb  bonddb-2.2.6.tar.gz
> >> [root@mt bonddb]# cd bonddb
> >> [root@mt bonddb]# scons
> >> scons: Reading SConscript files ...
> >> usr=/usr/
> >> Checking for C header file string.h... (cached) yes
> >> Using postgresql backend.
> >> building bondcommon
> >> building bondsql
> >> Building bonddb...
> >> scons: done reading SConscript files.
> >> scons: Building targets ...
> >> scons: `.' is up to date.
> >> scons: done building targets.
> >> [root@mt bonddb]# scons install
> >> scons: Reading SConscript files ...
> >> usr=/usr/
> >> Checking for C header file string.h... (cached) yes
> >> Using postgresql backend.
> >> building bondcommon
> >> building bondsql
> >> Building bonddb...
> >> scons: done reading SConscript files.
> >> scons: Building targets ...
> >> scons: `install' is up to date.
> >> scons: done building targets.
> >> [root@mt bonddb]#
> >>
> >>
> >> And then to compile bond:
> >>
> >> [root@mt bonddb]# cd ../../bond/bond/bond
> >> [root@mt bond]# scons
> >> scons: Reading SConscript files ...
> >> Checking for C header file string.h... yes
> >> Checking for C function strcasecmp()... yes
> >> Checking for libxml-2.0 >= 2.6.0... yes
> >> Checking for gtk+-2.0 >= 2.6.0... yes
> >> Checking for libgnomeui-2.0 >= 2.6.0... yes
> >> Checking for bonddb2 >= 2.2.5... no
> >> bonddb2 >= 2.2.5 failed. Install latest version of bonddb
> >> [root@mt bond]#
> >>
> >>
> >> Sorry for the long [first] post. I was wondering what I am doing wrong?
> >>
> >> [root@mt bond]# uname -a
> >> Linux mt.rowan.id.au 2.6.22.5-76.fc7 #1 SMP Thu Aug 30 13:08:59 EDT 2007
> >> x86_64 x86_64 x86_64 GNU/Linux
> >> [root@mt bond]# uname -r
> >> 2.6.22.5-76.fc7
> >>
> >>
> >> Many thanks for any pointers you can share.
> >>
> >> Regards
> >>
> >> Piers
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Bond-users mailing list
> >> Bond-users@...
> >> http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
> >>  
> >>
> >>    
> >
> >
> > _______________________________________________
> > Bond-users mailing list
> > Bond-users@...
> > http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
> >
> >  
>
>
> _______________________________________________
> Bond-users mailing list
> Bond-users@...
> http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: Fedora & Bond From Source

by Colin Close :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Davor Ocelic wrote:

>  
> On Tue, Oct 16, 2007 at 04:06:54PM -0400, Colin Close wrote:
>  
>> Hi All
>>
>> I had this recently the only way I found to solve it was to set the
>> PKG_CONFIG_PATH=/usr/local/bin/pkgconfig
>> Then I built bondb2 independently made sure the the bonddb2 pkgconfig
>> file actually ends up in /usr/local/bin/ if not copy it there. Then
>> build bond (with the PKG_CONFIG_PATH still set to /usr/local/bin). Its a
>> bodge but it gets the job done. I actually used the svn source of about
>> three weeks ago so the problem is in svn too.
>>    
>
> Yo,
>
> Yes, but this depends on the setup of course. If everything's alright
> with your setup, bond should find bonddb2's pkgconfig.
>
> Did you have /usr/local/bin in the PATH at time of running the
> command?
>
> Actually if I'm not mistaken, pkgconfig is a standalone package
> that you need to install on your system and then it works for all
> applications that use it.
>
> See ya,
> -doc
>
>  
Hi All
          You think that would be the case Doc but even though I tried
to do a compile with the PKG_CONFIG_PATH set to /usr/lib64/pkgconfig the
standard location on my Mandriva system and built bondb2 such that it
was installed in /usr/lib64 and bondb2 in the /usr/lib64/pkgconfig bond
would still not build it just wouldn't find bondb2.pc the only way it
would find it was in /usr/local/lib/pkgconfig. I have to confess I
thought it extremely bizarre at the time and I spent a whole evening
trying to get to the bottom of it. The only thing I discovered was that
if I cut and pasted (into a terminal) the commands that scons generated
when run. (the commands it used to check for the existence of the
packages) the packages were found with no problem so it would seem that
scons it picking up an environment variable setting from somewhere other
than the ones that I had set. I have no idea what was wrong. I even
deleted all the hidden config files that scons uses so that they would
be re-generated.
Scons is still bit of a mystery to me.

Best

Colin Close

>> Best
>>
>> Colin Close
>>
>> Andrew Hill wrote:
>>    
>>>  
>>> It looks like a problem with pkg-config not installing it in the right
>>> place etc. Jasen or liam may have a better idea of whats going wrong.
>>>
>>> what is the output from :
>>> pkg-config bonddb2 --modversion
>>>
>>> can you try checking out the latest version from subversion?
>>> svn checkout ..
>>>
>>> I'm bit behind on the public releases at the moment and i should really
>>> release bond 2.6.2 and the new bonddb within the next week or two but
>>> havn't got around to it yet.  And this bug may have been fixed before.
>>>
>>> Piers Rowan wrote:
>>>
>>>  
>>>      
>>>> Hi there!
>>>>
>>>> I have downloaded all the required packages & libraries to build bond &
>>>> bonddb from source. I have encountered the following error *after*
>>>> installing bonddb:
>>>>
>>>> This is using the bond tar.gz file which contains both a bond and bonddb
>>>> directory.
>>>>
>>>> [root@mt bond]# cd ../bonddb/
>>>>
>>>> [root@mt bonddb]# scons
>>>> scons: Reading SConscript files ...
>>>> usr=/usr/
>>>> Checking for C header file string.h... (cached) yes
>>>> Using postgresql backend.
>>>> building bondcommon
>>>> building bondsql
>>>> Building bonddb...
>>>> scons: done reading SConscript files.
>>>> scons: Building targets ...
>>>> scons: `.' is up to date.
>>>> scons: done building targets.
>>>> [root@mt bonddb]# scons install
>>>> scons: Reading SConscript files ...
>>>> usr=/usr/
>>>> Checking for C header file string.h... (cached) yes
>>>> Using postgresql backend.
>>>> building bondcommon
>>>> building bondsql
>>>> Building bonddb...
>>>> scons: done reading SConscript files.
>>>> scons: Building targets ...
>>>> scons: `install' is up to date.
>>>> scons: done building targets.
>>>>
>>>> [root@mt bonddb]# cd ../bond
>>>>
>>>> [root@mt bond]# scons
>>>> scons: Reading SConscript files ...
>>>> Checking for C header file string.h... yes
>>>> Checking for C function strcasecmp()... yes
>>>> Checking for libxml-2.0 >= 2.6.0... yes
>>>> Checking for gtk+-2.0 >= 2.6.0... yes
>>>> Checking for libgnomeui-2.0 >= 2.6.0... yes
>>>> Checking for bonddb2 >= 2.2.5... no
>>>> bonddb2 >= 2.2.5 failed. Install latest version of bonddb
>>>> [root@mt bond]#
>>>>
>>>>
>>>> And using the seperatly downloaded tar file for bonddb
>>>>
>>>> [root@mt bond]# cd ../../../bonddb/
>>>> [root@mt bonddb]# ls
>>>> bonddb  bonddb-2.2.6.tar.gz
>>>> [root@mt bonddb]# cd bonddb
>>>> [root@mt bonddb]# scons
>>>> scons: Reading SConscript files ...
>>>> usr=/usr/
>>>> Checking for C header file string.h... (cached) yes
>>>> Using postgresql backend.
>>>> building bondcommon
>>>> building bondsql
>>>> Building bonddb...
>>>> scons: done reading SConscript files.
>>>> scons: Building targets ...
>>>> scons: `.' is up to date.
>>>> scons: done building targets.
>>>> [root@mt bonddb]# scons install
>>>> scons: Reading SConscript files ...
>>>> usr=/usr/
>>>> Checking for C header file string.h... (cached) yes
>>>> Using postgresql backend.
>>>> building bondcommon
>>>> building bondsql
>>>> Building bonddb...
>>>> scons: done reading SConscript files.
>>>> scons: Building targets ...
>>>> scons: `install' is up to date.
>>>> scons: done building targets.
>>>> [root@mt bonddb]#
>>>>
>>>>
>>>> And then to compile bond:
>>>>
>>>> [root@mt bonddb]# cd ../../bond/bond/bond
>>>> [root@mt bond]# scons
>>>> scons: Reading SConscript files ...
>>>> Checking for C header file string.h... yes
>>>> Checking for C function strcasecmp()... yes
>>>> Checking for libxml-2.0 >= 2.6.0... yes
>>>> Checking for gtk+-2.0 >= 2.6.0... yes
>>>> Checking for libgnomeui-2.0 >= 2.6.0... yes
>>>> Checking for bonddb2 >= 2.2.5... no
>>>> bonddb2 >= 2.2.5 failed. Install latest version of bonddb
>>>> [root@mt bond]#
>>>>
>>>>
>>>> Sorry for the long [first] post. I was wondering what I am doing wrong?
>>>>
>>>> [root@mt bond]# uname -a
>>>> Linux mt.rowan.id.au 2.6.22.5-76.fc7 #1 SMP Thu Aug 30 13:08:59 EDT 2007
>>>> x86_64 x86_64 x86_64 GNU/Linux
>>>> [root@mt bond]# uname -r
>>>> 2.6.22.5-76.fc7
>>>>
>>>>
>>>> Many thanks for any pointers you can share.
>>>>
>>>> Regards
>>>>
>>>> Piers
>>>>
>>>>        

_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: Fedora & Bond From Source

by Piers Rowan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2007-10-16 at 18:08 -0400, Colin Close wrote:

> Davor Ocelic wrote:
> >  
> > On Tue, Oct 16, 2007 at 04:06:54PM -0400, Colin Close wrote:
> >  
> >> Hi All
> >>
> >> I had this recently the only way I found to solve it was to set the
> >> PKG_CONFIG_PATH=/usr/local/bin/pkgconfig
> >> Then I built bondb2 independently made sure the the bonddb2 pkgconfig
> >> file actually ends up in /usr/local/bin/ if not copy it there. Then
> >> build bond (with the PKG_CONFIG_PATH still set to /usr/local/bin). Its a
> >> bodge but it gets the job done. I actually used the svn source of about
> >> three weeks ago so the problem is in svn too.
> >>    

Thanks to everyone for heir help with this, unfortunately I am still
having issues:

I have downloaded the svn source for each bond and bonddb and I have set
the PGK_CONFIG_PATH=/usr/local/bin/pkgconfig.

The bonddb source seems to compile without error. Below are the output
from some commands.

I really appreciate your help with this, scons is *very* new to me and
any pointers would be appreciated.

Thanks

Piers



[root@mt trunk]# pkg-config bonddb2 --modversion
Package bonddb2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `bonddb2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bonddb2' found

[root@mt trunk]# ls /usr/lib/pkgconfig/
artsc.pc       bonddb2.pc  gdk.pc            gweather.pc      libcurl.pc
libssl.pc      ogg.pc      vmware-vix.pc  vorbis.pc
avahi-qt3.pc   bonddb.pc   gtk-engines-2.pc  libckyapplet.pc
libgnomeui-2.0.pc  libuser.pc     openssl.pc  vorbisenc.pc
bondcommon.pc  dbus-1.pc   gtk+.pc           libcrypto.pc
libpcsclite.pc     libxml-2.0.pc  qt-mt.pc    vorbisfile.pc


[root@mt trunk]# echo $PGK_CONFIG_PATH
/usr/local/bin/pkgconfig

[root@mt src]# /sbin/ldconfig

[root@mt trunk]# scons
scons: Reading SConscript files ...
Checking for C header file string.h... yes
Checking for libxml-2.0 >= 2.6.0... yes
Checking for gtk+-2.0 >= 2.6.0... yes
Checking for libgnomeui-2.0 >= 2.6.0... yes
Checking for bonddb2 >= 2.3.02... no
bonddb2 >= 2.3.0 failed. Install latest version of bonddb
Checking for C header file c-client/mail.h... no
libc-client-dev is not installed.
Client library for mail protocols.
This package is required for email support within bond.
install it or build with EMAIL=0 to disable email support
Not using maxtix
Package bonddb2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `bonddb2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bonddb2' found
OSError: 'pkg-config --cflags --libs bonddb2 gtk+-2.0  glib-2.0
gmodule-2.0 libxml-2.0 libgnomeui-2.0' exited 1:
  File "/home/piers/bond/trunk/SConstruct", line 129:
    +' glib-2.0 gmodule-2.0 libxml-2.0 libgnomeui-2.0' )
  File "/usr/lib/scons/SCons/Environment.py", line 1134:
    return function(self, self.backtick(command))
  File "/usr/lib/scons/SCons/Environment.py", line 473:
    raise OSError("'%s' exited %d" % (command, status))
[root@mt trunk]#


[root@mt trunk]# ls /usr/local/include/bo*
bcconfig.h  bcgarbage.h  bcmem.h        bonddbfield.h   bonddbglobal.h
bonddbid.h    bonddbloadby.h  bonddbparse.h   bonddbpurify.h
bonddbwrite.h
bcdebug.h   bc.h         bonddbarray.h  bonddbfilter.h  bonddb.h
bonddbinit.h  bonddbobj.h     bonddbplugin.h  bonddbrecord.h
sql_parser.h
[root@mt trunk]#





_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: Fedora & Bond From Source

by Piers Rowan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Andrew,


On Wed, 2007-10-17 at 00:02 +1300, Andrew Hill wrote:
> It looks like a problem with pkg-config not installing it in the right
> place etc. Jasen or liam may have a better idea of whats going wrong.
>
> what is the output from :
> pkg-config bonddb2 --modversion
>

[root@mt trunk]# pkg-config bonddb2 --modversion
Package bonddb2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `bonddb2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'bonddb2' found
[root@mt trunk]#




> can you try checking out the latest version from subversion?
> svn checkout ..
>


This is with the latest svn checkout.

Thanks

Piers

_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: Fedora & Bond From Source

by Piers Rowan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Update (Using example Paymaster to test bond):

I have compiled bonddb from svn then ran:

cp -v /usr/local/lib/libbondcommon.so /usr/local/lib64/libbondcommon.so
cp -v /usr/local/lib/libbonddb2.so /usr/local/lib64/libbonddb2.so
cp
-v /usr/local/lib/libbonddb2_pgsql.so /usr/local/lib64/libbonddb2_pgsql.so
cp -v /usr/local/lib/libbondsql.so /usr/local/lib64/libbondsql.so
cp
-v /usr/lib/pkgconfig/bondcommon.pc /usr/lib64/pkgconfig/bondcommon.pc
cp -v /usr/lib/pkgconfig/bonddb.pc /usr/lib64/pkgconfig/bonddb.pc
cp -v /usr/lib/pkgconfig/bonddb2.pc /usr/lib64/pkgconfig/bonddb2.pc

Then pk-config could find bonddb2.pc

To compile bond I had to set EMAIL=0

Then ran:

cp -v /usr/local/lib/libbond.so /usr/local/lib64/libbond.so
cp -v /usr/local/lib/libbond_uigtk.so /usr/local/lib64/libbond_uigtk.so
cp
-v /usr/local/lib/libbond_uihtml.so /usr/local/lib64/libbond_uihtml.so
cp -v /usr/lib/pkgconfig/bond.pc /usr/lib64/pkgconfig/bond.pc


...so that pkg-config could see bond.then tried to compile Paymaster:

[root@mt src]# scons
scons: Reading SConscript files ...
Checking for C header file string.h... (cached) yes
Checking for C function strcasecmp()... (cached) yes
Checking for libxml-2.0 >= 2.6.0... (cached) yes
Checking for gtk+-2.0 >= 2.6.0... (cached) yes
Checking for libgnomeui-2.0 >= 2.6.0... (cached) yes
Checking for bonddb2 >= 2.2.7... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
gcc -o batch.os -c -DUNIX -g -O -Wall -DGNU_SOURCE -DMEM_TEST -pthread
"-I`pg_config --includedir`" -fPIC -DORBIT2=1 -I/usr/local/include/bond
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/libxml2 -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1
-I/usr/include/libbonobo-2.0 -I/usr/include/orbit-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/freetype2 batch.c
batch.c: In function 'batch_detail_adddefault':
batch.c:45: warning: passing argument 4 of 'bonddb_new_sql' makes
integer from pointer without a cast
batch.c:45: error: too few arguments to function 'bonddb_new_sql'
batch.c:51: warning: passing argument 4 of 'bonddb_new_sql' makes
integer from pointer without a cast
batch.c:51: error: too few arguments to function 'bonddb_new_sql'
batch.c:56: warning: passing argument 4 of 'bonddb_new_sql' makes
integer from pointer without a cast
batch.c:56: error: too few arguments to function 'bonddb_new_sql'
batch.c:73: warning: passing argument 4 of 'bonddb_new_sql' makes
integer from pointer without a cast
batch.c:73: error: too few arguments to function 'bonddb_new_sql'
batch.c:117: warning: passing argument 4 of 'bonddb_new_sql' makes
integer from pointer without a cast
batch.c:117: error: too few arguments to function 'bonddb_new_sql'
batch.c:127: warning: passing argument 4 of 'bonddb_new_sql' makes
integer from pointer without a cast
batch.c:127: error: too few arguments to function 'bonddb_new_sql'
scons: *** [batch.os] Error 1
scons: building terminated because of errors.
[root@mt src]#


...any ideas what (else) I am doing wrong?

The system is an AMD64.

Thanks in advance for any pointers.

Cheers

Piers

_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

paymaster installation

by Dru-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've made some slight changes to the bonddb installation script.
You can now specify PKG_CONFIG_PATH as an export and it will correctly
install to that directory.

checkout bonddb, bond and paymaster

svn checkout svn://svn.treshna.com/pub/bonddb
svn checkout svn://svn.treshna.com/pub/bond
svn checkout svn://svn.treshna.com/pub/paymaster

scons install in bonddb

then type
pkg-config bonddb2 --modversion
It should say 2.3.04
Then you can install bond and paymaster.
Let me know if it gets that far.

Also print out of pkg_config_path.
On most systems its /usr/lib/pkgconfig, but it maybe something different
on your system

echo $PKG_CONFIG_PATH

--
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


_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: paymaster installation

by Ibrahim Shaame :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

A few months ago I posted a problem installing bonddb, bond and got no help. I have downloaded the new version and mentioned here below still unsuccessful. Is'nt there and easier way to get this thing running? This is what I get when running scons on bond:

scons: Reading SConscript files ...
Checking for C header file string.h... (cached) yes
Checking for C function strcasecmp()... (cached) yes
Checking for libxml-2.0 >= 2.6.0... (cached) yes
Checking for gtk+-2.0 >= 2.6.0... (cached) yes
Checking for bonddb2 >= 2.2.3... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
gcc -o src/bondapi.o -c -DUNIX -g -O -Wall -ansi -DGNU_SOURCE -DMEM_TEST -I/usr/local/include/bond -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libxml2 -Isrc src/bondapi.c
src/bondapi.c: In function `bond_api_loadall_internal':
src/bondapi.c:81: error: too few arguments to function `bonddb_loadall'
scons: *** [src/bondapi.o] Error 1
scons: building terminated because of errors.

Ibrahim.


On 10/22/07, Dru <dru@...> wrote:
I've made some slight changes to the bonddb installation script.
You can now specify PKG_CONFIG_PATH as an export and it will correctly
install to that directory.

checkout bonddb, bond and paymaster

svn checkout svn://svn.treshna.com/pub/bonddb
svn checkout svn://svn.treshna.com/pub/bond
svn checkout svn://svn.treshna.com/pub/paymaster

scons install in bonddb

then type
pkg-config bonddb2 --modversion
It should say 2.3.04
Then you can install bond and paymaster.
Let me know if it gets that far.

Also print out of pkg_config_path.
On most systems its /usr/lib/pkgconfig, but it maybe something different
on your system

echo $PKG_CONFIG_PATH

--
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


_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users


_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: paymaster installation

by jasen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Oct 28, 2007 at 04:08:34PM +0100, Ibrahim Shaame wrote:
> A few months ago I posted a problem installing bonddb, bond and got no help.

That would have been in may, I did respond, are you subscribed to the
mailing list?

> I have downloaded the new version and mentioned here below still
> unsuccessful. Is'nt there and easier way to get this thing running? This is
> what I get when running scons on bond:
>

It looks like you need to update bonddb,
We released a new verstion this morning.

> scons: Reading SConscript files ...
> Checking for C header file string.h... (cached) yes
> Checking for C function strcasecmp()... (cached) yes
> Checking for libxml-2.0 >= 2.6.0... (cached) yes
> Checking for gtk+-2.0 >= 2.6.0... (cached) yes
> Checking for bonddb2 >= 2.2.3... (cached) yes
> scons: done reading SConscript files.
> scons: Building targets ...
> gcc -o src/bondapi.o -c -DUNIX -g -O -Wall -ansi -DGNU_SOURCE -DMEM_TEST
> -I/usr/local/include/bond -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0-I/usr/include/glib-
> 2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libxml2 -Isrc
> src/bondapi.c
> src/bondapi.c: In function `bond_api_loadall_internal':
> src/bondapi.c:81: error: too few arguments to function `bonddb_loadall'
> scons: *** [src/bondapi.o] Error 1
> scons: building terminated because of errors.
>
> Ibrahim.


_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users

Re: paymaster installation

by Dru-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

new tar.gz's are now available online for bond, paymaster and bonddb.
Read the appropriate install and readme documents in the root directory
for every package. I've updated the documentation for a lot of the common
installation errors that can occur.






Ibrahim Shaame wrote:

> A few months ago I posted a problem installing bonddb, bond and got no
> help. I have downloaded the new version and mentioned here below still
> unsuccessful. Is'nt there and easier way to get this thing running?
> This is what I get when running scons on bond:
>
> scons: Reading SConscript files ...
> Checking for C header file string.h... (cached) yes
> Checking for C function strcasecmp()... (cached) yes
> Checking for libxml-2.0 >= 2.6.0... (cached) yes
> Checking for gtk+-2.0 >= 2.6.0... (cached) yes
> Checking for bonddb2 >= 2.2.3... (cached) yes
> scons: done reading SConscript files.
> scons: Building targets ...
> gcc -o src/bondapi.o -c -DUNIX -g -O -Wall -ansi -DGNU_SOURCE
> -DMEM_TEST -I/usr/local/include/bond -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> -I/usr/X11R6/include -I/usr/include/libpng12 -I/usr/include/libxml2
> -Isrc src/bondapi.c
> src/bondapi.c: In function `bond_api_loadall_internal':
> src/bondapi.c:81: error: too few arguments to function `bonddb_loadall'
> scons: *** [src/bondapi.o] Error 1
> scons: building terminated because of errors.
>
> Ibrahim.
>
>
> On 10/22/07, *Dru* <dru@... <mailto:dru@...>> wrote:
>
>     I've made some slight changes to the bonddb installation script.
>     You can now specify PKG_CONFIG_PATH as an export and it will correctly
>     install to that directory.
>
>     checkout bonddb, bond and paymaster
>
>     svn checkout svn://svn.treshna.com/pub/bonddb
>     svn checkout svn://svn.treshna.com/pub/bond
>     svn checkout svn://svn.treshna.com/pub/paymaster
>
>     scons install in bonddb
>
>     then type
>     pkg-config bonddb2 --modversion
>     It should say 2.3.04
>     Then you can install bond and paymaster.
>     Let me know if it gets that far.
>
>     Also print out of pkg_config_path.
>     On most systems its /usr/lib/pkgconfig, but it maybe something
>     different
>     on your system
>
>     echo $PKG_CONFIG_PATH
>
>     --
>     Andrew Hill
>     treshna Enterprises Ltd
>     Tel: 03 366 3649
>     Cel: 021 660 819
>     Web: www.treshna.com <http://www.treshna.com>
>     IT Consultancy - Websites - Database development - Computer tech
>     support
>
>
>     _______________________________________________
>     Bond-users mailing list
>     Bond-users@... <mailto:Bond-users@...>
>     http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
>     <http://hcoop.net/cgi-bin/mailman/listinfo/bond-users>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bond-users mailing list
> Bond-users@...
> 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


_______________________________________________
Bond-users mailing list
Bond-users@...
http://hcoop.net/cgi-bin/mailman/listinfo/bond-users
LightInTheBox - Buy quality products at wholesale price!