Exult Logo
 
Home | Download | Documentation | FAQ | Studio | Screen Shots
Development | Discussion | About Us | Letters | History | Links
 
Exult Discussion
Before posting, make sure you've read the FAQ and searched the message board for previous discussions. When reporting problems/bugs, please include details about your setup (Exult version, OS, sound and video cards).

 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Matthew Rollins 
Date:   04-04-09 15:34

Hey Exult folks.

I've been out of the game for a few years, but I have a hankering to play a little Ultima VII on Exult again. The last time I played was on a PPC OS X machine, and Exult 1.2 worked great there. However, I'm on an Intel system now, and I'm wondering (hoping) if anyone is creating precompiled binaries of latest (or recent) snapshots for OS X?

I know you can compile for OS X from CVS, but I was curious if anyone is making this available already precompiled. I've searched the forum and FAQ, but nothing is jumping out at me.

Thanks for any info. I've really enjoyed and appreciated all the hard work that the Exult developers have put into the application.

Cheers,
MR

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Matthew Rollins 
Date:   04-06-09 16:37

Doesn't look like anyone here is regularly compiling 10.5 binaries. Does anyone have a relatively recent Exult 1.4.x precompiled binary for Mac OS X 10.5?

Thanks again for any help.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   04-07-09 17:28

There is a problem with this, and that has to do with linking the required libraries. Last summer there was some back and forth about it and when another person offered his own builds I gave it a try (despite making my own builds) and found the bundle wouldn't work. He tried one of mine and that bundle also wouldn't work. It was found that running the binaries from terminal would and that revealed the problem, which was that he was building in an environment using MacPorts and I was using Fink and the linked libraries were in diffrent locations. Which means that unless you had the same environment set up that I have, my builds won't work properly for you. The other person thought that trying to make an Xcode project for Exult might help but there hasn't been any noise from him about that for months and I suspect that the only way to be able to compile binaries that can be easily shared is if changes are made on the coding side (along the lines maybe of what Pentagram has done and what ScummVM seems to be starting on) but I'm not a coder.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Matthew Rollins 
Date:   04-09-09 18:12

Thanks for letting me know. I didn't realize it was so difficult to produce OS X precompiled binaries that would work for everyone. I hope that someone with more ability than me can get this working via Xcode -- I really miss being able to play U7 on Exult.

Thanks again for the information.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   04-10-09 14:02

I don't think Xcode is strictly speaking necessary. When you compile Pentagram in the recommended way in OSX in terminal you end up with a univeral binary that can be used on any Mac regardless of dev environment. But that's only because the code was written so as to produce that result. It wasn't always that way. It used to be like Exult but the Pentagram devs made changes in their code.

But if you're willing to do a little (but time-consuming) work, you can make your own builds. First you'd need Xcode. Yes, Exult isn't buildable in Xcode but that's not the point: Xcode sets up the basic environment which is necessary for step two, which is setting up Fink or MacPorts. I use Fink because. (Not a sentence fragment; the choice really comes down to just 'because'.) Fink or MacPorts allows you to get the other libraries you need to build things like Exult. There is a learning curve, it takes time, but once it's done you're then able to fairly easily 'roll your own.'

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: E_Jim (---.localdomain)
Date:   04-17-09 14:49

Got to love how Mac OS X "just works", don't you think?? ;-)

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   04-17-09 20:32

Erm...that would a pretty good dig except that Windows also doesn't come with a dev environment already set up. Being able to compile code isn't exactly a core OS function.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   06-24-09 11:52

ok, I've gone mac and I have a hard time myself now...
Mostly because I don't *get* Fink. Probably because I rushed into things too fast without properly reading everything (hey, do as I say, don't do as I do :)).
Anyway, Exult itself builds fine, though without fluidsynth support. Configure says there is no fluidsynth.h, even though Fink says it's installed and Spotlight finds it as well.
Building with Exult Studio fails in mapedit, with
Quote:

Making all in mapedit
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -DEXULT_DATADIR=\"data\" -MT shapelst.o -MD -MP -MF ".deps/shapelst.Tpo" -c -o shapelst.o shapelst.cc; \
then mv -f ".deps/shapelst.Tpo" ".deps/shapelst.Po"; else rm -f ".deps/shapelst.Tpo"; exit 1; fi
shapelst.cc: In member function ‘time_t Shape_chooser::export_png(const char*, Image_buffer8&, int, int)’:
shapelst.cc:802: error: ‘Export_png8’ was not declared in this scope
shapelst.cc: In function ‘void Import_png(const char*, Shape_file_info*, unsigned char*, int, int)’:
shapelst.cc:1119: error: ‘Import_png8’ was not declared in this scope
shapelst.cc: In function ‘void Import_png_tiles(const char*, Shape_file_info*, unsigned char*, int, int, bool)’:
shapelst.cc:1187: error: ‘Import_png8’ was not declared in this scope
shapelst.cc: In member function ‘void Shape_chooser::import_all_pngs(char*, int)’:
shapelst.cc:1404: error: ‘Import_png8’ was not declared in this scope
make[2]: *** [shapelst.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Pentagram fails at ./configure because it says libpng is not there (it is there... ahhhh).
and when I make the deps it fails with zlib somehow...
Quote:

cd /Users/dominus/Code/SVN/Pentagram/trunk/build/i386/lib; if test -f libz.1.2.3.dylib; then \
rm -f libz.dylib libz.1.dylib; \
ln -s libz.1.2.3.dylib libz.dylib; \
ln -s libz.1.2.3.dylib libz.1.dylib; \
(ldconfig || true) >/dev/null 2>&1; \
fi
cp zlib.3 /Users/dominus/Code/SVN/Pentagram/trunk/build/i386/share/man/man3
chmod 644 /Users/dominus/Code/SVN/Pentagram/trunk/build/i386/share/man/man3/zlib.3
cd /Users/dominus/Code/SVN/Pentagram/trunk/build/zlib.build/ppc && make install
mkdir: /usr/local/share: Permission denied
make[2]: [install] Error 1 (ignored)
cp zlib.h zconf.h /usr/local/include
cp: /usr/local/include/zlib.h: Permission denied
cp: /usr/local/include/zconf.h: Permission denied
make[2]: *** [install] Error 1
make[1]: *** [install_zlib.ppc] Error 2
make: *** [deps] Error 2


I am kind of helpless now :)

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-24-09 20:15

I don't think Fink is the problem exactly. I started having the same problem with Pentagram a while back but haven't been too concerned since the most recent modfications seem to be Windows-only. I gave MacPorts a try but with the same (or similar) results. Ditto Exult unless it's without Studio being built (which I generally don't bother with). I suspect part of the blame goes to the slightly odd way OSX does Unix because I haven't experienced these things with Fedora (except the usual fun when there's a new version, and Fedora is always newer than new). There hasn't really been a big OSX person among the devs for a while, has there?

------

BTW, what do you have in your .profile? For Fink you should have
Quote:

test -r /sw/bin/init.sh && . /sw/bin/init.sh

export CFLAGS=-I/sw/include
export LDFLAGS=-L/sw/lib
export CXXFLAGS=$CFLAGS
export CPPFLAGS=$CXXFLAGS
export ACLOCAL_FLAGS="-I /sw/share/aclocal"
export PKG_CONFIG_PATH="/sw/lib/pkgconfig"
export MACOSX_DEPLOYMENT_TARGET=10.4


If you only have the first line, you'll want the rest (although it won't solve your problems, it's still a good idea).

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-24-09 20:30

Oh, and I'm grabbing the Exult and Pentagram source to see if I get exactly what you get. Maybe comparing will help.

And, when you try to build Pentagram, are going by the OSX directions in the Readme or just "./bootstrap && ./configure && make"?

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-24-09 21:42

Actually, it's pretty obvious you're not following the OSX build directions in the Pentagram Readme. I wasn't looking at what you'd written closely enough, so I'm just being stupid.

Following the Readme's instructions, you're supposed to end up with a disk image with an app bundle that can be run on any Mac (or any Mac with the same type of processor--I'm not sure if it's a universal app). When you enter the second command on the list of what to do, it downloads certain libraries like libpng and zlib even if you have them already. I suppose they decided that was the best way of accomplishing what they were after. Instead ./configure because what Pentagram really wants after ./bootstrap on a Mac is make -f Makefile.macosx deps. But while following those directions used to work for me, now I get (when doing make -f Makefile.macosx deps after ./bootstrap) is:
Quote:

ld warning: duplicate dylib /Users/MeddlingMonk/Desktop/pentagram/build/i386/lib/libz.1.dylib
ld: in /sw/lib/libxml2.2.dylib, file is not of required architecture
collect2: ld returned 1 exit status
make[2]: *** [libSDL_ttf.la] Error 1
make[1]: *** [build_SDL_ttf.i386] Error 2
make: *** [deps] Error 2

I really can't understand how libxml can be the wrong architecture when it was installed by Fink by downloading the source code and compiling it on my computer. Seriously, how can something be built on my computer and not end up the right architecture? That's like having plaster come out of a mold a different shape than the mold! Something very strange is going on with Pentagram, I think. Is it assuming that I've got an Intel processor when it's really PPC? But at least I had no problem regarding libpng. ;)

Exult, with Studio enabled, is still compiling. No errors yet.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-24-09 22:13

OK. No problems at all building Exult with Studio enabled. This is what I get where it makes mapedit:
Quote:

Making all in mapedit
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT bargeedit.o -MD -MP -MF .deps/bargeedit.Tpo -c -o bargeedit.o bargeedit.cc
mv -f .deps/bargeedit.Tpo .deps/bargeedit.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT chunklst.o -MD -MP -MF .deps/chunklst.Tpo -c -o chunklst.o chunklst.cc
mv -f .deps/chunklst.Tpo .deps/chunklst.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT combo.o -MD -MP -MF .deps/combo.Tpo -c -o combo.o combo.cc
mv -f .deps/combo.Tpo .deps/combo.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT compile.o -MD -MP -MF .deps/compile.Tpo -c -o compile.o compile.cc
mv -f .deps/compile.Tpo .deps/compile.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT eggedit.o -MD -MP -MF .deps/eggedit.Tpo -c -o eggedit.o eggedit.cc
mv -f .deps/eggedit.Tpo .deps/eggedit.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT execbox.o -MD -MP -MF .deps/execbox.Tpo -c -o execbox.o execbox.cc
mv -f .deps/execbox.Tpo .deps/execbox.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT locator.o -MD -MP -MF .deps/locator.Tpo -c -o locator.o locator.cc
mv -f .deps/locator.Tpo .deps/locator.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT maps.o -MD -MP -MF .deps/maps.Tpo -c -o maps.o maps.cc
mv -f .deps/maps.Tpo .deps/maps.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT npcedit.o -MD -MP -MF .deps/npcedit.Tpo -c -o npcedit.o npcedit.cc
mv -f .deps/npcedit.Tpo .deps/npcedit.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT npclst.o -MD -MP -MF .deps/npclst.Tpo -c -o npclst.o npclst.cc
mv -f .deps/npclst.Tpo .deps/npclst.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT objedit.o -MD -MP -MF .deps/objedit.Tpo -c -o objedit.o objedit.cc
mv -f .deps/objedit.Tpo .deps/objedit.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT contedit.o -MD -MP -MF .deps/contedit.Tpo -c -o contedit.o contedit.cc
mv -f .deps/contedit.Tpo .deps/contedit.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT shapeedit.o -MD -MP -MF .deps/shapeedit.Tpo -c -o shapeedit.o shapeedit.cc
mv -f .deps/shapeedit.Tpo .deps/shapeedit.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT studio.o -MD -MP -MF .deps/studio.Tpo -c -o studio.o studio.cc
mv -f .deps/studio.Tpo .deps/studio.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT exult_studio.o -MD -MP -MF .deps/exult_studio.Tpo -c -o exult_studio.o exult_studio.cc
mv -f .deps/exult_studio.Tpo .deps/exult_studio.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT objbrowse.o -MD -MP -MF .deps/objbrowse.Tpo -c -o objbrowse.o objbrowse.cc
mv -f .deps/objbrowse.Tpo .deps/objbrowse.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT paledit.o -MD -MP -MF .deps/paledit.Tpo -c -o paledit.o paledit.cc
mv -f .deps/paledit.Tpo .deps/paledit.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT shapedraw.o -MD -MP -MF .deps/shapedraw.Tpo -c -o shapedraw.o shapedraw.cc
mv -f .deps/shapedraw.Tpo .deps/shapedraw.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT shapefile.o -MD -MP -MF .deps/shapefile.Tpo -c -o shapefile.o shapefile.cc
mv -f .deps/shapefile.Tpo .deps/shapefile.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT shapegroup.o -MD -MP -MF .deps/shapegroup.Tpo -c -o shapegroup.o shapegroup.cc
mv -f .deps/shapegroup.Tpo .deps/shapegroup.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT shapelst.o -MD -MP -MF .deps/shapelst.Tpo -c -o shapelst.o shapelst.cc
mv -f .deps/shapelst.Tpo .deps/shapelst.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT ucbrowse.o -MD -MP -MF .deps/ucbrowse.Tpo -c -o ucbrowse.o ucbrowse.cc
mv -f .deps/ucbrowse.Tpo .deps/ucbrowse.Po
/bin/sh ../libtool --tag=CXX --mode=link g++ -I/sw/include -export-dynamic -L/sw/lib -o exult_studio bargeedit.o chunklst.o combo.o compile.o eggedit.o execbox.o locator.o maps.o npcedit.o npclst.o objedit.o contedit.o shapeedit.o studio.o exult_studio.o objbrowse.o paledit.o shapedraw.o shapefile.o shapegroup.o shapelst.o ucbrowse.o ../conf/libconf.la ../imagewin/libimagewin.la ../gamemgr/libgamemgr.la ../shapes/libshapes.la ../files/libu7file.la ../files/zip/libminizip.la ../server/libserver.la ../usecode/libusecode.la -lpng -L/sw/lib -lfreetype -lz -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -framework AudioUnit -framework CoreMIDI -L/sw/lib -L/usr/X11/lib -Wl,-framework,CoreServices -Wl,-framework,ApplicationServices -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lz
libtool: link: g++ -I/sw/include -o exult_studio bargeedit.o chunklst.o combo.o compile.o eggedit.o execbox.o locator.o maps.o npcedit.o npclst.o objedit.o contedit.o shapeedit.o studio.o exult_studio.o objbrowse.o paledit.o shapedraw.o shapefile.o shapegroup.o shapelst.o ucbrowse.o -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -Wl,-framework -Wl,CoreServices -Wl,-framework -Wl,ApplicationServices -L/sw/lib ../conf/.libs/libconf.a ../imagewin/.libs/libimagewin.a ../gamemgr/.libs/libgamemgr.a ../shapes/.libs/libshapes.a ../files/.libs/libu7file.a ../files/zip/.libs/libminizip.a ../server/.libs/libserver.a ../usecode/.libs/libusecode.a -framework AudioUnit -framework CoreMIDI -L/usr/X11/lib /sw/lib/libglade-2.0.dylib -L/sw/lib/fontconfig2/lib -L/sw/lib/freetype219/lib /sw/lib/libgtk-x11-2.0.dylib /sw/lib/libxml2.dylib -lpthread /sw/lib/libgdk-x11-2.0.dylib /sw/lib/libatk-1.0.dylib /sw/lib/libgdk_pixbuf-2.0.dylib /sw/lib/libgio-2.0.dylib /sw/lib/pango-ft219/lib/libpangocairo-1.0.dylib /sw/lib/pango-ft219/lib/libpangoft2-1.0.dylib /sw/lib/libcairo.dylib /sw/lib/libpixman-1.dylib /sw/lib/fontconfig2/lib/libfontconfig.dylib /sw/lib/libexpat.dylib /sw/lib/libglitz.dylib /sw/lib/libpng12.dylib /usr/X11/lib/libXrender.dylib /usr/X11/lib/libX11.dylib /usr/X11/lib/libXau.dylib /usr/X11/lib/libXdmcp.dylib /sw/lib/pango-ft219/lib/libpango-1.0.dylib -lm /sw/lib/freetype219/lib/libfreetype.dylib /usr/X11/lib/libfontconfig.1.3.0.dylib /usr/lib/libiconv.dylib /usr/X11/lib/libfreetype.dylib /usr/lib/libexpat.dylib /sw/lib/libgobject-2.0.dylib /sw/lib/libgmodule-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libintl.dylib /sw/lib/libiconv.dylib -lc -lz

Maybe that will help but I wonder now if I really wasn't on to something when I asked about what's in your ".profile".

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Malignant Manor 
Date:   06-24-09 23:00

I don't have a Mac but...


Quote:

Import_png8


Can you manually add "-lpng" to the "LIBS =" part of the makefile?


Quote:

Permission denied


Did you have admin rights?

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-24-09 23:51

Quote:

Can you manually add "-lpng" to the "LIBS =" part of the makefile?


He doesn't need to. I'm fairly certain that his Exult-building problem is probably due to his bash profile not having certain entries it needs for building with Fink. As long has he installed libpng using Fink, the error is probably just because the computer isn't looking in the right place for the Fink-installed libraries.

If you're not a Mac user, the above is probably just gibberish; but, believe me, it really does make sense.

Quote:

Did you have admin rights?


It would be hard for him not to. When a Mac is first turned on, part of the first-boot routine is setting up the admin account (and adding it to the sudoers list). Unless he then set up a second user account and switched to it, he has admin rights by default.

I really, really think that Dominus should just first add those lines to .profile and try again. (For now I'm going to assume that he knows what I'm talking about.)

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   06-25-09 00:05

Exult/Studio:
@Meddling Monk, the lines in .profile did the trick for building Exult with Exult Studio support (and fuidsynth.h was also found this time). But... hmm... after building both, the binary exult_studio sits in the mapedit tree of the source and it only crashes... How to procceed here now?
And I also wonder if I should pester Fingolfin for CoreMIDI support in Exult. I'd really like to use my Roland MT32...

Pentagram:
@Malignant Manor, I also thought of the admin rights problem and used sudo now, followed the instructions and did NOT run ./configure, I get further than before only to be stopped at
Quote:

checking for memset... no
configure: error: memset not found in libc
make[1]: *** [configure_libpng.ppc] Error 1


Thanks to both of you so far...

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-25-09 03:06

Quote:

the binary exult_studio sits in the mapedit tree of the source and it only crashes... How to procceed here now?


Not sure. I didn't even think of trying to run ES and just trashed the build when it didn't fail to compile (since I already had an Exult binary). OK, so I compile again and see what I get. But what you can/should do is look at the crash log in Console if you haven't yet. That rarely tells >me< anything but I'm not a coder, am I?

Quote:

And I also wonder if I should pester Fingolfin for CoreMIDI support in Exult.


That would be nice to have. So would aspect-ratio correction. (Can't resist plugging that from time to time.)

Quote:

and used sudo now


You don't really need to since you're not ever going to be doing "make install" on your Mac. On the other hand, it won't do any harm that I know of.

Quote:

make[1]: *** [configure_libpng.ppc] Error 1


Now, this is very strange. It seems to be the mirror image of my "make[1]: *** [build_SDL_ttf.i386] Error 2" problem because it's an error about the other architecture. Presumably. I've got a PPC Mac and, Dominus, am I right in thinking you've got an Intel Mac? If that's so, it's looks as if Pentagram is misidentifying the architecture OR is having some kind of problem I don't understand in trying to build for a universal binary (if that's what it ends up with).

Maybe it's worthwhile to be sure about the binary. If you've really got an Intel Mac, try my last successful Pentagram build. If it works for you, great, and maybe that'll sort of prove that Pentagram since then introduced a bug relating to compiling on Macs and a bug report can be made if anyone can figure out just how to describe it.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Malignant Manor 
Date:   06-25-09 03:27

Quote:

memset not found in libc



It sounds like it can't find libc. I think it should it be installed to "/usr/lib" or the compiler directed to the lib. (but again not a familiar compiler or OS)

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Malignant Manor 
Date:   06-25-09 03:43

For Pentagram, maybe saying specifically which steps you have done could give more details for someone else to help you.


Mac OS X
Under OS X, the dependencies are built into the application bundle as embedded libraries. Pentagram provides makefiles to build the dependencies appropriately. Internally, the OS X specific makefiles use normal unix-style configure & make to build Pentagram and all dependencies.
1. Run the "bootstrap" script to create the "configure" script: ./bootstrap
2. Build all dependencies: make -f Makefile.macosx deps
3. Build Pentagram: make -f Makefile.macosx build
4. Build Pentagram.app: make -f Makefile.macosx bundle
5. Build disk image: make -f Makefile.macosx image
6. The disk image is located in the build directory and contains the universal binary

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: MeddlingMonk 
Date:   06-25-09 04:26

Malignant Manor:

Quote:

I think it should it be installed to "/usr/lib"


It doesn't work like that with OSX. It's Unix, but it's different Unix. The normal Unix file/folder structure is used only for the OS itself. Developer stuff is completely separate and has to come in two parts. There's Xcode which gives you the really, really core stuff like gcc and puts it into Developer/usr/lib (or bin or wherever something needs to be). And then there's Fink or MacPorts for everything else which have top-level folders named sw (Fink) and opt (MacPorts). So with OSX you've got /usr/lib, Developer/usr/lib, and /sw/usr/lib (or opt/(something maybe I think I've forgotten)/usr/lib. That's OSX for you: Really simple on the surface, insanely complicated underneath.

Dominus:

I've been fiddling with trying to get ES to run. I've tried just running exult_studio from terminal to start with. What I get is the X11 icon bounces (do you have X11 installed?--it's not installed by default on OSX) and in terminal I get stuff like:
Quote:

(exult_studio:82285): Gtk-CRITICAL **: gtk_radio_menu_item_set_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(exult_studio:82285): Gtk-CRITICAL **: gtk_radio_menu_item_get_group: assertion `GTK_IS_RADIO_MENU_ITEM (radio_menu_item)' failed

(exult_studio:82285): Gtk-CRITICAL **: gtk_check_menu_item_set_active: assertion `GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed

(exult_studio:82285): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed

(exult_studio:82285): Gtk-CRITICAL **: gtk_menu_item_get_submenu: assertion `GTK_IS_MENU_ITEM (menu_item)' failed

(exult_studio:82285): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed

I should add that things I've installed using Fink (like GnuCash) which require GTK do run for me just fine.

Now, if I instead run exult from terminal and do ctrl-alt-command-M I get the map edit grid right enough but no ES interface (which the above pretty clearly implies would be the case, obviously).

I think maybe there's a clash of window interfaces here: Aqua and X11. The Exult binary itself runs without requiring X11. But GTK does require X11. How can Exult run in Aqua and Exult Studio run in X11 (if it did, actually, run in X11 at all) and even work together?

It's late and this is getting way over my head, but I've come across http://gtk-osx.sourceforge.net/ which maybe would get around the whole problem of Fink/MacPorts-supplied GTK needing X11 if Exult could make use of it. But, of course, I'm no coder and don't really know.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   06-25-09 09:19

By "fixing" the data folder and put everything in it, that is needed, I could make Exult Studio to start but not to make it connect to Exult. A lot of GTK error messages and a
Quote:

Can't find gamedat for socket
which makes no sense to me, since the gamedat folders are found by Exult...
I really need to bug Fingolfin, maybe he feels up to it...

The pentagram you built works fine here.

As for my system it is an intel iMac with 10.5.7, X11 comes preinstalled with Leopard, at least it was for me and I only updated to newer XQuartz. As for sudo, I guess with Leopard Apple made it similar to MS with their newer Windows OS', that even though you are the main user, you still have to enter your password for some stuff...

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-25-09 19:41

OK, nice to know that the Pentagram build routine really does produce a universal binary. When it works. But you get an error related to the PPC architecture and I get one related to Intel trying to build now, and that means a bug but I'm having trouble thinking of a clear, concise way of describing it for a bug report.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Watt (---.localdomain)
Date:   06-26-09 01:00

Hello all.
I'd be the person responsible for the goofy OS X build of Pentagram.
I was trying to make it completely isolated from every else except the proper SDK version and tools installed alongside Xcode and never having to "make install" into standard locations, but I'm guessing from reading above that it's still getting mixed up with from Fink packages and possibly the build scripts trying to install headers to the standard locations.

It should be trying to build each dependency and Pentagram for both i386 and PPC separately, putting the results into separate app bundles, and then joining them together using lipo (plus some fun scripts) afterwards.

I'm open to any feed back I can get. I'll be trying a clean build now, since I haven't in quite a while.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-26-09 17:41

Quote:

I'd be the person responsible for the goofy OS X build of Pentagram.


Hey, at least you're making the effort. Too often OSX is something of an afterthought despite it being a major OS. Going by the precompiled binaries offered by a lot of projects, you'd think Ubuntu had the largest intstall base after Windows.

Quote:

I'm guessing...it's still getting mixed up with from Fink packages


Hmm. I think I'll try commenting out the Fink entries in my bash profile and see what happens.

Quote:

possibly the build scripts trying to install headers to the standard locations


Or not, if I make it ignore Fink and my attempt works.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-26-09 20:05

OK, I commented out the Fink-related lines in my bash profile and was able to successfully build Pentagram. So looks like the Pentagram build was getting confused by Fink (and I had, as far as I know, the exact same experience a while back trying with MacPorts installed), but since I had done nothing apart from modifying the bash profile apparently the build isn't trying to install headers to the standard locations; I wasn't using sudo so I would expect errors if it was trying to do that.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Watt (---.localdomain)
Date:   06-26-09 23:43

Right... you can confirm the build installed the pieces correctly by examining the build/i386 and build/ppc directories - they should have a bin, lib, include, and share directories filled with the files built from zlib, libpng, freetype, SDL, and SDL_ttf

As for the Fink linking bits, I could look into trying a bit hard to keep the linker and header lookup paths to the standard areas. Had learned quite a bit about that recently when trying to build some other software on Solaris 9 :-).

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-27-09 02:29

Quote:

...they should have a bin, lib, include, and share directories...


That's exactly what I've got.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   06-27-09 15:41

Quote:

OK, I commented out the Fink-related lines in my bash profile

how does one do that?

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-27-09 15:59

You would just open your .profle and stick # in front of each line you want ignored (like every line if all you've got is Fink related). Just restart terminal after saving like you did when you modified .profile in the first place and Robert's the male sibling of one of your parents. Anything done in terminal until you remove all the # will be blind to Fink.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Watt (---.localdomain)
Date:   06-28-09 04:13

You mean Uncle Bob? :-)

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   06-28-09 17:07

soooo,
I've commented everything out in .profile and get again an error with building Pentagram. Still fails on buidling the deps with
Quote:

gcc -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch i386 -I/Users/dominus/Code/SVN/pentagram/trunk/build/i386/include -DUSE_MMAP -o minigzip minigzip.o -L. libz.1.2.3.dylib
cd /Users/dominus/Code/SVN/pentagram/trunk/build/zlib.build/ppc && make
gcc -O2 -isysroot /Developer/SDKs/MacOSX10.3.9.sdk -mmacosx-version-min=10.3 -arch ppc -I/Users/dominus/Code/SVN/pentagram/trunk/build/ppc/include -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o example.o example.c
example.c:8:19: error: no include path in which to search for stdio.h
example.c:12:22: error: no include path in which to search for string.h
example.c:13:22: error: no include path in which to search for stdlib.h
example.c: In function ‘test_compress’:

and much more errors in example.c...

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Fingolfin 
Date:   06-28-09 19:58

Regarding the Pentagram build system: I think it's overly complicated. It could be simplified a lot (and the resulting binary be made smaller) by not using internal frameworks but rather simply static linking the various dependencies (as we do with ScummVM). I.e., don't build all those libs as shared, but rather built them as static only.

To ensure that the custom made libs you build are used instead of e.g. those by ScummVM, you must make sure that your compile command is not "tainted" by include specifiers that ask it to look inside /sw (or /opt for MacPorts). This could be achieved by explicitly (re)setting CXXFLAGS, CPPFLAGS, etc. to be empty right in the Makefile -- in "Makefile.macosx", that is. After all, other people (like me) should still be able to build pentagram as a good old normal binary without any universal binary & disk image stuff I don't need.


Regarding Core MIDI support and aspect ratio correction: Feel free to take my code from ScummVM for this; but I won't work on that myself, sorry, Exult and Pentagram have very low priorities for me these days, and I don't even have enough time to properly work on ScummVM, so...


As for Exult Studio: I never used it, never tried to build it, never found it interesting. So I cannot really say anything deep about it. The problems with GTK/Glade errors you describe could have a number of totally different causes. Hard to say from a distance, without knowing more details about your setup. I'll try to find a few spare minutes to try and reproduce the issue, but I cannot promise anything.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Fingolfin 
Date:   06-28-09 21:07

OK, the exultstudio problem is simply enough: It doesn't find "exult_studio.glade". It looks for "data/exult_studio.glade", but the file really is in mapedit.

So, to start exult studio, I did this (from the Exult source directory):
./mapedit/exult_studio -x mapedit

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Watt (---.localdomain)
Date:   06-28-09 23:24

@Fingolfin:
Yeah, I agree it's more complicated that it needs to be. I should've just used a shell script instead of trying everything in make. Got a little carried away at the time I guess. I think I remember trying to go static at first and hit some snag that made me shrug and go with shared, but I can't remember what now.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   06-29-09 00:32

Fingolfin:
Quote:

Regarding Core MIDI support and aspect ratio correction: Feel free to take my code from ScummVM for this


Pity I know nothing about coding or I would myself. As it is, I can only nudzh. And I think I remember Marzo or someone saying months ago there was some kind of big hurdle in doing aspect ratio correction. Somehow.

Dominus:
Quote:

Still fails on buidling the deps


Um. OK. Did nothing like that to me. So you've got Xcode. You've got Fink which is unimportant if everything is commented out as you say. You've got Leopard. And you're using the build process laid out in the Pentagram readme, I assume. So why does it work for me and not you? Did you start fresh? If it was just a matter of ./configure && make I don't think it would matter, but with the system Pentagram has going maybe it does. So I wonder if you left the build directory from earlier attempts (in my case I trashed it because I just like having a clean slate) and whether it would even matter. I suppose Watt can tell us if that would mess things up or whether his system would refetch the library sources or try to continue from where it left off.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Watt (---.localdomain)
Date:   06-29-09 01:31

Yeah, it might try to grab info from previous configure runs on each dep. You could try tossing the build directory and making a fresh attempt.

I haven't had a chance to go through and improve this yet... at some point...

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   06-29-09 10:02

@Pentagram: yeah, I tried a new checkout. But I'll try some more :)

@Fingolfin:
I was able to make Exult Studio run as well, the problem with Exult Studio is that it won't start by going into mapedit mode in Exult and regardless of that, won't connect to Exult so essentially Exult Studio sits there, useless (except for browsing shapes).

As for CoreMIDI, I'm in the same boat as Meddling Monk, can't code and thus wouldn't know where to start, but of course I understand your lack of time. Not complaining, just hoping :)

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: MeddlingMonk 
Date:   07-02-09 01:44

Any luck yet with Pentagram, Dominus? (I have no fresh ideas if you haven't, though.)

-------------------------

BTW, and OT, have you messed around yet with Boxer, the Mac DOSBox frontend? If you haven't, it's very nice and convenient to have DOS software appearing in Finder as if they were Mac app bundles.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Dominus (on the phone) (---.localdomain)
Date:   07-02-09 14:15

Haven't tried again, had no time. Thanks for checking, though

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Monotremata 
Date:   07-03-09 19:31

Well Im the guy that was going back and forth with Meddling Monk (and someone else) trying to get a new app made for OS X..
I was actually using Fink as well, never used MacPorts before but it had to do with where SDL was installed.

I just popped up a month or two ago and made a post on our old topic about it..
Someone gave us some tips on how to possibly change the linking of the SDL libraries but I dont know enough about compiling on where to add those CFLAGS lines he mentioned.

I posted and asked 'can someone tell me where/how I use this?' but topic went dead again hehe.

Search for 'snapshot OS X' and youll find it in there.

I had gotten Exult to build in XCode easily, but we still ran into the same problems, the SDL linking..
I grabbed Pentagram as a suggestion but Pentragram is setup so differently the way it builds compared to Exult it just went over my head..
Ive never been able to make Exult build against the frameworks in Mac OS X so basically the XCode build was just a bunch of scripts running the command line compile anyways..

Morbius/Monotremata Dragon
-==(UDIC)==-
Since 1992!

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Monotremata 
Date:   07-03-09 19:33

Actually heres the thread.. Guess theres not alot of activity still so its only on page 2 hehe.

http://exult.sourceforge.net/forum/read.php?f=1&i=273361&t=273361

Im still building on my old G4 though. ;)

Morbius/Monotremata Dragon
-==(UDIC)==-
Since 1992!

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   07-04-09 15:50

It all went over my head much quicker. The lesson I took away from Pentagram (and other projects) was that if you want an app bundle that can be used on any Mac, it all has to start in the source code. I'm not a coder, so that was it for me.

Pentagram's way is a little...different. I believe that ScummVM has moved (or maybe is still in the process of moving) to compiling portable app bundles. The linking of zlib caused problems for me as a Fink user because it doesn't have zlib and OSX's dynamic library zlib isn't suitable for that purpose. I ended up manually installing zlib to my Fink directory although I was told they were thinking of handling linking in a different way (so that it would detect the evironment on a computer and adjust rather than insist on a specific setup) so that someone with Fink wouldn't have go extra steps to get a bundle. I suppose that what ScummVM is doing is or is similar to what Monotremata is alluding to, but it all comes down to the source code and three Mac users don't really add up to one Mac coder. So I guess until one turns up, Exult on Macs will have to be a case of rolling your own.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   07-12-09 21:11

just made a fresh try for Pentagram, with a new checkout and it still fails miserably, exactly where it failed last time :(

Interestingly, after that failed, I decided to try if the linux way with ./configure would work and I must have fixed some stuff with fink, since ./configure went through all the way and then I just used make (without pointing to the osx makefile) and it went all the way through to the audio compilation and there failed with
Quote:

g++ -Wp,-MMD,"audio/midi/.deps/CoreAudioMidiDriver.d",-MQ,"audio/midi/CoreAudioMidiDriver.o",-MP -Wall -I/sw/include -DHAVE_CONFIG_H -DDATA_PATH=\"/usr/local/share/pentagram\" -I./misc -I./tools/data2c -I./convert -I./convert/u8 -I./convert/crusader -I./misc -I./data -I./filesys -I./filesys/zip -I./tools -I./tools/disasm -I./tools/compile -I./tools/flexpack -I./tools/fold -I./tools/shapeconv -I./kernel -I./games -I./graphics -I./graphics/fonts -I./graphics/scalers -I./audio -I./audio/midi -I./audio/midi/timidity -I./usecode -I./world -I./world/actors -I./gumps -I./gumps/widgets -I./conf -I./system -I./system/macosx -I./. -I. -g -I/sw/include -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -c -o audio/midi/CoreAudioMidiDriver.o audio/midi/CoreAudioMidiDriver.cpp
audio/midi/CoreAudioMidiDriver.cpp: In member function ‘virtual int CoreAudioMidiDriver::open()’:
audio/midi/CoreAudioMidiDriver.cpp:79: error: ‘kAudioUnitComponentType’ was not declared in this scope
audio/midi/CoreAudioMidiDriver.cpp:80: error: ‘kAudioUnitSubType_MusicDevice’ was not declared in this scope
audio/midi/CoreAudioMidiDriver.cpp:81: error: ‘kAudioUnitID_DLSSynth’ was not declared in this scope
audio/midi/CoreAudioMidiDriver.cpp:88: error: ‘kAudioUnitSubType_Output’ was not declared in this scope
make: *** [audio/midi/CoreAudioMidiDriver.o] Error 1

oh well....

Edit: actually searching our fine forum, I came upon a patch for Exult that fixes that issue for Pentagram.
https://sourceforge.net/tracker/?func=detail&aid=1905536&group_id=2335&atid=302335. I just didn't need to touch CoreAudioMidiDriver.h but the changs in the cpp file did the trick! It compiled and it ran! It's not a bundle and definitely not an image, but it works somewhat :)
--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   07-12-09 22:18

as for the Exult/Exult Studio problem...
When I checked the ./configure output this striked me as strange
Quote:

checking whether to enable support for Exult Studio... no
Even though ./configure --help showed this as default yes.
And then even when I tried to enabel it via ./configure it still showed up as no... That doesn't make me wonder anymore why Exult and Exult Studio don't like to play with each other :(

Edit: Hmm, it gets set to no if WINDOWING_SYSTEM="-DXWIN" is false/no, according to configure. What is this DXWIN?

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Monotremata 
Date:   07-14-09 16:45

Direct X?

Morbius/Monotremata Dragon
-==(UDIC)==-
Since 1992!

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Marzo Sette Torres Junior 
Date:   07-14-09 18:05

XWIN is the X Window System.

------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
How To Ask Questions The Smart Way

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   07-15-09 08:09

hmm, since OS X does have X11 I'm at loss why this does not work. I wish someone with time and OS X coding skills could take a look...

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Marzo Sette Torres Junior 
Date:   07-15-09 14:23

Quote:

hmm, since OS X does have X11 I'm at loss why this does not work.

The issue is that configure.ac (hence configure) is assuming that OS X uses Cocoa instead of X, and isn't even trying to check for X. I am also not proficient enough in configure syntax and limitations to fix the issue (not to mention that I have never used OS X).

I also don't know if ES and Exult would communicate correctly in OS X even if we force the issue, but we can test it, if you want; try deleting lines 442 to 444 in configure.ac, re-run autogen, configure and compile. Then test away.

------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
How To Ask Questions The Smart Way

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   07-15-09 16:48

Hmm,
then it fails at making exult.o with
Quote:

if g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -I./headers -I./imagewin -I./shapes -I./server -I./data -I./gamemgr -I./objs -I./conf -I./files -I./gumps -I./audio -I./audio/midi_drivers -I./pathfinder -I./usecode -I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -I/sw/include -I/sw/include -MT exult.o -MD -MP -MF ".deps/exult.Tpo" -c -o exult.o exult.cc; \
then mv -f ".deps/exult.Tpo" ".deps/exult.Po"; else rm -f ".deps/exult.Tpo"; exit 1; fi
exult.cc: In function ‘void Init()’:
exult.cc:895: error: ‘xfd’ was not declared in this scope
exult.cc:897: error: ‘xdnd’ was not declared in this scope
exult.cc:897: error: expected type-specifier before ‘Xdnd’
exult.cc:897: error: expected `;' before ‘Xdnd’
exult.cc: In function ‘void Handle_event(SDL_Event&)’:
exult.cc:1551: error: ‘xdnd’ was not declared in this scope
exult.cc:1553: error: ‘xdnd’ was not declared in this scope


--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Marzo Sette Torres Junior 
Date:   07-15-09 17:01

Yes, I was afraid something like this might turn up. That would be the compiler complaining that the X drag & drop header was not included.

At this point, someone with OS X experience would help a lot better than me, as I don't know if using the X headers would work; you can still try, though: in configure.ac, edit line 121 to read like
WINDOWING_SYSTEM="-DMACOSX -DXWIN"

and line 124 to be
SYSLIBS="-framework AudioUnit -framework CoreMIDI -lX11"

And try it all again.

WARNING: I have no idea if it will work, or what possible side effects that may cause.

------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
How To Ask Questions The Smart Way

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   07-15-09 17:20

not working...

g++ -I/sw/include -o rwregress rwregress.o -framework AudioUnit -framework CoreMIDI -Wl,-bind_at_load -L/sw/lib ./.libs/libu7file.a -lX11 /sw/lib/libfluidsynth.dylib -lreadline -lncurses /sw/lib/libjack.dylib -lm -lpthread
ld: library not found for -lX11
collect2: ld returned 1 exit status
make[3]: *** [rwregress] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Marzo Sette Torres Junior 
Date:   07-15-09 18:16

Hm. At least now it proceeded until linking, where it failed to find libX11. A suggestion from Google would be to install the X11 SDK (the developer files); it seems that they aren't installed by default.

------
Marzo Sette Torres Junior
aka Geometrodynamic Dragon
How To Ask Questions The Smart Way

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   07-16-09 11:17

Last night, Marzo and Willem spent a lot of time with me on IRC to investigate and solve some of the Exult problems on OS X.
Thanks to them the result is that Exult and Exult Studio do work together and that Exult now also compiles with OpenGL support.

Some notes about the Exult Studio support:
- you need the X11 SDK installed from the OS X install disks
- ./configure needs the switches "--enable-exult-studio --enable-macosx-studio-support"
- Exult compiled with the OS X Studio supports needs to be started with X11 as SDL Video driver, so a "export SDL_VIDEODRIVER=x11" needs to be set before you start it. Otherwise it will just crash and burn (maybe the source can be changed to do that automatically when you use those configure options)
- Exult Studio normally gets compiled in /mapedit, you need to have that in the path somewhere so that when Exult goes into mape-edit-mode it can start Exult Studio

Issues that remain and probably need someone fluent in OS X development (since the way we did it last night was working but slowly since Marzo and Willem suggested things to do and I had to compile and report back to them):
- static compilation
- CoreMIDI support
- app bundle for both Exult and Exult Studio in a way that they work without setting the path...

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: MeddlingMonk 
Date:   07-17-09 13:44

Quote:

Some notes about the Exult Studio support:
- you need the X11 SDK installed from the OS X install disks


A small point about this: The X11 SDK package is part of Xcode. If you've never upgraded Xcode, go ahead and install the X11 SDK from the install disk to be sure you have it. But anyone who as upgraded Xcode should not. If a person has upgraded Xcode and checked all the boxes when doing so, they will have the X11 SDK installed; if not, then install from the disk image rather that the install disk (just in case there might be a version conflict).

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Jolyon (---.localdomain)
Date:   07-18-09 07:35

I get the following when compiling with Studio support:

Making all in mapedit
g++ -DHAVE_CONFIG_H -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -DXTHREADS -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -DEXULT_DATADIR=\"data\" -MT shapelst.o -MD -MP -MF .deps/shapelst.Tpo -c -o shapelst.o shapelst.cc
shapelst.cc: In member function ‘time_t Shape_chooser::export_png(const char*, Image_buffer8&, int, int)’:
shapelst.cc:802: error: ‘Export_png8’ was not declared in this scope
shapelst.cc: In function ‘void Import_png(const char*, Shape_file_info*, unsigned char*, int, int)’:
shapelst.cc:1119: error: ‘Import_png8’ was not declared in this scope
shapelst.cc: In function ‘void Import_png_tiles(const char*, Shape_file_info*, unsigned char*, int, int, bool)’:
shapelst.cc:1187: error: ‘Import_png8’ was not declared in this scope
shapelst.cc: In member function ‘void Shape_chooser::import_all_pngs(char*, int)’:
shapelst.cc:1404: error: ‘Import_png8’ was not declared in this scope
make[2]: *** [shapelst.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

This has always been a problem on whatever Mac I'm trying to build it on. Libpng is installed from MacPorts. :(

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   07-18-09 11:49

hmm, that part of the compilation looks like this on my system:

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../headers -I./.. -I./../shapes -I./../imagewin -I./../conf -I./../gamemgr -I./../files -I./../server -I./../usecode -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/cairo -I/sw/include/pango-1.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/pixman-1 -I/sw/include/freetype2 -I/sw/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -DMACOSX -O2 -Wno-long-long -I/sw/include -DEXULT_DATADIR=\"data\" -MT shapelst.o -MD -MP -MF ".deps/shapelst.Tpo" -c -o shapelst.o shapelst.cc; \

Except for that your libs are in /opt/local instead of /sw/ (which I guess is a difference between Fink and MacPorts), I can only see that on my system /usr/x11R6/include is used as well as /usr/X11/include

Maybe the others have some ideas what is going wrong there. Are you on intel or ppc?

(more and more often I wish, we had a forum with more features and subforums, so I could split this thread)

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Jolyon (---.localdomain)
Date:   07-20-09 21:48

I'm on Intel, but I also had this problem on my old PPC iMac.

I made the modifications to configure.ac, but get another error now (which will have to wait until I get back from work).

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Jolyon (---.localdomain)
Date:   07-21-09 22:43

Ah. I'd messed up editing configure.ac. Deleting it and checking it out again seems to have fixed that issue.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   07-22-09 10:05

Quote:

- Exult compiled with the OS X Studio supports needs to be started with X11 as SDL Video driver, so a "export SDL_VIDEODRIVER=x11" needs to be set before you start it. Otherwise it will just crash and burn (maybe the source can be changed to do that automatically when you use those configure options)

Marzo "fixed" that, so you don't have to set it manually but Exult will do so for you automatically :)
Thanks

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS
Author: Jolyon (---.localdomain)
Date:   07-23-09 10:34

Hrmm... Now it can't find -lX11.

ar cru .libs/libu7file.a Flat.o Flex.o Table.o IFF.o U7file.o U7fileman.o U7obj.o utils.o listfiles.o crc.o msgfile.o
ranlib: file: .libs/libu7file.a(U7file.o) has no symbols
ranlib .libs/libu7file.a
ranlib: file: .libs/libu7file.a(U7file.o) has no symbols
creating libu7file.la
(cd .libs && rm -f libu7file.la && ln -s ../libu7file.la libu7file.la)
g++ -DHAVE_CONFIG_H -I. -I.. -I./.. -I./../headers -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -DMACOSX -DXWIN -O2 -Wno-long-long -MT rwregress.o -MD -MP -MF .deps/rwregress.Tpo -c -o rwregress.o rwregress.cc
mv -f .deps/rwregress.Tpo .deps/rwregress.Po
/bin/sh ../libtool --tag=CXX --mode=link g++ -o rwregress rwregress.o libu7file.la -framework AudioUnit -framework CoreMIDI -lX11
g++ -o rwregress rwregress.o -framework AudioUnit -framework CoreMIDI -Wl,-bind_at_load ./.libs/libu7file.a -lX11
ld: library not found for -lX11
collect2: ld returned 1 exit status
make[3]: *** [rwregress] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Which is weird, because I definitely have the X11 SDK installed.

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   09-28-09 11:47

back to topic :)
I *think* if someone would wade through how scummvm makes a static version for their "make bundle" it should be possible to make it happen for Exult as well.
But I get headaches just looking at it.
In the scummvm svn all this happens in ports.mk (with some paths set in config.mk)...

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Dominus 
Date:   11-06-09 10:33

Marzo fixed a crash when selecting conversion MT32 on OS X (theoretically on all OS' but the others are more forgiving).
Also with much help from Marzo and Willem, I commited a patch to the patch tracker that enables CoreMIDI on OS X.
CoreMIDI is needed if you want Exult to play its music on a real Roland MT32 hooked up to the Mac.

Edit: oh, and before I forget, with SDL 1.2.14 Exult now has problems switching to fullscreen. This also happens on Windows for some...

--
Read the documentation and the FAQ are your friends! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dom

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Monotremata 
Date:   11-24-09 04:37

Ok bumping this thread with some OS X notes...
I dont have Studio installed or any need to so this is just concentrating on folks building regular old Exult on OS X..
Also, due to my old dual G4, Im also back on 10.4 since 10.5's fancy gui drags my Mac into the dirt even with a QE enabled video card hehe.
I just got my environment back up and started to build yesterdays svn source.


Basically the steps are:

1. Install Fink
2. Install SDL and SDL Mixer (I used the latest source, and then just read Marzo's note about 1.2.14 above)
3. Install Libtool 1.5
4. Install Automake
5. Install Bison

Then everything should go just as planned. As long as someone else has Fink setup the same way, you SHOULD be able to send someone your .app and have it work. Although in the long run this isnt really feasible if we get a bunch of non unix geeks trying to run it..

Some notes I encountered tonight..

SDL and SDL Mixer can be installed either via Fink or direct from source from the SDL website.. I initially had them installed by hand where they lived in the /usr/bin directory.. If you leave SDL installed here (I think thats where it lives) you can skip the Install Automake step in the list above.. For some reason with SDL in its 'default' unix location, Automake works just fine.. If you install it with Fink, you have to install Automake with Fink as well. No clue why but theres notes on that below..

Previously because of Apple renaming libtool to glibtool (and glibtoolize) you used to just be able to either make a symlink from glibtoolize to llibtoolize, or you could simply change the line at the end of autogen.sh from libtoolize -- force -- copy to glibtoolize --force --copy..
Neither one works anymore, at least on 10.4 over here. You will now get an error that libtool cant open /usr/share/libtool cause theres no folder there. No symlinks or modifying the filename in autogen.sh helped.
So this is where I finally had to give in tonight and install Fink.
So installed libtool 1.5 with Fink..

Ok now autogen finished without any errors and it finally told me I can configure..

After this, trying to compile gives you a parsing error I noticed comes from Bison.. So I used fink to install Bison 2.0..

Now configure ran just fine, and I actually finished a compile and was ready to make the app bundle.. I noticed my SDL stuff was pointing to /usr/bin (or wherever it lives) so I decided 'hey lets uninstall this and do it with Fink to keep everything together'.. So I make uninstalled mine and the latest SDL and SDL mixer were installed via Fink now.

Ok re-ran autogen.sh and recieved a BUNCH of errors all with the prefixes AM_ at the beginning. It told me I could run configure but it died really quickly with the same types of AM_ messages.. Took a wild guess and thought 'Hmm AM_ huh I wonder if I need a newer Automake'...

This is when I found my old Word document with my instructions I made about a year or two ago.. I noticed in my Fink instructions I DID write to install Automake 1.10. Just did that (although for some reason I just noticed I installed 1.9) and everything is FINALLY compiling now and Im almost ready to make the app and test it out.

Im not sure what made Automake break when I moved SDL from its regular Unix location to the /sw directory but who knows.. Apple's Unix layer hasnt always worked like Unix is SUPPOSED to so sometimes stuff you read and learn about doesnt work when you try it on a Mac.
It works fine once you install everything you need to in Fink though.

If someone wants to test it out let me know. You will need to install Fink and then SDL and SDL Mixer but it SHOULD in theory run fine after that.
If you like I can remove it, and rebuild it with SDL in its normal place so you can try it that way...

I have some command line flags someone posted up in my last thread on this so I think Im going to stop this make process and add those and see if I can make the bundle UB, cause as it is mine will only run on a PowerPC..

Morbius/Monotremata Dragon
-==(UDIC)==-
Since 1992!

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Monotremata 
Date:   11-24-09 05:32

Ok holy crap a breakthrough (sort of)..

Wandering around google (and googling Make Universal binaries from command line) I found this:
http://developer.apple.com/mac/library/technotes/tn2005/tn2137.html

I passed the following command when I ran configure:
env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" \ LDFLAGS="-arch i386 -arch ppc" ./configure --disable-dependency-tracking


Configure seemed to run fine, but now SDL stops dead on the version check and configure tells me it cant run the sdl-config program and I might have moved it??
Opening up config.log it appears that I will have to recompile SDL and SDL Mixer to be universal as well. The configure script craps out and said something about the cputype i386 not matching (Im guessing because I have a PowerPC so its trying to run a PPC compiled SDL-config as an i386 CPU?)...

The error states: "(path to ld): warning /sw/lib/libSDLmain.a archive's cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (cant load from it)"

And another error right below it exactly the same but dealing with libSDL.dylib instead of libSDLmain.a.

I was going to run it and bypass the SDL test program but when I decided to open config.log up I noticed this is related to the CPU type..


So perhaps I can recompile SDL as a UB library and this will finally work cross platform! Of course youll still run into the dynamic library problem but hey UB might be possible finally...

Does anyone know how I can force Fink to build them this way?? Someplace I can add that same configure string to Fink???
I just added each one (CFLAGS and LDFLAGS) as environment variables in Fink Commander so hopefully this works.. Off to remove my SDL and recompile!

Morbius/Monotremata Dragon
-==(UDIC)==-
Since 1992!

Reply To This Message
 
 Re: Anyone offering precompiled binaries of latest (or recent) snapshots for OS X?
Author: Monotremata 
Date:   11-24-09 06:08

Back again.. Compiling SDL with the CFLAGS string doesnt work.
I did it with the source and did a normal by hand compile..

It craps on the configure script with the message:
"lipo: cant figure out the architecture type of: /var/tmp//cc6brG8p.out"

I know lipo is used to combine the two architectures together into one bundle and it SHOULD work but it doesnt. Perhaps we could use the SDL Frameworks which should be UB but theres no way to make exult build using them that I know of. I even tried in XCode a year ago but I just dont know enough about the code to make it build off the Frameworks instead of the regular unix type app.

Morbius/Monotremata Dragon
-==(UDIC)==-
Since 1992!

Reply To This Message
 Go to Top  |  Go to Topic  |  Threaded View   Newer Topic  |  Older Topic 


 
 Reply To This Message
 Your Name:
 Your E-mail:
 Subject:
 Subject:
   
 
SourceForge   phorum.org
 
Problems with Exult or this webpage? Contact us.
Last modified: 24 Oct 2001(GMT)