[Spice-devel] Spice on OS/X

Cliff Sharp csharp at vbridges.com
Tue Apr 26 10:23:19 PDT 2011


First Pass:
Trying to build spice-0.8.1 and all its dependencies by hand but got stuck on alsa. 

Second Pass:
I was attempting to use jhbuild for spice-0.8.1
I was going through building the dependencies that are not already in a modulesets by hand under the jhbuild shell.
My plan was to create a moduleset for spice - but trying to figure out modulesets was too difficult and taking way too much time.
I also got stuck on alsa again

Third Pass:
I decided to switch to spice-gtk. Mainly because it seems to more cross-platform oriented it uses gstreamer
Right now I am using MacPorts to download and build as many of the dependencies as I can.
Then I will try and build spice-gtk.


On Apr 26, 2011, at 10:10 AM, Kai Mosebach wrote:

> I just triesbuild the OSX gtk client, my findings :
> 
> 1.) Installed gtk2 and gstreamer via ports
> 2.) Finally installed current celt051 after some fiddling
> 3.) Install pyparsing from http://sourceforge.net/projects/pyparsing/
> 4.) Install Text-CSV from http://search.cpan.org/~makamaka/Text-CSV-1.21/lib/Text/CSV.pm
> 5.) export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
> 6.) fiddling around with gstreamer/gst/app/*.h + libgstapp
>   => install gst-plugins-base via macports
> 7.)  ./configure --with-audio=gstreamer --without-python --with-coroutine=gthread
> 8.) touch gtk/sym-file (otherwise libtool complains… Any hints?)
> 9.) make (failing w/ the error below, ideas?)
> 
> Best Kai
> 
> --- SNIP
> 
> mp01:spice-gtk-0.5 $ make
> make  all-recursive
> Making all in common
> Making all in win
> Making all in my_getopt-1.5
> make[4]: Nothing to be done for `all'.
> make[4]: Nothing to be done for `all-am'.
> make[3]: Nothing to be done for `all-am'.
> Making all in gtk
> make  all-am
>   CCLD   libspice-client-gtk-2.0.la
> Undefined symbols:
>   "_spice_inputs_key_press", referenced from:
>       _send_key in spice-widget.o
>   "_spice_inputs_motion", referenced from:
>       _motion_event in spice-widget.o
>   "_spice_main_set_display", referenced from:
>       _recalc_geometry in spice-widget.o
>   "_spice_main_clipboard_grab", referenced from:
>       _clipboard_get_targets in spice-widget.o
>   "_spice_cursor_channel_get_type", referenced from:
>       _channel_destroy in spice-widget.o
>       _channel_destroy in spice-widget.o
>       _channel_new in spice-widget.o
>       _channel_new in spice-widget.o
>       _channel_new in spice-widget.o
>   "_spice_channel_connect", referenced from:
>       _channel_new in spice-widget.o
>       _channel_new in spice-widget.o
>       _channel_new in spice-widget.o
>   "_spice_main_clipboard_release", referenced from:
>       _clipboard_owner_change in spice-widget.o
>   "_spice_util_get_debug", referenced from:
>       _clipboard_clear in spice-widget.o
>       _clipboard_got_from_guest in spice-widget.o
>       _cursor_reset in spice-widget.o
>       _clipboard_received_cb in spice-widget.o
>       _clipboard_received_cb in spice-widget.o
>       _clipboard_get in spice-widget.o
>       _channel_destroy in spice-widget.o
>       _cursor_move in spice-widget.o
>       _clipboard_get_targets in spice-widget.o
>       _clipboard_get_targets in spice-widget.o
>       _clipboard_get_targets in spice-widget.o
>       _spice_display_send_keys in spice-widget.o
>       _recalc_geometry in spice-widget.o
>       _try_keyboard_grab in spice-widget.o
>       _focus_in_event in spice-widget.o
>       _focus_in_event in spice-widget.o
>       _enter_event in spice-widget.o
>       _spice_display_finalize in spice-widget.o
>       _try_keyboard_ungrab in spice-widget.o
>       _focus_out_event in spice-widget.o
>       _leave_event in spice-widget.o
>       _scroll_event in spice-widget.o
>       _scroll_event in spice-widget.o
>       _button_event in spice-widget.o
>       _motion_event in spice-widget.o
>       _expose_event in spice-widget.o
>       _key_event in spice-widget.o
>       _vnc_display_keymap_gdk2xtkbd_table in vncdisplaykeymap.o
>       _vnc_display_keymap_gdk2xtkbd_table in vncdisplaykeymap.o
>       _vnc_display_keymap_gdk2xtkbd_table in vncdisplaykeymap.o
>       _vnc_display_keymap_gdk2xtkbd_table in vncdisplaykeymap.o
>   "_spice_inputs_set_key_locks", referenced from:
>       _sync_keyboard_lock_modifiers in spice-widget.o
>   "_spice_main_channel_get_type", referenced from:
>       _channel_destroy in spice-widget.o
>       _channel_new in spice-widget.o
>       _channel_new in spice-widget.o
>   "_spice_main_clipboard_notify", referenced from:
>       _clipboard_received_cb in spice-widget.o
>   "_spice_session_get_channels", referenced from:
>       _spice_display_new in spice-widget.o
>   "_spice_inputs_key_release", referenced from:
>       _send_key in spice-widget.o
>   "_spice_inputs_channel_get_type", referenced from:
>       _channel_destroy in spice-widget.o
>       _channel_destroy in spice-widget.o
>       _channel_new in spice-widget.o
>       _channel_new in spice-widget.o
>       _channel_new in spice-widget.o
>   "_spice_inputs_position", referenced from:
>       _motion_event in spice-widget.o
>   "_spice_main_clipboard_request", referenced from:
>       _clipboard_get in spice-widget.o
>   "_spice_inputs_button_press", referenced from:
>       _scroll_event in spice-widget.o
>       _button_event in spice-widget.o
>   "_spice_inputs_button_release", referenced from:
>       _scroll_event in spice-widget.o
>       _button_event in spice-widget.o
>   "_spice_display_channel_get_type", referenced from:
>       _channel_destroy in spice-widget.o
>       _channel_destroy in spice-widget.o
>       _channel_new in spice-widget.o
>       _channel_new in spice-widget.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make[3]: *** [libspice-client-gtk-2.0.la] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> From: Cliff Sharp <csharp at vbridges.com>
> Date: Tue, 26 Apr 2011 07:44:34 -0500
> To: Attila Sukosd <attila.sukosd at gmail.com>
> Cc: <spice-devel at lists.freedesktop.org>
> Subject: Re: [Spice-devel] Spice on OS/X
> 
> Great suggestion. 
> I have been looking into spice-gtk because it does seem like it would be much less work.
> 
> Thanks.
> 
> On Apr 26, 2011, at 3:01 AM, Attila Sukosd wrote:
> 
>> Hi,
>> 
>> 
>> This might be a stupid question, but why don't you try to use spice-gtk on OS/X instead of spicec ?
>> It has everything needed, such as gtk2/gtk3 and gstreamer for audio, all cross platform.
>> 
>> Rgrds,
>> 
>> Attila
>> 
>> 
>> On Mon, Apr 25, 2011 at 11:34 PM, Cliff Sharp <csharp at vbridges.com> wrote:
>>>  When trying to port the alsa-lib to OS/X while porting Spice to OS/X I am having some difficulties resolving issues with alsa-lib. I am using alsa-lib-1.0.24.1
>>> 
>>> After doing a ./configure - I have also tried
>>> ./configure --enable-shared=no --enable-static=yes
>>> 
>>> Either way I get the following error in the middle ---
>>> ./configure: line 18735: CC_NOUNDEFINED: command not found
>>> 
>>> ___________
>>> 
>>> And then the end of the ./configure looks like this ---
>>> 
>>> configure: creating ./config.status
>>> config.status: creating Makefile
>>> config.status: creating doc/Makefile
>>> config.status: creating doc/pictures/Makefile
>>> config.status: creating doc/doxygen.cfg
>>> config.status: creating include/Makefile
>>> config.status: creating include/sound/Makefile
>>> config.status: creating src/Versions
>>> config.status: creating src/Makefile
>>> config.status: creating src/control/Makefile
>>> config.status: creating src/mixer/Makefile
>>> config.status: creating src/pcm/Makefile
>>> config.status: creating src/pcm/scopes/Makefile
>>> config.status: creating src/rawmidi/Makefile
>>> config.status: creating src/timer/Makefile
>>> config.status: creating src/hwdep/Makefile
>>> config.status: creating src/seq/Makefile
>>> config.status: creating src/ucm/Makefile
>>> config.status: creating src/compat/Makefile
>>> config.status: creating src/alisp/Makefile
>>> config.status: creating src/conf/Makefile
>>> config.status: creating src/conf/cards/Makefile
>>> config.status: creating src/conf/pcm/Makefile
>>> config.status: creating modules/Makefile
>>> config.status: creating modules/mixer/Makefile
>>> config.status: creating modules/mixer/simple/Makefile
>>> config.status: creating alsalisp/Makefile
>>> config.status: creating aserver/Makefile
>>> config.status: creating test/Makefile
>>> config.status: creating test/lsb/Makefile
>>> config.status: creating utils/Makefile
>>> config.status: creating utils/alsa-lib.spec
>>> config.status: creating utils/alsa.pc
>>> config.status: creating include/config.h
>>> config.status: include/config.h is unchanged
>>> config.status: executing depfiles commands
>>> Creating asoundlib.h...
>>> 
>>> Does this look like the ./configure completed successfully???
>>> 
>>> ______________
>>> 
>>> Then as a result of the make I get the following ---
>>> 
>>> Making all in doc
>>> Making all in pictures
>>> make[2]: Nothing to be done for `all'.
>>> make[2]: Nothing to be done for `all-am'.
>>> Making all in include
>>> make  all-recursive
>>> Making all in sound
>>> make[3]: Nothing to be done for `all'.
>>> Making all in src
>>> Making all in control
>>>  CC     cards.lo
>>>  CC     tlv.lo
>>>  CC     namehint.lo
>>>  CC     hcontrol.lo
>>>  CC     control.lo
>>> /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6097:Expected comma after segment-name
>>> /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6101:Expected comma after segment-name
>>> /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6101:Rest of line ignored. 1st junk character valued 32 ( ).
>>> /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6593:Unknown pseudo-op: .symver
>>> /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6593:Rest of line ignored. 1st junk character valued 95 (_).
>>> /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6637:Unknown pseudo-op: .symver
>>> /var/folders/Pv/PvC+gYnqE1aH2WUpUaGMJk+++TI/-Tmp-//cctnQSSU.s:6637:Rest of line ignored. 1st junk character valued 95 (_).
>>> make[2]: *** [control.lo] Error 1
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all-recursive] Error 1
>>> 
>>> I haven't been able to quite figure out what is going with the make errors.
>>> I would appreciate it if someone would be able to give me some hints.
>>> 
>>> Thanks
>>> 
>>> ____
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Spice-devel mailing list
>>> Spice-devel at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>> 
>> 
> 
> _______________________________________________ Spice-devel mailing list Spice-devel at lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel


____



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110426/3e48f012/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.tiff
Type: image/tiff
Size: 34370 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110426/3e48f012/attachment-0001.tiff>


More information about the Spice-devel mailing list