Error building apcupsd-3.10.9_2 port.

LarsKöller lars.koeller at uni-bielefeld.de
Fri Jan 23 00:27:14 PST 2004


----------

In reply to Artur Pydo who wrote:
 
> Hi,
> 
> Lars Köller wrote:
> 
> >>While upgrading from apcupsd-3.10.9_1 to apcupsd-3.10.9_2 port
> >>i have the following error on my 4.9-STABLE box :
> >>
> >>gmake[1]: Entering directory 
> >>`/usr/ports/sysutils/apcupsd/work/apcupsd-3.10.9/src/cgi'
> >>[...]
> >>cc -pthread -o upsstats.cgi upsstats.o upsfetch.o cgilib.o 
> >>/usr/ports/sysutils/apcupsd/work/apcupsd-3.10.9/src/drivers/libdrivers.a 
> >>/usr/ports/sysutils/apcupsd/work/apcupsd-3.10.9/src/lib/libapc.a 
> >>-lintl  -lwrap -lgd
> >>/usr/libexec/elf/ld: cannot find -lintl
> >>gmake[1]: *** [upsstats.cgi] Error 1
> >>
> >>Am i doing something wrong ? It worked just fine in the previous
> >>versions.
> > 
> > Sorry I can't reproduce this on my local machine.
> 
> I have LDFLAGS=-pthread in
> /usr/ports/sysutils/apcupsd/work/apcupsd-3.10.9/src/cgi/Makefile
> 
> I had to modify it as follows to compile :
> 
> LDFLAGS =  -pthread -L/usr/local/lib
> 
> FYI, LDFLAGS is not set in my shell environment.

The problem is a configuration with nn installed libgd ind /usr/local.

Then my modification to configure to use the apcupsd included libgd 
(static) leads to the error.

I will try to investigate this this weekend (I hope to find the time).

Regards

Lars

-- 
 Lars Köller      \   Raum   : V0-318 (Tel: 4964)
  Leitung Systeme  \  E-Mail : Lars.Koeller at Uni-Bielefeld.DE
  und Serverdienste \ PGP-Key: http://www.uk.pgp.net/pgpnet/wwwkeys.html
----------- FreeBSD, what else? ---- http://www.de.freebsd.org ---------




More information about the freebsd-ports mailing list