Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 18, 2013, 10:26 AM   #1
cbb
macrumors newbie
 
Join Date: Sep 2013
X11 Xquartz MAC OS 10.8.5

In my new MAC OS 10.8.5 MacBook Pro I followed the instructions given by Apple and installed the Xquartz application. I do see and I can work in my X11 windows when I call XQuartz. However old programs like LyX (latex), GS (GhostScript) and Nedit (Text editor) do not work and claim that X11 is not installed. Any ideas?
cbb is offline   0 Reply With Quote
Old Sep 19, 2013, 08:23 AM   #2
MisterMe
macrumors G4
 
Join Date: Jul 2002
Location: USA
Quote:
Originally Posted by cbb View Post
In my new MAC OS 10.8.5 MacBook Pro I followed the instructions given by Apple and installed the Xquartz application. I do see and I can work in my X11 windows when I call XQuartz. However old programs like LyX (latex), GS (GhostScript) and Nedit (Text editor) do not work and claim that X11 is not installed. Any ideas?
GhostScript is part of the OS. You don't need a second installation. Is there some reason why you don't want to use the OS X-native version of LyX? BTW, have you installed MacTeX?
__________________
Neither a borrower nor a lender be
For loan oft loses both itself and friend
William Shakespeare from Hamlet
MisterMe is offline   0 Reply With Quote
Old Sep 21, 2013, 01:58 PM   #3
Madd the Sane
macrumors 6502
 
Join Date: Nov 2010
Location: Utah
In order for Xquartz to be set up properly, you need to log out then back in after installation.
Madd the Sane is offline   0 Reply With Quote
Old Sep 26, 2013, 04:52 AM   #4
cbb
Thread Starter
macrumors newbie
 
Join Date: Sep 2013
Quote:
Originally Posted by MisterMe View Post
GhostScript is part of the OS. You don't need a second installation. Is there some reason why you don't want to use the OS X-native version of LyX? BTW, have you installed MacTeX?
Yes all fine and installed. I just gave you some examples of programs that do not work in the Xquatz...they all say that X11 is not working. The one I really need to run is Nedit.
cbb is offline   0 Reply With Quote
Old Sep 26, 2013, 07:30 AM   #5
alex0002
macrumors regular
 
Join Date: Jun 2013
Location: New Zealand
Quote:
Originally Posted by cbb View Post
Yes all fine and installed. I just gave you some examples of programs that do not work in the Xquatz...they all say that X11 is not working. The one I really need to run is Nedit.
Did you compile nedit yourself? The MacOSX executable from sourceforge appears to be written for PowerPC, as it gives me the error:

Code:
bash: /usr/local/bin/nedit: Bad CPU type in executable
I'm guessing you either compiled it yourself or downloaded from another site. Perhaps you might need to get the source and recompile?

Do your DISPLAY and PATH environment variables look o.k. in the terminal?
Something like this...

Code:
$ echo $DISPLAY
/tmp/launch-RoRaK0/org.macosforge.xquartz:0
$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin
If you have access to a linux or other machine running an ssh server, can you start an ssh session with X11 forwarding and start the applications on those machines and view them on the Mac?

This might determine if this is a display or execution environment issue.

In the case of Lyx did you get your Lyx dmg from lyx.org and follow the information here:
http://wiki.lyx.org/Mac/Mac

E.g. follow the instruction about Gatekeeper on Mountain Lion and the part about needing a TeX installation.

Or did you compile a pure X windows Lyx from source?
I'm guessing the later. Did you use Homebrew or Macports, or some other method?

Back to Nedit... can you post the specific error messages?

Last edited by alex0002; Sep 26, 2013 at 07:36 AM.
alex0002 is offline   0 Reply With Quote
Old Sep 27, 2013, 03:07 AM   #6
alex0002
macrumors regular
 
Join Date: Jun 2013
Location: New Zealand
The following worked for me on Mountain Lion.

1. Open the URL: http://ftp.nl.freebsd.org/editors/NE...5/executables/

2. Download the file containing the intel version of nedit: nedit-5.5-MacOSX-intel.tar.gz

3. Start XQuartz and open a terminal (xterm).

4. In the xterm window open the nedit archive:

Code:
tar xvzf ~/Downloads/nedit-5.5-MacOSX-intel.tar.gz
x nedit-5.5-Darwin-i386/
x nedit-5.5-Darwin-i386/COPYRIGHT
x nedit-5.5-Darwin-i386/faq.txt
x nedit-5.5-Darwin-i386/nc
x nedit-5.5-Darwin-i386/nc.man
x nedit-5.5-Darwin-i386/nedit
x nedit-5.5-Darwin-i386/nedit.doc
x nedit-5.5-Darwin-i386/nedit.html
x nedit-5.5-Darwin-i386/nedit.man
x nedit-5.5-Darwin-i386/README
x nedit-5.5-Darwin-i386/ReleaseNotes
5. Place the nedit binary in the PATH, so it can be started from command line.

Code:
sudo cp -p nedit-5.5-Darwin-i386/nedit /usr/local/bin/
6. Start nedit from within the xterm session.

Code:
nedit &
This starts the nedit application and it is possible to open a file and edit it.
Does this work for you? If not, which step fails?

Last edited by alex0002; Sep 27, 2013 at 06:09 AM. Reason: make clear it should be started from within xterm session
alex0002 is offline   0 Reply With Quote
Old Oct 1, 2013, 07:30 AM   #7
cbb
Thread Starter
macrumors newbie
 
Join Date: Sep 2013
Thanks

Dear All

Following/understanding some of your propositions and according to personal experience, I realized that there was something wrong with my Xtools. Than I downloaded and installed the new Xcode version from Apple (Version 5.0 (5A1413)) and I updated the "command line tools" using the download components within Xcode peferences.

Than, I download and installed again XQuatz.

After that everything was fine.
All programs using X11 work in my computer.

My conclusion: when I migrated the contents of my old Mac (10.6.8) to the new one (10.8.5) some features did worked well but some not. So, Xtools are not 100% compatible among different MacOs versions.

Thank you all.
Cbb

Last edited by cbb; Oct 1, 2013 at 07:37 AM.
cbb is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Questions about XQuartz... doubledee Mac Basics and Help 5 Jan 4, 2014 02:00 PM
X11 installed in /opt/X11/ but can't point to it in Finder phyrexia OS X Mavericks (10.9) 2 Nov 20, 2013 04:52 PM
Xquartz / X11 on 10.9 east85 OS X Mavericks (10.9) 8 Oct 29, 2013 05:09 PM
How to uninstall XQuartz? Bensal1992 OS X 10.8 Mountain Lion 1 Sep 28, 2013 10:14 AM
Wireshark and Xquartz vmachiel OS X 10.8 Mountain Lion 3 Feb 20, 2013 07:38 AM

Forum Jump

All times are GMT -5. The time now is 10:46 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC