[Bond-users] Fedora & Bond From Source

Piers Rowan piers.rowan at extrastaff.com.au
Tue Oct 16 20:42:50 EDT 2007


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 at 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 at mt src]# 


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

The system is an AMD64.

Thanks in advance for any pointers.

Cheers

Piers




More information about the Bond-users mailing list