Subject: 4.01: How do I find sources?
From: jik@GZA.COM (Jonathan Kamens)
There is a newsgroup devoted to posting about how to get a certain
source, comp.sources.wanted. An archive of information about sources,
including FTP sites is available from
------------------------------
Subject: 4.02: Are there any ftp or WWW sites?
SMIT-installable precompiled packages of popular freeware for AIX 4.x at
. Download the ".exe" files with your WWW
browser. These are auto-uncompressing files, just like on PCs (it uses
similar technology to PKZIP). Mark the file as executable (chmod +x),
then execute it to generate a .bff file. The .bff file can then be
installed using "smit install_latest". For more information
read the INSTALL.txt file on the server.
There are mirrors of this site at http://www.bull.de/ and
http://ftp.univie.ac.at/aix/.
The package explicitly referenced below are ones Ciaran consideres
"solid." That is, the binary has been "tested by lots of people."
Bull provides many other freeware packages as well. If you use the
service, be sure and thank Ciaran and Bull.
Below are some ftp sites that are supposed to have RS/6000 specific
software. I haven't verified all the entries.
US sites:
European sites:
The first one is dedicated to software running on AIX. It might not
always be the latest versions of the software, but it has been ported
to AIX (normally AIX version 3 only). Please use the European sites
very sparingly. They are primarily to serve people in Europe and most
of the software can be found in the US sites originally.
The remaining sites are simply ones that archie indicated contained
AIX related materials.
------------------------------
Subject: 4.03: Why does "install"ing software I got from the net fail?
This answer was moved to section 2.22
------------------------------
Subject: 4.04: GNU Emacs
A prebuilt installp (smit) installable package is available from
.
If you get a segmentation fault in GNU EMACS 19.* during hilit19 use,
you can set locale to C (export LC_ALL=C) to get around the AIX bug.
Version 18.57 of GNU Emacs started to have RS/6000 support. Use
s-aix3-2.h for AIX 3.2. Emacs is going through rapid changes recently.
Current release is 19.x.
Emacs will core-dump if it is stripped, so don't strip when you install
it. You can edit a copy of the Makefile in src replacing all 'install -s'
with /usr/ucb/install.
------------------------------
Subject: 4.05: gcc/gdb
GNU C version 2.0 and later supports the RS/6000, and compiles straight
out of the box on AIX 3 and AIX 4.1 and 4.2. You may, however,
experience that compiling it requires large amounts of paging space.
On AIX 4.3, compiling gcc appears to be much more difficult due to
changes for the 64 bit environment. A precompiled gcc is available in
the form of egcs in the Bull archive at .
From: Ciaran Deignan
Note:
- there is a link problem on AIX 4.3. Until I find a way of building
a distribution on AIX 4.3, you'll have to use 'ld'.
- The package gnu.egcs-1.1.0.0.exe does not contain the C++ compiler
(G++). However since you can't link a G++ object file with 'ld',
this is just part of the same problem.
[Editor's note: from the latest postings it appears that the latest
(post 1.1b) egcs snapshots fixes the problem with collect2. The problem
here is that there are no binary distributions yet, one has to bootstrap
this version using IBM's C compiler.]
From: Brent Burkholder
In order to compile and link using egcs on AIX you first
need to download and apply fix APAR IX87327
from
Looking up the APAR # should allow you to download
bos.rte.bind_cmds.4.3.2.2 which fixes all problems.
------------------------------
Subject: 4.06: GNU Ghostscript
A prebuilt installp (smit) installable package is available from
.
The PostScript interpreter GNU Ghostscript Version 2.3 and later supports
the RS/6000 and can be found on various ftp sites. Current version is 2.6.1.
Compile time problems:
Compile idict.c and zstack.c _without_ optimization, add the following
to the Makefile:
idict.o: idict.c
$(CC) -c idict.c
zstack.o: zstack.c
$(CC) -c zstack.c
Run time problems:
Running ghostview-1.5 with ghostscript-2.6.1, I get
gs: Malformed ghostview color property.
Solution: replace buggy version of ghostscript-2.6.1 X11 driver
with at least 2.6.1pl4
------------------------------
Subject: 4.07: TeX - Document processing
From: "Patrick TJ McPhee"
TeX can be retrieved via ftp from the comprehensive TeX archive
network (CTAN). The principle sites are
ftp.tex.ac.uk (UK)
ftp.dante.de (Deutschland)
ftp.tug.org (USA)
but there are many mirrors. finger ctan@ftp.tex.ac.uk for a list.
------------------------------
Subject: 4.08: Perl - Scripting language
A prebuilt installp (smit) installable package is available from
.
If you want the source code, is good place
to start.
As of AIX 4.3.3, perl is packaged with AIX but not supported.
------------------------------
Subject: 4.09: X-Windows
AIX 4.x ships with X11R5 and Motif 1.2.
On AIX 3.2 the base version has X11R4 and Motif 1.1 and the extended
version has X11R5 as AIXwindows 1.2.3. See question 1.500 for more
information about determining your revision.
AIXwindows version 1.2.0 (X11rte 1.2.0) is X11R4 with Motif 1.1
AIXwindows version 1.2.3 (X11rte 1.2.3) is X11R5 with Motif 1.1
'lslpp -h X11rte.motif1.2.obj' should tell you if you are
running Motif 1.2.
------------------------------
Subject: 4.10: Bash - /bin/ksh alternative from FSF
Bash is an alternative to ksh and is availible from prep.ai.mit.edu
and places that mirror the GNU software. /etc/security/login.cfg
needs to be modified if this will be used as a default shell.
A prebuilt installp (smit) installable package is available from
.
[Editor's note: bash's command line expansion and new
meta-expressions make it an absolute "must" for system
administrators]
------------------------------
Subject: 4.11: Elm
A very nice replacement for mail. Elm should be pretty straightforward,
the only thing to remember is to link with -lcurses as the only
curses/termlib library. You may also run into the problem listed under
point 2.13 above.
A prebuilt installp (smit) installable package is available from
.
------------------------------
Subject: 4.12: Oberon 2.2
From: afx@muc.ibm.de (Andreas Siegert)
Oberon is Wirth's follow on to Modula-2, but is not compatible. A free
version of Modula-3 is available from DEC/Olivetti at
gatekeeper.dec.com. This is not a Modula-2 replacement but a new
language. There are currently two M2 compilers for the 6000 that I
know of. One from Edinburgh Portable Compilers, +44 31 225 6262 (UK)
and the other from Gardens Point is availible through A+L in
Switzerland (+41 65 520311) or Real Time Associates in the UK
(info@rtal.demon.co.uk).
Oberon can be obtained via anonymous ftp from neptune.inf.ethz.ch
(129.132.101.33) under the directory Oberon/RS6000 or gatekeeper.dec.com
(16.1.0.2).
------------------------------
Subject: 4.13: Kermit - Communications
From: Frank da Cruz
Available for all versions of AIX on RS/6000, PowerPC, PS/2, RT PC,
and 370-Series mainframes. For complete information on Kermit software
for AIX and hundreds of other platforms, visit the Kermit Web site:
C-Kermit 6.0 was announced November 30, 1996:
The nonprofit Kermit Project is funded primarily by manual sales.
For C-Kermit 6.0 the manual is the new second edition of "Using C-Kermit":
For RS/6000 and PowerPC with AIX 3.x or 4.x:
(or .gz)
Uncompress, untar (tar xvf cku192.tar) then:
make rs6aix32c <-- For AIX 3.x
make rs6aix41c <-- For AIX 4.x
This produces an exutable called "wermit". Before installing, read the
instructions in ckuins.doc from the tar file.
If you don't have a C compiler, you can get binaries at:
Send questions to kermit-support@columbia.edu.
------------------------------
Subject: 4.14: Gnu dbm
From: doug@cc.ysu.edu (Doug Sewell)
Here's the fixes for RS/6000's:
apply this to testgdbm.c:
158c158
< char opt;
---
> int opt;
166c166
< while ((opt = getopt (argc, argv, "rn")) != -1)
---
> while ((opt = getopt (argc, argv, "rn")) != EOF)
Apply this to systems.h:
111a112,114
> #ifdef RS6000
> #pragma alloca
> #else
112a116
> #endif
To compile, edit the Makefile. Set CC to bsdcc (see /usr/lpp/bos/bsdport
if you don't have 'bsdcc' on your system) and set CFLAGS to -DRS6000 and
whatever options (-g, -O) you prefer. Don't define SYSV.
------------------------------
Subject: 4.15: tcsh - an alternative shell
From: cordes@athos.cs.ua.edu (David Cordes)
tcsh is available from
Compiles with no problems. You must edit /etc/security/login.cfg to
permit users to change to this shell (chsh), adding the path where the
shell is installed (in my case, /usr/local/bin/tcsh).
From: "A. Bryan Curnutt"
Under AIX 3.2.5, you need to modify the "config.h" file, changing
#define BSDSIGS
to
#undef BSDSIGS
------------------------------
Subject: 4.16: Kyoto Common Lisp
The sources are available from cli.com. The kcl package is the needed
base; also retrieve the latest akcl distribution. akcl provides a
front-end that "ports" the original kcl to a number of different
platforms. The port to the 6000 worked with no problems. However, you
must be root for make to work properly with some memory protection
routines.
------------------------------
Subject: 4.17: Tcl/Tk - X-Windows scripting
Current versions: Tcl 8.0b2 and Tk 8.0b2. They are available from
. The Tcl/Tk web page is at
.
Prebuilt installp (smit) installable packages for several versions of Tcl and
Tk are available from .
------------------------------
Subject: 4.18: Expect
From: Doug Sewell
To build the command-interpreter version, you must have the tcl library
built successfully. The expect library doesn't require tcl. Note:
Expect and its library are built with bsdcc, so applications using
the library probably also need to be developed with bsdcc.
I ftp'd expect from ftp.cme.nist.gov.
You need to change several lines in the makefile. First you need
to customize source and target directories and files:
#
TCLHDIR = /usr/include
TCLLIB = -ltcl
MANDIR = /usr/man/manl (local man-pages)
MANEXT = l
BINDIR = /u/local/bin
LIBDIR = /usr/lib
HDIR = /usr/include
...
Next set the compiler, switches, and configuration options:
#
CC = bsdcc
CFLAGS = -O
...
PTY_TYPE = bsd
...
INTERACT_TYPE = select
...
Then you need to make these changes about line 90 or so:
comment out CFLAGS = $(CLFLAGS)
un-comment these lines:
CFLAGS = $(CLFLAGS) $(CPPFLAGS)
LFLAGS = ($CLFLAGS)
Then run 'make'.
You can't run some of the examples without modification (host name,
etc). I don't remember if I ran all of them or not, but I ran enough
that I was satisfied it worked.
------------------------------
Subject: 4.19: Public domain software on CD
From: mbeckman@mbeckman.mbeckman.com (Mel Beckman)
The Prime Time Freeware CD collection is a package of two CD's and docs
containing over THREE GIGABYTES of compressed Unix software. It costs $69
>from Prime Time Freeware, 415-112 N. Mary Ave., Suite 50, Sunnyvale, CA
94086. Phone 408-738-4832 voice, 408-738-2050 fax. No internet orders as
far as I can tell.
I've extracted and compiled a number of the packages, and all have worked
flawlessly so far on my 220. Everything from programming languages to 3D
solid modeling is in this bonanza!
[Ed: The O'Reilly book, Unix Power Tools, also contains a CD-ROM with lots
of useful programs compiled for the RS/6000, among other platforms.]
------------------------------
Subject: 4.20: Andrew Toolkit
From: Gary Keim
The Andrew Toolkit Consortium of Carnegie Mellon University's School of
Computer Science has released new versions of the Andrew User
Environment, Andrew Toolkit, and Andrew Message System.
The Andrew User Environment (AUE) is an integrated set of applications
beginning with a 'generic object' editor, ez, a help system, a system
monitoring tool (console), an editor-based shell interface (typescript),
and support for printing multi-media documents.
The Andrew Toolkit (ATK) is a portable user-interface toolkit that runs
under X11. It provides a dynamically-loadable object-oriented
environment wherein objects can be embedded in one another. Thus, one
could edit text that, in addition to containing multiple fonts, contains
embedded raster images, spreadsheets, drawing editors, equations, simple
animations, etc. These embedded objects can also be nested.
The Andrew Message System (AMS) provides a multi-media interface to mail
and bulletin-boards. AMS supports several mail management strategies
and implements many advanced features including authentication, return
receipts, automatic sorting of mail, vote collection and tabulation,
enclosures, audit trails of related messages, and subscription
management. It has interfaces that support ttys, personal computers,
and workstations.
Release 5.1 of Andrew contains many bug fixes and updates. There is now
support for the new Internet MIME (Multipurpose Internet Mail Extensions)
standards for multipart, and multimedia mail. For more information on
MIME, please see the CHANGES files in the ftp directory on
emsworth.andrew.cmu.edu.
This release can be obtained as follows. The sources are available via
anonymous ftp from export.lcs.mit.edu (18.30.0.238) in the
./contrib/andrew tree. For details, see ./contrib/andrew/README.
PATCH for AIX3.2: A patch to the AUIS 5.1 sources can be ftp'ed from
emsworth.andrew.cmu.edu (128.2.45.40) in ./aixpatch. For those without
internet access, a 3.5" diskette can be ordered for a nominal fee of $10
by sending, or faxing, a purchase order to the Consortium address below.
Andrew, as well as a variety of other CMU software, can also be ftp'ed
>from emsworth.andrew.cmu.edu (128.2.30.62). Those with AFS access look
at /afs/andrew.cmu.edu/itc/sm/releases/X.V11R5/ftp.
Remote Andrew Demo Service
This network service allows you to run Andrew Toolkit applications
without obtaining or compiling the Andrew software. You need a host
machine running X11 on the Internet. A simple "finger" command will let
you experience ATK applications firsthand. You'll be able to compose
multimedia documents, navigate through the interactive Andrew Tour, and
use the Andrew Message System to browse through CMU's three thousand
bulletin boards and newsgroups.
To use the Remote Andrew Demo service, run the following command:
finger help@atk.itc.cmu.edu
The service will give you further instructions.
Information Sources
Your bug reports are welcome; kindly send them to
info-andrew-bugs@andrew.cmu.edu and we will periodically post a status
report to the mailing list info-andrew@andrew.cmu.edu. To be added to
the mailing list or make other requests, send mail to
info-andrew-request@andrew.cmu.edu.
We also distribute the following related materials:
ATK and AMS sources and binaries on CDROM. Binaries are available
for the following system types:
IBM RiscSystem/6000
Sun SparcStation
HP 700 Series
DECstation
ATK and AMS sources on QIC and Iotamat tapes Hardcopies of the
documentation for ATK and AMS. Introductory video tape: Welcome to
Andrew: An Overview of the Andrew System. Technical video tape: The
Andrew Project: A Session at the Winter 1988 Usenix Conference.
More information about these materials is available from:
Information Requests
Andrew Toolkit Consortium
Carnegie Mellon University
4910 Forbes Avenue, UCC 214
Pittsburgh, PA 15213-3890
USA
phone: +1-412-268-6710
fax: +1-412-621-8081
info-andrew-request@andrew.cmu.edu
There is also a netnews distribution list, comp.soft-sys.andrew, which
is identical to the info-andrew list except that it does not support the
multi-media capabilities of info-andrew.
------------------------------
Subject: 4.21: sudo
Sudo (superuser do) allows a system administrator to give certain users (or
groups of users) the ability to run some (or all) commands as root while
logging all commands and arguments. Sudo operates on a per-command basis, it
is not a replacement for the shell.
The latest version of sudo is cu-sudo v1.5. There is a web page for sudo at
. The program
itself can be obtained from . Sudo's
author, Todd Miller < Todd.Miller@courtesan.com> reports that sudo works on
both AIX 3.2.X and 4.1.X.
------------------------------
Subject: 4.22: Flexfax/HylaFax and other fax software
From: Christian Zahl
Sam Leffler has released a new version of FlexFax called HylaFax. It
is availible from . There is a HlyaFax web
page at . Version V3.0pl1
supported many types of Class 1/2 fax modems and several UNIX systems
including AIX 3.2.3 or greater. There is also a fax modem review
document at the same site as . The FlexFax
related files on sgi.com are replicated on ftp.bsc.no as well.
From: michael@hal6000.thp.Uni-Duisburg.DE (Michael Staats)
We're using mgetty+sendfax for the basic modem I/O, I wrote a printer
backend for the modem so that users can send faxes as easy as they print
postscript. I also wrote a little X interface composer to generate a
fax form that makes sending faxes very easy. You can find these
programs at hal6000.thp.Uni-Duisburg.DE under /pub/source.
program comment
mgetty+sendfax-0.14.tar.gz basic modem I/O, needs hacking for AIX
X11/xform-1.1.tar.gz small and simple X interface composer
with an example fax form. Needs
libxview.a incl. headers.
faxiobe.tar.gz fax backend, needs configuring for
your local site
If you need a binary version of libxview.a and the headers you'll find
them under /pub/binaries/AIX-3-2/lxview.tar.gz.
------------------------------
Subject: 4.23: lsof - LiSt Open Files
From: abe@purdue.edu (Vic Abell)
Q. How can I determine the files that a process has opened?
Q. How can I locate the process that is using a specific network address?
Q. How can I locate the processes that have files open on a file system?
A. Use lsof (LiSt Open Files).
From: "Juan G. Ruiz Pinto"
Lsof is available via anonymous ftp from
(for the most current version). There are binary distributions in the
"binary" directory.
A prebuilt installp (smit) installable package is available from
. The installation scripts in this package
automatically creates a group "kmem" during the install
and uses "acledit" to allow the kmem group to read /dev/mem and /dev/kmem.
This configuration is recommended by Vic Abell , the
author of lsof.
------------------------------
Subject: 4.24: popper - POP3 mail daemon
The POP server is available via anonymous ftp from
ftp.qualcomm.com:/quest/unix/servers/popper
The makefile supports AIX
ftp.CC.Berkeley.EDU (128.32.136.9, 128.32.206.12).
There are two versions in the pub directory: a compressed tar file
popper-version.tar.Z and a Macintosh StuffIt archive in BinHex format
called MacPOP.sit.hqx.
Problems building some versions of popper can sometimes be resolved by
compiling with bsdcc or -D_BSD.
The pine 3.95 package on contains "plug
and play" support for both POP3 and IMAP mail reading protocols. You
can also get a compiled version of qpopper 2.2 there also.
------------------------------
Subject: 4.26: mpeg link errors version 2.0
From: Nathan Lane
.XShmCreateImage
.XShmDetach
.XShmAttach
.XShmGetEventBase
.XShmPutImage
.XShmQueryExtension
... are for the Shared Memory extension of the X server.
You can either choose to build it with shared memory or without. I
always do it without the performance increase is not really
incredible, except on something like a 2x0 machine with the local bus
graphics adapter. Just take out "DSH_MEM" in the CFLAGS in the
makefile for mpeg_play. There is more information about shared memory
link errors in section 1.513.
Also, in the module "video.c" for mpeg_play it will complain about not
having enough memory to fully optimize one of the loops. You can get
around that by specificying "qmaxmem=8000" in your cflags line, BUT,
the extra optimization does little good in my tests.
------------------------------
Subject: 4.27: NNTP, INN
Link errors compiling nntp may occur because your machine lacks the
"patch" command. Patch can be obtained from GNU repositories. See question
4.29 for more information on patch.
------------------------------
Subject: 4.28: Zmodem - File transfer
RZSZ is Chuck Forsberg's script for Z-modem. It is available by ftp at
or
directly from Forsberg at Omen Technology BBS at 503-621-3746.
Hints:
0. Build with "make posix"
1. Use an 8-bit clean version of rlogin or telnet (Note: below)
2. Set the system to be transparent, I use "terminal download"
3. Ensure hardware flow-control
Note, carlson@xylogics.com (James Carlson) suggests: Rlogin is
"slightly" unclean -- if an FF FF 73 73 appears in the datastream, it
can be ripped out by rlogind as a 'window size change' request.
[Ed note: The important part is using an 8-bit clean application,
since there are several implemenations of rlogin and telnet availible
you may need to try both and hunt down manuals to find the right flags
for your system]
------------------------------
Subject: 4.29: Patch - automated file updates
AIX 3.2.5 does not ship with patch, a utility to apply the differences
between two files to make them identical. This tool is often used to
update source code.
------------------------------
Subject: 4.30: XNTP - network time protocol, synchronizes clocks
From: Joerg Schumacher
AIX 4: xntpd in bos.net.tcp.client
source: ftp://ftp.udel.edu/pub/ntp/
WWW: http://www.eecis.udel.edu/~ntp/
------------------------------
Subject: 4.31: GNU Screen and AIX 4.1.x
Once again, binaries can be had from .
------------------------------
Subject: 4.32: SCSI scanner software
There is the SANE project that strives to deliver an open source scanner
solution for Unix:
------------------------------
Subject: 4.33: Pager/Paging software
There is information on Paging, Paging programs and listing of the
Archive sites to download at the web site:
.
HylaFAX (see 4.22) supports sending messages to alphanumeric pagers.
Commercially there is: AlphaPage(r) MD2001 from Information Radio
Technology, Inc. in Cleveland, OH.
------------------------------
Subject: 4.34: JAVA Development Kit
From: Curt Finch
------------------------------
Subject: 4.35: Sendmail
If you want to use SRC to start and stop BSD sendmail, do the following
after installing it:
chssys -s sendmail -S -n 15 -f 9 -a -d99.100
This tells SRC that sendmail may be stopped with signals 15 and 9. It also
arranges for sendmail not to daemonize itself, since it will run under SRC.
------------------------------