Installing Xfig on OS X Tiger
[Note: if you *already* have fink and Xfig 3.2.4 installed, and need 3.2.5alpha to run, I have compiled this using this transfig Imakefile, and this xfig Imakefile.]
First, you will need to install Apple's X11 off of the install DVD. This works well, and was the easiest way we could find to get Gimp working using gimp.app. Next, install the the Mac OS X Developer tools. Finally, install Fink. We used distribution 0.8.0 of Fink. After installing Fink, you can go to a shell and install xfig:
usr-4s-ibook-g4:~ usr4$ fink install xfig
Information about 1761 packages read in 0 seconds.
fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:
(1) ghostscript-fonts: Standard fonts for Ghostscript
(2) system-ghostscript: Placeholder package for manually installed
ghostscript
(3) system-ghostscript8: Placeholder package for manually installed
ghostscript 8.13
Pick one: [1]
The following package will be installed or updated:
xfig
The following 14 additional packages will be installed:
app-defaults ghostscript-fonts libjpeg-bin libjpeg-shlibs libpng3-shlibs
libtiff-bin libtiff-shlibs netpbm-bin netpbm10-shlibs transfig type1inst
x-ghostscript-fonts xaw3d-shlibs xfontpath
Do you want to continue? [Y/n] y
/sw/bin/apt-get -q --ignore-breakage --download-only install
app-defaults=20010814-12
Reading Package Lists...
Building Dependency Tree...
The following NEW packages will be installed:
app-defaults
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1626B of archives. After unpacking 12.3kB will be used.
Get:1 http://bindist.finkmirrors.net 10.4-transitional/release/main
app-defaults 20010814-12 [1626B]
Fetched 1626B in 0s (2203B/s)
Download complete and in download only mode
/sw/bin/apt-get -q --ignore-breakage --download-only install
ghostscript-fonts=6.0-3
Reading Package Lists...
.
.
.
dpkg -i /sw/var/cache/apt/archives/xfig_3.2.4-4_darwin-powerpc.deb
Selecting previously deselected package xfig.
(Reading database ... 5038 files and directories currently installed.)
Unpacking xfig (from .../xfig_3.2.4-4_darwin-powerpc.deb) ...
Setting up xfig (3.2.4-4) ...
usr-4s-ibook-g4:~ usr4$
|
Now, if you just try and run Xfig from a regular terminal, it will fail:
usr-4s-ibook-g4:~ usr4$ xfig
Error: Can't open display:
usr-4s-ibook-g4:~ usr4$
|
You need to run it from within an xterm session within X11:
Click on the picture for more details about the drawing of the 8048 development system and the .fig file.
|
|