João Henrique Freitas writes:
 > Hi,
 > 
 > I am listing and will do some tests too.
 > 
 > The libdbi tests framework needs to work with cgreen version bundled
 > with libdbi.
 > 

I've tested things again on my FreeBSD 8.0 box. I've found a bug in
tests/cgreen/Makefile.am which would cause a lot of missing cgreen
files in a libdbi-drivers tarball. I've checked in a fix for that.

Otherwise, I've retraced my steps to find out why cgreen works on my
box. As far as I can see, I don't have cgreen installed
anywhere. There are no cgreen.h or libcgreen.a files in the obvious
places, and there is no cgreen package or port installed (there is no
FreeBSD package or port anyway). Interestingly, I don't have cmake
installed either. However, the following works for me:

cvs co libdbi-drivers
cd libdbi-drivers
./autogen.sh
./configure --with-sqlite3 --disable-docs
gmake
gmake dist
gmake check

I need to run gmake on FreeBSD as that OS has its own make
implementation which lacks a few features of GNU make. I don't need to
run cmake (which I don't have anyway) at any stage to build cgreen. I
wouldn't expect that gmake contains any magic for cmake Makefiles

João, is cgreen supposed to work this way? Or does it just so happen
to work on FreeBSD? If cgreen depends on cmake (which would add
another dependency that I'd like to avoid), could its build system be
"ported" to use plain autotools?

I'll try and see what happens on Cygwin if I find some spare time
tomorrow.

regards,
Markus 


-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to