[Bond-users] Fedora & Bond From Source

Davor Ocelic docelic at mail.inet.hr
Tue Oct 16 16:19:04 EDT 2007


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 at mt bond]# cd ../bonddb/
> >>
> >> [root at 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 at 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 at mt bonddb]# cd ../bond
> >>
> >> [root at 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 at mt bond]# 
> >>
> >>
> >> And using the seperatly downloaded tar file for bonddb
> >>
> >> [root at mt bond]# cd ../../../bonddb/
> >> [root at mt bonddb]# ls
> >> bonddb  bonddb-2.2.6.tar.gz
> >> [root at mt bonddb]# cd bonddb
> >> [root at 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 at 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 at mt bonddb]# 
> >>
> >>
> >> And then to compile bond:
> >>
> >> [root at mt bonddb]# cd ../../bond/bond/bond
> >> [root at 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 at mt bond]# 
> >>
> >>
> >> Sorry for the long [first] post. I was wondering what I am doing wrong?
> >>
> >> [root at 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 at 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 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
> >
> >   
> 
> 
> _______________________________________________
> Bond-users mailing list
> Bond-users at hcoop.net
> http://hcoop.net/cgi-bin/mailman/listinfo/bond-users




More information about the Bond-users mailing list