Opened 15 years ago

Closed 15 years ago

#20349 closed defect (fixed)

VLC 1.0.0 requires Mac OS X 10.5 or newer

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: mnick@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: hydrocell@…
Port: VLC

Description (last modified by ryandesign (Ryan Carsten Schmidt))

VLC was updated to version 1.0.0 in #20272. As you say there, VLC requires Mac OS X 10.5 now. VLC also now depends on llvm-gcc42, which doesn't currently build on Mac OS X 10.4; see #19262. So I believe the VLC port should have a pre-fetch block preventing installation on Mac OS X 10.4 and earlier. We may even want to copy the 0.9.9a version of the VLC port to a new port VLC09 for those using Mac OS X 10.4.

Change History (12)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

I added the error message to the port in r53959.

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: VLC added; vlc removed
Summary: vlc 1.0.0 requires Mac OS X 10.5 or newerVLC 1.0.0 requires Mac OS X 10.5 or newer

comment:3 Changed 15 years ago by max@…

Yes, this is a good idea, thanks for adding the pre-fetch part. Just for your information, afaik the only reason VLC1.0 requires 10.5 actually is LLVM. I can't test on 10.4, but in theory r52437 should work. But this revision misses some changes from the 1.0.0 update. I will provide an updated VLC09 port when i'm back in town next week.

comment:4 Changed 15 years ago by hydrocell@…

Hey, I'd like to install vlc 0.9.9a for OS X 10.4.11, is this possible?

I've tried:

sudo port install vlc @0.9.9a

and

sudo port install vlc09

but nada... just get this @0.9.9a:

--->  Computing dependencies for VLC
--->  Fetching VLC
Error: VLC 1.0.1 requires Mac OS X 10.5 or greater
Error: Target org.macports.fetch returned: incompatible Mac OS X version
Error: Status 1 encountered during processing.

comment:5 Changed 15 years ago by hydrocell@…

Solved it for myself using a similar method to this website: http://journal.bitshaker.com/articles/2007/10/20/install-old-versions-of-ports-using-macports/

Also since llvm-gcc42 now compiles on 10.4, why wouldn't vlc 1.0.0 or 1.0.1 build on OS X 10.4??

comment:6 Changed 15 years ago by hydrocell@…

Cc: hydrocell@… added

Cc Me!

comment:7 Changed 15 years ago by hydrocell@…

Cc: hydrocell@… removed

Cc Me!

comment:8 Changed 15 years ago by hydrocell@…

scratch that, llvm-gcc42 still doesn't compile... and I can't get vlc 0.9.9a installed, why?

comment:9 Changed 15 years ago by hydrocell@…

Cc: hydrocell@… added

Cc Me!

comment:10 Changed 15 years ago by hydrocell@…

Any chance of VLC09?? and is there any reason that after doing an svn of an 0.9.9a build that it wouldn't compile?? get these errors:

$ sudo port install vlc @0.9.9a
--->  Computing dependencies for VLC
--->  Fetching VLC
--->  Attempting to fetch vlc-0.9.9a.tar.bz2 from http://distfiles.macports.org/VLC
--->  Verifying checksum(s) for VLC
--->  Extracting VLC
--->  Applying patches to VLC
--->  Configuring VLC
--->  Building VLC
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_Shared_dports_multimedia_vlc/work/vlc-0.9.9a" && /usr/bin/make -j1 all " returned error 2
Command output: /bin/sh ../../../libtool --tag=CC    --mode=compile /usr/bin/gcc-4.0 -mmacosx-version-min=10.4 -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I../../../include -I/opt/local/include -DSYS_DARWIN `top_builddir="../../.." ../../../vlc-config --objcflags plugin libmacosx_plugin_la-applescript.lo` -O2 -arch i386 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.4 -MT libmacosx_plugin_la-applescript.lo -MD -MP -MF .deps/libmacosx_plugin_la-applescript.Tpo -c -o libmacosx_plugin_la-applescript.lo `test -f 'applescript.m' || echo './'`applescript.m
libtool: compile:  /usr/bin/gcc-4.0 -mmacosx-version-min=10.4 -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=macosx -DMODULE_NAME_IS_macosx -DMODULE_STRING=\"macosx\" -O3 -ffast-math -funroll-loops -march=pentium-m -mtune=prescott -fno-omit-frame-pointer -fobjc-exceptions -O2 -arch i386 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.4 -MT libmacosx_plugin_la-applescript.lo -MD -MP -MF .deps/libmacosx_plugin_la-applescript.Tpo -c applescript.m  -fno-common -DPIC -o .libs/libmacosx_plugin_la-applescript.o
mv -f .deps/libmacosx_plugin_la-applescript.Tpo .deps/libmacosx_plugin_la-applescript.Plo
/bin/sh ../../../libtool --tag=CC    --mode=compile /usr/bin/gcc-4.0 -mmacosx-version-min=10.4 -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I../../../include -I/opt/local/include -DSYS_DARWIN `top_builddir="../../.." ../../../vlc-config --objcflags plugin libmacosx_plugin_la-controls.lo` -O2 -arch i386 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.4 -MT libmacosx_plugin_la-controls.lo -MD -MP -MF .deps/libmacosx_plugin_la-controls.Tpo -c -o libmacosx_plugin_la-controls.lo `test -f 'controls.m' || echo './'`controls.m
libtool: compile:  /usr/bin/gcc-4.0 -mmacosx-version-min=10.4 -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=macosx -DMODULE_NAME_IS_macosx -DMODULE_STRING=\"macosx\" -O3 -ffast-math -funroll-loops -march=pentium-m -mtune=prescott -fno-omit-frame-pointer -fobjc-exceptions -O2 -arch i386 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.4 -MT libmacosx_plugin_la-controls.lo -MD -MP -MF .deps/libmacosx_plugin_la-controls.Tpo -c controls.m  -fno-common -DPIC -o .libs/libmacosx_plugin_la-controls.o
mv -f .deps/libmacosx_plugin_la-controls.Tpo .deps/libmacosx_plugin_la-controls.Plo
/bin/sh ../../../libtool --tag=CC    --mode=compile /usr/bin/gcc-4.0 -mmacosx-version-min=10.4 -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I../../../include -I/opt/local/include -DSYS_DARWIN `top_builddir="../../.." ../../../vlc-config --objcflags plugin libmacosx_plugin_la-equalizer.lo` -O2 -arch i386 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.4 -MT libmacosx_plugin_la-equalizer.lo -MD -MP -MF .deps/libmacosx_plugin_la-equalizer.Tpo -c -o libmacosx_plugin_la-equalizer.lo `test -f 'equalizer.m' || echo './'`equalizer.m
libtool: compile:  /usr/bin/gcc-4.0 -mmacosx-version-min=10.4 -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=macosx -DMODULE_NAME_IS_macosx -DMODULE_STRING=\"macosx\" -O3 -ffast-math -funroll-loops -march=pentium-m -mtune=prescott -fno-omit-frame-pointer -fobjc-exceptions -O2 -arch i386 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.4 -MT libmacosx_plugin_la-equalizer.lo -MD -MP -MF .deps/libmacosx_plugin_la-equalizer.Tpo -c equalizer.m  -fno-common -DPIC -o .libs/libmacosx_plugin_la-equalizer.o
mv -f .deps/libmacosx_plugin_la-equalizer.Tpo .deps/libmacosx_plugin_la-equalizer.Plo
/bin/sh ../../../libtool --tag=CC    --mode=compile /usr/bin/gcc-4.0 -mmacosx-version-min=10.4 -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I../../../include -I/opt/local/include -DSYS_DARWIN `top_builddir="../../.." ../../../vlc-config --objcflags plugin libmacosx_plugin_la-interaction.lo` -O2 -arch i386 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.4 -MT libmacosx_plugin_la-interaction.lo -MD -MP -MF .deps/libmacosx_plugin_la-interaction.Tpo -c -o libmacosx_plugin_la-interaction.lo `test -f 'interaction.m' || echo './'`interaction.m
libtool: compile:  /usr/bin/gcc-4.0 -mmacosx-version-min=10.4 -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=macosx -DMODULE_NAME_IS_macosx -DMODULE_STRING=\"macosx\" -O3 -ffast-math -funroll-loops -march=pentium-m -mtune=prescott -fno-omit-frame-pointer -fobjc-exceptions -O2 -arch i386 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.4 -MT libmacosx_plugin_la-interaction.lo -MD -MP -MF .deps/libmacosx_plugin_la-interaction.Tpo -c interaction.m  -fno-common -DPIC -o .libs/libmacosx_plugin_la-interaction.o
mv -f .deps/libmacosx_plugin_la-interaction.Tpo .deps/libmacosx_plugin_la-interaction.Plo
/bin/sh ../../../libtool --tag=CC    --mode=compile /usr/bin/gcc-4.0 -mmacosx-version-min=10.4 -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I../../../include -I/opt/local/include -DSYS_DARWIN `top_builddir="../../.." ../../../vlc-config --objcflags plugin libmacosx_plugin_la-intf.lo` -O2 -arch i386 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.4 -MT libmacosx_plugin_la-intf.lo -MD -MP -MF .deps/libmacosx_plugin_la-intf.Tpo -c -o libmacosx_plugin_la-intf.lo `test -f 'intf.m' || echo './'`intf.m
libtool: compile:  /usr/bin/gcc-4.0 -mmacosx-version-min=10.4 -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=macosx -DMODULE_NAME_IS_macosx -DMODULE_STRING=\"macosx\" -O3 -ffast-math -funroll-loops -march=pentium-m -mtune=prescott -fno-omit-frame-pointer -fobjc-exceptions -O2 -arch i386 -D_INTL_REDIRECT_MACROS -std=gnu99 -DMACOSX_DEPLOYMENT_TARGET=10.4 -MT libmacosx_plugin_la-intf.lo -MD -MP -MF .deps/libmacosx_plugin_la-intf.Tpo -c intf.m  -fno-common -DPIC -o .libs/libmacosx_plugin_la-intf.o
intf.m:218: error: parse error before ')' token
intf.m:220: warning: '@end' must appear in an @implementation context
intf.m: In function '-[VLCMain applicationDidFinishLaunching:]':
intf.m:469: warning: 'VLCMain' may not respond to '-_removeOldPreferences'
intf.m:469: warning: (Messages without a matching method signature
intf.m:469: warning: will be assumed to return 'id' and accept
intf.m:469: warning: '...' as arguments.)
intf.m: In function '-[VLCMain toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]':
intf.m:792: error: request for member 'frame' in something not a structure or union
make[6]: *** [libmacosx_plugin_la-intf.lo] Error 1
make[5]: *** [all] Error 2
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.

This problem is also mentioned here: http://trac.macports.org/ticket/19555 but with no resolution yet... help?

comment:11 Changed 15 years ago by mnick@…

Owner: changed from max@… to mnick@…
Status: newassigned

I'll provide a VLC09 port when #19555 is resolved

comment:12 Changed 15 years ago by mnick@…

Resolution: fixed
Status: assignedclosed

new port VLC09 that also closes #19555 has been commited in r57523

Note: See TracTickets for help on using tickets.