Planet MVS MVSintosh :: MVS and Macintosh x3270 installation on Mac OS X |
x3270 installation |
Click on the X11 icon in the Utilities folder inside the Applications folder. That will start an xterm window. Enter the following commands in xterm:
Change to your download directory:
cd ~/Downloads
Uncompress the zipped TAR file:
tar -xvzf x3270-3.3.4p8.tgz
You will now have a directory called x3270-3.3 in that ~/Downloads/ directory, so change to it:
cd x3270-3.3
Start following the instructions from the x3270 build page:
./configure
This may not happen to you On my system it got this error message (maybe because X11 isn't installed correctly):
configure: error: 'Cannot find xmkmf'
I was able to fix this for my current session by issuing this command:I think if X11 is installed right, you won't get this xmkmf error. I do the Configure again:PATH=/usr/X11R6/bin:${PATH}; export PATH
This time the configure ended with no errors./configure
Continuing with the commands from the x3270 page:
make depend
I got a bunch of errors which I ignored! I hope I don't need dependancies whatever that is...
Enter the next command:
make
make ended with no errors...
Change to the download directory:
cd ~/Downloads/x3270-3.3
Initial test of x3270 to ensure it got built correctly:
./dryrun hostname
I checked out various parts of x3270 and it looks good and now I exit x3270.
make install
I got this error: install: /usr/X11R6/bin/x3270: Permission denied
So I install using root:
sudo make install
I get prompted for my Mac password and it now looks to have installed correctly.
Ensure that I will find x3270 from the regular Unix search path:
cd /
Then enter this command to fix the fonts (only needed this one time):
xset fp rehash
Now x3270 is ready for use, invoke x3270:
x3270 hostname | IP address