[MacPorts] #15547: cannot compile transcode
#15547: cannot compile transcode --------------------------------------+------------------------------------- Reporter: laurent.perron@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | --------------------------------------+------------------------------------- sudo port install transcode +a52dev +x264 +xvid lead to the following error: /usr/bin/gcc-4.0 -I/opt/local/include -I/opt/local/include -I/opt/local/include -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -no-cpp-precomp -D_INTL_REDIRECT_MACROS -o tcdecode tcdecode-tcdecode.o tcdecode-fileinfo.o tcdecode-ioaux.o tcdecode-mpg123.o tcdecode- decode_a52.o tcdecode-decode_dv.o tcdecode-decode_lavc.o tcdecode- decode_lzo.o tcdecode-decode_mov.o tcdecode-decode_mp3.o tcdecode- decode_mpeg2.o tcdecode-decode_ogg.o tcdecode-decode_yuv.o -L/opt/local/lib -lavcodec /opt/local/lib/libmp3lame.dylib /opt/local/lib/libmpeg2.dylib ../libtcvideo/.libs/libtcvideo.a ../aclib/.libs/libac.a ../libtc/.libs/libtc.a -lm -lz -ldl Undefined symbols: "_mpeg2convert_rgb24", referenced from: _mpeg2convert_rgb24$non_lazy_ptr in tcdecode-decode_mpeg2.o I am running leopard using xcode 3.0 -- Ticket URL: <http://trac.macports.org/ticket/15547> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15547: cannot compile transcode ---------------------------------------+------------------------------------ Reporter: laurent.perron@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------+------------------------------------ Changes (by jmr@macports.org): * cc: cremes@mac.com, liontooth@cogweb.net (added) * milestone: => Port Bugs Comment: Cc maintainers. -- Ticket URL: <http://trac.macports.org/ticket/15547#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15547: cannot compile transcode ---------------------------------------+------------------------------------ Reporter: laurent.perron@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by peter.salas@gmail.com): I don't know how to go about fixing the port, but I was able to get the file in question to compile by adding "-lmpeg2convert" to the end of the compiler flags. Presumably a small change to the Makefile will solve it. -- Ticket URL: <http://trac.macports.org/ticket/15547#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15547: cannot compile transcode ---------------------------------------+------------------------------------ Reporter: laurent.perron@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------+------------------------------------ Comment (by bill-macports.org@bfccomputing.com): libmpeg2convert's ld flags get picked up by pkg-config and libmpeg2convert is required to build. This port doesn't depend on pkgconfig and if configure picks up a non-ports pkg-config, that one won't know about the ports configs directory, so it never gets added to LIBMPEG2_EXTRA_FLAGS and thus never included in LIBMPEG2_FLAGS. This patch fixes the problem on a Mini/PPC, 10.4.11: {{{ --- /opt/local//var/macports/sources/rsync.macports.org/release/ports/multimedia/transcode/Portfile~ 2008-08-10 16:13:02.000000000 -0400 +++ /opt/local//var/macports/sources/rsync.macports.org/release/ports/multimedia/transcode/Portfile 2008-08-10 16:13:30.000000000 -0400 @@ -37,6 +37,7 @@ depends_lib port:automake \ port:autoconf \ port:libtool \ + port:pkgconfig \ port:ffmpeg \ port:libmpeg2 \ port:libdvdread \ }}} I suspect it wouldn't be OS or architecture dependent. -- Ticket URL: <http://trac.macports.org/ticket/15547#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15547: cannot compile transcode ---------------------------------------+------------------------------------ Reporter: laurent.perron@gmail.com | Owner: ryandesign@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org * status: new => assigned -- Ticket URL: <http://trac.macports.org/ticket/15547#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15547: cannot compile transcode ---------------------------------------+------------------------------------ Reporter: laurent.perron@gmail.com | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ---------------------------------------+------------------------------------ Changes (by ryandesign@macports.org): * status: assigned => closed * resolution: => fixed Comment: A dependency on pkgconfig was added in r39706. Thanks. -- Ticket URL: <http://trac.macports.org/ticket/15547#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts