Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 00:17:47 +1300
From:      "Dan Langille" <dan@langille.org>
To:        Phil Homewood <philh@mincom.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: webalizer won't install without X <== bad!
Message-ID:  <200001251117.AAA16565@ducky.nz.freebsd.org>
In-Reply-To: <20000125170218.M17287@mincom.com>
References:  <200001250412.RAA12114@ducky.nz.freebsd.org>; from Dan Langille on Tue, Jan 25, 2000 at 05:12:42PM %2B1300

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 Jan 00, at 17:02, Phil Homewood wrote:

> Dan Langille wrote:
> > [root@ducky:/usr/ports/www/webalizer] # make
> > ===>  Extracting for webalizer-1.30.4
> > >> Checksum OK for webalizer-1.30-04-src.tgz.
> > ===>   webalizer-1.30.4 depends on shared library: gd.0 - not found
> > ===>    Verifying install for gd.0 in /usr/ports/graphics/gd
> > ===>  Extracting for gd-1.7.3
> > >> Checksum OK for gd-1.7.3.tar.gz.
> > ===>   gd-1.7.3 depends on shared library: png.3 - found
> 
> So far so good...
> 
> > ===>   gd-1.7.3 depends on shared library: ttf.4 - not found
> 
> Ah. My gd install (also 1.7.3) doesn't depend on ttf.4 or X11.
> Looking at the makefile...
> 
> ----------------------------
> revision 1.15
> date: 1999/12/25 02:01:47;  author: steve;  state: Exp;  lines: +6 -2
> Add ttf and xpm support to this port.
> 
> PR:             15437
> Submitted by:   Igor Vinokurov <igor@zynaps.ru>
> ----------------------------
> 
> 
> That's a bug (requiring X11 without honouring NO_X11) in my books.
> 
> Try the attached patch. If it works, let me know and I'll send-pr. :)

Thanks for that.  Now it's just

cc -O -pipe -DHAVE_XPM -DHAVE_LIBTTF -I/usr/local/include -I/usr/local/include/freetype -I/usr/X11R6/include -I/usr/X11R6/include/X11 -c gd_png.c
cc -O -pipe -DHAVE_XPM -DHAVE_LIBTTF -I/usr/local/include -I/usr/local/include/freetype -I/usr/X11R6/include -I/usr/X11R6/include/X11 -c gdxpm.c
gdxpm.c:20: xpm.h: No such file or directory
gdxpm.c: In function `gdImageCreateFromXpm':
gdxpm.c:24: `XpmInfo' undeclared (first use this function)
gdxpm.c:24: (Each undeclared identifier is reported only once
gdxpm.c:24: for each function it appears in.)
gdxpm.c:24: parse error before `info'
gdxpm.c:25: `XpmImage' undeclared (first use this function)
gdxpm.c:35: `image' undeclared (first use this function)
gdxpm.c:35: `info' undeclared (first use this function)
gdxpm.c:36: `XpmSuccess' undeclared (first use this function)
*** Error code 1

so I made /usr/ports/graphics/xpm:

===>   xpm-3.4k depends on shared library: X11.6 - not found
===>    Verifying install for X11.6 in /usr/ports/x11/XFree86
>> X335src-1.tgz doesn't seem to exist on this system.
>> Attempting to fetch from 
ftp://ftp.xfree86.org/pub/XFree86/3.3.5/source/.
Receiving X335src-1.tgz (17161723 bytes): 29%^C
fetch: retrieving file from FTP server: interrupted by signal: int

This is fun!
--
Dan Langille  [I'm looking for more work]
http://www.langille.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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