Running the Configure Server
Examining the contents of the jabber-1.4.1 directory, we see the following files:
configure (the configuration script)
jabber.xml (the server configuration file)
Makefile (for compiling the Jabber server)
README (some basic instructions)
UPGRADE (information on upgrading from an earlier server version)
as well as a number of directories that contain the source code.
The first step is to run the configure script:
yak:~/jabber-1.4.1$ ./configure
to determine your platform’s compiler settings.
If you want SSL support in the Jabber server, run the script with the
--enable-ssl switch:
yak:~/jabber-1.4.1$ ./configure --enable-ssl
If you specified the --enable-ssl switch, the
configure script looks for your SSL installation
and adds the
appropriate compiler flags. If it doesn’t find your SSL installation, it
says so and your Jabber server is compiled without
SSL support.
Next, it will try to determine whether you have pth installed and if so will use the pth-config command to glean the extra compiler options for building the Jabber server. pth is required, so if it isn’t already installed, it will be set up within your current jabber-1.4.1 directory tree (as pth is included in the jabber-1.4.1.tar.gz tarball) and the appropriate compiler options added.
If pth is set up during the course of
running configure, you may see a message:
"Now please type 'make' to compile. Good luck.“,
which comes at the end of the pth configure procedure; you can ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access