build vlc from git error

macOS specific usage questions
crackstone
Blank Cone
Blank Cone
Posts: 56
Joined: 01 Apr 2010 17:25
VLC version: 2.1.0-git
Operating System: Mac OS X
Location: Vienna, Austria

build vlc from git error

Postby crackstone » 01 Aug 2011 14:54

Hi,

I'm trying to build vlc from the latest git (commit http://git.videolan.org/?p=vlc.git;a=co ... ddb16b4090) in order to correctly diff against the vlc master HEAD.
Before that I've been working with the source tar ball from http://sourceforge.net/projects/vlc/fil ... 2/download - where everything compiles fine.

Now with what I pulled from git (git clone git://git.videolan.org/vlc.git) everything bootstraps, configures fine until at the very end of doing make I get:
coredialogs.m \
embeddedwindow.h \
embeddedwindow.m \
fspanel.h \
fspanel.m \
vout.m; do \
cp "./modules/gui/macosx/$i" \
./tmp/modules/gui/macosx; \
done
GEN VLC.app
/usr/bin/install -c -d ./VLC.app/Contents/MacOS
touch ./VLC.app/Contents/MacOS/VLC
chmod +x ./VLC.app/Contents/MacOS/VLC
/usr/bin/install -c ./bin/.libs/vlc ./VLC.app/Contents/MacOS/VLC
install: ./bin/.libs/vlc: No such file or directory
make[2]: *** [VLC.app] Error 71
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
So i checked the ./bin/.libs/ dir and only found vlc-cache-gen
However in the ./bin/ dir I have a vlc file and other stuff:
Makefile cachegen.c override.o vlc vlc-wrapper vlc_static-override.o winvlc.c
Makefile.am cachegen.o rootwrap.c vlc-cache-gen vlc.c vlc_static-vlc.o
Makefile.in override.c rootwrap.o vlc-static vlc.o vlc_win32_rc.rc.in
I'm using default locations for everything. My ./configure looks like this (I need it in 32bit):
./configure --build=i386-apple-darwin10 CFLAGS="-arch i386" CXXFLAGS="-arch i386" LDFLAGS="-arch i386" OBJCFLAGS="-arch i386" --with-faad-tree="/Users/username/Development/VLC-libraries/faad2-2.7" --enable-faad --enable-debug --with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk
Does somebody know what I am doing wrong when building vlc-git? He obviously can't find this ./bin/.libs/vlc which at the moment is at ./bin/vlc... :?:

Thanks
//crackstone

UPDATE: SOLVED!
ok for whatever reason it now works...
I configured it again with MacOSX10.5.sdk built it and it failed; then I tried again with MacOSX10.6.sdk and it worked.
I don't understand it but it works :)

Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 37 guests