[Nut-upsuser] Makefile bug in nut-2.4.3
Arjen de Korte
nut+users at de-korte.org
Wed Sep 1 15:56:50 UTC 2010
Citeren Brother Railgun of Reason <alaric op caerllewys.net>:
>> ./configure --prefix=/opt/nut --with-gnu-ld --with-serial --without-usb
>> --with-cgi --with-gd-includes=-I/usr/local/include
>> --with-gd-libs="-L/usr/local/lib -R/usr/local/lib -lgd" --with-user=nut
>> --with-group=nut --host=i686-pc-solaris2.10 --build=i686-pc-solaris2.10
>> --target=i686-pc-solaris2.10
Unless you're using a really ancient version of GD, the installation
path should be detected automatically.
> Oh, footnote to that: I specified the host triple because although the
> correct triple for this system is actually i686-pc-solaris2.10, nut
> configuration was incorrectly detecting it as i386-pc-solaris2.10. This
> is probably Solaris 10's fault, as even though this is a dual 32/64-bit
> Solaris 10 install on x86_64 hardware (P4 Xeons, Nocona architecture),
> Solaris insists on reporting uname -p as i386 rather than i686 or amd64.
I fail to see the relevance of the above. NUT doesn't use these values
and as far as I know, building for i386 or i686 isn't much of a
difference since both will be 32-bit architectures.
If you want to build for a 64-bit architecture, it should be something
like x86_64 or amd64, but I apparently this isn't the case here. The
'config.log' might be helpful in finding out what is really going on.
Best regards, Arjen
--
Please keep list traffic on the list (off-list replies will be rejected)
More information about the Nut-upsuser
mailing list