From owner-freebsd-ports Fri Jan 11 1:10:49 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7720537B41F for ; Fri, 11 Jan 2002 01:10:42 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0B90En64702; Fri, 11 Jan 2002 01:00:14 -0800 (PST) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EC55137B4D0 for ; Fri, 11 Jan 2002 00:58:30 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0B8wAY64423; Fri, 11 Jan 2002 00:58:10 -0800 (PST) (envelope-from nobody) Message-Id: <200201110858.g0B8wAY64423@freefall.freebsd.org> Date: Fri, 11 Jan 2002 00:58:10 -0800 (PST) From: Martin Kraft To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/33782: xv port does not build Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 33782 >Category: ports >Synopsis: xv port does not build >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 11 01:00:09 PST 2002 >Closed-Date: >Last-Modified: >Originator: Martin Kraft >Release: 4.4-STABLE >Organization: FAL Braunschweig >Environment: FreeBSD koko.fal.de 4.4-STABLE FreeBSD 4.4-STABLE #6: Thu Nov 15 15:51:44 CET 2001 port tree cvsup'ed on jan 7, 2002 $FreeBSD: ports/graphics/xv/Makefile,v 1.51 2001/09/11 15:03:17 sf Exp >Description: The xv port does not build. While compiling it misses the standard X11 include and lib directory: cc -O -DDOJPEG -Ijpeg -DDOTIFF -Itiff -DDOPDS -DMGCSFXDIR=\"/usr/loca l/lib\" -DDOPNG -I/usr/local/src/libpng -I/usr/local/src/zlib -c xv.c In file included from xv.c:11: xv.h:86: X11/Xos.h: No such file or directory In file included from xv.c:11: xv.h:202: X11/Xlib.h: No such file or directory xv.h:203: X11/Xutil.h: No such file or directory [..] The problem seems similar to the one, which was described by Chris Costello in bug report ports/9122 in dec 1998. I then included the -I and -L flags as described in bug report 9122: CCOPTS= -O -I/usr/X11R6/include -L/usr/X11R6/lib With this the compilation continues and stops again: cc -O -I/usr/X11R6/include -L/usr/X11R6/lib -DDOJPEG -Ijpeg -DDOTIFF -Itiff -DDOPDS -DMGCSFXDIR=\"/usr/local/lib\" -DDOPNG -I/usr/local/src/libpng -I/usr/local/src/zlib -c xvjpeg.c xvjpeg.c:54: syntax error before `void' xvjpeg.c:55: syntax error before `void' xvjpeg.c:56: syntax error before `void' xvjpeg.c:58: syntax error before `boolean' xvjpeg.c:403: syntax error before `void' xvjpeg.c:59: warning: `writeJFIF' used but never defined *** Error code 1 (Note: ports png-1.2.1 and jpeg-6b_1 are installed on that machine.) >How-To-Repeat: cd /usr/ports/graphics/xv make clean && make >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message