[doc] NSTALL document and wvHtml installation.

M Z Rahman zrahman@partex.net
Tue, 9 Oct 2001 09:14:57 +0000


Okay, here are the other documentation fix for the Horde INSTALL document:

1. In the PHP Extentions header mcrypt link:

mcrypt - http://mcrypt.hellug.gr/

2. Mcrypt installation:

mcrypt
------

Note: get the Libmcrypt library (libmcrypt-2.4.17.tar.gz)from
ftp://mcrypt.hellug.gr/pub/mcrypt/libmcrypt, not the Mcrypt.

"cd to the directory containing your source files: cd..

Untar the libmcrypt source: tar -zxvf libmcrypt*

"cd" to the libmcrypt directory: cd libmcrypt*

Type the following:

./configure
make
make install


3. While configuring PHP4 from the CVS, if the libtool version is less then 1.4
then it will generate an error. A note can specified in the PHP4 installation
section, mentioning to install the latest libtool (at least, libtool-1.4.2).

-----this can be added-----
Note: if you have older than version 1.4 of libtool then, please upgrade the
libtool before you can proceed to configuring PHP4. Libtool can be grabbed from
http://www.gnu.org/software/libtool/libtool.html. After installing thelibtool,
besure copy the "ltconfig" file to your PHP4 src directory from
/usr/share/libtool (if you installed libtool with default settings) directory.
PHP4 complains about the "ltconfig" file if it is not in the current directory.
----Note finishes here-----

4. With the mcrypt configured and installed, the confugre command for PHP4 will be:

./configure --with-zlib --with-mm --with-mysql=/usr/local/mysql \
--with-mcal=../libmcal --with-ldap --with-imap=../imap \
--with-gettext --enable-ftp --with-db3=/usr/local/BerkeleyDB.3.1 \
--with-apache=../apache --with-mcrypt=../libmcrypt-1.4.2 

5. PHP4 CVS version has a broken line in the configure script at 59514. So,
while configuring it just gives an error and gets out. It is nothing but a echo
line, and can be avoided by just putting a remark "#" in from of the line and
the lines following. The note is specified below: (by the way, this is not a
solutions, this is just a quick hack to get the PHP4 work for horde)

----Note for broken line----
Note: if configure script exits giving a error message "./configure: syntax
error near unexpected token `_LT_AC_TRY_DLOPEN_SELF('" then you can aplly the
following diff or you can just comment out the line 59514 to line 59521. 

Diff for the config file:
59514,59521c59514,59521
< _LT_AC_TRY_DLOPEN_SELF(
<   AC_MSG_RESULT(no)
< ,
<   AC_MSG_RESULT(yes)
<   AC_DEFINE(DLSYM_NEEDS_UNDERSCORE, 1, [Define if dlsym() requires a
leading underscode in symbol names. ])
< ,
<   AC_MSG_RESULT(no)
< , )
---
> #_LT_AC_TRY_DLOPEN_SELF(
> #  AC_MSG_RESULT(no)
> #,
> #  AC_MSG_RESULT(yes)
> #  AC_DEFINE(DLSYM_NEEDS_UNDERSCORE, 1, [Define if dlsym() requires a
leading underscode in symbol names. ])
> #,
> #  AC_MSG_RESULT(no)
> #, )

-----Note finishs here-----


6. After installing the mod_ssl, while configuring apache, the ./configure
command should be the following for the ssl support as indicated by the mod_ssl
installation:

EAPI_MM=/usr/local \
SSL_BASE=../openssl-<your version> \
--activate-module=src/modules/php4/libphp4.a \
--enable-module=ssl (Leave this line and SSL_BASE line out is you are NOT
installing mod_ssl)



Thats all I could think of so far. If I remember more, I will post it
immediately. By the way, I am preparing the turba INSTALL documentation also, I
hate to see it empty. :) (My turba still is not working, I am stuck at the login
screen problem :)

Regards,

Zia


Quoting Jon Parise <jon@horde.org>:

> On Sun, Oct 07, 2001 at 02:57:35PM +0600, M Z Rahman wrote:
> 
> > I can give more suggestions on the INSTALL document which might help others
> to
> > install it properly. Like the document does not at all talk about the
> mcrypt
> > installation, where as the test.php shows a RED "NO" about mcrypt, which
> is
> > really eye-catching :)
>  
> Go for it. =)
> 
> -- 
> Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
> http://www.csh.rit.edu/~jon/  :  Computer Science House Member
> 
> -- 
> Doc mailing list: http://docs.horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: doc-unsubscribe@lists.horde.org
>