Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Oct 2007 12:35:08 -0600
From:      James <jamesh@lanl.gov>
To:        andrew clarke <ozzmosis@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ffmpeg not installing
Message-ID:  <1191954908.58109.36.camel@secretariat.lanl.gov>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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