[OTR-dev] Re: otrproxy universal binary.

Joseph Elwell jelwell at singleclick.com
Thu Jul 6 14:26:40 EDT 2006


I did mean --disable-shared. :) I enabled unicode and rebuilt. Here  
are the commands I used (Note that I didn't want to install wxWidgets  
system wide - I just installed it locally and deleted the tree when  
done):

cd wxMac-2.6.3
mkdir osx-build
cd osx-build
../configure --disable-shared --enable-compat22 --enable-unicode -- 
prefix=/Users/jelwell/wx
make install

cd otrproxy-0.3.1
./configure --with-wxdir=/Users/jelwell/wx/
make


cd Desktop/OTR\ Proxy.app/Contents/MacOS/
mv OTR\ Proxy OTR\ Proxy\ MAC
cp ~/Desktop/otrproxy-0.3.1/wxui/otrproxy OTR\ Proxy\ INTEL
lipo -create -output OTR\ Proxy OTR\ Proxy\ INTEL OTR\ Proxy\ MAC
rm *INTEL *MAC

All done!
I posted a new Universal Binary with unicode enabled here:
http://singleclick.com/~jelwell/apple/OTR_Proxy_Universal_MacOSX.zip

Paul, I just read your post on July 3rd. I'm not sure why the PPC  
version of OTR Proxy wasn't working for you. It's worked for me  
(MacBookPro 17") for some time now. I just wanted it a bit zippier. :)
Joseph Elwell.

On Jul 6, 2006, at 3:22 AM, Ian Goldberg wrote:

> On Thu, Jul 06, 2006 at 02:51:46AM -0700, Joseph Elwell wrote:
>> I created a Universal version of the OTR proxy.
>> http://singleclick.com/~jelwell/apple/OTR_Proxy_Universal_MacOSX.zip
>> I couldn't seem to get the package to build. but you could just slap
>> that app into the old bundle.
>
> Cool!  Paul, do you want to try this and see if it alleviates the
> problem you reported on Intel machines?
>
>> Instructions (if building on an intel machine), in case you don't
>> want to post a random binary from a stranger:
>> download wxMac sources (I used 2.6.3)
>> as per the INSTALL-MAC.txt file:
>> cd into the wxMac base source dir
>> mkdir osx-build
>> cd osx-build
>> ../configure --disabled-shared --enable-compat22
>
> Do you mean "--disable-shared"?  We also use "--enable-unicode";  
> can you
> rebuild your binary with that turned on?
>
>> make
>> make install
>>
>> grab otr proxy sources
>> ./configure
>> make
>>
>>
>> rename "otrproxy" to "OTR Proxy INTEL"
>> grab the old PowerPC mac version. and name it "OTR Proxy MAC".
>> lipo -create -output OTR\ Proxy OTR\ Proxy\ INTEL OTR\ Proxy\ MAC
>> slap "OTR Proxy" into the old application bundle, overwriting the old
>> PPC only executable.
>
> Thank you very much!  If you rebuild with unicode support, I'd suggest
> posting this same message (with the fix to the configure line) to
> otr-dev.
>
>    - Ian




More information about the OTR-dev mailing list