Page 1 of 1

How to compile 0.9.x plugin (OSX)

Posted: 18 Jan 2009 19:40
by itbe
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.

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

Posted: 19 Jan 2009 09:37
by itbe
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.

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

Posted: 19 Jan 2009 09:45
by Jean-Baptiste Kempf
do make now.

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

Posted: 19 Jan 2009 11:08
by itbe
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

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

Posted: 20 Jan 2009 19:24
by itbe
Can someone please help me with this.

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

Posted: 26 Jan 2009 22:25
by itbe
J-B can you please help

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

Posted: 16 Mar 2009 23:40
by itbe
Can someone help us here, please.

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

Posted: 08 Mar 2010 14:55
by x_tine
how did u came up with an answer? I'm having the same problem... can u help me? :oops: