From owner-freebsd-questions@FreeBSD.ORG Tue Oct 9 18:34:57 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEC3D16A496 for ; Tue, 9 Oct 2007 18:34:57 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailwasher.lanl.gov (mailwasher.lanl.gov [204.121.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id 9A8F413C465 for ; Tue, 9 Oct 2007 18:34:57 +0000 (UTC) (envelope-from jamesh@lanl.gov) Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailwasher.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l99IYt6U002892; Tue, 9 Oct 2007 12:34:55 -0600 Received: from oppie-mail.lanl.gov (oppie-mail.lanl.gov [128.165.4.123]) by mailrelay1.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l99IYtZX012951; Tue, 9 Oct 2007 12:34:55 -0600 Received: from [128.165.86.10] (secretariat.lanl.gov [128.165.86.10]) by oppie-mail.lanl.gov (Postfix) with ESMTP id A309E1F8007; Tue, 9 Oct 2007 12:34:50 -0600 (MDT) From: James To: andrew clarke In-Reply-To: <20071004200206.GA47591@ozzmosis.com> References: <1191524486.58109.2.camel@secretariat.lanl.gov> <200710042142.40055.fbsd.questions@rachie.is-a-geek.net> <1191527463.58109.7.camel@secretariat.lanl.gov> <20071004200206.GA47591@ozzmosis.com> Organization: Los Alamos National Laboratories Date: Tue, 09 Oct 2007 12:35:08 -0600 Message-Id: <1191954908.58109.36.camel@secretariat.lanl.gov> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: jamesh@lanl.gov X-Spam-Status: No Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: ffmpeg not installing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jamesh@lanl.gov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2007 18:34:58 -0000 On Fri, 2007-10-05 at 06:02 +1000, andrew clarke wrote: > On Thu, Oct 04, 2007 at 01:51:03PM -0600, James wrote: > > > > > /usr/local/include/log.h:112: error: syntax error before "A_" > > > > > > I'm curious which port installed log.h. I don't have it on my system and it > > > wouldn't surprise me if a local log.h conflicts with this log.h. > > > > > > Could you show output of: > > > grep '^include/log.h' /var/db/pkg/*/+CONTENTS > > > > > > > > [james@secretariat ~]$ su > > Password: > > secretariat# grep '^include/log.h' /var/db/pkg/*/+CONTENTS > > secretariat# > > I don't have a log.h: > > $ uname -a > FreeBSD blizzard.dancer 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Wed Sep 19 21:56:10 EST 2007 root@blizzard.dancer:/usr/obj/usr/src/sys/DELLGX150 i386 > $ cat /usr/local/include/log.h > cat: /usr/local/include/log.h: No such file or directory > > I would do: > > mv /usr/local/include/log.h /usr/local/include/log.h.backup > > And try rebuilding ffmpeg again. While it rebuilds, try to find out > where log.h came from. :) > > RegardsAndrew log.h came from a botched hand install of the torque PBS batching system. I'm further on now, I had a few different other libraries that interfered from the same install. Now I get here: <------------------------snip---------------------------> ts/multimedia/ffmpeg/work/ffmpeg-2007-09-14"/libavutil -O2 -fno-strict-aliasing -pipe -O2 -I/usr/local/include/vorbis -I/usr/local/include -pthread -fomit-frame-pointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -c -o matroskaenc.o matroskaenc.c matroskaenc.c: In function `mkv_write_header': matroskaenc.c:620: error: `av_md5_size' undeclared (first use in this function) matroskaenc.c:620: error: (Each undeclared identifier is reported only once matroskaenc.c:620: error: for each function it appears in.) matroskaenc.c:621: warning: implicit declaration of function `av_md5_init' matroskaenc.c: In function `mkv_write_packet': matroskaenc.c:740: warning: implicit declaration of function `av_md5_update' matroskaenc.c: In function `mkv_write_trailer': matroskaenc.c:789: warning: implicit declaration of function `av_md5_final' gmake[1]: *** [matroskaenc.o] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/ffmpeg/work/ffmpeg-2007-09-14/libavformat' gmake: *** [lib] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/ffmpeg. secretariat# <----------------------/snip--------------------> I followed that with: secretariat# /etc/periodic/weekly/310.locate Rebuilding locate database: secretariat# locate matroskaenc.c secretariat# Found nothing. Any further ideas? Thanks for your help so far! James