Problem Installing transcode
Stephen Ng
stephen.ng at planetnutek.com
Thu Mar 6 17:32:14 PST 2008
David,
Thanks for your help.
I tried installing ffmpeg first as you suggested and received the
following error -
---> Staging ffmpeg into destroot
Error: Target org.macports.destroot returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/trunk" && make
install DESTDIR=/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/destroot " returned
error 2
Command output: install -d "/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/
share/man/man1"
install -m 644 doc/ffmpeg.1 doc/ffserver.1 "/opt/local/var/macports/
build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/
share/man/man1"
make -C libavutil all
make[1]: Nothing to be done for `all'.
make -C libavcodec all
make[1]: Nothing to be done for `all'.
make -C libavformat all
make[1]: Nothing to be done for `all'.
touch .libs
gcc -L"/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavformat -
L"/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavcodec -
L"/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavutil -
Wl,-dynamic,-search_paths_first -L/opt/local/lib -g -o ffmpeg_g
ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lz
cp -p ffmpeg_g ffmpeg
strip -x ffmpeg
gcc -L"/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavformat -
L"/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavcodec -
L"/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavutil -
Wl,-dynamic,-search_paths_first -L/opt/local/lib -g -Wl,-bind_at_load -
o ffserver ffserver.o -lavformat -lavcodec -lavutil -lz
make -C libavutil install-libs
install -d "/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/
lib"
install -m 755 "/opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync
.macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/local/
lib/libavutil.49.4.0.dylib"
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make[1]: *** [install-lib-shared] Error 64
make: *** [install-libs] Error 2
Error: Status 1 encountered during processing.
=================
I checked the ..../trunk and ..../destroot directories and they are
there. Does this mean that the ffmpeg portfile also needs to be updated?
Regards.
Stephen
On 07/03/2008, at 8:25 AM, David Liontooth wrote:
>
> Hi Stephen,
>
> You do need an updated version of the transcode portfile for leopard;
> it's ready and making its way into the repository.
> However, the problems you're documenting here regard ffmpeg. Try
> installing it separately first. The transcode portfile is appended.
>
> Dave
>
> # $Id: Portfile 25735 2007-05-30 07:57:21Z ryandesign at macports.org $
>
> PortSystem 1.0
>
> name transcode
> #version 1.1.0-pre-05
> version 1.1.0alpha7
> categories multimedia
> maintainers cremes at mac.com, liontooth at cogweb.net
> description Video and audio processing tools
> long_description transcode is a suite of tools, all of which are \
> command line utilities, for transcoding various \
> video, audio, and container formats, running on a \
> platform that supports shared libraries and threads.\
> \
> Decoding and encoding is done by modules that are \
> responsible for feeding transcode with raw video/ \
> audio streams (import modules) and encoding the frames \
> (export modules). \
> \
> It includes a variety of video and audio filters, \
> including (but not limited to) video de-interlacing, \
> audio resampling, framerate conversion, different \
> resizing algorithms, smoothing, sharpening, denoisifying, \
> and cutting.
>
> homepage http://www.transcoding.org
>
> master_sites http://fromani.exit1.org/
> distname ${name}-${version}
> use_bzip2 yes
>
> checksums ${distname}${extract.suffix} \
> md5 1f2f2df059c801038743f2a8210c2fb5 \
> sha1 0f329d33cf1fcf5d16ea727087740c25a7664ed2
>
> #fetch.type cvs
> #cvs.root :pserver:cvs at cvs.exit1.org:/cvstc
> #cvs.tag HEAD
> #cvs.date 20070516
> #cvs.module ${name}
> #worksrcdir ${name}
>
> depends_lib port:automake \
> port:autoconf \
> port:libtool \
> port:ffmpeg \
> port:libmpeg2 \
> port:libdvdread \
> port:jpeg \
> port:lame
>
> pre-configure { cd ${worksrcpath}
> system "LIBTOOLIZE=glibtoolize autoreconf -i -f"
> }
>
> platforms darwin
>
> configure.args --disable-mmx \
> --disable-altivec \
> --with-libavcodec-prefix=${prefix} \
> --with-libmpeg2-prefix=${prefix} \
> --with-libdvdread-prefix=${prefix} \
> --with-libjpeg-prefix=${prefix} \
> --with-lame-prefix=${prefix}
>
> # Optional components
>
> variant a52dec {
> depends_lib-append port:a52dec
> configure.args-append --enable-a52 --enable-a52-default-decoder
> --with-a52-prefix=${prefix}
> }
>
> variant faac {
> depends_lib-append port:faac
> configure.args-append --enable-faac --with-faac-prefix=${prefix}
> }
>
> variant faad2 {
> depends_lib-append port:faad2
> configure.args-append --enable-faad --with-faad-prefix=${prefix}
> }
>
> variant freetype {
> depends_lib-append port:freetype
> configure.args-append --enable-freetype2
> --with-freetype2-prefix=${prefix}
> }
>
> variant imagemagick {
> depends_lib-append port:ImageMagick
> configure.args-append --enable-imagemagick
> --with-imagemagick-prefix=${prefix}
> }
>
> variant libdv {
> depends_lib-append port:libdv
> configure.args-append --enable-libdv --with-libdv-prefix=${prefix}
> }
>
> variant libogg {
> depends_lib-append port:libogg
> configure.args-append --enable-ogg --with-ogg-prefix=${prefix}
> }
>
> variant libsdl {
> depends_lib-append port:libsdl
> configure.args-append --enable-sdl --with-sdl-prefix=${prefix}
> }
>
> variant libtheora {
> depends_lib-append port:libtheora
> configure.args-append --enable-theora --with-theora-prefix=$
> {prefix}
> }
>
> variant libvorbis {
> depends_lib-append port:libvorbis
> configure.args-append --enable-vorbis --with-vorbis-prefix=$
> {prefix}
> }
>
> variant libxml2 {
> depends_lib-append port:libxml2
> configure.args-append --enable-libxml2 --with-libxml2-prefix=$
> {prefix}
> }
>
> variant x264 {
> depends_lib-append port:x264
> configure.args-append --enable-x264 --with-x264-prefix=${prefix}
> }
>
> variant xvid {
> depends_lib-append port:XviD
> configure.args-append --enable-xvid --with-xvid-prefix=${prefix}
> }
>
>
>
> Stephen Ng wrote:
>> Hi!
>>
>> I tried installing transcode on Leopard and it did not complete
>> because of problems with some libraries. Can anyone please help? The
>> error message is similar to the following (this is a second try at
>> installing) -
>>
>> ---> Staging ffmpeg into destroot
>> . missing (directory not created: File exists)
>> ./Applications missing (directory not created: File exists)
>> ./Developer missing (directory not created: File exists)
>> ./Library missing (directory not created: File exists)
>> install -d "/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/
>> local/
>> share/man/man1"
>> install -m 644 doc/ffmpeg.1 doc/ffserver.1 "/opt/local/var/macports/
>> build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/
>> local/
>> share/man/man1"
>> make -C libavutil all
>> make[1]: Nothing to be done for `all'.
>> make -C libavcodec all
>> make[1]: Nothing to be done for `all'.
>> make -C libavformat all
>> make[1]: Nothing to be done for `all'.
>> touch .libs
>> gcc -L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/
>> libavformat -
>> L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/
>> libavcodec -
>> L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavutil -
>> Wl,-dynamic,-search_paths_first -L/opt/local/lib -g -o ffmpeg_g
>> ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lz
>> cp -p ffmpeg_g ffmpeg
>> strip -x ffmpeg
>> gcc -L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/
>> libavformat -
>> L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/
>> libavcodec -
>> L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavutil -
>> Wl,-dynamic,-search_paths_first -L/opt/local/lib -g -Wl,-
>> bind_at_load -
>> o ffserver ffserver.o -lavformat -lavcodec -lavutil -lz
>> make -C libavutil install-libs
>> install -d "/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/
>> local/
>> lib"
>> install -m 755 "/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/
>> local/
>> lib/libavutil.49.4.0.dylib"
>> usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>> [-o owner] file1 file2
>> install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>> [-o owner] file1 ... fileN directory
>> install -d [-v] [-g group] [-m mode] [-o owner] directory ...
>> make[1]: *** [install-lib-shared] Error 64
>> make: *** [install-libs] Error 2
>> Error: Target org.macports.destroot returned: shell command " cd "/
>> opt/
>> local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk" && make
>> install DESTDIR=/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/destroot "
>> returned
>> error 2
>> Command output: install -d "/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/
>> local/
>> share/man/man1"
>> install -m 644 doc/ffmpeg.1 doc/ffserver.1 "/opt/local/var/macports/
>> build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/
>> local/
>> share/man/man1"
>> make -C libavutil all
>> make[1]: Nothing to be done for `all'.
>> make -C libavcodec all
>> make[1]: Nothing to be done for `all'.
>> make -C libavformat all
>> make[1]: Nothing to be done for `all'.
>> touch .libs
>> gcc -L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/
>> libavformat -
>> L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/
>> libavcodec -
>> L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavutil -
>> Wl,-dynamic,-search_paths_first -L/opt/local/lib -g -o ffmpeg_g
>> ffmpeg.o cmdutils.o -lavformat -lavcodec -lavutil -lz
>> cp -p ffmpeg_g ffmpeg
>> strip -x ffmpeg
>> gcc -L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/
>> libavformat -
>> L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/
>> libavcodec -
>> L"/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/trunk"/libavutil -
>> Wl,-dynamic,-search_paths_first -L/opt/local/lib -g -Wl,-
>> bind_at_load -
>> o ffserver ffserver.o -lavformat -lavcodec -lavutil -lz
>> make -C libavutil install-libs
>> install -d "/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/
>> local/
>> lib"
>> install -m 755 "/opt/local/var/macports/build/
>> _opt_local_var_macports_sources_rsync
>> .macports.org_release_ports_multimedia_ffmpeg/work/destroot/opt/
>> local/
>> lib/libavutil.49.4.0.dylib"
>> usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>> [-o owner] file1 file2
>> install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>> [-o owner] file1 ... fileN directory
>> install -d [-v] [-g group] [-m mode] [-o owner] directory ...
>> make[1]: *** [install-lib-shared] Error 64
>> make: *** [install-libs] Error 2
>>
>> Warning: the following items did not execute (for ffmpeg):
>> org.macports.activate org.macports.destroot org.macports.install
>> Error: The following dependencies failed to build: ffmpeg lame
>> libdvdread libdvdcss libmpeg2 libsdl
>> Error: Status 1 encountered during processing.
>>
>> Regards.
>>
>> Stephen
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>>
>
>
More information about the macports-users
mailing list