depending on how your distro packages these headers you'll find more than one db.h (Gentoo does atleast)
CFLAGS=-I/usr/include/db4.2 -I../inc -Wall
LDFLAGS=-ldb-4.2
On 3/17/06, Sig Lange <[EMAIL PROTECTED]> wrote:
The build problem is there isn't berkeley db headers installed on your system. I'll try to find the correct method of detecting this. In the mean time you can edit assman/Makefile and add -I
/usr/include/db3 (or whereever your db.h is located) to the CFLAGS variable.On 3/16/06, El Flynn < [EMAIL PROTECTED]> wrote:Hi Sig,
I'm trying to compile the assman package, but some errors come up:
dceptcons:/usr/local/src/libassman-current # make
make -C libassman
make[1]: Entering directory `/usr/local/src/libassman-current/libassman'
cc -I../inc -Wall -c -o assman.o assman.c
In file included from assman.c:8:
manager_status.h:4:16: db.h: No such file or directory
manager_status.h:9:16: db.h: No such file or directory
In file included from assman.c:8:
manager_status.h:57: error: parse error before '*' token
manager_status.h:57: error: parse error before '*' token
manager_status.h:57: warning: type defaults to `int' in declaration of
`manager_database_init'
manager_status.h:57: warning: data definition has no type or storage class
manager_status.h:60: error: parse error before '*' token
manager_status.h:61: error: parse error before '*' token
manager_status.h:62: error: parse error before '*' token
manager_status.h:63: error: parse error before '*' token
make[1]: *** [assman.o] Error 1
make[1]: Leaving directory `/usr/local/src/libassman-current/libassman'
make: *** [all] Error 2
is the db.h file missing from the current tarball? I just downloaded it a couple
of minutes ago.
cheers
flynn
Sig Lange wrote:
> I am currently developing a asterisk ncurses interface using the manager
> API. The project is currently awaiting sourceforge's approval but I have a
> beta online at http://sig.lange.googlepages.com/assman . The projects real
> home will be assman.sf.net. This project really consists of two parts,
> libassman is a C manager API and assman is the ncurses portion. It's still
> beta but I have been running it for quite some time on a production server
> w/o any major glitches. Soon as the sf.net approves the project I will have
> SVN and the latest versions online.
>
> Feedback is welcome as well as requested features.
>
> Thanks.
>
> --
> Sig Lange
> http://www.signuts.net/
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users--
Sig Lange
http://www.signuts.net/
--
Sig Lange
http://www.signuts.net/
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com --
Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
