Thanks for the reply Emiliano...

On Thu, 28 Jun 2001 12:33:58 +0200 (CEST)
 Emiliano <[EMAIL PROTECTED]> wrote:
> Carl Bowden wrote:
> 
> > hi I have been having some fun with php4 module
> > 
> > I have updated our cvs source (1/2 hour ago before
> running
> > mkall again) and some strange things happen (oh
> mod_midgard
> > & lib compiled fine) 
> > 
> > 1st: mkall could not file the apache or midgard include
> ->
> > checked apxs' include path (as surggested on list) and
> this
> > is correct -> ok so i include in the mkall HACK_CFLAGS
> the
> > -I paths (yes i expect this is a bad idea) and it
> compiles
> > (this looks good for all of 2 seconds) 
> 
> $ apxs -q INCLUDEDIR
> 
> should return the correct include directory. If not, apxs
> is broken.

it does: /usr/local/apache/include

> You can supply the midgard installation directory as a
> parameter to
> mkall.

I have been running it as: "./mkall /usr/local/midgard"

> > 2nd; started apache (data,lib,mod,php4 now all
> installed)
> > and php spits out the midgard.so (no mgd_table_exname)
> -> so
> 
> If this is still happening, file a bugreport please. It's
> probably a
> missing include.
> 
> > we check midgard.so with nm and yup its there! -> then
> check
> > midgard.so with ldd and this prints:
> > 
> > ldd /usr/local/lib/php/extensions/no-debug-non-zts-20001222/midgard.so
> >         libc.so.6 => /lib/libc.so.6 (0x6fe23000)
> >         /lib/ld.so.1 => /lib/ld.so.1 (0x08000000)
> > 
> 
> $ ldd midgard.so
>         libmidgard.so.5 => /usr/local/lib/libmidgard.so.5
> (0x4006b000)
>         libc.so.6 => /lib/libc.so.6 (0x40088000)
>         libexpat.so.3 => /usr/local/lib/libexpat.so.3
> (0x40176000)
>         libm.so.6 => /lib/libm.so.6 (0x4018f000)
>         libz.so.1 => /usr/lib/libz.so.1 (0x401ab000)
>         libcrypt.so.1 => /lib/libcrypt.so.1 (0x401ba000)
>         libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0
> (0x401e7000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2
> (0x80000000)
> 
> > there seems to be alot missing (or things have changed
> alot
> > since 1.4.1)
> 
> Nope, the linkage is wrong.
 
this is still the case: 

has any one installed from CVS in the last few days, should
i go back to the 1.4.1 source?
 

to put things stright I have got 

apache-1.3.20
php4.0.6
mysql-3.23.39
openssl etc

are compiled and running on this machine

none of these complained about incudes (I know this don't
mean much but I think the envroment (& apxs) is ok)



> > I think the problem is back at the includes:
> > php,apache,mysql all compiled with any (noticable)
> hitch.
> 
> I assume without.
> 
> Let's solve the first problem first.

I put (wrote) this very badly. sorry. 

> 
> Emile
> 
> 

Thanks again for you help Emile.

cheers carl

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


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

Reply via email to