[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] Enigma on Mac OS X 10.5 (Leopard)

From: Ronald Lamprecht
Subject: Re: [Enigma-devel] Enigma on Mac OS X 10.5 (Leopard)
Date: Sun, 02 Dec 2007 15:59:40 +0100
User-agent: Thunderbird (Windows/20071031)


your report is good news :-)

When you have finished all testing, especially that the compiled Enigma version runs on 10.4, 10.3.9, too, please send me the cleaned up diffs.

Please report the SDL version you used. Did you use SDL_mixer 1.2.8? I do ask, as we need a confirmed support for "ogg" and "mp3" for the next Enigma release and 1.2.8 is compiled with support of these formats on Windows and Linux.

Please try to compile the current trunk version. You need to add support for "curl" (see doc/REQUIREMENTS). If you need some testcode please drop a note.



Sidney Markowitz wrote:
I installed Leopard on my MacBook (Intel Core Duo) recently, and decided
to build Enigma from trunk to see if it would still work. This is with
the 10.5.1 upgrade and using fink unstable fully updated. Here is a list
of issues I dealt with, posted here for the record. Eventually some of
this should go into the doc/README.macosx file, but it still has to be
sorted out what is specific to Leopard and what had more to do with
quirks in my configuration.

To build Enigma under Tiger I had to upgrade autoconf. I first tried to
install it in fink, then when that was still too old a version I
doenloaded the sources and installed in /usr/local/bin. The Leopard
upgrade did not keep the /usr/local/bin install, leaving the too old
version (1.5) in fink active, and that broke ./configure in the Enigma
build process. The fix was to uninstall fink's autoconf and automake, as
the one that is in Leopard (with Xcode 3.0 installed) is new enough.

The instructions in doc/README.macosx contain some typos in the
instructions for installing Xerces-c. The line

cd /sw/src/fink.build/xerces-c-2.7.0-1002/xerces-c-src_2_7_0

in the file has an extra embedded space. Worse, the shell script that
comes after that is missing a '\' character at the end of lines 2 through 5.

The instructions for running that script will not work in Leopard
because of a security change to the default sudo configuration. The
instructions say to export XERCESCROOT environment variable, which is
then used by the script when it is run under sudo. Leopard uses the
env_reset option in /etc/sudoers to prevent the user's shell environment
from being seen by the root shell. To run the script I used the visudo
command to add a
 Defaults       env_keep += "XERCESCROOT"
to the list of environment variables that the file allows through.

To get ./configure to see libpng I had to use

 ./configure CPPFLAGS=-I/sw/include LDFLAGS=-L/sw/lib

even though I don't recall having to do anything special to see the fink
libraries before.

The good news is that after all that Engima built and ran fine.

 -- Sidney Markowitz

reply via email to

[Prev in Thread] Current Thread [Next in Thread]