Snow Leopard

11 views
Skip to first unread message

Pedrinho

unread,
Nov 10, 2009, 6:30:32 PM11/10/09
to quadr...@googlegroups.com
Hi all,

I just got a new iMac running Snow Leopard.

Is it possible to compile Quadra on it? I tried to download the 1.2.0 source and compile with no succeed.
Please see the last error lines:

In file included from skelton/common/net.cpp:23:
/Users/pedrinho/Downloads/libpng-1.2.40/config.h:81:1: warning: "VERSION" redefined
<command-line>: warning: this is the location of the previous definition
In file included from skelton/common/net.cpp:60:
skelton/include/byteorder.h:7:20: error: endian.h: No such file or directory
skelton/include/byteorder.h:12:22: error: byteswap.h: No such file or directory
make: *** [skelton/common/net.o] Error 1


Thanks in advance,

Pedro

Pierre Phaneuf

unread,
Nov 16, 2009, 3:03:40 PM11/16/09
to quadr...@googlegroups.com
On Tue, Nov 10, 2009 at 6:30 PM, Pedrinho <pedrinh...@gmail.com> wrote:

> I just got a new iMac running Snow Leopard.
> Is it possible to compile Quadra on it? I tried to download the 1.2.0 source
> and compile with no succeed.

Sorry for the delay, I seem to have missed your email, somehow... I
only recently updated to Snow Leopard on some of my computers, I'll
try that out and let you know!

Pedrinho

unread,
Nov 16, 2009, 3:23:53 PM11/16/09
to quadr...@googlegroups.com
no problem, thanks in advance

Pierre Phaneuf

unread,
Nov 29, 2009, 2:22:40 PM11/29/09
to quadr...@googlegroups.com
On Tue, Nov 10, 2009 at 6:30 PM, Pedrinho <pedrinh...@gmail.com> wrote:

I finally took a look! :-)

I used the following configure command-line:

./configure CPPFLAGS=-I/usr/X11/include LDFLAGS=-L/usr/X11/lib

And it worked fine for me. From the error messages that you provided,
I see that you used your own copy of libpng, instead of the
system-provided one (which is hidden away in the X11
headers/libraries, but those are required for Quadra 1.2 anyway).

For the byteorder.h errors, I'm not sure what's going on. The
configure script should have detected machine/endian.h and
machine/byte_order.h (which are the Mac OS X equivalent of those
missing files) and used those instead (they are normally at
/usr/include/machine/endian.h and /usr/include/machine/byte_order.h).
Take a look at the configure output to see what it says about those?

I had some separate issues compiling the trunk version (which is
*much* better on Mac OS X than the quadra-1.2 version!), as it seems
SDL 1.2.14 is needed for Snow Leopard, but after fixing that, it was
smooth sailing. Oh, before that, it looks like "make clean" missed
deleting "source/macosx/SDLMain.o", and for some reason, I had a
32-bit version of that in there, so I had a linking error, just
deleting that and running "make" again fixed that (but you shouldn't
have that problem anyway).

Let me know if there's anything else (or better, file an issue,
(slightly) less likely to fall through the cracks). ;-)

--
http://www.google.com/profiles/pphaneuf

Pierre Phaneuf

unread,
Nov 29, 2009, 2:24:35 PM11/29/09
to quadr...@googlegroups.com
On Sun, Nov 29, 2009 at 2:22 PM, Pierre Phaneuf <ppha...@gmail.com> wrote:

> For the byteorder.h errors, I'm not sure what's going on. The
> configure script should have detected machine/endian.h and
> machine/byte_order.h (which are the Mac OS X equivalent of those
> missing files) and used those instead (they are normally at
> /usr/include/machine/endian.h and /usr/include/machine/byte_order.h).
> Take a look at the configure output to see what it says about those?

Oh, looking in the "config.log" file and searching for
"machine/endian.h" and "machine/byte_order.h" might provide some
useful information, too.

--
http://www.google.com/profiles/pphaneuf

Pedrinho

unread,
Nov 30, 2009, 9:03:52 PM11/30/09
to quadr...@googlegroups.com
Hi Pierre,

Just to let you know that I succefully compiled quadra with the configure parameters that you mentioned. Thank you!
Just one more thing: on the old iMac I have a 1.3.0 beta version (I think). That's the trunk version that you mentioned?
What branch on SVN should I download it?

thanks in advance, Pedro



--
http://www.google.com/profiles/pphaneuf

--

You received this message because you are subscribed to the Google Groups "Quadra Discussion" group.
To post to this group, send email to quadr...@googlegroups.com.
To unsubscribe from this group, send email to quadra-talk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/quadra-talk?hl=en.



Pierre Phaneuf

unread,
Dec 3, 2009, 9:50:11 PM12/3/09
to quadr...@googlegroups.com
On Mon, Nov 30, 2009 at 9:03 PM, Pedrinho <pedrinh...@gmail.com> wrote:

> Just to let you know that I succefully compiled quadra with the configure
> parameters that you mentioned. Thank you!

Excellent! The byteorder thing sorted itself out by itself?

> Just one more thing: on the old iMac I have a 1.3.0 beta version (I think).
> That's the trunk version that you mentioned?

Yes, it is indeed.

> What branch on SVN should I download it?

The URL is as follow:

http://quadra.googlecode.com/svn/trunk/quadra

I usually do something like this (a variant on the instructions at
http://code.google.com/p/quadra/source/checkout):

svn co http://quadra.googlecode.com/svn/trunk/quadra quadra-trunk

--
http://www.google.com/profiles/pphaneuf
Reply all
Reply to author
Forward
0 new messages