[Samba] Build 3.2.3a on RedHat 7.2

Peter Hübschen pehu at wiwi.uni-sb.de
Sat Feb 16 08:22:06 GMT 2002


I have a RH 72 machine and if I do a ./configure everthings work fine. 
 If I understand the code of the configure-script right, then they write 
a message into a file (I think it's config.log) which program fails.
Here is this part of the configure script:

if { (eval echo configure:10396: \"$ac_link\") 1>&5; (eval $ac_link) 
2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
  echo "$ac_t""yes" 1>&6
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  rm -fr conftest*
  { echo "configure: error: cant find test code. Aborting config" 1>&2; 
exit 1; }

As you can see there is an echo which writes an error message in a file.
So maybe you can check this.
Maybe there are some header-files missing, which should be documented in 
To avoid these problems my RH 7.2 installation contains nearly all 
packages, especially these for kernel-development (if you install RH you 
have this option, when you do an userdefined install) and other 
development things, even if I'm not going to develop something, cause my 
knowledge auf C(++) is very poor.

Hope that helps a bit.


Casper Pedersen wrote:

>I have asked this question earlier, but did not receive an answer....
>I'm trying to build 3.2.3a on a RedHat 7.2, but during configuring I get
>an error:
>checking for test rutines... configure: error: cant find test code.
>Aborting config
>Does any one have any clue about what is going wrong????

More information about the samba mailing list