[Wine] Re: Trouble with libgsm on Mac OS X 10.6.2

bcpeterson wineforum-user at winehq.org
Sat Sep 11 18:35:12 CDT 2010


ralniv wrote:
> Below are my instructions for getting a libgsm friendly version of Wine compiled on SnowLeopard.  I assume that you already have wine-devel installed and configured to your liking.  I also assume that you use MacPorts for package management.
> 
> [1] Uninstall wine-devel
> 
> Code:
> sudo port uninstall wine-devel
> 
> 
> 
> [2] Edit the portfile for wine-devel.  It is located at:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/wine-devel
> 
> Change "--without-gsm" to "--with-gsm"
> 
> [3] Download libgsm source from:
> http://libgsm.sourcearchive.com/
> 
> [4] Copy libgsm source to ~/Desktop and extract it there
> 
> [5] Compile and install libgsm per instructions below:
> 
> 
> rwoodsmall (with minor path edits and added spaces for clarity) wrote:
> > 
> > 
> > Code:
> > cd ~/Desktop/gsm-1.0-pl13
> > 
> > GSMOBJS=""
> > 
> > for GSMSRC in add code debug decode long_term lpc preprocess rpe gsm_destroy gsm_decode gsm_encode gsm_explode gsm_implode gsm_create gsm_print gsm_option short_term table ; do
> >   gcc -g -arch i386 -m32 -dynamic -ansi -pedantic -c -O2 -Wall -DNeedFunctionPrototypes=1 -DSASR -DWAV49 -I./inc src/${GSMSRC}.c -o src/${GSMSRC}.o
> >   GSMOBJS+="src/${GSMSRC}.o "
> > done
> > 
> > libtool -dynamic -v -o lib/libgsm.1.0.13.dylib -install_name /usr/lib/libgsm.1.0.13.dylib -compatibility_version 1.0.13 -current_version 1.0.13 -lc ${GSMOBJS} 
> > 
> > 
> > 
> 
> 
> Then do the following:
> 
> Code:
> cp inc/* /usr/include
> 
> ln -s /usr/lib/libgsm.1.0.13.dylib /usr/lib/libgsm.dylib
> 
> 
> 
> 
> [6] Recompile wine-devel
> 
> Code:
> sudo port install wine-devel
> 
> 
> 
> A note for people interested in playing LOTRO (and probably DDO too) from Mac: You must configure wine to run in windowed mode for LOTRO to initialize and launch properly.


Okay, I think I did everything correctly, but I'm getting an error when I try to reinstall wine: (I've included just the relevant parts I hope:


Code:

:info:configure checking gsm.h usability... yes
:info:configure checking gsm.h presence... yes
:info:configure checking for gsm.h... yes
:info:configure checking gsm/gsm.h usability... no
:info:configure checking gsm/gsm.h presence... no
:info:configure checking for gsm/gsm.h... no
:info:configure checking for -lgsm... not found
:info:configure configure: error: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
:info:configure This is an error since --with-gsm was requested.




I'm pretty new to unix and wine. I tried entering the lines one at a time, and also pasting them into a script but it just doesn't seem to be working for me.

DDO plays, but the group audio chat sounds bad. In the meantime, I've used winecfg to force the use of the dll and that has gotten rid of most of my error messages.







More information about the wine-users mailing list