Leopoldo Cantillo
2015-Feb-13 15:46 UTC
[Nut-upsuser] Testing recommend, make Install error Re: Nut-upsuser Digest, Vol 116, Issue 10
Hi, Thanks for help. - I download the last version of NUT, 2.7.2.6 - I install library: nss-devel gcc-c++ So now I didn't get last errors on make. But I get a new one when I try to do - make install --------------------------- *[root at artesano nut-2.7.2.6]# make install* Making install in include make[1]: Entering directory `/home/artesano/Downloads/nut-2.7.2.6/include' NUT_VERSION: "2.7.2.6" test -f nut_version.h || cp _nut_version.h nut_version.h cmp -s _nut_version.h nut_version.h || cp _nut_version.h nut_version.h rm -f _nut_version.h make install-am make[2]: Entering directory `/home/artesano/Downloads/nut-2.7.2.6/include' make[3]: Entering directory `/home/artesano/Downloads/nut-2.7.2.6/include' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/artesano/Downloads/nut-2.7.2.6/include' make[2]: Leaving directory `/home/artesano/Downloads/nut-2.7.2.6/include' make[1]: Leaving directory `/home/artesano/Downloads/nut-2.7.2.6/include' Making install in common make[1]: Entering directory `/home/artesano/Downloads/nut-2.7.2.6/common' make[2]: Entering directory `/home/artesano/Downloads/nut-2.7.2.6/common' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/artesano/Downloads/nut-2.7.2.6/common' make[1]: Leaving directory `/home/artesano/Downloads/nut-2.7.2.6/common' Making install in clients make[1]: Entering directory `/home/artesano/Downloads/nut-2.7.2.6/clients' make[2]: Entering directory `/home/artesano/Downloads/nut-2.7.2.6/clients' /bin/mkdir -p '/usr/local/ups/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libupsclient.la libnutclient.la '/usr/local/ups/lib' libtool: install: /usr/bin/install -c .libs/libupsclient.so.4.0.0 /usr/local/ups/lib/libupsclient.so.4.0.0 libtool: install: (cd /usr/local/ups/lib && { ln -s -f libupsclient.so.4.0.0 libupsclient.so.4 || { rm -f libupsclient.so.4 && ln -s libupsclient.so.4.0.0 libupsclient.so.4; }; }) libtool: install: (cd /usr/local/ups/lib && { ln -s -f libupsclient.so.4.0.0 libupsclient.so || { rm -f libupsclient.so && ln -s libupsclient.so.4.0.0 libupsclient.so; }; }) libtool: install: /usr/bin/install -c .libs/libupsclient.lai /usr/local/ups/lib/libupsclient.la libtool: install: /usr/bin/install -c .libs/libnutclient.so.0.0.0 /usr/local/ups/lib/libnutclient.so.0.0.0 /usr/bin/install: cannot stat `.libs/libnutclient.so.0.0.0': No such file or directory make[2]: *** [install-libLTLIBRARIES] Error 1 make[2]: Leaving directory `/home/artesano/Downloads/nut-2.7.2.6/clients' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/home/artesano/Downloads/nut-2.7.2.6/clients' make: *** [install-recursive] Error 1 ---------------------------- 2015-02-13 6:00 GMT-06:00 <nut-upsuser-request at lists.alioth.debian.org>:> Send Nut-upsuser mailing list submissions to > nut-upsuser at lists.alioth.debian.org > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser > or, via email, send a message with subject or body 'help' to > nut-upsuser-request at lists.alioth.debian.org > > You can reach the person managing the list at > nut-upsuser-owner at lists.alioth.debian.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Nut-upsuser digest..." > > > Today's Topics: > > 1. Re: Error installing Nut 2.7.2 on RedHat 6.6 (Charles Lepple) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 12 Feb 2015 22:30:07 -0500 > From: Charles Lepple <clepple at gmail.com> > To: Leopoldo Cantillo <leopoldo.cantillo at gmail.com> > Cc: nut-upsuser at lists.alioth.debian.org > Subject: Re: [Nut-upsuser] Error installing Nut 2.7.2 on RedHat 6.6 > Message-ID: <71E3C0D2-9A68-45B8-8AA5-186717A804C6 at gmail.com> > Content-Type: text/plain; charset=us-ascii > > On Feb 12, 2015, at 9:20 PM, Leopoldo Cantillo < > leopoldo.cantillo at gmail.com> wrote: > > > Hi, > > > > I need help because I can't install Nut in RedHat EL 6.6 > > The version of Nut in repository ot RHEL is 2.6.5-2, but doesn't suppor > my UPS, > > Liebert GXT3-200RT. > > I think GXT3 support was added after 2.7.2 was released. > > Since you are building from source already, I recommend grabbing the > latest snapshot from this page: > > http://buildbot.networkupstools.org/snapshots > > At the moment, it is 2.7.2.6 (we are working on releasing 2.7.3). > > > I read that it is supported using Nut version 2.7.2, but I looking all > around the web how to install it in my RedHat but I didn't find answers. > > Follow the guide, I can downlad lasted version stable on web: 2.7.2 > > Here the errors and info from terminal: > > Thanks a lot for help me. > > ---------------------- > > [artesano at artesano nut-2.7.2]$ ./configure --with-user=artesano > --with-group=nut --with-usb > > Network UPS Tools version 2.7.2 > ... > > checking for Mozilla NSS version via pkg-config... none found > > checking for Mozilla NSS cflags... > > checking for Mozilla NSS ldflags... -lnss3 -lnssutil3 -lsmime3 -lssl3 > -lplds4 -lplc4 -lnspr4 > > checking for nss.h... yes > > checking for NSS_Init... yes > > checking whether to enable SSL support... yes (Mozilla NSS) > > There is a bug in our NSS detection - it found the wrong nss.h. > > Filed an issue so we don't forget: > https://github.com/networkupstools/nut/issues/184 > > You will need to install something like 'libnss-devel' (or maybe > 'lib64nss-devel'?) to get the NSS headers and development library. > > -- > Charles Lepple > clepple at gmail > > > > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser > > ------------------------------ > > End of Nut-upsuser Digest, Vol 116, Issue 10 > ******************************************** >-- Leopo C.M. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20150213/7ae52e91/attachment.html>
Charles Lepple
2015-Feb-13 23:45 UTC
[Nut-upsuser] Testing recommend, make Install error Re: Nut-upsuser Digest, Vol 116, Issue 10
On Feb 13, 2015, at 10:46 AM, Leopoldo Cantillo <leopoldo.cantillo at gmail.com> wrote:> libtool: install: /usr/bin/install -c .libs/libupsclient.so.4.0.0 /usr/local/ups/lib/libupsclient.so.4.0.0 > libtool: install: (cd /usr/local/ups/lib && { ln -s -f libupsclient.so.4.0.0 libupsclient.so.4 || { rm -f libupsclient.so.4 && ln -s libupsclient.so.4.0.0 libupsclient.so.4; }; }) > libtool: install: (cd /usr/local/ups/lib && { ln -s -f libupsclient.so.4.0.0 libupsclient.so || { rm -f libupsclient.so && ln -s libupsclient.so.4.0.0 libupsclient.so; }; }) > libtool: install: /usr/bin/install -c .libs/libupsclient.lai /usr/local/ups/lib/libupsclient.la > libtool: install: /usr/bin/install -c .libs/libnutclient.so.0.0.0 /usr/local/ups/lib/libnutclient.so.0.0.0 > /usr/bin/install: cannot stat `.libs/libnutclient.so.0.0.0': No such file or directoryCan you create a log of the whole configure/build process, and gzip and attach it? You should run 'make clean' first, or build from a new source directory. This error "shouldn't happen" either, but it is possible that another -devel package is missing somewhere. (We don't do much testing on fresh installs of RHEL, I guess.) -- Charles Lepple clepple at gmail