Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2008 21:33:54 -0500
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        Dieter Lambrecht <dieter_lambrecht@gmx.de>
Cc:        multimedia@freebsd.org
Subject:   Re: failed portupgrade of transcode
Message-ID:  <20080728213354.5f4e001a@serene.no-ip.org>
In-Reply-To: <200807271830.26076.dieter_lambrecht@gmx.de>
References:  <200807271830.26076.dieter_lambrecht@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 27 Jul 2008 18:30:25 +0200
Dieter Lambrecht <dieter_lambrecht@gmx.de> wrote:

> Hi,
> 
> I have got an error while upgrading transcode to version 1.0.6. Here is
> the output:
> 
> imagemagick                    no
> libjpeg                        yes
> bsdav                          no
> iconv                          yes
> 
> ERROR: option '--enable-lzo' failed: cannot compile lzo/lzo1x.h
> lzo/lzo1x.h can be found in the following packages:
>   lzo  http://www.oberhumer.com/opensource/lzo/
> 
> ERROR: option '--enable-lzo' failed: cannot link against liblzo2
> liblzo2 can be found in the following packages:
>   lzo  http://www.oberhumer.com/opensource/lzo/
> 
> 
> Please see the INSTALL file in the top directory of the
> transcode sources for more information about building
> transcode with this configure script.
> 
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to multimedia@FreeBSD.org [maintainer] and
> attach the
> "/usr/ports/multimedia/transcode/work/transcode-1.0.6/config.log"
> including the output of the failure of your make command. Also, it
> might be a good idea to provide an overview of all packages installed
> on your system (e.g. an `ls /var/db/pkg`).
> *** Error code 1
> 
> Stop in /usr/ports/multimedia/transcode.
> ** Command failed [exit code 1]: /usr/bin/script
> -qa /tmp/portupgrade.44570.0 env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=transcode-1.0.5_3 UPGRADE_PORT_VER=1.0.5_3 make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>         ! multimedia/transcode (transcode-1.0.5_3)      (unknown build
> error)
> 
> 
> Kind regards,
> 
> Dieter Lambrecht
> Hochheim
> Germany
> 
> 

Try the following patch (which I submitted via send-pr yesterday):

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/transcode/Makefile,v
retrieving revision 1.107
diff -d -u -r1.107 Makefile
--- Makefile	26 Jul 2008 21:08:27 -0000	1.107
+++ Makefile	28 Jul 2008 01:11:00 -0000
@@ -158,7 +158,7 @@
 .endif
 
 .if defined(WITH_LZO) || (exists(${LOCALBASE}/lib/liblzo.so) && !defined(WITHOUT_LZO))
-LIB_DEPENDS+=	lzo.1:${PORTSDIR}/archivers/lzo
+LIB_DEPENDS+=	lzo2.2:${PORTSDIR}/archivers/lzo2
 CONFIGURE_ARGS+=	--enable-lzo --with-lzo-prefix=${LOCALBASE} \
 					--with-lzo-includes=${LOCALBASE}
 .else



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