My guess would be that mysql.h is not in your path -- I think I ran into this, too. Find where it is on your system and make sure your PATH environment variable includes it.

On Mon, 10 Mar 2008, John Baker wrote:

Hi there

I'm trying to compile policyd-1.82 and it fails with error messages that
,for me anyhow, are pretty opaque.


[-] Building Policy Daemon:

[*] Building Objects:

  compiling -g -W -Wall -DMAXFDS=4096 blacklist.c
In file included from blacklist.c:1:
policyd.h:52:19: error: mysql.h: No such file or directory
In file included from blacklist.c:1:
policyd.h:183: error: syntax error before ‘*’ token
policyd.h:183: warning: type defaults to ‘int’ in declaration of ‘mysql’
policyd.h:183: warning: data definition has no type or storage class
policyd.h:292: error: syntax error before ‘*’ token
policyd.h:292: warning: type defaults to ‘int’ in declaration of
‘db_connect’
policyd.h:292: warning: data definition has no type or storage class
make: *** [blacklist.o] Error 1


Any ideas what I might be missing here?

Thanks
--
John Baker
Network Systems Administrator
Marlboro College
Phone: 451-7551 off campus; 551 on campus

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
policyd-users mailing list
policyd-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/policyd-users

Reply via email to