LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Evolution-data-server compilation problem (http://www.linuxquestions.org/questions/linux-from-scratch-13/evolution-data-server-compilation-problem-943362/)

pannet1 05-05-2012 01:22 AM

Evolution-data-server compilation problem
 
Dear LFS enthus,
While compiling evolution-data-server we got the following error eventhough OpenSSL is installed correctly.

make[2]: Leaving directory `/root/xc/shell/evolution-data-server-3.2.2/libebackend'
Making all in camel
make[2]: Entering directory `/root/xc/shell/evolution-data-server-3.2.2/camel'
make all-recursive
make[3]: Entering directory `/root/xc/shell/evolution-data-server-3.2.2/camel'
Making all in .
make[4]: Entering directory `/root/xc/shell/evolution-data-server-3.2.2/camel'
CC libcamel_1_2_la-camel-marshal.lo
CC libcamel_1_2_la-camel-address.lo
CC libcamel_1_2_la-camel-block-file.lo
CC libcamel_1_2_la-camel-certdb.lo
CC libcamel_1_2_la-camel-charset-map.lo
CC libcamel_1_2_la-camel-data-cache.lo
CC libcamel_1_2_la-camel-data-wrapper.lo
CC libcamel_1_2_la-camel-db.lo
CC libcamel_1_2_la-camel-debug.lo
CC libcamel_1_2_la-camel-file-utils.lo
CC libcamel_1_2_la-camel-html-parser.lo
CC libcamel_1_2_la-camel-iconv.lo
CC libcamel_1_2_la-camel-index.lo
CC libcamel_1_2_la-camel-internet-address.lo
CC libcamel_1_2_la-camel-junk-filter.lo
CC libcamel_1_2_la-camel-list-utils.lo
CC libcamel_1_2_la-camel-lock.lo
CC libcamel_1_2_la-camel-medium.lo
CC libcamel_1_2_la-camel-mempool.lo
CC libcamel_1_2_la-camel-mime-filter-basic.lo
CC libcamel_1_2_la-camel-mime-filter-bestenc.lo
CC libcamel_1_2_la-camel-mime-filter-canon.lo
CC libcamel_1_2_la-camel-mime-filter-charset.lo
CC libcamel_1_2_la-camel-mime-filter-crlf.lo
CC libcamel_1_2_la-camel-mime-filter-enriched.lo
CC libcamel_1_2_la-camel-mime-filter-from.lo
CC libcamel_1_2_la-camel-mime-filter-gzip.lo
CC libcamel_1_2_la-camel-mime-filter-html.lo
CC libcamel_1_2_la-camel-mime-filter-index.lo
CC libcamel_1_2_la-camel-mime-filter-linewrap.lo
CC libcamel_1_2_la-camel-mime-filter-pgp.lo
CC libcamel_1_2_la-camel-mime-filter-progress.lo
CC libcamel_1_2_la-camel-mime-filter-save.lo
CC libcamel_1_2_la-camel-mime-filter-tohtml.lo
CC libcamel_1_2_la-camel-mime-filter-windows.lo
CC libcamel_1_2_la-camel-mime-filter-yenc.lo
CC libcamel_1_2_la-camel-mime-filter.lo
CC libcamel_1_2_la-camel-mime-message.lo
CC libcamel_1_2_la-camel-mime-parser.lo
CC libcamel_1_2_la-camel-mime-part-utils.lo
CC libcamel_1_2_la-camel-mime-part.lo
CC libcamel_1_2_la-camel-mime-utils.lo
CC libcamel_1_2_la-camel-mime-tables.lo
CC libcamel_1_2_la-camel-msgport.lo
CC libcamel_1_2_la-camel-multipart-encrypted.lo
CC libcamel_1_2_la-camel-multipart-signed.lo
CC libcamel_1_2_la-camel-multipart.lo
CC libcamel_1_2_la-camel-net-utils.lo
CC libcamel_1_2_la-camel-nntp-address.lo
CC libcamel_1_2_la-camel-object.lo
CC libcamel_1_2_la-camel-object-bag.lo
CC libcamel_1_2_la-camel-operation.lo
CC libcamel_1_2_la-camel-partition-table.lo
CC libcamel_1_2_la-camel-stream-buffer.lo
CC libcamel_1_2_la-camel-stream-filter.lo
CC libcamel_1_2_la-camel-stream-fs.lo
CC libcamel_1_2_la-camel-stream-mem.lo
CC libcamel_1_2_la-camel-stream-null.lo
CC libcamel_1_2_la-camel-stream-vfs.lo
CC libcamel_1_2_la-camel-stream.lo
CC libcamel_1_2_la-camel-string-utils.lo
CC libcamel_1_2_la-camel-text-index.lo
CC libcamel_1_2_la-camel-trie.lo
CC libcamel_1_2_la-camel-url-scanner.lo
CC libcamel_1_2_la-camel-url.lo
CC libcamel_1_2_la-camel-utf8.lo
CC libcamel_1_2_la-camel.lo
camel.c:34:17: fatal error: ssl.h: No such file or directory
compilation terminated.
make[4]: *** [libcamel_1_2_la-camel.lo] Error 1
make[4]: Leaving directory `/root/xc/shell/evolution-data-server-3.2.2/camel'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/xc/shell/evolution-data-server-3.2.2/camel'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/xc/shell/evolution-data-server-3.2.2/camel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/xc/shell/evolution-data-server-3.2.2'
make: *** [all] Error 2

We hope someone will give solution for the above mentioned problem.

Regards,
Sugi@Phenix
Praki@Phenix

Slackyman 05-05-2012 02:53 AM

When I get this kind of error I search for the header file with locate and then I make sure that the path is included in my compiler flags or I use CFLAGS='-I/path/to/headerfiles'.
First of all make sure you have OpenSSL libraries (not only the OpenSSL package).

spiky0011 05-05-2012 02:54 AM

Hi

Have you checked for the ssl.h file, sorry to be obvious
/usr/include/openssl/ssl.h


All times are GMT -5. The time now is 06:12 PM.