[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freeipmi-users] Re: [Freeipmi-devel] Errors in Compiling FreeIPMI-0.7.3

From: Won De Erick
Subject: [Freeipmi-users] Re: [Freeipmi-devel] Errors in Compiling FreeIPMI-0.7.3.beta1.tar.gz on FreeBSD7.1Beta2
Date: Thu, 20 Nov 2008 22:47:22 -0800 (PST)

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 
--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
*** 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 
 /usr/local/lib/ /usr/local/lib/ 
/usr/local/lib/ /usr/local/lib/ -largp -lm  -Wl,--rpath 
 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?



----- Original Message ----
From: Al Chu <address@hidden>
To: Won De Erick <address@hidden>
Cc: address@hidden; address@hidden; Dmitry Frolov <address@hidden>
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

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
--sysconfdir=/usr/local/etc/freeipmi --prefix=/usr/local

hopefully that helps


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 
> (
>  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 
> address@hidden http://
Albert Chu
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory


reply via email to

[Prev in Thread] Current Thread [Next in Thread]