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].

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"

Thanks and  Regards,
Sandeep Kumar Patra



On Tue, Dec 22, 2009 at 7:53 PM, Al Chu <[email protected]> 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
> > [email protected]
> > 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
[email protected]
http://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to