[MacPorts] #20025: ffmpeg 0.5 Configure error - build failure

MacPorts noreply at macports.org
Sun Jun 21 00:27:05 PDT 2009


#20025: ffmpeg 0.5 Configure error - build failure
-----------------------------+----------------------------------------------
 Reporter:  garges@…         |       Owner:  devans@…           
     Type:  defect           |      Status:  assigned           
 Priority:  Normal           |   Milestone:                     
Component:  ports            |     Version:  1.7.1              
 Keywords:                   |        Port:  ffmpeg             
-----------------------------+----------------------------------------------

Comment(by garges@…):

 System Version: Mac OS X 10.4.11 (8S165)
 Kernel Version: Darwin 8.11.0

 Macintosh Powerbook G4 17"  1.67GHz 2Gb RAM

 XCode 2.5

 MacPorts 1.7.1

 Last 21 lines of config.err:


 {{{
 $ cd `port dir ffmpeg`/work/ffmpeg-0.5
 czars-
 powerbook59:/opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/ffmpeg/work/ffmpeg-0.5
 garges$ tail -21 config.err
 check_lib libdirac_decoder/dirac_parser.h dirac_decoder_init
 -ldirac_decoder
 check_header libdirac_decoder/dirac_parser.h
 check_cpp
 BEGIN /tmp/ffmpeg-conf-27316-27265-17332.c
     1   #include <libdirac_decoder/dirac_parser.h>
     2   int x;
 END /tmp/ffmpeg-conf-27316-27265-17332.c
 gcc-4.0 -O2 -DHAVE_LRINTF -I/opt/local/include -D_ISOC99_SOURCE
 -D_POSIX_C_SOURCE=200112 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-
 compare -fomit-frame-pointer -maltivec -mabi=altivec
 -I/opt/local/include/dirac -E -o /tmp/ffmpeg-conf-5311-27265-20793.o /tmp
 /ffmpeg-conf-27316-27265-17332.c
 check_func dirac_decoder_init
 check_ld
 check_cc
 BEGIN /tmp/ffmpeg-conf-27316-27265-17332.c
     1   extern int dirac_decoder_init();
     2   int main(void){ dirac_decoder_init(); }
 END /tmp/ffmpeg-conf-27316-27265-17332.c
 gcc-4.0 -O2 -DHAVE_LRINTF -I/opt/local/include -D_ISOC99_SOURCE
 -D_POSIX_C_SOURCE=200112 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-
 compare -fomit-frame-pointer -maltivec -mabi=altivec
 -I/opt/local/include/dirac -c -o /tmp/ffmpeg-conf-5311-27265-20793.o /tmp
 /ffmpeg-conf-27316-27265-17332.c
 gcc-4.0 -Wl,-dynamic,-search_paths_first -L/opt/local/lib -o /tmp/ffmpeg-
 conf-13521-27265-21638 /tmp/ffmpeg-conf-5311-27265-20793.o -lz -lbz2 -lm
 -ldirac_decoder
 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
 ___powidf2 referenced from libdirac expected to be defined in libgcc
 collect2: ld returned 1 exit status
 ERROR: libdirac not found

 }}}


 But I think I have libdirac:


 {{{
 $ port info dirac
 dirac @1.0.2 (multimedia)
 Variants:    doc

 Dirac is a general-purpose video codec aimed at resolutions from QCIF
 (176x144) to HDTV (1920x1080) progressive or interlaced. It uses wavelets,
 motion compensation and
 arithmetic coding and aims to be competitive with other state of the art
 codecs.
 Homepage:    http://diracvideo.org/

 Library Dependencies: cppunit
 Platforms:            darwin
 Maintainers:          devans at macports.org

 $ cd /opt/local/lib
 $ ls -l libdir*
 -rwxr-xr-x   2 root  admin   464148 Jun 17 19:14 libdirac_decoder.0.dylib
 -rw-r--r--   2 root  admin   914068 Jun 17 19:14 libdirac_decoder.a
 lrwxr-xr-x   1 root  admin       24 Jun 17 19:15 libdirac_decoder.dylib ->
 libdirac_decoder.0.dylib
 -rwxr-xr-x   2 root  admin      983 Jun 17 19:14 libdirac_decoder.la
 -rwxr-xr-x   2 root  admin   682904 Jun 17 19:14 libdirac_encoder.0.dylib
 -rw-r--r--   2 root  admin  1260276 Jun 17 19:14 libdirac_encoder.a
 lrwxr-xr-x   1 root  admin       24 Jun 17 19:15 libdirac_encoder.dylib ->
 libdirac_encoder.0.dylib
 -rwxr-xr-x   2 root  admin      983 Jun 17 19:14 libdirac_encoder.la

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20025#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list