On Mon, Jan 25, 1999, [EMAIL PROTECTED] wrote:
> Full_Name: Eric Boulogne
> Version: 2.1.8-1.3.4
> OS: AIX 4.2
> Submission from: felix.adpcl.com (194.98.137.100)
>
> As your suggestion in PR#91, I have downloaded mod_ssl-2.1.8-1.3.4.
> The following problem occurs when I try to install it.
> Can you help me please. Thanks.
>
> Configuring mod_ssl/2.1.8 for Apache/1.3.4
> + Apache location: ../apache_1.3.4 (Version 1.3.4)
> + SSLeay location: ../SSLeay-0.9.0b
> + Auxiliary patch tool: ./etc/patch/patch (local)...
> ./configure:Error: Building of 'patch' tool failed:
> -------------------------------------------------
> creating config.h
> xlc -c -DHAVE_CONFIG_H -I. backupfile.c
> "/usr/include/string.h", line 223: 1506-213 (S) Macro name index cannot be
> redefined.
> "/usr/include/string.h", line 223: 1506-358 (I) "index" is defined on line 24 of
> config.h.
> "/usr/include/string.h", line 224: 1506-213 (S) Macro name rindex cannot be
> redefined.
> "/usr/include/string.h", line 224: 1506-358 (I) "rindex" is defined on line 25
> of config.h.
> make: 1254-004 The error code from the last command is 1.
>
> Stop.
> -------------------------------------------------
> Hint: Either try to build 'patch' under etc/patch/
> Hint: manually and re-run this 'configure' script
> Hint: or provide us the path to your vendor 'patch'
> Hint: program via the --with-patch=FILE option (but
> Hint: expect perhaps failures when applying patches!)
Oh oh oh, AIX is really the most horrible Unix derivative...
The redefinition of `index' in patch's config.h is not
really needed, because I've already hacked this out
in the past. So, all you have to do is to remove
the redefinition in etc/patch/config.h:
:> diff -u3 config.h.in x
--- config.h.in Wed Aug 5 14:39:15 1998
+++ x Mon Jan 25 12:44:36 1999
@@ -19,11 +19,6 @@
and strrchr instead of rindex. */
#undef HAVE_STRING_H
-#if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
-#define index strchr
-#define rindex strrchr
-#endif
-
/* Define if the system has unistd.h. */
#undef HAVE_UNISTD_H
An easy workaround for you is to just specify --with-patch=/path/to/patch in
the meantime.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]