The download worked but I think maybe I'm applying the patch incorrectly.

patch -p 0 < midgard-php_3.0.15.patch

./configure --prefix=/usr \
        --with-apxs=/usr/sbin/apxs \
        --with-config-file-path=/etc/httpd \
        --enable-safe-mode \
        --with-exec-dir=/usr/bin \
        --with-midgard=/www/midgard \
        --with-xml \
        --with-mysql \
        --with-pgsql \
        --with-imap \
        --with-ldap \
        --with-ftp \
        --with-versioning \
        --with-x \
        --with-mod-dav=/usr/lib/apache \
        --with-system-regex \
        --disable-debug \
        --with-zlib \
        --enable-debugger \
        --enable-magic-quotes \
        --enable-short-tags \
        --enable-track-vars

Works fine.
make fails with the below error's

gcc -g -O2 -O2 -m486 -fno-strength-reduce -DLINUX=2 -DTARGET="httpsd" -DMOD_
SSL=204110 -DEAPI -DEAPI_MM -DUSE_EXPAT -I../lib/expat-lite -O2 -fpic -DSHAR
ED_MODULE  -I. -I.   -I/usr/include/apache -I/usr/lib/apache                
 -I/www/midgard/include  -I/usr/include/mysql -I/usr/local/pgsql/include -I/
usr/include/apache    -c functions/midgard.c -o functions/midgard.o
functions/midgard.c: In function `php3_midgard_include':
functions/midgard.c:90: warning: passing arg 1 of `mgd_format' from
incompatible pointer type
functions/midgard.c:90: warning: passing arg 2 of `mgd_format' from
incompatible pointer type
functions/midgard.c:108: warning: passing arg 1 of `mgd_format' from
incompatible pointer type
functions/midgard.c:108: warning: passing arg 2 of `mgd_format' from
incompatible pointer type
functions/midgard.c:111: warning: passing arg 1 of `mgd_format' from
incompatible pointer type
functions/midgard.c:111: warning: passing arg 2 of `mgd_format' from
incompatible pointer type
functions/midgard.c:114: warning: passing arg 1 of `mgd_format' from
incompatible pointer type
functions/midgard.c:114: warning: passing arg 2 of `mgd_format' from
incompatible pointer type
functions/midgard.c:117: warning: passing arg 1 of `mgd_format' from
incompatible pointer type
functions/midgard.c:117: warning: passing arg 2 of `mgd_format' from
incompatible pointer type
functions/midgard.c:120: warning: passing arg 1 of `mgd_format' from
incompatible pointer type
functions/midgard.c:120: warning: passing arg 2 of `mgd_format' from
incompatible pointer type
functions/midgard.c:123: warning: passing arg 1 of `mgd_format' from
incompatible pointer type
functions/midgard.c:123: warning: passing arg 2 of `mgd_format' from
incompatible pointer type
functions/midgard.c: In function `php_midgard_select':
functions/midgard.c:376: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php_midgard_get_by_name':
functions/midgard.c:498: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php_midgard_get_by_name2':
functions/midgard.c:520: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php_midgard_get_by_name_only':
functions/midgard.c:540: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php3_mgd_list_persons_in_department_all':
functions/midgard.c:683: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php3_mgd_is_in_topic_tree':
functions/midgard.c:1407: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php3_mgd_is_article_in_topic_tree':
functions/midgard.c:1430: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php3_mgd_list_topic_articles_all':
functions/midgard.c:1799: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php3_mgd_list_topic_articles_all_fast':
functions/midgard.c:1852: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function
`php3_mgd_list_topic_articles_all_of_person':
functions/midgard.c:1879: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php3_mgd_list_topic_calendar_all':
functions/midgard.c:1959: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php3_mgd_list_topic_calendar_all_fast':
functions/midgard.c:2050: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php3_mgd_is_in_page_tree':
functions/midgard.c:2753: warning: assignment makes pointer from integer
without a cast
functions/midgard.c: In function `php3_mgd_create_mail':
functions/midgard.c:3340: warning: passing arg 1 of `mgd_format' from
incompatible pointer type
functions/midgard.c:3340: warning: passing arg 2 of `mgd_format' from
incompatible pointer type
functions/midgard.c:3343: warning: passing arg 3 of `q_encode' makes pointer
from integer without a cast
functions/midgard.c:3347: warning: passing arg 1 of `mgd_format' from
incompatible pointer type
functions/midgard.c:3347: warning: passing arg 2 of `mgd_format' from
incompatible pointer type
functions/midgard.c: At top level:
functions/midgard.c:3473: parse error before `*'
functions/midgard.c: In function `walktree':
functions/midgard.c:3475: `i' undeclared (first use in this function)
functions/midgard.c:3475: (Each undeclared identifier is reported only once
functions/midgard.c:3475: for each function it appears in.)
functions/midgard.c:3476: `maxlevel' undeclared (first use in this function)
functions/midgard.c:3477: `tree' undeclared (first use in this function)
functions/midgard.c:3477: `upperlevel' undeclared (first use in this
function)
functions/midgard.c:3481: `order' undeclared (first use in this function)
functions/midgard.c:3482: `xparam' undeclared (first use in this function)
functions/midgard.c: In function `php3_mgd_walk_page_tree':
functions/midgard.c:3557: `midgard_tree' undeclared (first use in this
function)
functions/midgard.c:3557: `tree' undeclared (first use in this function)
functions/midgard.c:3557: parse error before `int'
functions/midgard.c:3557: `mlevel' undeclared (first use in this function)
functions/midgard.c:3557: `i' undeclared (first use in this function)
functions/midgard.c: In function `php3_mgd_walk_topic_tree':
functions/midgard.c:3558: `midgard_tree' undeclared (first use in this
function)
functions/midgard.c:3558: `tree' undeclared (first use in this function)
functions/midgard.c:3558: parse error before `int'
functions/midgard.c:3558: `mlevel' undeclared (first use in this function)
functions/midgard.c:3558: `i' undeclared (first use in this function)
functions/midgard.c: In function `php3_mgd_walk_article_tree':
functions/midgard.c:3559: `midgard_tree' undeclared (first use in this
function)
functions/midgard.c:3559: `tree' undeclared (first use in this function)
functions/midgard.c:3559: parse error before `int'
functions/midgard.c:3559: `mlevel' undeclared (first use in this function)
functions/midgard.c:3559: `i' undeclared (first use in this function)
functions/midgard.c: In function `php3_mgd_walk_style_tree':
functions/midgard.c:3560: `midgard_tree' undeclared (first use in this
function)
functions/midgard.c:3560: `tree' undeclared (first use in this function)
functions/midgard.c:3560: parse error before `int'
functions/midgard.c:3560: `mlevel' undeclared (first use in this function)
functions/midgard.c:3560: `i' undeclared (first use in this function)
functions/midgard.c: In function `php3_mgd_walk_snippetdir_tree':
functions/midgard.c:3561: `midgard_tree' undeclared (first use in this
function)
functions/midgard.c:3561: `tree' undeclared (first use in this function)
functions/midgard.c:3561: parse error before `int'
functions/midgard.c:3561: `mlevel' undeclared (first use in this function)
functions/midgard.c:3561: `i' undeclared (first use in this function)
functions/midgard.c: In function `php3_mgd_walk_snippet_tree':
functions/midgard.c:3562: `midgard_tree' undeclared (first use in this
function)
functions/midgard.c:3562: `tree' undeclared (first use in this function)
functions/midgard.c:3562: parse error before `int'
functions/midgard.c:3562: `mlevel' undeclared (first use in this function)
functions/midgard.c:3562: `i' undeclared (first use in this function)
make: *** [functions/midgard.o] Error 1


Thoughs?

Thank You,
Thomas James Mackie III


-----Original Message-----
From: Henri Bergius [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 13, 2000 11:44 AM
To: [EMAIL PROTECTED]
Cc: Thomas James Mackie III
Subject: RE: [midgard] PHP Version 3.0.15


On 13 Mar, Thomas James Mackie III wrote:
> Wonderful. Thank for the info. But the link provided does not work for the
> patch. Any thoughts?

It seems that there was a typo in the original
email. Try:

http://www.midgard.f2s.com/midgard-php_3.0.15.patch.bz2

> Thomas James Mackie III

/Bergie

--
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
               http://www.iki.fi/Henri.Bergius


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to