Hi Al,
Based from that, I tried the following:
# setenv CPPFLAGS -I/usr/local/include
# setenv LDFLAGS -L/usr/local/lib
# setenv PTHREAD_LIBS -pthread
# ./configure --disable-init-scripts --disable-logrotate-config
--disable-logdir --localstatedir=/var
--with-ipmi-monitoring-sdr-cache-dir=/var/db/freeipmi/ipmimonitoringsdrcache
--sysconfdir=/usr/local/etc/freeipmi --prefix=/usr/local
Then, a Makefile was successfully created.
When compiling w/ gmake:
*** Warning: Linking the executable bmc-config against the loadable module
*** libfreeipmi.so is not portable!
gcc -g -O2 -o .libs/bmc-config bmc-config.o bmc-config-argp.o
bmc-config-channel-common.o bmc-config-map.o bmc-config-sections.o
bmc-config-utils.o bmc-config-user-sections.o bmc-config-lan-channel-section.o
bmc-config-serial-channel-section.o bmc-config-lan-conf-section.o
bmc-config-lan-conf-auth-section.o bmc-config-lan-conf-security-keys-section.o
bmc-config-lan-conf-misc-section.o bmc-config-rmcpplus-conf-privilege-section.o
bmc-config-serial-conf-section.o bmc-config-pef-conf-section.o
bmc-config-sol-conf-section.o bmc-config-misc-section.o bmc-config-validate.o
-L/usr/local/lib ../../common/src/configtool/.libs/libconfigtoolcommon.a
../../common/src/toolcommon/.libs/libtoolcommon.a
../../common/src/toolhostrange/.libs/libtoolhostrange.a
../../common/src/miscutil/.libs/libmiscutils.a
../../common/src/portability/.libs/libfreeipmiportability.a
../../ipmidetect/src/libipmidetect/.libs/libipmidetect.so
../../libfreeipmi/src/.libs/libfreeipmi.so
/usr/local/lib/libgcrypt.so /usr/local/lib/libgpg-error.so
/usr/local/lib/libintl.so /usr/local/lib/libiconv.so -largp -lm -Wl,--rpath
-Wl,/usr/local/lib
.../../common/src/toolhostrange/.libs/libtoolhostrange.a(libtoolhostrange_la-pstdout.o)(.text+0x166a):
In function `pstdout_launch':
/root/freeipmi-0.7.3.beta1/common/src/toolhostrange/pstdout.c:1424: undefined
reference to `pthread_create'
gmake[2]: *** [bmc-config] Error 1
gmake[2]: Leaving directory `/root/freeipmi-0.7.3.beta1/bmc-config/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/root/freeipmi-0.7.3.beta1/bmc-config'
gmake: *** [all-recursive] Error 1
the above errors were displayed.
Are there some more things that i need to configure?
Thanks,
Won
- Original Message
From: Al Chu [EMAIL PROTECTED]
To: Won De Erick [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; freeipmi-devel@gnu.org; Dmitry Frolov [EMAIL PROTECTED]
Sent: Friday, November 21, 2008 10:44:29 AM
Subject: Re: [Freeipmi-devel] Errors in Compiling FreeIPMI-0.7.3.beta1.tar.gz
on FreeBSD7.1Beta2
Hey Won,
Dmitry posted this some time ago as what needs to be done to build on
FreeBSD.
env CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
PTHREAD_LIBS=-pthread \
./configure \
--disable-init-scripts --disable-logrotate-config
--disable-logdir --localstatedir=/var
--with-ipmi-monitoring-sdr-cache-dir=/var/db/freeipmi/ipmimonitoringsdrcache
--sysconfdir=/usr/local/etc/freeipmi --prefix=/usr/local
gmake
hopefully that helps
Al
On Thu, 2008-11-20 at 18:37 -0800, Won De Erick wrote:
Hi,
The installation of freeipmi from tarbal has been my problem in FreeBSD(even
in 6.2 before). No problem when installing this from ports, but I should want
to try the latest one as the ported one is not automatically updated. AFAIK,
the dependencies are the below:
security/libgpg-error
security/libgcrypt
devel/argp-standalone
I started installing libcrypt. This was successfully installed. Then proceed
w/ freeipmi
(http://ftp.zresearch.com/pub/freeipmi/qa-release/freeipmi-0.7.3.beta1.tar.gz)
compilation.
I always get errors like:
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
.
Then end up with
.
checking whether make sets $(MAKE)... (cached) yes
checking for gcry_md_open in -lgcrypt... no
configure: error: libgcrypt required to build libfreeipmi
Attached are the logs for installing libcrypt and compiling freeipmi.
Any help pls.
Thanks,
Won
___ Freeipmi-devel mailing list
Freeipmi-devel@gnu.org http:// lists.gnu.org/mailman/listinfo/freeipmi-devel
--
Albert Chu
[EMAIL PROTECTED]
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory
___
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/freeipmi-devel