Re: problem compiling midgard on SLES 9

Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]> Tue, 27 Sep 2005 10:01:06 +0200
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
Zachary Denison <[email protected]> wrote:

> Hello,
> 
> I am trying to install midgard from source, on Suse Linux Enterprise
> Server 9.  I meticulously went through all the requirements, and I
> belive that I satisfy all of them.
> 
> I am running Apache2.0.54, and I get the same error with both php4.4.0
> and php5.0.5
[...] 
> midgard-php4-1.7.1
> 
> I get the following error.  This how I try to compile it:
> 
> ./configure --with-php-config=/usr/local/bin/php-config
> --with-midgard=/usr/local/bin/midgard-config
> --with-apxs=/usr/local/apache/bin/apxs
> --with-apr-config=/usr/local/apache/bin/apr-config

Apache and PHP self compiled??
 
> ...
> configure seems to work fine, I didnt include the log here, the error
> occurs when I actually try to make, interestingly, I get the same
> exact error when I use php5 or php4. I actually tried php5 first, then
> downgraded to php4, but first I uninstalled php5.  I would greatly
> appreciate any insight anyone could give me.  Thank you. Zach.

Make sure you use correct php-config.
--with-php-config=/usr/local/bin/php-config

Probably you use PHP5 php-config still while trying to compile against PHP4.

Piotras