plainblack.com
Username Password
search
Bookmark and Share

    

WRE for Mac OS X x86_64

User knowmad
Date 7/15/2011 9:33 pm
Views 475
Rating 0    Rate [
|
]
Previous · Next
User Message
knowmad

Tonite I was able to successfully compile WRE 0.9.3 for a Minimac running Snow Leopard under an x86_64 architecture. I had to make a couple of modifications to complete the process.

First, I ran into the following errors when compiling libgcrypt:

mpih-add1-asm.S:47:suffix or operands invalid for `push'
mpih-add1-asm.S:48:suffix or operands invalid for `push'
mpih-add1-asm.S:78:suffix or operands invalid for `jmp'
mpih-add1-asm.S:113:suffix or operands invalid for `pop'
mpih-add1-asm.S:114:suffix or operands invalid for `pop'

For this, I added "--disable-asm" to build.sh per http://old.nabble.com/iMac-error-td27336799.html.

Secondly, I had trouble compiling Apache due to an error when running configure for SSL/TSL. It turned out that openssl was built for a 32-bit environment instead of x86_64. I downloaded 0.9.8r (actually I tried 1.0.0d first but Apache 2.2 couldn't use that version) and compiled it with the following command:

./Configure darwin64-x86_64-cc --prefix=/data/wre/prereqs shared

The steps are documented in the wiki at

William

----
Knowmad Technologies
http://www.knowmad.com



Back to Top
Rate [
|
]
 
 
knowmad

Well, I spoke too soon ;). After about an hour of installing all the required Perl modules using testEnvironment.pl and working around / ignoring a few test failures, I got stymied by the Cache::FastMmap module. After lots of googling and help on #perl-help, I found a way to get this required module to install. See the bug report at https://rt.cpan.org/Ticket/Display.html?id=69522 for details on installing this module.

Now that I'm past all the perl module dependencies, WebGUI is coming up just fine!

Now on to development,
William

----
Knowmad Technologies
http://www.knowmad.com



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved