On Thu, May 30, 2002 at 12:09:23AM -0400, Dan Hammer wrote:
> I grabbed all the new releases so I am TRYING to install 1.4.3-RC-1 . I am
> getting nowhere. It seems if you follow the directions it will never work.
> Now when I try to install mod_midgard I get this...
>
> mod_midgard.c: In function `verify_user':
> mod_midgard.c:84: too many arguments to function `mgd_auth'
> mod_midgard.c:119: too many arguments to function `mgd_auth'
> mod_midgard.c: In function `midgard_get_database_connection':
> mod_midgard.c:347: structure has no member named `hostname'
> mod_midgard.c:347: structure has no member named `hostname'
> mod_midgard.c:347: structure has no member named `hostname'
> mod_midgard.c:363: structure has no member named `hostname'
> mod_midgard.c:364: structure has no member named `hostname'
>
> I'm going backwards instead of making progress. Are there any directions out
> that actually work for 1.4.3-RC-1 ?
They are enough simple (I'm not sure about midgard-data, but lib, mod
and php4-module should install without a lot of problems).
1. Install midgard-lib.
$ ./configure
(./configure --help if you want to see all
possible variants)
$ make
$ su
# make install (as root)
2. Install midgard-php4.
# ./mkall
3. Install mod_midgard.
$ ./configure --with-midgard=/path/to/midgard-config
$ make
$ su
# make install
# make conf
In 2, 3 you have to check that apxs and midgard-config are in your $PATH,
if not - add them (export PATH=$PATH:/path/to/apxs:/path/to/midgard-config)
In your case looks like you skipped midgard-lib installation or it
wasn't installed properly and you have old headers (you have them
anyway :)
Look at `midgard-config --cppflags`, check what does it return, take a
look at headers installed somewhere in your filesystem.
> > On Wed, May 29, 2002 at 08:56:27PM -0400, Dan Hammer wrote:
> > > I am attempting to compile midgard-php4 and I am getting an error message.
> >
> > > Here is what happens...
> > >
> > > midgard.c: In function `zif_mgd_auth_midgard':
> > > midgard.c:704: too many arguments to function `mgd_auth'
> > > midgard.c: In function `zif_mgd_unsetuid':
> > > midgard.c:754: warning: implicit declaration of function
> > `mgd_auth_unsetuid'
> > > midgard.c: In function `zif_mgd_issetuid':
> > > midgard.c:763: warning: implicit declaration of function
> > `mgd_auth_is_setuid'
> > > make[1]: *** [midgard.slo] Error 1
> > > make[1]: Leaving directory `/usr/local/midgard-php4-1.4.3-RC-1'
> > > make: *** [all-recursive] Error 1
> >
> > Check that you have fresh version of midgard-lib.
> > I.e. - install midgard-lib first.
--
Regards,
Sergei Dolmatov.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]