[Nut-upsuser] Building NUT 2.2.1 under Solaris 10 (SPARC)

Huge huge at huge.org.uk
Sun Feb 10 12:03:36 UTC 2008


On Sat, 2008-02-09 at 17:16, Charles Lepple wrote:
> On Feb 9, 2008 7:56 AM, Huge <huge at huge.org.uk> wrote:
> > On Sat, 2008-02-09 at 12:34, Charles Lepple wrote:
> >
> > > Not pretty, but that works. If you don't need SNMP support, you can
> > > use "--without-snmp" the next time you build.
> >
> > Sadly, that doesn't work any better - it bombs in the same place and the
> > same way.
> 
> Strange... Can you please send the log?

[huge at anubis ~/Prog/nut/nut-2.2.1]: ./configure --with-user=ups
--with-group=nut --without-snmp
Network UPS Tools version 2.2.1
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
.
.
.

Configuration summary:
enable SSL development code: yes
enable IPv6 support: yes
build CGI programs: no
build upsclient library: no
build serial drivers: yes
build SNMP drivers: no 
<-------------------------------------------------------------*
build USB drivers: libusb-based drivers only
enable HAL support: no
[huge at anubis ~/Prog/nut/nut-2.2.1]: make
Making all in include
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  all-am
.
.
.
Making all in conf
Making all in data
Making all in html
Making all in docs
Making all in drivers
if gcc -DHAVE_CONFIG_H -I. -I. -I../include     -I../include 
-I/usr/sfw/include  -Dsolaris_2 -xarch=v9 -Dsolaris2 -I.
-I/usr/sfw/include  -O -Wall -Wsign-compare -MT al175.o -MD -MP -MF
".deps/al175.Tpo" -c -o al175.o al175.c; \
then mv -f ".deps/al175.Tpo" ".deps/al175.Po"; else rm -f
".deps/al175.Tpo"; exit 1; fi
gcc: language arch=v9 not recognized
gcc: al175.c: linker input file unused because linking not done
mv: cannot access .deps/al175.Tpo
*** Error code 2
make: Fatal error: Command failed for target `al175.o'

I attach the config log.

BTW, I wonder if this has something to do with the fact that (i) I have
both gcc and Sun's compilers installed & (ii) my PATH? Altering my PATH
seems to make it go wrong in various other interesting ways...

[huge at anubis ~/Prog/nut/nut-2.2.1]: echo $PATH
~:~/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/ucb:/usr/sfw/bin:/opt/csw/bin:/opt/csw/sbin:/usr/local/bin:/usr/openwin/bin:/usr/sadm/admin/bin/:/usr/openwin/demo


Regards,

H.







-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.gz
Type: application/x-gzip
Size: 12160 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20080210/3af1cfb3/attachment.bin 


More information about the Nut-upsuser mailing list