Subject: Re: Building gd 1.8.3 as a package
To: None <tech-userlevel@netbsd.org>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-userlevel
Date: 10/26/2001 21:54:35
Upgrade the installed version of libtool - I fixed this in May:

Taken from pkgsrc/devel/libtool/patches/patch-ab:

----------------------------
revision 1.21
date: 2001/05/09 10:24:11;  author: agc;  state: Exp;  lines: +57 -7
If a tag has not been given, and we're using a compiler which is not one
of the ones with which libtool was built, attempt to infer the compiler
from the first word of the command line passed to libtool.

We only reach this test if libtool is about to die with a message about
lacking a specific tag, so this change is the least intrusive that can
be made.

This means that different CC options can now be recognised when compiling.

Bump version number to nb6
----------------------------

Regards,
Alistair

On Fri, Oct 26, 2001 at 09:11:54PM +0200, Lucio De Re wrote:
> On NetBSD 1.5.1 seems to produce the following.  What can I do to fix
> this?  I can't get MRTG to work because something is trying to find
> libpng.1.0.so where I have only libpnbg.2.0.so installed.
> 
> Here are the diagnostics on building GD:
> 
> ===> Applying NetBSD patches for gd-1.8.3
> ===> Building for gd-1.8.3
> /usr/pkg/bin/libtool  gcc -I.  -I/usr/pkg/include/freetype
> -I/usr/pkg/include -I/usr/X11R6/include -I/usr/X11R6/include/X11
> -I/usr/X11R6/include -I/usr/pkg/include/freetype -I/usr/pkg/include
> -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/X11R6/include -O2
> -DHAVE_XPM -DHAVE_JPEG -DHAVE_LIBTTF  -I/usr/pkg/include/freetype
> -I/usr/pkg/include -I/usr/X11R6/include -I/usr/X11R6/include/X11
> -I/usr/X11R6/include -I/usr/pkg/include/freetype -I/usr/pkg/include
> -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/X11R6/include -c
> gd.c
> libtool: compile: unable to infer tagged configuration
> libtool: compile: specify a tag with `--tag'
> *** Error code 1
> 
> Stop.
> 
> ++L