Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 00:58:10 -0800 (PST)
From:      Martin Kraft <martin.kraft@fal.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/33782: xv port does not build
Message-ID:  <200201110858.g0B8wAY64423@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




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