[Nut-upsuser] make errors on solaris express dev 02/07

Zoltan Farkas zoly at daxtechnologies.com
Tue Mar 6 20:06:32 CET 2007

This is the configure I have executed:

./configure --with-user=ups --with-group=ups

Here are the versions of the tools:

$ libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)

$ autoconf --version
autoconf (GNU Autoconf) 2.59
Written by David J. MacKenzie and Akim Demaille.

$ automake --version
automake (GNU automake) 1.9.6
Written by Tom Tromey <tromey at redhat.com>.

Will try to disable Net-SNMP and HAL and see if it builds



-----Original Message-----
From: Charles Lepple [mailto:clepple at gmail.com] 
Sent: Tuesday, March 06, 2007 1:11 PM
To: Zoltan Farkas
Cc: nut-upsuser at lists.alioth.debian.org
Subject: Re: [Nut-upsuser] make errors on solaris express dev 02/07

On 3/6/07, Zoltan Farkas <zoly at daxtechnologies.com> wrote:
> /bin/bash ../libtool --tag=CC --mode=link gcc -I../include -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -I/usr/sfw/include -g -Dsolaris2 -I. -I/usr/sfw/include -O -Wall -Wsign-compare   -o snmp-ups  snmp-ups.o ../common/libcommon.a ../common/upsconf.o ../common/parseconf.o ../common/state.o main.o dstate.o -R../lib -L/usr/sfw/lib -lnetsnmp -lgen -lpkcs11 -lkstat -lelf -lm -ldl -lnsl -lsocket -ladm -lsocket -lnsl
> libtool: link: only absolute run-paths are allowed

I think libtool is objecting to the '-R../lib' part. Did you use any
relative paths in anything that you passed to configure?

You might try disabling HAL or Net-SNMP support and seeing if that goes away.

Which versions of autoconf, libtool, automake, etc. are you using?

- Charles Lepple

More information about the Nut-upsuser mailing list