 |
 |
What apps have people ported or compiled on MacOS X?
|
 |
|
 |
|
Junior Member
Join Date: Sep 2000
Location: Sydney
Status:
Offline
|
|
Hi everyone,
I've been trying to compile some X11 apps to use on MacOS X with the new beta of XTools, but I'm having some troubles. I found the GNU Darwin site and the sources or binaries to lots of libraries and apps there, but the couple that I want specifically aren't working!
I downloaded glib-1.2.8 and gtk+ from the site, as well as gtk-engines, but both of the gtk libraries need glib to compile properly, and glib will not compile for me!
I get this when compiling glib (as a normal user, not su'd to root):
[localhost:/Users/Shared/glib-1.2.8] jem% make
make all-recursive
Making all in .
/bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -c giounix.c
cc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -c giounix.c -o giounix.o
giounix.c:1301: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
make[2]: *** [giounix.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
---
I assume the errors are there because changes have been made since the source was last updated that are breaking it...
So... has anyone successfully compiled any X11 libraries, like glib and gtk+? I'd be interested to find out how you did it, because I would eventually like to run GNOME apps on my OS X box!
Thanks a lot...
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Check out my post in the FAQ.
Yes, I have compiled glib and gtk+
There are patches at http://fink.sourceforge.net - wihch also contains lots of other packagesyou can compile.
GNU-Darwin has probably the largest collection of ported software. You can find it at http://www.gnu-darwin.org
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Sep 2000
Location: Sydney
Status:
Offline
|
|
Thanks, I had a look at the FAQ, and also at Fink.
It mentions this:
"If you get errors related to macros, use the -traditional-cpp option."
Where would I add that option? I did "make --help" but I didn't see any options to add the -traditional-cpp option.
Thanks...
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
The C Preprocessor in OS X (made by Apple I think) goes a bit squiffy on some code. So you need to pass -traditional-cpp to cc when it compiles.
This is done by adding it to the CPPFLAGS section in the makefile. The easy way of doing this in tcsh, if the package his a configure script, is:
setenv CPPFLAGS -traditional-cpp
./configure
make
That should append -traditional-cpp wherever it's needed.
|
|
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2000
Location: Retired
Status:
Offline
|
|
Tenon has pre-compiled ports of GTK+, Gnome-libs and others you can download from their page and in the Xterm just type "make install" and your off and running!
|
|
Power Macintosh Dual G4
SGI Indigo2 6.5.21f
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
But Tenon's XTools is an overprices PoS. Just install fink and then you can fink install gtk and things, which is even easier, and FREE!
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Sep 2000
Location: Sydney
Status:
Offline
|
|
Thanks, both of you.
I've downloaded the precompiled files from Tenon, and installed Fink, too, which seems to be very helpful!
Fink is currently compiling imlib, hopefully I'll be able to GNOME or KDE running soon!
Also, is it possible to run StarOffice or OpenOffice on a Darwin/MacOS X box using Xtools or XonX? I LOATHE using Classic, because it slows the machine down so much (G4/400), so I would like to get rid of Word and use StarOffice or OpenOffice (?) instead. Is it possible?
Thanks!
|
|
|
| |
|
|
|
 |
|
 |
|
Grizzled Veteran
Join Date: Sep 2000
Location: San Francisco
Status:
Offline
|
|
I'm thrilled that the XonX project is as far as it is, but I really need for it to be rootless (so that Aqua and X can run side-by-side) before I can use it for anything interesting. (I did compile and play with XonX this evening. Nice, but I need the best of both worlds, not to toggle between them (although it's great to have an X server should I really need it).)
Question: does anyone know the current status of XonX? The web page hasn't been updated in a bit, and I'm loathe to disturb the primary developer.
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Sep 2000
Location: Sydney
Status:
Offline
|
|
Ok... I did:
/sw/bin/fink install gnome-libs , and it says it requires orbit and esound. However, when it was compiling esound it got this:
gcc -g -O2 -L/sw/lib -o .libs/esdsample esdsample.o -L.libs -lesd -framework System
/usr/bin/ld: Undefined symbols:
_afCloseFile
_afGetChannels
_afGetFrameCount
_afGetRate
_afGetSampleFormat
_afGetTrackBytes
_afOpenFile
_afReadFrames
make[2]: *** [esdsample] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### make failed, exit code 2
Failed: compiling failed
---
Anyone know how to fix this? Is esound even needed on MacOS X? (I assume it's needed for GNOME...)
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|