Re: [PHP4BETA] Php4b3 RC3 / Informix problems
| From: | Sascha Schumann | Date: | Wed, 10 Nov 1999 09:16:19 +0000 |
| Subject: | Re: [PHP4BETA] Php4b3 RC3 / Informix problems | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-6101@lists.php.net to get a copy of this message | ||
On Wed, Nov 10, 1999 at 09:46:46AM +0200, Database Administrator wrote:
> After some tweaking php and apache and informix finally
> compiles.
Ok, thanks for the feedback.
For the Informix users: Please apply the attached patch, run
buildconf, and let me know whether the Informix extensions
compiles cleanly.
It addresses both issues Database Administrator raised.
--
Regards,
Sascha Schumann
Consultant
Index: Makefile.am =================================================================== RCS file: /repository/php4/ext/informix/Makefile.am,v retrieving revision 1.6 diff -u -r1.6 Makefile.am --- Makefile.am 1999/10/10 17:12:22 1.6 +++ Makefile.am 1999/11/10 09:12:51 @@ -6,7 +6,6 @@ libifx_a_SOURCES=stub.c libifx_a_LIBADD=@IFX_OBJS@ libphpext_informix_la_SOURCES=ifx.c -libphpext_informix_la_LIBADD=@IFX_LIBS@ CLEANFILES = ifx.c Index: config.m4 =================================================================== RCS file: /repository/php4/ext/informix/config.m4,v retrieving revision 1.5 diff -u -r1.5 config.m4 --- config.m4 1999/10/11 16:54:40 1.5 +++ config.m4 1999/11/10 09:12:51 @@ -72,12 +72,13 @@ case "$i" in *.o) IFX_OBJS="$IFX_OBJS $i" - IFX_LIBADD="$IFX_LIBADD -Lext/informix -lifx";; + IFX_LIBADD="$IFX_LIBADD -L$abs_builddir/ext/informix -lifx";; *) IFX_LIBADD="$IFX_LIBADD $i";; esac done IFX_LIBS="$IFX_LFLAGS $IFX_LIBADD" + LIBS="$LIBS $IFX_LIBS" INCLUDES="$INCLUDES $IFX_INCLUDE" fi else @@ -88,7 +89,6 @@ AC_MSG_RESULT(no) ]) AC_SUBST(INFORMIXDIR) -AC_SUBST(IFX_LIBS) AC_SUBST(IFX_OBJS) divert(5)
Index: Makefile.am =================================================================== RCS file: /repository/php4/ext/informix/Makefile.am,v retrieving revision 1.6 diff -u -r1.6 Makefile.am --- Makefile.am 1999/10/10 17:12:22 1.6 +++ Makefile.am 1999/11/10 09:12:51 @@ -6,7 +6,6 @@ libifx_a_SOURCES=stub.c libifx_a_LIBADD=@IFX_OBJS@ libphpext_informix_la_SOURCES=ifx.c -libphpext_informix_la_LIBADD=@IFX_LIBS@ CLEANFILES = ifx.c Index: config.m4 =================================================================== RCS file: /repository/php4/ext/informix/config.m4,v retrieving revision 1.5 diff -u -r1.5 config.m4 --- config.m4 1999/10/11 16:54:40 1.5 +++ config.m4 1999/11/10 09:12:51 @@ -72,12 +72,13 @@ case "$i" in *.o) IFX_OBJS="$IFX_OBJS $i" - IFX_LIBADD="$IFX_LIBADD -Lext/informix -lifx";; + IFX_LIBADD="$IFX_LIBADD -L$abs_builddir/ext/informix -lifx";; *) IFX_LIBADD="$IFX_LIBADD $i";; esac done IFX_LIBS="$IFX_LFLAGS $IFX_LIBADD" + LIBS="$LIBS $IFX_LIBS" INCLUDES="$INCLUDES $IFX_INCLUDE" fi else @@ -88,7 +89,6 @@ AC_MSG_RESULT(no) ]) AC_SUBST(INFORMIXDIR) -AC_SUBST(IFX_LIBS) AC_SUBST(IFX_OBJS) divert(5)