#12193 closed defect (fixed)
BUG: ffmpeg lacks --enable-gpl
Reported by: | liontooth@… | Owned by: | acho@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: |
Description
---> Fetching ffmpeg ---> Verifying checksum(s) for ffmpeg ---> Extracting ffmpeg ---> Configuring ffmpeg Error: Target com.apple.configure returned: configure failure: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk" && ./configure --prefix=/opt/local --prefix=/opt/local --disable-vhook --mandir=/opt/local/share/man --enable-shared --enable-pthreads --enable-libmp3lame --enable-xvid " returned error 1 Command output: libxvidcore is under GPL and --enable-gpl is not specified. If you think configure made a mistake, make sure you are using the latest version from SVN. If the latest version fails, report the problem to the ffmpeg-devel@… mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.err" produced by configure as this will help solving the problem.
Error: Unable to upgrade port: 1
Adding --enable-gpl to the port file solved the problem.
Attachments (1)
Change History (7)
comment:1 Changed 17 years ago by liontooth@…
comment:2 Changed 17 years ago by bytestorm@…
What variants are you using to build ffmpeg? I can't seem to recreate your second problem. Second, do you have a previously installed version of ffmpeg still on your system and have you tried uninstalling and reinstalling ffmpeg?
comment:3 Changed 17 years ago by nox@…
Milestone: | → Port Bugs |
---|---|
Priority: | Expected → Normal |
Summary: | ffmpeg lacks --enable-gpl → BUG: ffmpeg lacks --enable-gpl |
Version: | 1.4.42 |
comment:4 Changed 17 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to acho@… |
---|
Assigning to maintainer.
comment:5 Changed 17 years ago by reiffert@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Building generated lots of warnings and a fatal link error:
sudo port install ffmpeg Portfile changed since last build; discarding previous state. ---> Fetching ffmpeg ---> Verifying checksum(s) for ffmpeg ---> Extracting ffmpeg ---> Configuring ffmpeg ---> Building ffmpeg with target all Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk" && make all " returned error 2 Command output: from rtpproto.c:21: /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk/libavcodec/avcodec.h:2501: warning: 'ImgReSampleContext' is deprecated /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk/libavcodec/avcodec.h:2507: warning: 'ImgReSampleContext' is deprecated In file included from rtpproto.c:21: avformat.h:291: warning: 'AVFrac' is deprecated gcc -I"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk"/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk" -I"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk" -I"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk"/libavutil -O2 -DHAVE_LRINTF -I/opt/local/include -no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -O3 -c -o tcp.o tcp.c In file included from avformat.h:32,
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk/libavcodec/avcodec.h:2501: warning: 'ImgReSampleContext' is deprecated /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk/libavcodec/avcodec.h:2507: warning: 'ImgReSampleContext' is deprecated In file included from tcp.c:21: avformat.h:291: warning: 'AVFrac' is deprecated gcc -I"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk"/libavcodec -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk" -I"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk" -I"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk"/libavutil -O2 -DHAVE_LRINTF -I/opt/local/include -no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -O3 -c -o udp.o udp.c In file included from avformat.h:32,
/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk/libavcodec/avcodec.h:2501: warning: 'ImgReSampleContext' is deprecated /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk/libavcodec/avcodec.h:2507: warning: 'ImgReSampleContext' is deprecated In file included from udp.c:21: avformat.h:291: warning: 'AVFrac' is deprecated udp.c:49: warning: 'udp_ipv6_is_multicast_address' defined but not used rm -f libavformat.a ar rc libavformat.a utils.o cutils.o os_support.o allformats.o framehook.o avio.o aviobuf.o raw.o adtsenc.o aiff.o riff.o amr.o apc.o asf.o asf-enc.o au.o avidec.o avienc.o avs.o vocdec.o voc.o bethsoftvid.o c93.o crc.o daud.o dsicin.o dv.o dvenc.o dxa.o electronicarts.o ffm.o flic.o flvdec.o flvenc.o 4xm.o gif.o gifdec.o gxf.o gxfenc.o idcin.o img2.o ipmovie.o matroska.o mm.o mmf.o mov.o isom.o movenc.o mp3.o mpc.o mpeg.o mpegts.o mpegtsenc.o mpjpeg.o mtv.o mxf.o nsvdec.o nutdec.o nuv.o ogg2.o oggparsevorbis.o oggparsetheora.o oggparseflac.o oggparseogm.o rtsp.o rm.o idroq.o rtp.o rtp_h264.o segafilm.o smacker.o sol.o psxstr.o swf.o thp.o tiertexseq.o tta.o txd.o sierravmd.o vocenc.o wav.o wc3movie.o westwood.o wv.o yuv4mpeg.o file.o http.o rtpproto.o tcp.o udp.o ranlib libavformat.a gcc -dynamiclib -Wl,-single_module -Wl,-install_name,/opt/local/lib/libavformat.dylib,-current_version,51.1.0,-compatibility_version,51.1.0 -Wl,-read_only_relocs,suppress -Wl,-dynamic,-search_paths_first -L/opt/local/lib -o libavformat.51.dylib utils.o cutils.o os_support.o allformats.o framehook.o avio.o aviobuf.o raw.o adtsenc.o aiff.o riff.o amr.o apc.o asf.o asf-enc.o au.o avidec.o avienc.o avs.o vocdec.o voc.o bethsoftvid.o c93.o crc.o daud.o dsicin.o dv.o dvenc.o dxa.o electronicarts.o ffm.o flic.o flvdec.o flvenc.o 4xm.o gif.o gifdec.o gxf.o gxfenc.o idcin.o img2.o ipmovie.o matroska.o mm.o mmf.o mov.o isom.o movenc.o mp3.o mpc.o mpeg.o mpegts.o mpegtsenc.o mpjpeg.o mtv.o mxf.o nsvdec.o nutdec.o nuv.o ogg2.o oggparsevorbis.o oggparsetheora.o oggparseflac.o oggparseogm.o rtsp.o rm.o idroq.o rtp.o rtp_h264.o segafilm.o smacker.o sol.o psxstr.o swf.o thp.o tiertexseq.o tta.o txd.o sierravmd.o vocenc.o wav.o wc3movie.o westwood.o wv.o yuv4mpeg.o file.o http.o rtpproto.o tcp.o udp.o -L"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk"/libavutil -lavutil -lavcodec -L"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_ffmpeg/work/trunk"/libavcodec -lz ld: Undefined symbols: _ff_mpa_decode_header /usr/bin/libtool: internal link edit command failed make[1]: * [libavformat.51.dylib] Error 1 make: * [lib] Error 2 rm doc/ffserver.pod doc/ffmpeg.pod doc/ffplay.pod
Error: Status 1 encountered during processing.