old-www/HOWTO/Caudium-HOWTO/freebsd.html

442 lines
8.5 KiB
HTML

<HTML
><HEAD
><TITLE
>How to get packages for FreeBSD</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="Caudium HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Getting packages"
HREF="gettingpackages.html"><LINK
REL="PREVIOUS"
TITLE="How to get packages for Debian GNU/Linux"
HREF="debian.html"><LINK
REL="NEXT"
TITLE="How to get packages for Solaris"
HREF="solaris.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Caudium HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="debian.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 3. Getting packages</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="solaris.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="freebsd">3.2. How to get packages for FreeBSD</H1
><P
>&#13; Caudium 1.0 and Pike 7.0 are in the official FreeBSD ports. There are
also available as a binary package in the FreeBSD 4.7 CDROMs.
</P
><DIV
CLASS="note"
><P
></P
><TABLE
CLASS="note"
WIDTH="100%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>&#13; Caudium 1.2 and Pike 7.2 are available as ports tarballs at
<A
HREF="ftp://ftp.oav.net/pkg_freebsd/ports.tar.gz"
TARGET="_top"
>ftp://ftp.oav.net/pkg_freebsd/ports.tar.gz</A
>.
If you take the latest ports from this site use the following command:
</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
><TT
CLASS="computeroutput"
>&#13;$ cd /tmp
$ fetch ftp://ftp.oav.net/pkg_freebsd/ports.tar.gz
Receiving ports.tar.gz (32468 bytes): 100%
32468 bytes transferred in 0.6 seconds (53.87 kBps)
$ su -
# cd /usr/
# tar xzf /tmp/ports.tar.gz
</TT
></PRE
></FONT
></TD
></TR
></TABLE
><P
>&#13; Another note, since Caudium and Pike have been added recently to FreeBSD
port tree, you must have an up to date port tree.
See the FreeBSD handbook at <A
HREF="http://www.freebsd.org/handbook/cvsup.html"
TARGET="_top"
>http://www.freebsd.org/handbook/cvsup.html</A
>
about cvsup handling.
</P
></TD
></TR
></TABLE
></DIV
><P
>&#13; As root, go to <TT
CLASS="filename"
>/usr/ports/www/caudium10</TT
> to install
current stable version, <TT
CLASS="filename"
>/usr/ports/www/caudium12</TT
> to
install the next stable version in Release Candidate process, or
<TT
CLASS="filename"
>/usr/ports/www/caudium-dev</TT
> to install the current
developer's version. The script will automatically fetch and install Pike, try to detect what
library you've installed and compile all the necessary libs for Caudium and Pike.
</P
><P
>&#13; Here is the current Pike / Caudium options supported by the current port :
<P
></P
><UL
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_MOST</TT
> : Install the FreeType1 and FreeType2 support.
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_OPTIMIZED_CFLAGS</TT
> : Add some performance flags to the compiler.
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_TTF</TT
> : Install the FreeType1 support.
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_FREETYPE</TT
> : Install the FreeType2 support.
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_MYSQL</TT
> : Install the MySQL support.
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_POSTGRES</TT
> : Install the PostgreSQL support.
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_MSQL</TT
> : Install mSQL support.
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_UNIXODBC</TT
> : Install UnixODBC support (incompatible option with <TT
CLASS="constant"
>WITH_IODBC</TT
>).
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_IODBC</TT
> : Install iODBC support (incompatible option with <TT
CLASS="constant"
>WITH_UNIXODBC</TT
>).
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_SANE</TT
> : Install SANE backend.
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_PDF</TT
> : Install PDF support
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>WITH_MESA</TT
>/<TT
CLASS="constant"
>HAVE_MESA</TT
> : Install MesaGL support.
</P
></LI
><LI
><P
>&#13; <TT
CLASS="constant"
>HAVE_GNOME</TT
>/<TT
CLASS="constant"
>WANT_GNOME</TT
> : Install GNOME support.
</P
></LI
></UL
>
There are some options related only to Pike, like the GNOME / Mesa ones that are uninteresting
to Caudium, but exist for Pike support.
</P
><P
>&#13; A little example on how to install Caudium on FreeBSD :
<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
><TT
CLASS="computeroutput"
>&#13;# cd /usr/ports/www/caudium12
# make WITH_MOST=yes WITH_MYSQL=yes WITH_OPTIMIZED_CFLAGS=yes install clean
===&#62; Extracting for caudium-1.2.6
&#62;&#62; Checksum OK for caudium-1.2.6.tar.gz.
===&#62; caudium-1.2.6 depends on executable: pike - found
===&#62; caudium-1.2.6 depends on executable: gmake - found
===&#62; caudium-1.2.6 depends on shared library: sablot.67 - found
[...]
===&#62; Generating temporary packing list
***************************************************************
If this is the first installation of Caudium, please go the
caudium's directory and execute the server/install script
to finish the Caudium installation.
If your are upgrading, just start caudium as usual.
NOTE: there is an automatic starting script in etc/rc.d/
***************************************************************
===&#62; Registering installation for caudium-1.2.6
===&#62; SECURITY NOTE:
This port has installed the following startup scripts which may cause
network services to be started at boot time.
/usr/local/etc/rc.d/caudium.sh.sample
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
http://caudium.net/
===&#62; Cleaning for libiconv-1.7_5
===&#62; Cleaning for gdbm-1.8.0
===&#62; Cleaning for mird-1.0.7
===&#62; Cleaning for mysql-client-3.23.49
===&#62; Cleaning for autoconf-2.53
===&#62; Cleaning for autoconf213-2.13.000227_1
===&#62; Cleaning for automake14-1.4.5
===&#62; Cleaning for bison-1.35_1
===&#62; Cleaning for gettext-0.11.1_3
===&#62; Cleaning for gmake-3.79.1_1
===&#62; Cleaning for libtool-1.3.4_3
===&#62; Cleaning for m4-1.4_1
===&#62; Cleaning for nasm-0.98,1
===&#62; Cleaning for jpeg-6b_1
===&#62; Cleaning for tiff-3.5.7
===&#62; Cleaning for pexts-20020121
===&#62; Cleaning for pike72cvs-7.2.356_5
===&#62; Cleaning for libgmp-4.0.1
===&#62; Cleaning for freetype-1.3.1_2
===&#62; Cleaning for freetype2-2.0.9
===&#62; Cleaning for libmcrypt-2.5.0
===&#62; Cleaning for mhash-0.8.14
===&#62; Cleaning for expat-1.95.2
===&#62; Cleaning for Sablot-0.81_1
===&#62; Cleaning for caudium-1.2.6
#
</TT
></PRE
></FONT
></TD
></TR
></TABLE
>
Now if you need to install PHP4 support for Caudium, just go to <TT
CLASS="filename"
>/usr/ports/www/caudium_php4</TT
> and do a make install clean as well.
</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="debian.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="solaris.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>How to get packages for Debian GNU/Linux</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="gettingpackages.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>How to get packages for Solaris</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>