If your openssl includes is in /usr/include/openssl then you should not specify any include directory.
If your openssl is not installed in /usr (includes in /usr/include/openssl, libraries in /usr/lib or /lib) then you should specify the prefix of your openssl installation to the --with-openssl= configure option. When changing the availability or location of system headers such as OpenSSL you need to either use a clean source tree, or clean up your existing tree by running "make distclean" before running configure again. (alternatively remove config.cache) Regards Henrik mlister wrote: > > this is elementary compiling i'm sure, but i haven't figured it out yet. > I run ./configure --includedir=/usr/include/openssl --enable-ssl; > ~~snip~~ > checking for openssl/err.h... (cached) no > checking for openssl/md5.h... (cached) no > checking for openssl/ssl.h... (cached) no > ~~snip~~ > I run make; > ~~snip~~ > ../include/md5.h:18:2: #error Cannot find OpenSSL headers > make[1]: *** [rfc2617.o] Error 1 > make[1]: Leaving directory `/home/patches/squid-2.5.STABLE2/lib' > make: *** [all-recursive] Error 1 > ~~snip~~ > > I verified the files it needs are truly in /usr/include/openssl. The > compile > will complete when I do not specify any configure options. Sometimes > I hear that people modify the makefile, is this what I am expected to do ?
