diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/README.unixware | 201 | ||||
-rw-r--r-- | system/doc/installation_guide/Makefile | 12 | ||||
-rw-r--r-- | system/doc/installation_guide/install.xml | 23 | ||||
-rw-r--r-- | system/doc/top/src/erl_html_tools.erl | 2 | ||||
-rw-r--r-- | system/doc/top/src/otp_man_index.erl | 2 |
5 files changed, 30 insertions, 210 deletions
diff --git a/system/README.unixware b/system/README.unixware deleted file mode 100644 index b9f9433723..0000000000 --- a/system/README.unixware +++ /dev/null @@ -1,201 +0,0 @@ - -OTP R4B b1 UnixWare Release Notes ------------------------------------- - -Kent Boortz - -This is an *unsupported* release of OTP to UnixWare 2.1.2. -In fact, it should not be considered a release or a product at all, -it is a demo what a real release could look like. - -Questions should be directed directly to - - Kent Boortz - -Changes or problems: - - * There is no documentation as part of this release. - Use the R5B documentation that comes with the - Solaris release. - - * To run older graphical tools based on 'pxw' like - 'xerl' and 'interpreter' you have to add - "/usr/X/lib" to your LD_LIBRARY_PATH. - - * The OTP test cases looks reasonable well considering the - short time I had to do the port. The tests of the base - system gives equal results than on Solaris. There are - some problems with the 'ic' application (CORBA) and there - may be some 'mnesia' problems (the tests where not completed - when I wrote this note) - - * OTP normally try to handle IP host name lookups - by itself, parsing /etc/hosts and other configuration - files. This is done because the normal calls like - gethostbyname() is blocking. In this UnixWare port - the normal gethostbyname() is used and if a reply - from the name server takes some time this may block - the OTP system from doing other tasks (it may be the - case that it doesn't block the whole system, it may - just keep other Erlang processes that do DNS lookups - waiting, I'm not sure). - - * The erl_interface library support varios types of threading - This is not supported in the OTP UnixWare release. - - * If you use gcc you compile and link dynamic drivers with - - gcc -fPIC -c foo.c - ld -G -t text -o foo.so foo.o - - With the UnixWare C compiler I belive it will be - - gcc -KPIC -c foo.c - ld -G -t text -o foo.so foo.o - - * The default shell limits was a problem when I was running - some large tests. These limits can be changed by building - a new kernel. To enable unlimited use of virtual memory - and data you do as root - - % /etc/conf/bin/idtune SDATLIM 0x7FFFFFFF - % /etc/conf/bin/idtune HDATLIM 0x7FFFFFFF - % /etc/conf/bin/idtune SVMMLIM 0x7FFFFFFF - % /etc/conf/bin/idtune HVMMLIM 0x7FFFFFFF - % /etc/conf/bin/idbuild - - When you reboot a new kernel will be built. - - * I didn't give the system enough swap space. You can add - swap on an ordinary file. To add about 100 MB more swap - you do as root - - % dd < /dev/zero > /moreswap bs=512 count=200000 - % swap -a /moreswap 0 200000 - - The first line will create a 100 MB file on the root partition - and the second line will add this file as swap space. Note that - the "swap" command is a bit buggy and may hang. Reboot UnixWare - and try again. - -Internel notes on build the release - - * If the network addresses are changed you enter single user - mode by hitting a key after the "Booting UnixWare..." and - the beep. At the prompt - - BOOT# Hit return only to clear line - BOOT# INITSTATE=S - BOOT# go - - This will put you into single user mode. Find out ip address, - default router and DNS server. At the shell prompt - - # /usr/local/bin/tcsh - # setenv TERM vt100 - # cd /etc - # vi resolv.conf - < edit and save with :x! > - # cd /etc/inet - # vi hosts - < edit and save with :x! > - # vi config - < edit and save with :x! > - # cd / - # shutdown now - - Now it should be possible to restart in single user mode. - It may still have long timeouts because the NIS information - is wrong. As root you do - - # ypinit -c - - and type in "arda" as NIS domain and "gandalf.du.uab.ericsson.se" - as NIS server. - - * Prebuilding the release. Create a view with the -ncaexported option. - See "http://otp/product/internal/test/doc/howto/export_view.html". - Build a solaris release (optionally using a boostrap compiler) - - # cd /clearcase/otp/erts/autoconf; cm -V; cd .. - # cm -V opt EMULATOR=jam BUILD_ALL=1 >& LOG.1 - - * Create the directories for mount points and mount the view on - the UnixWare machine. - - # mkdir -p /clearcase/otp; cd /clearcase/otp - # mkdir erts internal_tools libraries system tools - - Use s script like - - #!/bin/sh - HOST=$1 - VIEW=$2 - MOUNT=$HOST:/view/$VIEW/clearcase/otp - - mount -F nfs $MOUNT/erts $DIR/erts - mount -F nfs $MOUNT/libraries $DIR/libraries - mount -F nfs $MOUNT/tools $DIR/tools - mount -F nfs $MOUNT/internal_tools $DIR/internal_tools - mount -F nfs $MOUNT/system $DIR/system - - to mount the ClearCase VOBs. - - * Building the - * Building the - - "/usr/X/lib" to your LD_LIBRARY_PATH. - - Had to patch the file - - /usr/local/lib/g++-include/_G_config.h - - not to define _G_HAVE_SYS_CDEFS 1 - - Problems with pxw yacc - - yacc -dv -b i386-univel-sysv4.2MP/y parse.y - UX:yacc: ERROR: Illegal option -- b - UX:yacc: TO FIX: Usage: yacc [-wvVdlt] [-Q(y/n)] [-p driver_file] file - gmake[6]: *** [i386-univel-sysv4.2MP/y.tab.c] Error 1 - - Create some symbolic links (until got compiled libs for UnixWare) - - # cd crypt/src/ssleay - # ln -s elibcrypto.so.i386-pc-solaris2.5.1 elibcrypto.so.i386-univel-sysv4.2MP - # cd ssl/src/ssleay - # ln -s i386-pc-solaris2.5.1 i386-univel-sysv4.2MP - - Run - - # ntpdate super.du.uab.ericsson.se - - now and then to set the time on the machine. - - - Disabled HAVE_MULTICAST_SUPPORT from "drv/inet_drv.c", should be set in configure - - UnixWare want two arguments to 'ln' - - SkunkWare gcc, ln, tar, ..... required, make sure PATH points out them first - - The emulator has to be linked with "gcc -r -Wl,-Bexport " to be linkable - with dynamic libraries. - - Tcl/Tk was compiled from - - tcl7.6p2plus.tar.gz - tk4.2p2plus.tar.gz - - and the make-files where changed, see - - (not needed it seems, if not using gcc at least) - - - VILL HA "-ly -ll" BARA PA PXW ??????? - - You can view the limits of the Unix processes in - - /etc/conf/mtune.d/proc - diff --git a/system/doc/installation_guide/Makefile b/system/doc/installation_guide/Makefile index ec60105ae0..53a02a1edf 100644 --- a/system/doc/installation_guide/Makefile +++ b/system/doc/installation_guide/Makefile @@ -54,10 +54,12 @@ XML_FILES = \ $(XML_PART_FILES) # ---------------------------------------------------- -# Readme for X-compiling +# Install readme files # ---------------------------------------------------- -XCOMP_README_FILE = $(ERL_TOP)/xcomp/README.md -README_FILE = $(ERL_TOP)/README +INSTALL_READMES = \ + $(ERL_TOP)/INSTALL.html \ + $(ERL_TOP)/INSTALL-CROSS.html \ + $(ERL_TOP)/INSTALL-WIN32.html # ---------------------------------------------------- @@ -98,10 +100,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk release_docs_spec: docs $(INSTALL_DIR) $(RELSYSDIR) - $(INSTALL_DATA) $(README_FILE) $(GIF_FILES) $(HTMLDIR)/*.html \ + $(INSTALL_DATA) $(INSTALL_READMES) $(GIF_FILES) $(HTMLDIR)/*.html \ $(RELSYSDIR) - $(INSTALL_DIR) $(RELSYSDIR)/xcomp - $(INSTALL_DATA) $(XCOMP_README_FILE) $(RELSYSDIR)/xcomp release_spec: diff --git a/system/doc/installation_guide/install.xml b/system/doc/installation_guide/install.xml index 2e37ff35e9..027b3c49a0 100644 --- a/system/doc/installation_guide/install.xml +++ b/system/doc/installation_guide/install.xml @@ -4,7 +4,7 @@ <chapter> <header> <copyright> - <year>2000</year><year>2009</year> + <year>2000</year><year>2010</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> @@ -13,12 +13,12 @@ compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. - + Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. - + </legalnotice> <title>Installation</title> @@ -33,6 +33,23 @@ </header> <section> + <title>Source</title> + <p>This document describes installation procedures for + binary releases. Documentation of the build and installation + procedures for the source release can be found in the source + tree at the following locations:</p> + <taglist> + <tag>Building and Installing Erlang/OTP</tag> + <item><url href="INSTALL.html"><c>$ERL_TOP/INSTALL.md</c></url></item> + <tag>Cross Compiling Erlang/OTP</tag> + <item><url href="INSTALL-CROSS.html"><c>$ERL_TOP/INSTALL-CROSS.md</c></url></item> + <tag>How to Build Erlang/OTP on Windows</tag> + <item><url href="INSTALL-WIN32.html"><c>$ERL_TOP/INSTALL-WIN32.md</c></url></item> + </taglist> + <p>Where <c>$ERL_TOP</c> is the top directory in the source tree.</p> + </section> + + <section> <title>UNIX</title> <section> diff --git a/system/doc/top/src/erl_html_tools.erl b/system/doc/top/src/erl_html_tools.erl index 8a5c744128..c920245f94 100644 --- a/system/doc/top/src/erl_html_tools.erl +++ b/system/doc/top/src/erl_html_tools.erl @@ -212,6 +212,8 @@ get_app_dirs(Dir) -> lists:map(fun(File) -> {File, filename:join([Dir, File])} end, Files), lists:zf(fun is_app_with_doc/1, AFiles). +is_app_with_doc({"." ++ ADir, _APath}) -> + false; is_app_with_doc({ADir, APath}) -> case file:read_file_info(filename:join([APath, "info"])) of {ok, _FileInfo} -> diff --git a/system/doc/top/src/otp_man_index.erl b/system/doc/top/src/otp_man_index.erl index 78ecd8b954..0fdc531b37 100644 --- a/system/doc/top/src/otp_man_index.erl +++ b/system/doc/top/src/otp_man_index.erl @@ -117,6 +117,8 @@ get_app_dirs(Dir) -> lists:map(fun(File) -> {File, filename:join([Dir, File])} end, Files), lists:zf(fun is_app_with_doc/1, AFiles). +is_app_with_doc({"." ++ ADir, _APath}) -> + false; is_app_with_doc({ADir, APath}) -> case file:read_file_info(filename:join([APath, "info"])) of {ok, _FileInfo} -> |