Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 2004 09:27:09 +0100
From:      Lars =?iso-8859-1?Q?K=F6ller?= <lars.koeller@uni-bielefeld.de>
To:        Artur Pydo <artur@pydo.org>
Cc:        lars@koellers.net
Subject:   Re: Error building apcupsd-3.10.9_2 port.
Message-ID:  <200401230827.i0N8RAX20251@rayadm.hrz.uni-bielefeld.de>
In-Reply-To: "Your message of Fri, 23 Jan 2004 02:19:30 %2B0100." <401076A2.9060200@pydo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----------

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@Uni-Bielefeld.DE
  und Serverdienste \ PGP-Key: http://www.uk.pgp.net/pgpnet/wwwkeys.html
----------- FreeBSD, what else? ---- http://www.de.freebsd.org ---------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401230827.i0N8RAX20251>