Next step: Download and unpack the Foswiki distributionUp: Overview
Installing Foswiki: verify system requirements
Verify installed packages
Check that the following packages are already installed, by running
pkginfo
and looking for the following lines:
-
SMCliconv libiconv
-
SMClintl libintl
-
SMClgcc346 libgcc
(or gcc346)
Install required Perl modules
The steps differ from
HowToInstallCpanModules, since we need to use gnu make, perlgcc and set a special path for the module installation.
Download the following Perl modules:
- Digest-SHA1-2.11.tar.gz (only needed for authentication)
- HTML-Parser-3.60.tar.gz
- HTML-Tagset-3.20.tar.gz
Unpack the perl modules as usual. Compile these with the following commands:
PERL5LIB=$PERL5LIB:/path/to/foswikiApp/perlmodules
export PERL5LIB
PATH=$PATH:/usr/sfw/bin
cd HTML-Parser-3.60
/usr/perl5/bin/perlgcc Makefile.PL LIB=/path/to/foswikiApp/perlmodules
/usr/sfw/bin/gmake MAKE=/usr/sfw/bin/gmake
cd ..
cd HTML-Tagset-3.20
/usr/perl5/bin/perlgcc Makefile.PL LIB=/path/to/foswikiApp/perlmodules
/usr/sfw/bin/gmake MAKE=/usr/sfw/bin/gmake
Install the needed modules as root. Go into the base dir of your compile, and from there execute the following commands:
umask 022
PERL5LIB=$PERL5LIB:/path/to/foswikiApp/perlmodules
export PERL5LIB
cd HTML-Parser-3.60
/usr/sfw/bin/gmake MAKE=/usr/sfw/bin/gmake install
cd ..
cd HTML-Tagset-3.20
/usr/sfw/bin/gmake MAKE=/usr/sfw/bin/gmake install
The
umask 022
is just to make sure the files will be accessible by any user. Some sites like to have this as
027
or even
077
to prevent files being installed as world-readable.
Install required utilities
Download the following packages from
http://sunfreeware.com/ packages:
- Solaris Sparc:
- diffutils-2.8.7-sol10-sparc-local.gz
- rcs-5.7-sol10-sparc-local.gz
- Solaris X86:
Install the packages according to the instructions on
http://sunfreeware.com/. The steps are similar to the following:
gunzip diffutils-2.8.7-sol10-sparc-local.gz
gunzip rcs-5.7-sol10-sparc-local.gz
pkgadd -d diffutils-2.8.7-sol10-sparc-local
pkgadd -d rcs-5.7-sol10-sparc-local
Now check if
diff
actually works:
/usr/local/bin/diff --version
should give you the version number and not complain about missing libraries.
Additional setup
Link grep to /usr/sfw/bin.
-
mkdir -m 755 /path/to/foswikiApp/bin; cd /path/to/foswikiApp/bin
-
ln -s /usr/sfw/bin/ggrep grep
Next step: Download and unpack the Foswiki distributionUp: Overview
- Set IGVariant = Solaris10