This article is from the MachTen &
CodeBuilder FAQ, by Jaime Julca firstname.lastname@example.org with numerous
contributions by others.
58 h. Why do I get a message like "can't run ld on NFS filesystem" when Itry to run executables on NFS disks? How can I fix this?
Because of the way MachTen runs them, you can't execute or link binaries
over NFS or any other file-sharing system that isn't AppleShare. This is
because we take advantage of the Code Fragment Manager in System 7. The
upside is that our executables occupy less RAM when running and can
dynamically allocate the RAM that they use. The downside is that you can't
link or execute binaries over non-AppleTalk networks. As a workaround, the
following script should help you.
# Currently, MachTen running on PowerMacs can only execute programs
# located on Mac volumes (type ufs). If this is the case, just go do
# it. Otherwise, make a temporary copy of the program (presumably
# from NFS) in /tmp, run it from there, and clean up afterwards.
statfs $1 | grep -q ' ufs '
if [ $? -eq 0 ]; then
FN=$1 ; shift
cp -p $FN $TN && $TN "$@"
rm -f $TN
G5.i. What must I do to automatically start my installed version of Apache
when MachTen is run?
You'll need to edit two files -- one is the /etc/rc file. Change the line
that says '/usr/libexec/httpd' to '/usr/local/etc/httpd'. Then, change the
/etc/rc.conf file so that START_httpd = "yes". That should do it.
G5.j. How can I access Apache under MachTen from Netscape on the same
First start Apache using the <httpd> command. Then you can access it with
Netscape at the following URL <http://localhost> or <http://127.0.0.1>
G5.k. Where can I get Netscape's Enterprise Server for MachTen?
There is no version of Netscape's Enterprise Server available for MachTen.
They only target some UNIX systems. We do have the Apache server available
on our ftp site, but the Enterprise server has some more features.
G5.l. Why can't I use MacPPP or FreePPP to set up my serial IP connection
when MachTen is running?
The IP layer within the MachTen BSD protocol stack does not provide an
interface to MacPPP or FreePPP, forcing the use of MachTen's PPP. The
OpenTransport interface to MachTen available with CU1 for Power MachTen
allows the use of MacPPP, MacSLIP and other transport protocols while
MachTen is running.
G5.m. What /dev/ttyxx setting should I use for an internal modem?
You will have to use the Communications Toolbox.