UnixWare 7.1.4/UnixWare 7.1.3 Update Pack 4 Build Notes for Open Source Source Code Distributions ------------------------------------------------------------------------------------- I. List of Open Source Packages for UnixWare 7.1.4/UnixWare 7.1.3 Update Pack 4 Listed below are the source code distributions of the the open source packages that were included as part of the UnixWare 7.1.4 and UnixWare 7.1.3 Update Pack 4 products. Source Code Package Description ------------------------------------------------------------------------------------- apache_1.3.29.src.tar.gz Apache Web Server Version 1.3.29 db-4.1.25.src.tar.gz db - Berkeley DB library for open source OpenLDAP software suite: Version 4.1 ntp-4.1.1.src.tar.gz Network Time Protocol openldap-2.1.22.src.tar.gz Open Source OpenLDAP software suite Version 2.1.22 openssl-0.9.src.tar.gz OpenSSL - Secure Sockets Layer / TLS cryptography toolkit: Version 0.9.7c OpenSSL Documentation source included perl5.005_03.src.tar.gz Perl - Practical Extraction and Report Language postgresql-7.4.2-src.cpio PostgreSQL Database Management System : Version 7.4.2 Includes: pgsql-Database-HOWTO-html.tar.gz postgresql-7.4.2-pkg.tar.gz postgresql-7.4.2.tar.gz rxtx-1.4-8.src.tar.gz Java Communications API: Version 2.0 samba-3.0.src.tar.gz Samba - A Windows SMB/CIFS fileserver for UNIX: Version 3.0.0 Version 1.2.1 squid-2.4.STABLE7-src.tar.gz Squid Caching Proxy Server wu-ftpd-2.6.src.tar.gz WU-FTP SERVER, RELEASE 2.6.2 zlib-1.2.src.tar.gz zlib - General Purpose Data Compression Library: Common Unix Printing System (CUPS) related packages: ------------------------------------------------------------------------------ cups-1.1.19.src.tar.gz CUPS - Common Unix Printing System: Version 1.1.19-01 CUPS Development Environment Version 1.1.19 CUPS Documentation: Version 1.1.19 espgs-7.05.6.src.tar.gz ESP Ghostscript - PostScript/PDF Interpreter and Renderer: Version 7.05.6 foomatic-filters-ppds.src.tar.gz Foomatic Filters and PPDs: Version 3.0.0-01 gimp-print-4.2.5.src.tar.gz Gimp-print Printer Drivers Version 4.2.5 hpijs-1.5.src.tar.gz HP Inkjet Printer Driver Version 1.5 jpeg-6b.src.tar.gz JPEG Libraries and Utilities: Version 6b libpng-1.2.5.src.tar.gz PNG (Portable Network Graphics) Library: Version 1.2.5 tiff-3.5.7.src.tar.gz TIFF Library and Utilities: Version 3.5.7 Mozilla related packages: ------------------------------------------------------------------------------ gtk.src.tar.gz GTK 1.2: Version 1.2.10 glib.src.tar.gz glib 1.2: Version 1.2.10 libIDL.src.tar.gz libIDL 0.6.8: Version 0.6.8 mozilla.src.tag.gz Mozilla 1.2.1b zip-2.3.src.tar.gz zip - compression and file packaging utility SCOx(R) Web Services related packages: ------------------------------------------------------------------------------ scox.src.tar.gz SCOx build, configuration and packaging scripts curl-7.10.3.src.tar.gz curl - cURL - a client that groks URLs, Version 7.10.3-2 gsoap-2.2.3.src.tar.gz SOAP Toolkit for C/C++ httpd-2.0.49.src.tar.gz apache2 - "Apache Web Server" package jakarta-tomcat-4.1.30.src.tar.gz Apache Tomcat App Server for Java servlets, JSP, web services jakarta2-tomcat-conn.src.tar.gz Apache Tomcat connectors, Version 2.0.4 javasoap 1.0 Apache Axis SOAP Web Services and Apache Xerces-J XML Parser language_demos.tar.gz SCOx web services demos in 5 languages modjk2.image: "mod_jk2 for Apache" package: Version 2.0.4 mod_perl-1.99_13.src.tar.gz mod_perl for Apache pearpkgs.tar.gz pearsoap package pearsoap-0.7.3a.src.tar.gz SOAP Toolkit for PHP perl-5.8.3.src.tar.gz "The Perl Programming Language" package: Version 5.8.3 perlmods.src.tar.gz Additional Modules for Perl php-4.3.5.src.tar.gz "PHP: Hypertext Preprocessor" package: Version 4.3.5 soaplite-0.60a.src.tar.gz "SOAP and XML for Perl" package: Version 0.60a xerces-1.4.4.src.tar.gz XML Java parser xml-axis-1.0.src.tar.gz Web Services - Axis Note that these open source packages all hold exactly the baseline open source given by its version number. In general, the build script supplied will apply a patch file to modify the source, build scripts, and/or makefiles to permit building in a cross environment whose host looks very much like the target cross architecture. ----------------------------------------------------------------------------- II. Required Software These open source archives were built using the UnixWare C/C++ compilers that are included in the Unixware/OpenServer Development Kit (UDK). The openssh, openssl, samba, w-ftpd and zlib packages were built using the UDK make command while glib, gtk, libIDL and mozilla were built using the GNU make command that is distributed with the Open Source Toolkit (OSTools). Further, mozilla-1.2.1b requires the compiler enhancements that were included in the UnixWare 7.1.3 Update Service Pack and in UnixWare 7.1.4. You must have at least the following packages from the UDK CD-ROM installed (package name in parentheses): C Compiler/make (uccs) C++ Compiler (ucplus) - Needed for mozilla GNU make (GNUmake) - Required to build glib, gtk, libIDL, mozilla and other open source packages. In addition, UnixWare 7.1.3 Update Pack 2 (uw713up2) is needed for mozilla. If package creation is desired, install off of the UDK CD-ROM: UnixWare Software Packaging Tools (usoftint) To uncompress the gzip source archives, you should also install a version of the gzip package. To build Mozilla 1.2.1b, requires zip, version 2.3 or later, which has been included in this directory for your convenience as. zip-2.3.src.tar ---------------------------------------------------------------------------- III. Software Notes and Build Instructions For the most part, each of the open source source code distributions include the necessary scripts and/or instructions required to build the corresponding binary package. Some additional notes are provided as follows: 1. The openssh, openssl, samba, wu-ftpd and zlib packages were built using the uccs package's compilers and make command. The remaining packages were built using the UnixWare C compiler and the GNU make command. 2. The zlib and openssl packages must be built before openssh. 3. In order to build mozilla-1.2.1, glib-1.2.10, gtk+-1.2.10 and libIDL-0.6.8 must all be built and installed on your system. 4. To extract the source, change to the directory containing the source files and type: # gunzip the .src.tar.gz # tar -xf .src.tar 5. The glib-1.2.10.src.tar.gz, gtk-1.2.10.src.tar.gz, libIDL-0.6.8.src.tar.gz, mozilla-1.2.1-src.tar.gz and zip-2.3.src.tar.gz files each contain a README.txt file which includes complete build instructions. 6. The build instructions for each of openssh-3.6p2, openssl-0.9.7b, samba-2.2.8a, wu-ftpd-2.6.2, and zlib-1.1.4 are as follows, where should be substituted by each of these package's name: # cd Run the .sh build script with the following environment variables set as appropriate: ROOT="the top-level install directory" MACH="the target architecture, i386at for example" WORK=work AR="ar command" AS="as command" CC="cc command" CPLUS="CC command" LD="ld command" MAKE="make command" STRIP="strip command" INS="simple install shell script" ARFLAGS="ar command flags" ASFLAGS="as command flags" CFLAGS="cc/CC command flags" LDFLAGS="ld command flags" where INS is expected to be a Bourne shell script invoked as: # sh $INS which is intended to copy the source to the target and attempts to set the target file mode and ownership as apecified by the arguments. Typically, the target pathname is somewhere under the directory given by $ROOT/$MACH/ 7. To build perl, change to the directory containing the source and type the following: export LD_LIBRARY_PATH=`pwd` sh ./Configure -des \ -Dmyhostname=localhost \ -Dperladmin=root@localhost \ -Dcf_by='SCO' \ -Dprefix=/opt \ -Darchname=i386-unixware-thread-multi \ -Dusemymalloc=n \ -Dusethreads -Duseithreads \ -Dpager='/usr/bin/pg' \ -Dlibs='-lsocket -lnsl -ldl -lld -lm -lcrypt -lutil' \ -Dosname='unixware' \ -Adefine:osname='unixware' make make test make install 8. Version 5.8.0 or higher of perl is required to build mod_perl-2.0. To build mod-perl, uncompress and unwind the source tarfile, change to the source directory and type: perl Makefile.PL MP_APXS=/opt/apache2/bin/apxs make && make test make install 9. The build instructions for Apache produce both multi-threaded and fork/exec versions of the server. After uncompressing and unwinding the source, change to the source directory and type: export CC=cc export LDFLAGS="-O2 -Kpthread -Wl,-Bexport" export CFLAGS="-Kpthread -O2" mkdir -p WORKER PREFORK cd WORKER ../configure --prefix=/opt/apache2 --with-mpm=worker --enable-ssl --with-ssl \ --enable-cache --enable-disk-cache --enable-mem-cache --enable-deflate \ --enable-cgid --enable-proxy --enable-proxy-connect --enable-proxy-http \ --enable-proxy-ftp --with-devrandom --enable-mods-shared=all make make install mv /opt/apache2/bin/httpd /opt/apache2/bin/httpd.worker cd ../PREFORK ../configure --prefix=/opt/apache2 --with-mpm=prefork --enable-ssl --with-ssl \ --enable-cache --enable-disk-cache --enable-mem-cache --enable-deflate \ --enable-cgid --enable-proxy --enable-proxy-connect --enable-proxy-http \ --enable-proxy-ftp --with-devrandom --enable-mods-shared=all make cp .libs/httpd /opt/apache2/bin/httpd.prefork ln -s /opt/apache2/bin/httpd.worker /opt/apache2/bin/httpd 10. In addition to the source code distributions included with SCOx, the following open source binary packages are included in, and required to build, the scox-enb and scox-uw sets: expat.pkg Expat - fast, non-validating, stream-oriented XML parsing library, Version 1.95.1 gzip.pkg gzip - GNU file compression utilities, Version 1.2.4 libxml2.pkg libxml2 - XML parser library, Version 2.4.16 mysql.pkg MySQL - SQL database server, Version 3.23.49 unzip.pkg unzip - list, test and extract compressed files in a ZIP archive, Version 5.50 urwfonts.pkg (URW)++ Free X11 Fonts Version 2.0 wget.pkg wget - command-line url retriever, Version 1.5.3 zlib.pkg General Purpose Data Compression Library, Version 1.2.1 These packages can be downloaded from: ftp://ftp2.caldera.com/pub/skunkware/uw7/Packages/ The source code is available at: ftp://ftp2.sco.com/pub/skunkware/src/ Other binary packages that are needed to build the scox-enb/scox-uw sets are: openssl OpenSSL - Secure Sockets Layer / TLS cryptography toolkit apache Apache Web Server urwfonts (URW)++ Free X11 Fonts Version 2.0 j2jre142 J2SE Runtime Environment 1.4.2 And are available in the UnixWare 7.1.4 media kit or on the SCO download page at: http://www.thescogroup.com/support/update/download/uw713list.html