Hi,

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

libdbi-drivers have bundled with a version of cgreen. You don't need
cmake or cgreen.h or libcgreen.a installed in your system.

The automake tests/cgreen/Makefile.am do the cgreen build to be used by libdbi.

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

It's right, I do it in Mandriva 2009 and Ubuntu 10.04, using make.
This way is transparent to user.

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

Cmake is used by cgreen as default build system. We provide a
Makefile.am to glue with tests/Makefile.am.

In tests/README, the step "* Install Cgreen (optional, we provide it)" is wrong.

Thanks.

-- 
-----------------------------------------------------------
João Henrique Freitas - joaohf_at_gmail.com
Campinas-SP-Brasil
BSD051283
LPI 1
http://www.joaohfreitas.eti.br

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