[EMAIL PROTECTED] wrote:

> It still fails in exactly the same way. I decided to start over once more
> with a completely clean install, in case I am missing something. This makes
> one difference: the output from the configure script produces a different
> error message:-
> 
> "configure: error: installation or configuration problem: C compiler cannot
> create executables."
> 
> However the config.log reports the same problme that I was experiencing
> previously:-
> 
> configure:915: gcc -o conftest    -I/usr/local/include/glib12
> -I/usr/local/include -I/usr/local/mysql/include/mysql -I/usr/local/include
> -I/usr/local/midgard/include/midgard  conftest.c   -L/usr/local/lib
> -L/usr/local/mysql/lib/mysql -lmysqlclient -L/usr/local/lib  -lexpat -lm
> -lz -lcrypt -L/usr/local/lib -lglib12 -liconv -lmidgard 1>&5
> /usr/libexec/elf/ld: cannot find -lmidgard
> configure: failed program was:
> 
> #line 910 "configure"
> #include "confdefs.h"
> 
> main(){return(0);}

The above line should also have had '-L/usr/local/midgard/lib'. Edit
line 48 of midgard-config, and change '==' into 'eq', and try again.

Alternately, you can pick up
  
http://cvs.midgard-project.org/~checkout~/midgard/lib/configure.in?rev=1.71&content-type=text/plain
,
  
http://cvs.midgard-project.org/~checkout~/midgard/lib/midgard-config.in?rev=1.6&content-type=text/plain
and
   
http://cvs.midgard-project.org/~checkout~/midgard/lib/bootstrap?rev=1.2&content-type=text/plain

place these in midgard-lib, run './bootstrap; gmake clean', and
proceed as usual.

Emile



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

Reply via email to