From owner-freebsd-bugs@FreeBSD.ORG Tue Aug 26 19:40:29 2003 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4547B16A4BF for ; Tue, 26 Aug 2003 19:40:29 -0700 (PDT) Received: from swin.edu.au (ds20-1.cc.swin.edu.au [136.186.1.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76C7843FB1 for ; Tue, 26 Aug 2003 19:40:27 -0700 (PDT) (envelope-from pvandenbergen@swin.edu.au) Received: from pvdbergen.caia.swin.edu.au (pvdbergen.caia.swin.edu.au [136.186.229.26]) by swin.edu.au (8.9.3p2/8.9.3) with ESMTP id MAA2021578 for ; Wed, 27 Aug 2003 12:40:22 +1000 (EST) From: paul van den bergen To: freebsd-bugs@freebsd.org Date: Wed, 27 Aug 2003 12:40:22 +1000 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308271240.22208.pvandenbergen@swin.edu.au> Subject: pdflib problems X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 02:40:29 -0000 Hey all, I've been repeatedly encountering problems with pdflib requiring programs, particularly gnuplot and grace. (for FreeBSD 4.8) gnuplot I eventually got sorted - cvsup'ing the ports helped, but grace is still looking for pdflib4 instead of pdflib5. the problem arises because pdflib4 is no longer downloadable and is hence marked as broken. messing with the math/grace/Makefile and changing the line pdf.4:${PORTSDIR}/print/pdflib4 to pdf.5:${PORTSDIR}/print/pdflib I could get it to correctly check and install, untill it started to compile and encountered a undefined variable... *sigh* e.g. plotone.o: In function `do_hardcopy': plotone.o(.text+0x1b7): warning: tmpnam() possibly used unsafely; consider using mkstemp() t1fonts.o: In function `init_t1': t1fonts.o(.text+0xaa): undefined reference to `T1_GetNoFonts' fontwin.o: In function `update_fonttool_cb': fontwin.o(.text+0x5f9): undefined reference to `T1_CheckForFontID' gmake[1]: *** [xmgrace] Error 1 gmake[1]: Leaving directory `/usr/ports/math/grace/work/grace-5.1.12/src' gmake: *** [subdirs] Error 1 *** Error code 2 Stop in /usr/ports/math/grace. still a relative niovice wrt FreeBSD, I was stumped at this point... any suggestions? BTW, doing pkg_add -r grace gives pkg_add: warning: package 'grace-5.1.10' requires 'pdflib-4.0.3', but 'pdflib-5.0.1' is installed Not surprisingly, running grace after results in /usr/libexec/ld-elf.so.1: Shared object "libpdf.so.4" not found so the error also exists in the precompiled package (aside: when one does a pkg_add -r, why doesn't the tarball get archived for possible future use?) -- Dr Paul van den Bergen Centre for Advanced Internet Architectures caia.swin.edu.au pvandenbergen@swin.edu.au IM:bulwynkl2002 "And some run up hill and down dale, knapping the chucky stones to pieces wi' hammers, like so many road makers run daft. They say it is to see how the world was made." Sir Walter Scott, St. Ronan's Well 1824