freeipmi-devel
[Top][All Lists]
Advanced

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

Re: [Freeipmi-devel] make install issue in freeipmi-0.8.2.beta3


From: Al Chu
Subject: Re: [Freeipmi-devel] make install issue in freeipmi-0.8.2.beta3
Date: Tue, 22 Dec 2009 23:18:55 -0800

Hi Sandeep,

On Wed, 2009-12-23 at 11:36 +0530, sandeep patra wrote:
> Hi Albert,
> I have used the default --prefix option. (i.e. ./configure without any
> --prefix option)
> 
> I did modifications in two Makefiles to complete the "make install"
> step
> those file were
> bmc-watchdog/Makefile 
> ipmi-pef-config/src/Makefile 
> 
> the changes that i did was (in the ipmi-pef-config/src/Makefile )
> previous:
> $(install_sh) -d -m 755 $(DESTDIR)/$(sbindir)
> cp -d ./pef-config $(DESTDIR)/$(sbindir)
> 
> modified to:
> $(install_sh) -d -m 755 $(DESTDIR)$(sbindir)
> cp -d ./pef-config $(DESTDIR)$(sbindir)
> 
> I did this steps manually [as these Makefiles were generated
> automatically after ./configure].

Interesting.  Wouldn't have thought this would be a portability issue to
cygwin.  I've applied the patch.  Thanks.

> After doing above two steps all the exe's were installed to the
> location /usr/local/sbin/. 
> when i run commands likes ipmimonitoring or ipmi-sensors, it is giving
> me error like "permission denied"

I assume you're trying to do in-band communication.  That won't be
supported in Cygwin b/c the only drivers that FreeIPMI supports are
drivers for Linux/Unix.  To my knowledge, the only way to use FreeIPMI
in Cygwin is for out-of-band communication.

Doing some searches online, it's possible to add in-band communication
to FreeIPMI for cygwin, but it's going to be really tough.  It involves
some Windows drivers and doing some kooky things to link it into cygwin
code (don't entirely get it after 5 minutes of reading).  The fact I
don't have a windows box w/ ipmi prohibits me from adding it anytime
soon too.

Al

> Thanks and  Regards,
> Sandeep Kumar Patra
> 
>  
> 
> On Tue, Dec 22, 2009 at 7:53 PM, Al Chu <address@hidden> wrote:
>         Hi Sandeep,
>         
>         >From the README.build file
>         
>         ----
>         By default files will typically be installed in /usr/local
>         (binaries
>         in /usr/local/bin, libraries in /usr/local/lib, configuration
>         files in
>         /usr/local/etc/, etc.).  To install into the more common
>         locations
>         such as /usr/bin, /usr/lib/, /etc, etc. the options passed
>         into
>         `./configure' must be adjusted.
>         
>         The following set of options and settings are suitable for
>         most Linux
>         systems.
>         
>         --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc
>         --localstatedir=/var --mandir=/usr/share/man
>         
>         Your mileage may vary depending on your system.
>         ----
>         
>         Al
>         
>         
>         On Tue, 2009-12-22 at 12:31 +0530, sandeep patra wrote:
>         > Hi,
>         > I am trying to install freeipmi-0.8.2.beta3 on cygwin
>         (CYGWIN_NT-5.1),
>         > but failed to do so.
>         > "./configure " and "make" commands work fine
>         > but when i run "make install", it gives me following error
>         >
>         >
>         > make[3]: Nothing to be done for `install-exec-am'.
>         > /usr/bin/install -c -m 755 -d /usr/local/etc/init.d
>         > /usr/bin/install -c -m
>         > 755 ./bmc-watchdog.init /usr/local/etc/init.d/bmc-watchdo
>         > g
>         > /usr/bin/install -c -m 755 -d //usr/local/etc/sysconfig
>         > /usr/bin/install: cannot create directory `//usr': No such
>         file or
>         > directory
>         > make[3]: *** [install-init-scripts] Error 1
>         > make[3]: Leaving directory
>         > `/home/Administrator/freeipmi_issue/fresh_freeipmi/fr
>         > eeipmi-0.8.2.beta3/bmc-watchdog'
>         > make[2]: *** [install-am] Error 2
>         > make[2]: Leaving directory
>         > `/home/Administrator/freeipmi_issue/fresh_freeipmi/fr
>         > eeipmi-0.8.2.beta3/bmc-watchdog'
>         > make[1]: *** [install-recursive] Error 1
>         > make[1]: Leaving directory
>         > `/home/Administrator/freeipmi_issue/fresh_freeipmi/fr
>         > eeipmi-0.8.2.beta3/bmc-watchdog'
>         > make: *** [install-recursive] Error 1
>         >
>         >
>         > No idea, why the path for sysconfig file
>         > is //usr/local/etc/sysconfig ????
>         >
>         >
>         >
>         >
>         > Thanks and Regards,
>         > Sandeep Kumar Patra
>         >
>         >
>         >
>         >
>         >
>         >
>         
>         
>         > _______________________________________________
>         > Freeipmi-devel mailing list
>         > address@hidden
>         > http://**lists.gnu.org/mailman/listinfo/freeipmi-devel
>         --
>         Albert Chu
>         address@hidden
>         Computer Scientist
>         High Performance Systems Division
>         Lawrence Livermore National Laboratory
>         
>         
> 
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory





reply via email to

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