[jdev] Default Installation

Dave Jarvis djarvis at invoqsystems.com
Wed Mar 24 16:38:51 CST 2004


Hi,

Here's what I have:

Linux host 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 
i386 GNU/Linux

Here's what I did:

# rpm -ivh MySQL-server-4.0.18-0.i386.rpm

# cd /usr/local/src/jabberd-2.0s2

# ./configure --prefix=/usr/local

Here's what happened:

checking for MySQL in the standard places... no
checking for MySQL in /usr/include/mysql and /usr/lib... no
checking for MySQL in /usr/local... no
checking for MySQL in /usr/include/mysql and /usr/lib/mysql... no
checking for MySQL in /usr/local/include/mysql and 
/usr/local/lib/mysql... no
checking for MySQL in /usr/local/include/mysql and /usr/local/lib... no
checking for MySQL in /sw/include/mysql and /sw/lib... no
configure: error: Could not find MySQL

Looks to me like:

1. The RPM supplied from a MySQL mirror doesn't know where its standard 
installation place is located
2. The Jabber configuration script doesn't know where the default 
location is for a standard RPM
3. I need to read more documentation.  ;-)

Is there a *SIMPLE* piece of documentation which shows how to install 
Jabber, step-by-step, command-by-command, using MySQL on a fresh OS 
install of a Linux OS?  I'm not looking for big tables showing me 
feature sets, I don't want to have to create accounts (after all, if I 
run the configuration script under root, it'd have the privs to do so 
for me).  All I want to know is what to type for a basic installation.

Even if it's just:

1) Download MySQL 4.0 (or greater) from MySQL.org in .tar.gz format into
/usr/local/src
2) cd /usr/local/src
3) gunzip MySQL*.tar.gz
4) tar xf MySQL*.tar
5) cd mysql*
6) ./configure --prefix=/usr/local
7) make && make install
8) cd /usr/local/src
9) Download Jabber 2.0 (or greater) into /usr/local/src
10) gunzip jabber*.tar.gz
11) tar xf jabber*.tar
12) cd jabber*
13) ./configure --prefix=/usr/local
14) make && make install
15) jabberd

This is like the 80/20 solution -- it's not much work to list 15 lines 
of text to type, but if it'll get 80% of the people up and running 
within 15 minutes of downloading, then perhaps it's worth posting such 
simple instructions at the top of the documentation's installation section?

Now I'm about to try the above, which will be my fourth attempt at 
installing Jabber 2 on an RedHat Enterprise Linux system.  If it doesn't 
work, where should I go for more information?

Thanks!

Dave
-- 
Invoq Systems Inc.
t. 250.380.0304
e. djarvis at invoqsystems.com
w. http://www.invoqsystems.com



More information about the JDev mailing list