Go Back   The macosxhints Forums > OS X Help Requests > UNIX - X11



Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 08-23-2003, 09:51 AM   #81
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
77- To install OpenOffice if you have already Apple's X11 and Fink installed

1-Install OpenOffice, it will try to install its own version of dlcompat, so in order that it doesn't make your Fink installation completely dysfunctional, you'll need to do the following:

For dlcompat:
sudo ln -s /sw/lib/libdl.0.dylib /usr/local/lib/libdl.0.dylib
sudo ln -s /usr/local/lib/libdl.0.dylib /usr/local/lib/libdl.dylib

And similarly for fondu:
sudo ln -s /sw/bin/fondu /usr/local/bin/fondu

2-Install gimp-print and esp-ghostscript (these are installed into the /usr/local tree) with the packages from:

http://gimp-print.sourceforge.net/MacOSX.php3

OpenOffice looks for libfreetype in /usr/X11R6/lib, so there is no need to symlink it in /usr/local/lib; the freetype libraries in /usr/X11R6/lib are installed by X11.
sao is offline  
Old 10-16-2003, 02:19 PM   #82
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
78- X11 for Mac OS X v1.0 to ship in Panther

At the x11-users lists, Haroon Sheikh wrote:

------
"At Apple's WorldWide Developer Conference, Apple announced that the 1.0
version of X11 for Mac OS X will ship as part of Panther, Mac OS X
v10.3. The X11 SDK will be an optional install as part of Apple's new
Xcode developer environment.

http://www.apple.com/macosx/panther/
http://www.apple.com/macosx/panther/xcode.html

Version 1.0 includes numerous enhancements and bug fixes, including:

- Based on XFree86 4.3
- Full screen mode, enabling X11 root window
- Pseudo-color support - can now run X11 in 256 color mode
- Improved Aqua User Interface
- Launch X11 applications from the finder
- Improved keyboard shortcuts
- Improved Dock Menu
- Works with Panther's Expose and Fast User switching
- /usr/bin/open-x11 will start X11.app if not already running

Panther is currently available as a Developer Preview for Apple
Developer Connection members with a seed key. All future X11 for Mac
OS X releases from Apple will only support Panther or later.

A big thank you to all the beta testers of X11 for Mac OS X Public
Beta. Developers with access to Panther can continue to log bug reports
at http://developer.apple.com/bugreporter.

Yours truly,
The X11 for Mac OS X Team

Other high-level changes include:
- NEW: X11.app is now located in /Applications/Utilities
- NEW: X11 and the SDK are currently optional installs in Panther
- NEW: command line preference to set option as meta key (see man Xquartz)

- FIX: X11 leaves orphans and zombies
- FIX: X11 presents quit warning even when all windows closed
- FIX: X11 won't recognize 2nd screen if already started
- FIX: geometry problems introduced in Beta 3.
- FIX: X11 does not properly quit"
------
sao is offline  
Old 10-23-2003, 10:57 AM   #83
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
79- source code for the X11 v1.0 in the GM version of Panther

The source code for the X11 v1.0 in the GM version of Panther will be made available as soon as Panther is publicly available.

There are bug fixes between the source code for "X11.app v1.0 wwdc" and "X11.app in the GM version of Panther", but it might be safer to recompile software that depends on libraries in the X11 directories.
sao is offline  
Old 10-27-2003, 03:22 AM   #84
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
80- Installing Apple's X11 1.0 in Panther.

Apple's X11 for Mac OS X 10.3 is available as an optional installation when you install Mac OS X 10.3 (Panther), meaning that the Panther installer does not automatically install Apple's X11 1.0.

You need to click "Custom" in the Easy install pane then select X11. If you forgot to select it while installing Panther, you can install it later by opening (double clicking) the X11User.pkg file on the Mac OS X Install Disc 3 CD.
sao is offline  
Old 10-27-2003, 03:24 AM   #85
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
81- Installing Xcode and the X11 SDK package

Install XCode from the XCode Tools CD.

The X11 SDK is not installed by default when you install Xcode, you must click the "Customize" button, as this will allow you to select the "X11 SDK" checkbox also, which is by default not selected.

If you forget to press the "customize" button, you can install the X11 SDK later by double-clicking on the X11SDK.pkg file in the Xcode Tools CD.

Last edited by sao; 10-28-2003 at 06:01 AM.
sao is offline  
Old 10-27-2003, 03:26 AM   #86
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
82- Fresh install of Fink on a 10.3 system (Panther)

* First install Apple's X11 1.0 from the Panther CD, XCode from the XCode disk, and the X11SDK.pkg also from the Xcode cd.

* Is recommended bootstrapping from source, starting from fink-full-0.6.0.tar.gz available on fink's sourceforge download page.

* Since Fink version 0.15.0 or higher, you do not need to install system-xfree86 anymore. Fink is capable of automatically determining your system-xfree86 version if you don't already have any fink x11 packages installed. If you currently have an old system-xfree86 package of any kind installed, please run the following commands:

Code:
sudo dpkg -r --force-all system-xfree86 system-xfree86-42 system-xfree86-43; fink selfupdate; fink index

Last edited by sao; 10-28-2003 at 12:10 AM.
sao is offline  
Old 10-27-2003, 03:29 AM   #87
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
83- Upgrading your previous Fink installation.

If you installed Panther with the 'archive and install' method, and then installed Apple's X11 1.0 and the X11 SDK, be sure to install XCode from the XCode disk before upgrading Fink.

Then, running "fink selfupdate" should perform the upgrade for you. The latest version of the fink package manager will automatically detect which version of OS X and which version of gcc you have installed, and will adjust itself accordingly.
sao is offline  
Old 10-27-2003, 03:31 AM   #88
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
84- "Check for circular dependencies" error.

When you run 'fink selfupdate' you might get the following error:
Code:
The following 17 packages will be installed or updated:
  apt apt-shlibs bzip2 bzip2-dev bzip2-shlibs debianutils dpkg gettext
  gettext-bin gettext-dev libiconv libiconv-bin libiconv-dev ncurses
  ncurses-dev ncurses-shlibs tar
The following additional package will be installed:
  fink-prebinding
Do you want to continue? [Y/n]
Failed: Problem resolving dependencies. Check for circular dependencies.
Some people have resolved this problem installing 'fink-prebinding' separately.

If you get the above error, try running:

'fink install fink-prebinding'

and then running:

'fink selfupdate' again.

If doing "fink install fink-prebinding" and then doing update-all again doesn't help, your only recourse is to start over with a bootstrap of 0.6.0 from source, or wait for the bindist which should be coming shortly.

Last edited by sao; 10-28-2003 at 04:17 AM.
sao is offline  
Old 10-27-2003, 03:37 AM   #89
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
85- Can't find the X11.app after installing Apple's X11 1.0 in Panther.

After the installation of Apple's X11 1.0 on Panther, you will find the X11.app in /Applications/Utilities/

(If you install the new X11 with Panther's "archive and install" method, it will not remove your old X11.app from /Applications)

Last edited by sao; 10-27-2003 at 03:58 AM.
sao is offline  
Old 10-27-2003, 03:39 AM   #90
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
86- Full screen mode in Apple's X11 1.0

Open X11 preferences, and in the Output section there is an option for enabling full screen mode. After enabling it, use the "Command+Option+A" keystroke to enter and leave full screen mode.
sao is offline  
Old 10-27-2003, 03:44 AM   #91
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
87- Cut and Paste if you don't use quartz-wm

If you're not using the quartz-wm, you should install autocutsel with Fink:

Merges two X11 cut buffers.
It provides a working cut and paste between Aqua and those X apps that only check one cut buffer. Usage Notes:

just write 'autocutsel &' in your ~/.xinitrc file.

Last edited by sao; 10-27-2003 at 11:05 AM.
sao is offline  
Old 10-27-2003, 03:46 AM   #92
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
88- Fink keep asking to install xfree86 after installing Apple's X11 1.0 in Panther.

Install the X11 SDK, which is on the Xcode CD (double click the X11SDK.pkg), and is not installed by default.

Also note that you do not need to install system-xfree86 anymore, fink is capable of figuring out your X11 version automatically in cases where you would have installed system-xfree86 previously.

If you still have an old system-xfree86 package installed, run the following commands:

Code:
sudo dpkg -r --force-all system-xfree86 system-xfree86-42 system-xfree86-43; \
fink selfupdate; fink index
sao is offline  
Old 10-28-2003, 03:21 AM   #93
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
89- I upgraded to Apple's X11 in Panther and now my window title bars are missing

You didn't upgrade X11 to version "X11 1.0 - XFree86 4.3.0" included with Panther. Apple's X11 for Mac OS X 10.3 is available as an optional installation when you install Mac OS X 10.3 (Panther), meaning that the Panther installer does not automatically install Apple's X11 1.0.

You can install it from the X11User.pkg file on the Mac OS X Install Disc 3 CD.
sao is offline  
Old 10-28-2003, 04:33 AM   #94
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
90- To remove your Fink xfree86 packages and install Apple's X11 1.0

Code:
sudo dpkg -r --force-depends xfree86-rootless xfree86-rootless-shlibs xfree86-base xfree86-base-shlibs
sudo rm -rf /usr/X11R6 /etc/X11 /Applications/XDarwin.app
Then install Apple's X11 1.0 (including the X11 SDK from the XCode CD).

You don't need to install system-xfree86 anymore. It's automatically generated if fink detects a valid x11 install.
sao is offline  
Old 10-28-2003, 05:05 AM   #95
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
91- Apple's X11 1.0 in Panther and CodeTek VirtualDesktop

You can use it by making Virtual Desktop put all X11 windows in a single desktop. Exposé also works fine.

Posted at the x11-users list by Matthew S. Klahn, (CodeTek developer) :
Quote:
"Hi, everyone; friendly neighborhood CodeTek developer here. We are currently working on CodeTek VirtualDesktop 3.0, which we plan to include full X11 support, regardless of X11 implementation used (i.e. XDarwin, OroborOSX, Apple X11, etc.). We have decided that this was a bigger issue that just Apple X11/CTVD compatibility, and that we will need to work with X11 windows themselves, and thus support all X11 implementations. We are working on this feature now, and hope to have a public beta available by the end of the year for people to test this out. This is one of the top two requests for us, and we realize how important it is for our users.

In the meantime, we have worked with Adrian Umpleby of OroborOSX to get both of our apps working together, and compatibility between OroborOSX and CTVD is very good. I realize that choice is good, but since we don't have the information and API for X11 manipulation in the 2.x version of CTVD, and adding it will take re-engineering the product to a great extent, we cannot provide a fix for this by ourselves in the 2.x product. I hope that everyone understands, and that this information helps. Please let us know if you have any questions; I do monitor this mailing list, but did manage to miss this message. I will pay close attention to my digest messages, though, and shouldn't miss any futher mails".
----
Matthew S. Klahn
Software Architect, CodeTek Studios, Inc.
http://www.codetek.com


Last edited by sao; 10-29-2003 at 12:56 AM.
sao is offline  
Old 10-29-2003, 01:15 AM   #96
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
92- "The State of Fink"

This is important information for all fink-users, please read carefully and follow what's necessary to do for your system.

The following was posted by Benjamin Reed (Fink Project Leader) at the fink-users list, on Oct 24th :

http://news.gmane.org/thread.php?gr...le.fink.general

Quote:
In some parts of the world, Panther is already out, so I wanted to give
an update on where things are. A more formal announcement will come
when we're ready for a "real" release.

How This Will Work
------------------

First of all, unlike the transition from 10.1 -> 10.2, we will continue
to support the previous Mac OS X release. It may not be updated as
quickly as the 10.3 tree, but we now at least have the resources in
place to make it reasonable to support both. It would be nice to have
volunteers from the community to help "backport" 10.3 changes, but that
is something that will probably have to be worked out later. If you're
interested, drop a line to fink-core <at> lists.sourceforge.net.

The Transition to GCC 3.3
-------------------------

HOWEVER, to ease keeping things in sync between 10.2 and 10.3, our
continued support for 10.2 will *only* be if you are using the gcc 3.3
update, since the differences between gcc3.1 and 3.3 are reasonably
large as far as how porting happens.

If you've been following the fink-devel list, you know that for the past
few months we've been working on a tree dubbed "10.2-gcc3.3", which
currently contains most of the packages in the 10.2 tree, updated to
work with the new compiler. Even now more packages are getting moved
over each day, and tools have now been written to make it easier to
track changes between the different development trees.

The 10.2-gcc3.3 tree is perfectly usable right now, although a little
incomplete in unstable. David R. Morrison is working incredibly hard to
finish putting together the first binary distribution for 10.2-gcc3.3,
and it is expected to be coming any day now.

The Transition to Panther
-------------------------

The initial target for Panther users will be for you to use the
10.2-gcc3.3 binary distribution. This tree is binary-compatible with
Panther and should provide a smooth upgrade path to the "real" 10.3 tree.

The 10.3 tree is currently based on a subset of 10.2-gcc3.3, and is,
like it's predecessor, continuously getting updated and is getting
closer to parity with the other trees as time goes on. There's still
plenty of work to do, but almost all of stable is there, and ready, and
developers are diligently getting packages moved over to the unstable tree.

What You Can Do
---------------

Please help us test the 10.2-gcc3.3 and 10.3 trees.

10.2:

If you're running 10.2, install the December developer tools if you
haven't already, and then install the August updater. You can get them
both at the Apple Developer Connection (http://developer.apple.com/).
It does require registration, but is free.

10.3:

If you're already running 10.3, be warned that if you installed fink's
X11 package (instead of a system-xfree86 package), you may need to
force-remove them, and then re-install Apple's X11 (make sure you also
install the X11 SDK from the developer tools!)

Everyone:

Download the 0.15.1 beta of fink here:

http://prdownloads.sourceforge.net/...tar.gz?download

...and follow the instructions for the rsync upgrade (which are good
general instructions for upgrading your fink package manager to the beta):

http://fink.sourceforge.net/download/rsync-upgrade.php

The beta will set you up for 10.2-gcc3.3 or 10.3, depending on what OS
version you are running.

*Please* keep in mind that you shouldn't use apt-get or dselect to
install things until we have a binary distribution (or if you do, make
sure you do "fink update-all" afterwards so that any 10.2-gcc3.3 fixes
or upgrades get built and installed). Once the 10.2-gcc3.3 bindist is
ready, we will make an announcement and it will be safe to use binary
tools again.

Also keep in mind that for now, 10.2-gcc3.3 and 10.3 are still
considered "beta". Expect the occasional problem. Generally, things
are working pretty well, though.

We'll let you know as soon as something official is available.

sao is offline  
Old 10-30-2003, 12:34 AM   #97
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
93- Fink "Circular Dependency Problem" Solved

Posted by Benjamin Reed at the fink-users list:

http://article.gmane.org/gmane.os.ap....general/10265

"fink-prebinding was "Essential" in the bootstrap, but not in the actual fink package tree. Since essential packages depended on a non-essential package that wasn't installed yet, fink got confused and gave up, since essential packages must always be installed first.

This is fixed in all trees, and a "fink selfupdate" should solve circular dependency issues if you have been unable to upgrade".

Note:
Make sure, before you run 'fink selfupdate' , that you are using cvs or rsync to get the latest package descriptions. (you shouldn't have your selfupdate settings to "point release", check in /sw/etc/fink.conf the "SelfUpdateMethod:" should be set to cvs or rsync)

Last edited by sao; 10-31-2003 at 12:47 PM.
sao is offline  
Old 11-03-2003, 11:30 AM   #98
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
94- Official Apple's X11 1.0 FAQ

http://developer.apple.com/qa/qa2001/qa1232.html
sao is offline  
Old 11-05-2003, 02:45 PM   #99
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
95- Is it possible to run Apple's X11 logging in as ">console" ?

X11 for Mac OS X cannot be run without the window server.

If you log in as ">console" it stops the Quartz Window Server which is required for Apple's X11 to operate on MacOS X.
sao is offline  
Old 11-10-2003, 09:38 AM   #100
sao
Moderator
 
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
96- To make Terminal.app and X11 boot in csh?

You'll need to change your default shell. Assuming you want tcsh (the default shell for Jaguar) all you really need to do is issue the 'chpass' command in a terminal window, the NetInfo database will be updated to reflect the change:

chpass -s /bin/tcsh

The 'chpass' command doesn't work prior to 10.3. But, it does work in 10.3.
sao is offline  
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 06:08 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.