From owner-freebsd-ports@FreeBSD.ORG Fri Jan 23 00:27:14 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8658416A4CE for ; Fri, 23 Jan 2004 00:27:14 -0800 (PST) Received: from mail1.hrz.uni-bielefeld.de (mail1.hrz.uni-bielefeld.de [129.70.4.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5299643D1D for ; Fri, 23 Jan 2004 00:27:12 -0800 (PST) (envelope-from lars.koeller@uni-bielefeld.de) Received: from conversion-daemon.mail1.hrz.uni-bielefeld.de by mail1.hrz.uni-bielefeld.de (iPlanet Messaging Server 5.2 HotFix 1.15 (built Apr 28 2003)) id <0HRX00M01OM52T@mail1.hrz.uni-bielefeld.de> for ports@freebsd.org; Fri, 23 Jan 2004 09:27:10 +0100 (MET) Received: from rayadm.hrz.uni-bielefeld.de ([129.70.202.15]) by mail1.hrz.uni-bielefeld.de (iPlanet Messaging Server 5.2 HotFix 1.15 (built Apr 28 2003)) with ESMTPP id <0HRX00BZFOTA1R@mail1.hrz.uni-bielefeld.de>; Fri, 23 Jan 2004 09:27:10 +0100 (MET) Received: from rayadm.hrz.uni-bielefeld.de (lkoeller@localhost) i0N8RAX20251; Fri, 23 Jan 2004 09:27:10 +0100 (MET) Date: Fri, 23 Jan 2004 09:27:09 +0100 From: Lars =?iso-8859-1?Q?K=F6ller?= X-Face: eCcoCV}FjV*O{6>[1$XP/e%]TJhEw2MF33dFh)^HM7Gfd=[/(4+0a$~ Sender: lars.koeller@uni-bielefeld.de To: Artur Pydo Message-id: <200401230827.i0N8RAX20251@rayadm.hrz.uni-bielefeld.de> MIME-version: 1.0 X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT cc: ports@freebsd.org cc: lars@koellers.net Subject: Re: Error building apcupsd-3.10.9_2 port. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2004 08:27:14 -0000 ---------- 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 ---------