I've been following the documentation and searching the mailing list archives (which got me past one glitch already), but I'm stumped now.
I'm trying to compile midgard-php4 1.4.4 from the source. I've already compiled (and installed) midgard-lib, midgard-data and mod_midgard successfully. But when I try to compile midgard-php4 (by running mkall in its directory), I get the following (this is only a sample, e-mail me if you want the whole thing): /home/joshua/tmp/midgard-php4-1.4.4/attachment.c: In function `zif_mgd_open_attachment': /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:261: warning: passing arg 1 of `mgd_get_blobdir' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:296: warning: passing arg 1 of `mgd_sitegroup_record' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:322: warning: passing arg 1 of `mgd_global_is_owner_ex' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:330: warning: passing arg 1 of `mgd_format' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:339: warning: passing arg 1 of `mgd_user' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:339: warning: passing arg 1 of `mgd_update' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c: In function `zif_mgd_serve_attachment': /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:416: warning: passing arg 1 of `mgd_get_blobdir' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:423: warning: passing arg 1 of `mgd_sitegroup_record' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:443: warning: passing arg 1 of `mgd_format' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:453: warning: passing arg 1 of `mgd_format' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c: In function `zif_mgd_stat_attachment': ////////////Is this the problem???? /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:505: invalid type argument of `->' /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:506: invalid type argument of `->' /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:510: warning: passing arg 1 of `mgd_sitegroup_record' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:527: invalid type argument of `->' /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:528: warning: passing arg 1 of `mgd_format' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c: In function `zif_mgd_delete_attachment': /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:594: warning: passing arg 1 of `mgd_has_dependants' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:598: warning: passing arg 1 of `mgd_get_blobdir' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:605: warning: passing arg 1 of `mgd_sitegroup_record' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:616: warning: passing arg 1 of `mgd_global_is_owner_ex' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:623: warning: passing arg 1 of `mgd_format' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:627: warning: passing arg 1 of `mgd_update_repligard' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c: In function `zif_mgd_update_attachment': /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:705: warning: passing arg 1 of `mgd_exists_bool' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:712: warning: passing arg 1 of `mgd_sitegroup_record' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:723: warning: passing arg 1 of `mgd_global_is_owner_ex' makes pointer from integer without a cast /home/joshua/tmp/midgard-php4-1.4.4/attachment.c:750: warning: passing arg 1 of `mgd_update_repligard' makes pointer from integer without a cast make: *** [attachment.lo] Error 1 apxs and midgard-config are both in the PATH. This is Apache 1.3.27, the latest PHP (both compiled and installed fine). MySQL 4.x. Does anyone have any suggestions? Or any documentation to which you can point me? I really want to try Aegir, but can't until I get Midgard installed. :) Thanks much for your help! j----- k----- -- Joshua Kugler Door of Hope Church Interim Web Designer Dude Fairbanks, Alaska --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
