Xonotic Forums
[NEEDS INFO] OS X application build problem - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [NEEDS INFO] OS X application build problem (/showthread.php?tid=1242)



OS X application build problem - nowego4 - 11-22-2010

Hi.

I'm on a Mac OS X 10.5.8 Intel Core Duo. I did the ./all update and ./all compile (and yes I have git and xcode) but none of the applications will run. Right now I have to run xonotic from the terminal using ./all run.

When I double click on the netradiant.app (xonotic>netradiant>setup>data>osx>NetRadiant.app) it displays this message:

"You can't open the application "NetRadiant.app" because it is not supported on this architecture."

I want to build maps for xonotic but this error won't let me. Also there is a white circle-slash over the preview.

What do I do to fix?

Thanks.


RE: OS X application build problem - PGP_Qz - 11-22-2010

Hi

I got the white circle-slash over the .app icon. Looks like a powerpc app.
Try to compile Netradiant yourself... Or maybe there is a solution, I don't it.

and... oh, I'm on 10.6.5


RE: OS X application build problem - neb - 12-26-2010

I am having the exact same problem myself.


Quote: Try to compile Netradiant yourself...

How would one do that?


RE: OS X application build problem - nowego4 - 12-27-2010

Look in the COMPILING (just search for it in the finder window) for some more info, I haven't succeeded yet but maybe you'll have better luck.

...

Dear (especially Mac Heart ) community,

I can see the light at the end of the tunnel, but I need some help before I can start mapping.

This is the section concerning Mac building in COMPILING.
Code:
OSX(using X-windows)
====================

environment:
- OS X 10.5 or 10.6
- Xcode developer tools installed (OSX DVD)
- X11 (from the OS X DVD)
- MacPorts or fink installed
- the following packages installed:
  Macports:
    gtkglext pkgconfig glib2-devel libxml2 gtk2 pango atk gettext wget
  Fink:
    gtkglext1 pkgconfig glib2-dev libxml2 gtk+2 gtk+2-dev pango1-xft2-ft219-dev atk1 gettext-dev wget

build:
run 'make'

run:
Switch into the install folder, and run NetRadiant.app

I have OS X 10.5.8, Xcode, X11 (I used it to run the old NetRadiant) and MacPorts installed. I would like to know what to do with the glob of text
Code:
gtkglext pkgconfig glib2-devel libxml2 gtk2 pango atk gettext wget
and/or where to plug it in, and where to go after I get that done.

I have this feeling that I'm really close, all I need is a sentence or two from somebody who's done it. Then again I could be off my rocker and sailing south from Madagascar to get to Greenland. Smile

TY Heart


RE: OS X application build problem - nowego4 - 12-29-2010

And now the required *Bump* Smile Please check post above--recently edited.


RE: OS X application build problem - neb - 01-01-2011

I nearly have it. However, I don't know where to find/how to use the "gtkglext pkgconfig glib2-devel libxml2 gtk2 pango atk gettext wget" plugin.

Edit: NVM, I installed wget, but I am still encountering an error.

[Image: picture246q.png]

I am unable to locate "pkg-config."

I do have a folder named "rb-pkg-config." Is this the folder? If so, where should it be located?


RE: OS X application build problem - merlijn - 01-01-2011

(12-27-2010, 10:20 AM)nowego4 Wrote: I have OS X 10.5.8, Xcode, X11 (I used it to run the old NetRadiant) and MacPorts installed. I would like to know what to do with the glob of text
Code:
gtkglext pkgconfig glib2-devel libxml2 gtk2 pango atk gettext wget
and/or where to plug it in, and where to go after I get that done.

sudo port install gtkglext pkgconfig glib2-devel libxml2 gtk2 pango atk gettext wget

This will probably take a while and pull in a lot of dependencies. Just let it run, and it will work out. If you get a message it can't find the 'port' command, you failed to setup your PATH for MacPorts.


RE: OS X application build problem - neb - 01-01-2011

I had this error:

Computing dependencies for glib2-develError: Unable to execute port: Can't install glib2-devel because conflicting ports are installed: glib2


RE: OS X application build problem - merlijn - 01-07-2011

(01-01-2011, 04:46 PM)neb Wrote: I had this error:

Computing dependencies for glib2-develError: Unable to execute port: Can't install glib2-devel because conflicting ports are installed: glib2

Can you try to update to latest macports: sudo port selfupdate

If that doesn't work, try uninstalling glib2.


RE: OS X application build problem - nowego4 - 01-29-2011

I had this error when I entered you text in the terminal.
Code:
--->  Computing dependencies for gtkglextError: Unable to execute port: can't read "configure.ld_archflags": no such variable
Does this mean I didn't set up my PATH? If so, what do I do to do that?