#23 md5.h found but could not be compiled

closed-works-for-me
nobody
None
5
2006-01-09
2005-10-26
No

./configure reported this towards the end:

checking if md5.h is derived from Cyrus SASL Version
1... yes
checking if md5.h is Solaris's... no
checking md5.h usability... no
checking md5.h presence... yes
configure: WARNING: md5.h: present but cannot be compiled
configure: WARNING: md5.h: check for missing
prerequisite headers?
configure: WARNING: md5.h: see the Autoconf documentation
configure: WARNING: md5.h: section "Present But
Cannot Be Compiled"
configure: WARNING: md5.h: proceeding with the
preprocessor's result
configure: WARNING: md5.h: in the future, the compiler
will take precedence
configure: WARNING: ##
------------------------------------ ##
configure: WARNING: ## Report this to the pam_mysql
lists. ##
configure: WARNING: ##
------------------------------------ ##
checking for md5.h... yes

This is with the pam_mysql-0.6.2 package on a RHEL3 server.

Discussion

  • Sushil

    Sushil - 2006-01-05

    Logged In: YES
    user_id=1419837

    Hi

    Try this :
    cd /usr/include
    mv md5.h md5.h.org
    ln -s /usr/include/openssl/md5.h md5.h

    Then chdir to pam_mysql source dir.
    Do
    ./configure
    make
    make install

    This has work on my system with o.s. RHEL3.

    After doing this restore the original md5.h
    i.e
    cd /usr/include
    mv md5.h.org md5.h

    Regards
    Sushil

     
  • Moriyoshi Koizumi

    • status: open --> closed-works-for-me
     
  • Moriyoshi Koizumi

    Logged In: YES
    user_id=995831

    The problem will most likely be solved if you supply
    --with-openssl to configure.

     
  • Andrew Montgomery

    Logged In: YES
    user_id=428895

    To fix this, I just did:

    ./configure --with-openssl CFLAGS=-I/usr/include/openssl

    so ensure that the includes picked up the openssl md5.h before any others. Its a
    bit nicer than having to move md5.h files around and back again.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks