Le 13-06-2012 10:09, Michael Friedrich a écrit :
> l3w0rm wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hello list,
>>
>> I try to compile icinga v1.7
>>
>> i run with debian 6 postgrsesql 9.1 (backports)
>>
>> my .configure is :
>>
>> ./configure --enable-cgi-log --disable-statuswrl --enable-nanosleep
>> - - --enable-event-broker --enable-state-based-escal-ranges
>> - - --enable-idoutils --enable-pgsql --enable-embedded-perl
>> --enable-libtap
>
> where do you have that configure params from, and did you even read
> about the experimental support of --enable-pgsql ?!?
I want use postgresql database, that why i chose --enable-pgsql.
i have libdbi0-dev package installed : i have :
ii libdbd-pgsql 0.8.2-1-4.1+b1
PostgreSQL database server driver for libdbi
ii libdbi0 0.8.2-3
Database Independent Abstraction Layer for C
ii libdbi0-dev 0.8.2-3 DB
Independent Abstraction Layer for C -- development files
./configure --help say :
--enable-pgsql !use libdbis pgsql support instead, libpq not
yet
implemented! enables idoutils with libpq and
pgsql
i have libpq-dev too ... and the file libpq-fe.h is only on the
libpq-dev package
i must uninstall the libpq-dev?
> no wonder it demands libpq headers instead of referring to libdbi
> with
> pgsql drivers.
>
> plus, when using backports, you already got the latest and greatest
> packages available for your pleasure.
>
>> - - --enable-nagiosenv --enable-ssl --with-icinga-user=icinga
>> - - --with-icinga-group=icinga --with-command-user=icinga
>> - - --with-command-group=icinga --with-web-user=www-data
>> - - --with-web-group=www-data --with-mail=/usr/bin/mail
>> - - --with-httpd-conf=/etc/apache2/conf.d
>> - - --with-checkresult-dir=/usr/local/icinga/var/spool
>> - - --with-temp-dir=/usr/local/icinga/var/tmp
>> - - --with-state-dir=/usr/local/icinga/var/spool
>> - - --with-http-auth-file=/etc/apache2/droits/ok_icinga
>> - - --with-plugin-dir=/usr/local/icinga/libexec
>> - - --with-eventhandler-dir=/usr/local/icinga/libexec/eventhandlers
>> - - --with-log-dir=/usr/local/icinga/var/logs
>> - - --with-cgi-log-dir=/usr/local/icinga/var/logs
>> - - --with-ext-cmd-file-dir=/usr/local/icinga/var/cmd
>> - - --with-p1-file-dir=/usr/local/icinga/sbin
>> --with-init-dir=/etc/init.d
>> - - --with-lockfile=/var/run/icinga/chk.log
>> - - --with-icinga-chkfile=/var/run/icinga/check/check.log
>> - - --with-ido2db-lockfile=/var/run/icinga/ido2db.lock
>> - - --with-ido-sockfile=/var/run/icinga/ido.sock
>> - - --with-idomod-tmpfile=/usr/local/icinga/var/tmp/idomod.tmp
>> - - --with-ido-instance-name=icinga --with-perlcache
>> - - --with-pgsql-lib=/usr/include/postgresql
>>
>> When i compile i have this message:
>>
>> ../include/ido2db.h:32:22: error: libpq-fe.h: No such file or
>> directory
>>
>> il the directory /usr/include/postgresql i have :
>>
>> =>ls /usr/include/postgresql
>> c.h internal libpq-events.h mb pg_config.h
>> pg_config_os.h port.h postgres_ext.h utils
>> catalog libpq libpq-fe.h nodes pg_config_manual.h
>> pg_trace.h
>> postgres.h postgres_fe.h
>>
>>
>> => my packages :
>>
>> libdbi0-dev
>> libdbd-pgsql
>> postgresql-client-9.1
>> postgresql-client-common
>>
>>
>> What is wrong in my .configure ?
>>
>> thank you for your help
>>
>> philippe
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.12 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iQEcBAEBAgAGBQJP2BfPAAoJEACDPLeL1qJwI+wIALm7uiszRYWTRlS134oLthh/
>> R8y6M83M6B2+14UTWYYo0lpNwlMnRMYoLf2X6NmdUan4fl+40Cg6jBI4S0SNI6cH
>> gX14GH33+hP5/hF9rrbiQnjTrNwIBx3g4JN5YgxH60JwXFoc6NeT6GzV8Zmp/RNM
>> 4MJQ9nFSeaGfxBtyz1GxY5+QBhgEpc9RSOHMbV6K6mZA1xQGVSMbiGe7n40UEMmu
>> 3ElaFb/y33wRfIVL0k/syK1PYV4CALJ+bXuEGrUh5jfux1j0f/BvJ/LhWcEa1K/6
>> YMVEj0yTivQ4CgLssfqcMug7eHT8TvEU2UpRGwVJUvltnXyla7in7H+JBk0k7aY=
>> =2Ruf
>> -----END PGP SIGNATURE-----
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond.
>> Discussions
>> will include endpoint security, mobile security and the latest in
>> malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> icinga-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/icinga-users
>
>
> --
> DI (FH) Michael Friedrich
>
> Vienna University Computer Center
> Universitaetsstrasse 7 A-1010 Vienna, Austria
>
> email: [email protected]
> phone: +43 1 4277 14359
> mobile: +43 664 60277 14359
> fax: +43 1 4277 14338
> web: http://www.univie.ac.at/zid
> http://www.aco.net
>
> Lead Icinga Core Developer
> http://www.icinga.org
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond.
> Discussions
> will include endpoint security, mobile security and the latest in
> malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> icinga-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/icinga-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users