Discussion:
Compiling FreeIPMI into conserver 8.2.0 on Ubuntu 12.04.4 LTS
David P. Discher
2014-08-22 18:04:28 UTC
Permalink
Hey conserver users - I’d like to give the free ipmi support a try in 8.2.0 - however, I can’t seem to get autoconf/configure to pick up the headers/libraries.

Can someone on point me in the correct direction ?

Thanks !


# cat issue.net
Ubuntu 12.04.4 LTS

# dpkg -l | grep -i ipmi
ii freeipmi-common 0.8.12-3ubuntu1 GNU implementation of the IPMI protocol - common files
ii libfreeipmi10 0.8.12-3ubuntu1 GNU IPMI - libraries
ii libipmiconsole-dev 0.8.12-3ubuntu1 GNU IPMI - ipmiconsole development package
ii libipmiconsole2 0.8.12-3ubuntu1 GNU IPMI - Serial-over-Lan library
ii libipmidetect-dev 0.8.12-3ubuntu1 GNU IPMI - ipmidetect development package
ii libipmidetect0 0.8.12-3ubuntu1 GNU IPMI - IPMI node detection library


# ./configure --with-freeipmi
checking for port number specification... port 'conserver'
[...]
checking ipmiconsole.h usability... no
checking ipmiconsole.h presence... no
checking for ipmiconsole.h... no
checking for PAM support... no
[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: creating conserver/Makefile
config.status: creating conserver.cf/Makefile
config.status: creating console/Makefile
config.status: creating autologin/Makefile
config.status: creating contrib/chat/Makefile
config.status: creating conserver/conserver.rc
config.status: creating config.h
==============================================================
Feature Summary

Unix domain sockets (--with-uds) : NO
TCP wrappers (--with-libwrap) : NO
OpenSSL (--with-openssl) : NO
GSS-API (--with-gssapi) : NO
FreeIPMI (--with-freeipmi) : NO
dmalloc (--with-dmalloc) : NO
PAM support (--with-pam) : NO
IPv6 support (--with-ipv6) : NO

==============================================================


--
David P. Discher
http://davidpdischer.com/
AIM: DavidDPD | Y!M: daviddpdz
Anton D. Kachalov
2014-08-22 18:19:49 UTC
Permalink
Hello, David.

Could you please send me a configure.log file?
Hey conserver users - I’d like to give the free ipmi support a try in 8.2.0 - however, I can’t seem to get autoconf/configure to pick up the headers/libraries.
Can someone on point me in the correct direction ?
Thanks !
# cat issue.net
Ubuntu 12.04.4 LTS
# dpkg -l | grep -i ipmi
ii  freeipmi-common                      0.8.12-3ubuntu1                     GNU implementation of the IPMI protocol - common files
ii  libfreeipmi10                        0.8.12-3ubuntu1                     GNU IPMI - libraries
ii  libipmiconsole-dev                   0.8.12-3ubuntu1                     GNU IPMI - ipmiconsole development package
ii  libipmiconsole2                      0.8.12-3ubuntu1                     GNU IPMI - Serial-over-Lan library
ii  libipmidetect-dev                    0.8.12-3ubuntu1                     GNU IPMI - ipmidetect development package
ii  libipmidetect0                       0.8.12-3ubuntu1                     GNU IPMI - IPMI node detection library
# ./configure --with-freeipmi
checking for port number specification... port 'conserver'
[...]
checking ipmiconsole.h usability... no
checking ipmiconsole.h presence... no
checking for ipmiconsole.h... no
checking for PAM support... no
[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: creating conserver/Makefile
config.status: creating conserver.cf/Makefile
config.status: creating console/Makefile
config.status: creating autologin/Makefile
config.status: creating contrib/chat/Makefile
config.status: creating conserver/conserver.rc
config.status: creating config.h
==============================================================
                     Feature Summary
 Unix domain sockets (--with-uds)       : NO
        TCP wrappers (--with-libwrap)   : NO
             OpenSSL (--with-openssl)   : NO
             GSS-API (--with-gssapi)    : NO
            FreeIPMI (--with-freeipmi)  : NO
             dmalloc (--with-dmalloc)   : NO
         PAM support (--with-pam)       : NO
        IPv6 support (--with-ipv6)      : NO
==============================================================
--
David P. Discher
http://davidpdischer.com/
AIM: DavidDPD | Y!M: daviddpdz
,
_______________________________________________
users mailing list
https://www.conserver.com/mailman/listinfo/users
--
Anton D. Kachalov

ITO, System Architect
Tel: 7 (495) 739-70-00 ext.7613
David P. Discher
2014-08-22 18:26:40 UTC
Permalink
Doh !

I looked at config.log myself -

configure:5452: checking ipmiconsole.h usability
/usr/include/ipmiconsole.h:35:31: fatal error: freeipmi/freeipmi.h: No such file or directory

configure:5452: checking ipmiconsole.h presence
/usr/include/ipmiconsole.h:35:31: fatal error: freeipmi/freeipmi.h: No such file or directory

I was missing the package "libfreeipmi-dev” … I finally got it now :


config.status: creating config.h
==============================================================
Feature Summary

Unix domain sockets (--with-uds) : NO
TCP wrappers (--with-libwrap) : NO
OpenSSL (--with-openssl) : NO
GSS-API (--with-gssapi) : NO
FreeIPMI (--with-freeipmi) : YES
dmalloc (--with-dmalloc) : NO
PAM support (--with-pam) : NO
IPv6 support (--with-ipv6) : NO

==============================================================


--
David P. Discher
http://davidpdischer.com/
AIM: DavidDPD | Y!M: daviddpdz
Post by Anton D. Kachalov
Hello, David.
Could you please send me a configure.log file?
Post by David P. Discher
Hey conserver users - I’d like to give the free ipmi support a try in 8.2.0 - however, I can’t seem to get autoconf/configure to pick up the headers/libraries.
Can someone on point me in the correct direction ?
Thanks !
David P. Discher
2014-08-25 21:20:09 UTC
Permalink
[ edit, re-send - config.log too big for the list ]

Actually Anton - I have another error at compile time now:

main.c: In function 'Version':
main.c:689:27: error: 'LIBIPMICONSOLE_VERSION_MAJOR' undeclared (first use in this function)
main.c:689:27: note: each undeclared identifier is reported only once for each function it appears in
main.c:691:27: error: 'LIBIPMICONSOLE_VERSION_MINOR' undeclared (first use in this function)
main.c:693:27: error: 'LIBIPMICONSOLE_VERSION_PATCH' undeclared (first use in this function)

Assuming that I’m still missing some header file.

[ Had to remove the config.log, there is a 40k limit on this mailing list. ]


--
David P. Discher
http://davidpdischer.com/
AIM: DavidDPD | Y!M: daviddpdz
Post by David P. Discher
Doh !
I looked at config.log myself -
configure:5452: checking ipmiconsole.h usability
/usr/include/ipmiconsole.h:35:31: fatal error: freeipmi/freeipmi.h: No such file or directory
configure:5452: checking ipmiconsole.h presence
/usr/include/ipmiconsole.h:35:31: fatal error: freeipmi/freeipmi.h: No such file or directory
config.status: creating config.h
==============================================================
Feature Summary
Unix domain sockets (--with-uds) : NO
TCP wrappers (--with-libwrap) : NO
OpenSSL (--with-openssl) : NO
GSS-API (--with-gssapi) : NO
FreeIPMI (--with-freeipmi) : YES
dmalloc (--with-dmalloc) : NO
PAM support (--with-pam) : NO
IPv6 support (--with-ipv6) : NO
==============================================================
--
David P. Discher
http://davidpdischer.com/
AIM: DavidDPD | Y!M: daviddpdz
Post by Anton D. Kachalov
Hello, David.
Could you please send me a configure.log file?
Post by David P. Discher
Hey conserver users - I’d like to give the free ipmi support a try in 8.2.0 - however, I can’t seem to get autoconf/configure to pick up the headers/libraries.
Can someone on point me in the correct direction ?
Thanks !
Bryan Stansell
2014-08-26 09:03:42 UTC
Permalink
Those are defined in more recent versions of freeipmi (well, if my hunting is correct, these were added early 2011). If you upgrade to something "newer" (I was using the latest when I released the code), things should work. Using much older versions are untested, and as you hit, possibly fail outright.

Bryan
Post by David P. Discher
[ edit, re-send - config.log too big for the list ]
main.c:689:27: error: 'LIBIPMICONSOLE_VERSION_MAJOR' undeclared (first use in this function)
main.c:689:27: note: each undeclared identifier is reported only once for each function it appears in
main.c:691:27: error: 'LIBIPMICONSOLE_VERSION_MINOR' undeclared (first use in this function)
main.c:693:27: error: 'LIBIPMICONSOLE_VERSION_PATCH' undeclared (first use in this function)
Assuming that I’m still missing some header file.
[ Had to remove the config.log, there is a 40k limit on this mailing list. ]
--
David P. Discher
http://davidpdischer.com/
AIM: DavidDPD | Y!M: daviddpdz
Post by David P. Discher
Doh !
I looked at config.log myself -
configure:5452: checking ipmiconsole.h usability
/usr/include/ipmiconsole.h:35:31: fatal error: freeipmi/freeipmi.h: No such file or directory
configure:5452: checking ipmiconsole.h presence
/usr/include/ipmiconsole.h:35:31: fatal error: freeipmi/freeipmi.h: No such file or directory
config.status: creating config.h
==============================================================
Feature Summary
Unix domain sockets (--with-uds) : NO
TCP wrappers (--with-libwrap) : NO
OpenSSL (--with-openssl) : NO
GSS-API (--with-gssapi) : NO
FreeIPMI (--with-freeipmi) : YES
dmalloc (--with-dmalloc) : NO
PAM support (--with-pam) : NO
IPv6 support (--with-ipv6) : NO
==============================================================
--
David P. Discher
http://davidpdischer.com/
AIM: DavidDPD | Y!M: daviddpdz
Post by Anton D. Kachalov
Hello, David.
Could you please send me a configure.log file?
Hey conserver users - I’d like to give the free ipmi support a try in 8.2.0 - however, I can’t seem to get autoconf/configure to pick up the headers/libraries.
Can someone on point me in the correct direction ?
Thanks !
_______________________________________________
users mailing list
https://www.conserver.com/mailman/listinfo/users
Loading...