Page 1 of 1

Build fails on Snow Leopard?

Posted: 12 Nov 2009 20:19
by StackedCrooked
When I try to fetch VLC using MacPorts I get the following output:

Code: Select all

---> Computing dependencies for VLC ---> Building VLC Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_VLC/work/vlc-1.0.2" && /usr/bin/make all " returned error 2 Command output: Making all in vcdx /usr/bin/make all-am make[6]: Nothing to be done for `all-am'. Making all in screen /usr/bin/make all-am make[6]: Nothing to be done for `all-am'. Making all in bd /usr/bin/make all-am make[6]: Nothing to be done for `all-am'. Making all in zip /usr/bin/make all-am make[6]: Nothing to be done for `all-am'. /bin/sh ../../libtool --tag=CC --mode=compile /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 -mmacosx-version-min=10.6 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/opt/local/include -DSYS_DARWIN `top_srcdir="../.." top_builddir="../.." ../../vlc-config --objcflags plugin libqtcapture_plugin_la-qtcapture.lo` -O2 -arch x86_64 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.6 -MT libqtcapture_plugin_la-qtcapture.lo -MD -MP -MF .deps/libqtcapture_plugin_la-qtcapture.Tpo -c -o libqtcapture_plugin_la-qtcapture.lo `test -f 'qtcapture.m' || echo './'`qtcapture.m libtool: compile: /Developer/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2 -mmacosx-version-min=10.6 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I/opt/local/include -DSYS_DARWIN -I/opt/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DHAVE_RELEASE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=qtcapture -DMODULE_NAME_IS_qtcapture -DMODULE_STRING=\"qtcapture\" -O4 -ffast-math -funroll-loops -fno-omit-frame-pointer -O2 -arch x86_64 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.6 -MT libqtcapture_plugin_la-qtcapture.lo -MD -MP -MF .deps/libqtcapture_plugin_la-qtcapture.Tpo -c qtcapture.m -fno-common -DPIC -o .libs/libqtcapture_plugin_la-qtcapture.o qtcapture.m: In function 'qtchroma_to_fourcc': qtcapture.m:174: error: 'k422YpCbCr8CodecType' undeclared (first use in this function) qtcapture.m:174: error: (Each undeclared identifier is reported only once qtcapture.m:174: error: for each function it appears in.) qtcapture.m:175: error: 'kComponentVideoCodecType' undeclared (first use in this function) qtcapture.m:176: error: 'kComponentVideoUnsigned' undeclared (first use in this function) qtcapture.m: In function 'Open': qtcapture.m:227: warning: format not a string literal and no format arguments qtcapture.m:263: warning: format not a string literal and no format arguments qtcapture.m:264: warning: format not a string literal and no format arguments make[5]: *** [libqtcapture_plugin_la-qtcapture.lo] Error 1 make[4]: *** [all-recursive] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
Is this only a MacPorts issue? Or is the VLC build broken for Snow Leopard?

The downloadable desktop app works, but I'm mainly interested in using the command line version for desktop streaming purposes.

Grts,
Francis

Re: Build fails on Snow Leopard?

Posted: 17 Nov 2009 23:22
by StackedCrooked
Nobody has a clue??