[Ffmpeg-devel] compiling on Solaris 10

Måns Rullgård mru
Thu Dec 7 14:50:40 CET 2006


Bjoern Rost said:
> On Thu, 2006-12-07 at 10:40 +0000, M?ns Rullg?rd wrote:
>> Thanks for sharing your experiences.  Could you please try it out with the latest
>> version from svn?  I believe some of the problems you encountered have been
>> fixed.
>> For the rest, having a look at the config.err file and the unmodified
>> config.h/mak
>> would be useful, but only if they were produced by the latest svn version.
>
> sure, I just pulled a version from svn.
>
> first error:
>
> ./configure: syntax error at line 18: `!' unexpected
>
> so I changed #!/bin/sh to #!/bin/bash

Oh boy, is your shell broken.

> Now i can run ./configure. There are some errors because we cannot set
> variables with dots:
>
> [...]
> ./configure: line 196: altivec.h=no: command not found
> ./configure: line 196: malloc.h=yes: command not found
> [...]
>
> but I have seen this before and it didn't seem to matter too much.

Smells of broken sed.

> This time, make fails on something new (to me):
>
> gcc -I"/usr/src/vs/ffmpeg_20061207"/libswscale   -DHAVE_AV_CONFIG_H
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
> -I"/usr/src/vs/ffmpeg_20061207" -I"/usr/src/vs/ffmpeg_20061207"
> -I"/usr/src/vs/ffmpeg_20061207"/libavutil -fomit-frame-pointer
> -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
> -Wpointer-arith -Wredundant-decls -O3  -c -o zmbv.o zmbv.c
> gmake[1]: *** No rule to make target `zmbvenc.c', needed by `zmbvenc.o'.
> Stop.
> gmake[1]: Leaving directory
> `/usr/share/src/vs/ffmpeg_20061207/libavcodec'
> make: *** [lib] Error 2

Someone forgot to add a file to svn.  Use configure --disable-encoder=zmbv
for now.

Please try the attached patch.

-- 
M?ns Rullg?rd
mru at inprovide.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: non-posix-shell.patch
Type: application/octet-stream
Size: 884 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061207/87b869be/attachment.obj>



More information about the ffmpeg-devel mailing list