How to compile 0.9.x plugin (OSX)

macOS specific usage questions
itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

How to compile 0.9.x plugin (OSX)

Postby itbe » 18 Jan 2009 19:40

I am trying to compile the latest source 0.9.8.a (tarball) on MAC OS X (10.4.11).

I am trying to find out how to disable Fink, I dont see any .cshrc or .bashrc in my home directory:

drwxr-xr-x 13 xxxx xxxx 442 Jan 18 18:42 .
drwxrwxr-t 6 root admin 204 Jan 18 18:33 ..
-rw-r--r-- 1 xxxx xxxx 3 Jan 18 18:33 .CFUserTextEncoding
-rw------- 1 xxxx xxxx 45 Jan 18 18:42 .bash_history
-rw------- 1 xxxx xxxx 678 Jan 18 18:38 .viminfo
drwx------ 3 xxxx xxxx 102 Jan 18 18:33 Desktop
drwx------ 3 xxxx xxxx 102 Jan 18 18:33 Documents
drwx------ 17 xxxx xxxx 578 Jan 18 18:33 Library
drwx------ 3 xxxx xxxx 102 Jan 18 18:33 Movies
drwx------ 3 xxxx xxxx 102 Jan 18 18:33 Music
drwx------ 3 xxxx xxxx 102 Jan 18 18:33 Pictures
drwxr-xr-x 4 xxxx xxxx 136 Jan 18 18:33 Public
drwxr-xr-x 5 xxxx xxxx 170 Jan 18 18:33 Sites

Can you please help.

itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile 0.9.x plugin (OSX)

Postby itbe » 19 Jan 2009 09:37

I tried moving on without disabling the Fink and got the following from the ./bootstrap

hagay-levys-computer:~/vlc-0.9.8a/extras/contrib itai$ ./bootstrap
++ gcc -dumpmachine
+ BUILD=i686-apple-darwin8
+ test 0 -ge 1
+ HOST=i686-apple-darwin8
+ DISTRO=
+ test 0 = 2
+ rm -f config.mak
+ echo '# Automatically generated by bootstrap.'
+ echo '# Make changes if you know what you'\''re doing.'
+ rm -f distro.mak
+ echo '# Automatically generated by bootstrap'
+ echo '# Make changes if you know what you'\''re doing.'
+ test i686-apple-darwin8 '!=' i686-apple-darwin8
+ echo 'HAVE_DARWIN_OS = 1'
+ echo 'HAVE_BSD = 1'
+ SDK_TARGET=10.4
+ echo 'SDK_TARGET = 10.4'
+ echo 'HAVE_DARWIN_OS_ON_INTEL = 1'
+ echo 'ENVP = MACOSX_DEPLOYMENT_TARGET=10.4'
+ echo 'MACOSX_SDK = /Developer/SDKs/MacOSX10.4u.sdk'
+ CFLAGS_TUNING= -march=pentium-m -mtune=prescott
+ EXTRA_CFLAGS= -D${ENVP} -isysroot ${MACOSX_SDK} -mmacosx-version-min=${SDK_TARGET}
+ EXTRA_LDFLAGS= -isysroot ${MACOSX_SDK} -Wl,-syslibroot,${MACOSX_SDK}
+ echo 'PATH = /bin:/usr/bin:/usr/local/bin'
+ cat src/Distributions/darwin.mak
+ echo 'BUILD = i686-apple-darwin8'
+ echo 'HOST = i686-apple-darwin8'
++ pwd
+ echo 'PREFIX = /Users/itai/vlc-0.9.8a/extras/contrib'
+ echo 'CC = '
+ echo 'CXX = '
+ echo 'LD = '
+ echo 'RANLIB = '
+ echo 'AR = '
+ echo 'STRIP = '
+ echo 'EXTRA_CFLAGS = -march=pentium-m -mtune=prescott -D${ENVP} -isysroot ${MACOSX_SDK} -mmacosx-version-min=${SDK_TARGET}'
+ echo 'EXTRA_CPPFLAGS = -isystem $(PREFIX)/include'
+ echo 'EXTRA_LDFLAGS = -isysroot ${MACOSX_SDK} -Wl,-syslibroot,${MACOSX_SDK}'
+ echo 'EXTRA_PATH = '
+ wget --version
++ curl --version
+ test -z
++ which curl
+ echo 'WGET = /usr/bin/curl -L -O'
+ svn --version
+ echo 'You do not have a subversion client in your PATH.'
You do not have a subversion client in your PATH.
+ git --version
+ echo 'You do not have a Git client in your PATH.'
You do not have a Git client in your PATH.
+ test -z ''
+ set +x

***********************************************************
* If you are building contribs for a release build of VLC *
* Please run CONTRIBS_RELEASE=sexy ./bootstrap *
***********************************************************

I am using a tarball and not a GIT build, can you help me progress please.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: How to compile 0.9.x plugin (OSX)

Postby Jean-Baptiste Kempf » 19 Jan 2009 09:45

do make now.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile 0.9.x plugin (OSX)

Postby itbe » 19 Jan 2009 11:08

Did the make and failed with the following (I can attached the log if it is not enough)

touch .autoconf
/usr/bin/curl -L -O ftp://ftp.esat.net/pub/gnu/make/make-3.81.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1124k 100 1124k 0 0 13795 0 0:01:23 0:01:23 --:--:-- 125k
rm -rf gnumake || true
bunzip2 -c make-3.81.tar.bz2 | tar xf - --exclude='[*?:<>\|]'
mv make-3.81 gnumake || true
touch gnumake
(cd gnumake; ./configure --prefix=/Users/itai/vlc-0.9.8a/extras/contrib && make && make install)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [.gnumake] Error 77
make: *** [all] Error 2

itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile 0.9.x plugin (OSX)

Postby itbe » 20 Jan 2009 19:24

Can someone please help me with this.

itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile 0.9.x plugin (OSX)

Postby itbe » 26 Jan 2009 22:25

J-B can you please help

itbe
Blank Cone
Blank Cone
Posts: 41
Joined: 08 Oct 2008 22:04

Re: How to compile 0.9.x plugin (OSX)

Postby itbe » 16 Mar 2009 23:40

Can someone help us here, please.

x_tine
Blank Cone
Blank Cone
Posts: 14
Joined: 05 Mar 2010 21:29
VLC version: 1.0.5
Operating System: Windows

Re: How to compile 0.9.x plugin (OSX)

Postby x_tine » 08 Mar 2010 14:55

how did u came up with an answer? I'm having the same problem... can u help me? :oops:


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 4 guests