[vlc-devel] osx compile

Nicolas Berloquin nicolas at pobox.com
Wed Jan 15 12:42:31 CET 2003


Hello ! Bonjour !

I'm very new to building vlc on osx. Compile worked hum ok, but the app 
I get doesn't work properly.
When I try to play movies (ie mpeg1 muxed), I get lots of 'message: 
message queue overflowed'

So I went into the prefs and selected all I could that had "macosX' in 
its title.
I then had the following errors:
macosx: thread -1610609172: mutex_lock failed at 
modules/gui/macosx/controls.m:416 (22:Invalid argument)
macosx: thread -1610609172: mutex_unlock failed at 
modules/gui/macosx/controls.m:418 (22:Invalid argument)
macosx: thread -1610609172: mutex_lock failed at 
modules/gui/macosx/controls.m:416 (22:Invalid argument)
macosx: thread -1610609172: mutex_unlock failed at 
modules/gui/macosx/controls.m:418 (22:Invalid argument)
macosx: thread -1610609172: mutex_lock failed at 
modules/gui/macosx/controls.m:416 (22:Invalid argument)
macosx: thread -1610609172: mutex_unlock failed at 
modules/gui/macosx/controls.m:418 (22:Invalid argument)

here's how I compiled the whole thing:
I grabbed the vlc-snapshot-20030115 tarball.
I had troubles with compiling with dvd support, so I used ./configure 
--disable-dvd
for starter.
I then added --disable-gtk since I had the following problem, and I 
wanted a cocoa version anyway:
gcc  -Winline -Wdisabled-optimization -Wsign-compare -Wall  
-no-cpp-precomp -D_INTL_REDIRECT_MACROS -finline-limit-30000 -pipe   -o 
modules/gui/gtk/libgtk_plugin.dylib 
modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-gtk.o 
modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-gtk_interface.o 
modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-gtk_support.o 
modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-display.o 
modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-open.o 
modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-control.o 
modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-menu.o 
modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-playlist.o 
modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-modules.o 
modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-preferences.o 
modules/gui/gtk/modules_gui_gtk_libgtk_plugin_a-gtk_callbacks.o -shared 
-lintl -fPIC -bundle -undefined error -lcc_dynamic -shared -lpthread 
-L/sw/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lgthread -lglib 
-lpthread -ldl -lintl -lXext -lX11 -lm
gcc: unrecognized option `-shared'
gcc: unrecognized option `-shared'
ld: Undefined symbols:
_libintl_dgettext
make[2]: *** [modules/gui/gtk/libgtk_plugin.dylib] Error 1


./configure gave me one error :
checking Cocoa/Cocoa.h usability... no
checking Cocoa/Cocoa.h presence... yes
configure: WARNING: Cocoa/Cocoa.h: present but cannot be compiled
configure: WARNING: Cocoa/Cocoa.h: check for missing prerequisite 
headers?
configure: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's 
result
checking for Cocoa/Cocoa.h... yes

vlc compiled fine (no error).
I then used make install, which almost worked, it refused to install 
vlc.app in
/usr/local/bin :
/bin/sh ./mkinstalldirs /usr/local/bin
  /usr/bin/install -c -m 644 ./vlc.app /usr/local/bin/vlc.app
/usr/bin/install: ./vlc.app: Inappropriate file type or format
make[2]: *** [install-vlc_appDATA] Error 71

So I launched the vlc directly from the compile directory:
open vlc.app

Please note that I had previously installed the following archives:
libdvdcss2-dev_1.2.2-1_powerpc.deb libdvdcss2_1.2.2-1_powerpc.deb
macosx-usr-local-include.tar.bz2 and macosx-usr-local-lib.tar.bz2


PS I was wondering whether I should have the plugins included with vlc 
or kept
in their separate directory.

Thanks !! ^_^

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list