Emiliano wrote:

> Vincent Stoessel wrote:
> 
> 
>>>>I also had the same problem on a newer redhat 7.1 server as well
>>>>using the midgard cvs version with php 4.0.6 and apache 1.3.20
>>>>
>>>>
>>>Does anyone have a redhat server I can log in to that exhibits this
>>>problem? I don't have redhat systems myself.
>>>
> 
> OK, I just went in and fixed it for that server. Looks like phpize is
> doing something weird with AC_ADD_LIBRARY.
> 
> The attached patch fixes the problem. Once I'm back at my home machine
> I'll try it on my debian machine; It'd be greatly appreciated if
> others could test it on their system before I check it in.
> 
> Emile
> 
> 
> ------------------------------------------------------------------------
> 
> --- config.m4 Tue Sep  4 12:17:31 2001
> +++ ../php4-huh/config.m4     Mon Sep 10 15:37:32 2001
> @@ -27,10 +27,10 @@
>  
>  if test "$PHP_MIDGARD" != "no"; then
>    if test "$PHP_MIDGARD" != "yes"; then
> -    AC_ADD_LIBRARY_WITH_PATH(midgard, "$PHP_MIDGARD/lib", MIDGARD_SHARED_LIBADD)
> -    AC_ADD_INCLUDE("$PHP_MIDGARD/include")
> +    PHP_ADD_LIBRARY_WITH_PATH(midgard, "$PHP_MIDGARD/lib", MIDGARD_SHARED_LIBADD)
> +    PHP_ADD_INCLUDE("$PHP_MIDGARD/include")
>    else
> -    AC_ADD_LIBRARY(midgard)
> +    PHP_ADD_LIBRARY(midgard)
>      MIDGARD_SHARED_LIBADD="-lmidgard"
>    fi
>  
> @@ -40,7 +40,7 @@
>      AC_MSG_ERROR(apxs not found.)
>    fi
>    APACHE_INCLUDES=`$APXS -q INCLUDEDIR`
> -  AC_ADD_INCLUDE($APACHE_INCLUDES)
> +  PHP_ADD_INCLUDE($APACHE_INCLUDES)
>    
>    AC_PATH_PROG(MIDGARDCONFIG, midgard-config)
>    if test "$MIDGARDCONFIG" = "" ; then
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Ok, got apache started , but when I hit a "midgard page" I get the 
following error


PHP Fatal error:  Call to undefined function:  mgd_eval() in 
/usr/local/apache/libexec/midgard-root.php on line 18



-- 
Vincent Stoessel [EMAIL PROTECTED]
Java Linux Apache Mysql Php (JLAMP) Engineer
(301) 362-1750 Mobile (410) 419-8588


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to