Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2008 05:03:19 +0200
From:      Gyrd Thane Lange <gyrd-se@thanelange.no>
To:        Craig Butler <craig001@lerwick.hopto.org>
Cc:        freebsd-ports@freebsd.org, multimedia@FreeBSD.org, Martin Tournoij <carpetsmoker@rwxrwxrwx.net>, leslie@eskk.nu
Subject:   Re: multimedia/transcode won't build
Message-ID:  <20080811050319.17092ed1@parvati.thanelange.no>
In-Reply-To: <1218205120.70877.3.camel@main.lerwick.hopto.org>
References:  <489C4DC0.3030806@eskk.nu> <20080808135842.GA71650@rwxrwxrwx.net> <1218205120.70877.3.camel@main.lerwick.hopto.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--MP_/7XTfOk8Rk0inKSr/RE0_KXD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
Content-Disposition: inline

On Fri, 08 Aug 2008 15:18:40 +0100
Craig Butler <craig001@lerwick.hopto.org> wrote:

> On Fri, 2008-08-08 at 15:58 +0200, Martin Tournoij wrote:
> > On Fri, Aug 08, 2008 at 03:44:32PM +0200, Leslie Jensen wrote:
> > > Hello
> > > 
> > > I have the above problem.
> > > 
> > > I have tried make deinstall and then reinstall, same error.
> > > 
> > > Any hints?
> > > 
> > > Thanks
> > > /Leslie
> > > 
> > > 
> > > -----------------------------------------
> > > In file included from import_nuv.c:19:
> > > ../../libtc/tc_lzo.h:13:23: error: lzo/lzo1x.h: No such file or
> > > directory ../../libtc/tc_lzo.h:14:25: error: lzo/lzoutil.h: No
> > > such file or directory import_nuv.c: In function
> > > 'nuv_decode_video': import_nuv.c:473: warning: pointer targets in
> > > assignment differ in signedness
> > > import_nuv.c:480: error: 'lzo_uint' undeclared (first use in this
> > > function) import_nuv.c:480: error: (Each undeclared identifier is
> > > reported only once import_nuv.c:480: error: for each function it
> > > appears in.) import_nuv.c:480: error: expected ';' before 'len'
> > > import_nuv.c:486: warning: implicit declaration of function 
> > > 'lzo1x_decompress'
> > > import_nuv.c:487: error: 'len' undeclared (first use in this
> > > function) import_nuv.c:487: error: 'LZO_E_OK' undeclared (first
> > > use in this function) import_nuv.c:509: warning: pointer targets
> > > in passing argument 2 of 'RTjpeg_deco
> > > mpressYUV420' differ in signedness
> > > import_nuv.c: In function 'import_nuv_decode':
> > > import_nuv.c:624: warning: pointer targets in assignment differ
> > > in signedness
> > > gmake[3]: *** [import_nuv_la-import_nuv.lo] Error 1
> > > gmake[3]: Leaving directory 
> > > `/usr/ports/multimedia/transcode/work/transcode-1.0.
> > > 6/import/nuv'
> > > gmake[2]: *** [all-recursive] Error 1
> > > gmake[2]: Leaving directory 
> > > `/usr/ports/multimedia/transcode/work/transcode-1.0.
> > > 6/import'
> > > gmake[1]: *** [all-recursive] Error 1
> > > gmake[1]: Leaving directory 
> > > `/usr/ports/multimedia/transcode/work/transcode-1.0.
> > > 6'
> > > gmake: *** [all] Error 2
> > > *** Error code 2
> > > 
> > > Stop in /usr/ports/multimedia/transcode.
> > > *** Error code 1
> > > 
> > > Stop in /usr/ports/multimedia/transcode.
> > > -----------------------------------------
> > 
> > I had the same problem today, it's probably a bug in the port ...
> > Haven't had the time to look into it.
> > 
> 
> have you got /usr/ports/archivers/lzo installed ?
> 
> it looks like the port is trying to pull in an include files from
> it...

The port appears to looking for the lzo headers in the wrong place.

archivers/lzo places include files in /usr/local/include while
archivers/lzo2 places include files in /usr/local/include/lzo

a) To make the port work with lzo version 1, you can drop a small patch
file (also attached) into /usr/ports/multimedia/transcode/files/:

[patch-libtc_tc_lzo.h]
--- libtc/tc_lzo.h.orig	2008-08-10 22:24:53.000000000 +0200
+++ libtc/tc_lzo.h	2008-08-10 22:25:37.000000000 +0200
@@ -10,8 +10,8 @@
 #ifndef TC_LZO_H
 #define TC_LZO_H
 
-#include <lzo/lzo1x.h>
-#include <lzo/lzoutil.h>
+#include <lzo1x.h>
+#include <lzoutil.h>
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"

b) You can uninstall archivers/lzo and install archivers/lzo2 instead
(haven' tried this but I'll expect it to work.)

Regards
Gyrd ^_^

--MP_/7XTfOk8Rk0inKSr/RE0_KXD--



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