- Code: Select all
cd /home/name/poco
./configure --shared --no-tests --no-samples
make
sudo make install
but but then I get these errors
include/Poco/Crypto/OpenSSLInitializer.h:45:33: fatal error: openssl/opensslconf.h: No such file or directory
compilation terminated.
make[1]: *** [/usr/share/poco/Crypto/obj/Linux/i686/debug_shared/CipherFactory.o] Error 1
make[1]: Leaving directory `/usr/share/poco/Crypto'
make: *** [Crypto-libexec] Error 2
android272@AndroidDesktop:/usr/share/poco$ sudo make install
make -C /usr/share/poco/Foundation
make[1]: Entering directory `/usr/share/poco/Foundation'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/share/poco/Foundation'
make -C /usr/share/poco/XML
make[1]: Entering directory `/usr/share/poco/XML'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/share/poco/XML'
make -C /usr/share/poco/Util
make[1]: Entering directory `/usr/share/poco/Util'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/share/poco/Util'
make -C /usr/share/poco/Net
make[1]: Entering directory `/usr/share/poco/Net'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/share/poco/Net'
make -C /usr/share/poco/Crypto
make[1]: Entering directory `/usr/share/poco/Crypto'
** Compiling src/CipherFactory.cpp (debug, shared)
g++ -Iinclude -I/usr/share/poco/CppUnit/include -I/usr/share/poco/Foundation/include -I/usr/share/poco/XML/include -I/usr/share/poco/Util/include -I/usr/share/poco/Net/include -I/usr/share/poco/Crypto/include -I/usr/share/poco/NetSSL_OpenSSL/include -I/usr/share/poco/Data/include -I/usr/share/poco/Data/SQLite/include -I/usr/share/poco/Data/ODBC/include -I/usr/share/poco/Data/MySQL/include -I/usr/share/poco/Zip/include -I/usr/share/poco/PageCompiler/include -I/usr/share/poco/PageCompiler/File2Page/include -Wall -Wno-sign-compare -DPOCO_BUILD_HOST=AndroidDesktop -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPOCO_HAVE_FD_EPOLL -g -D_DEBUG -fPIC -c src/CipherFactory.cpp -o /usr/share/poco/Crypto/obj/Linux/i686/debug_shared/CipherFactory.o
In file included from include/Poco/Crypto/CipherKeyImpl.h:44:0,
from include/Poco/Crypto/CipherKey.h:44,
from src/CipherFactory.cpp:39:
include/Poco/Crypto/OpenSSLInitializer.h:45:33: fatal error: openssl/opensslconf.h: No such file or directory
compilation terminated.
make[1]: *** [/usr/share/poco/Crypto/obj/Linux/i686/debug_shared/CipherFactory.o] Error 1
make[1]: Leaving directory `/usr/share/poco/Crypto'
make: *** [Crypto-libexec] Error 2





