On 11/02/2016 06:33 AM, Martin Gagnon wrote:
> If you want to use openssl from your distro, you need to install the
> development package of openssl.
> 
> I think it's "openssl-devel" on CentOS.
> 
> I'm not very familiar with CentOS but if you do:
> 
>   $ yum install openssl-devel
> 
> the configure script *should* find what it needs.

The platform's openssl packages are installed but the configure script
does not find them.

$ yum list installed | grep -i openssl | awk '{print $1}'
apr-util-openssl.x86_64
openssl.x86_64
openssl-devel.x86_64
openssl-libs.x86_64
pyOpenSSL.x86_64
xmlsec1-openssl.x86_64
xmlsec1-openssl-devel.x86_64

There is also a problem in building a static fossil on this platform
(CentOS-7).

$ ../configure --prefix=$HOME/.local --with-openssl=tree
--with-zlib=tree --with-th1-docs --with-th1-hooks
--with-tcl=$HOME/.local/lib --disable-fusefs --json --static

$ make
...
/usr/bin/ld: cannot find -ltcl8.6
/usr/bin/ld: cannot find -ldl
/usr/bin/ld: cannot find -lz
/usr/bin/ld: cannot find -lpthread
/usr/bin/ld: cannot find -lm
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status

I've tried (without success):

$ ../configure --prefix=$HOME/.local --with-openssl=tree
--with-zlib=tree --with-th1-docs --with-th1-hooks
--with-tcl=$HOME/.local/lib --disable-fusefs --json --static
LDFLAGS="-L/usr/lib64 -L${HOME}/.local/lib" CPPFLAGS="-I/usr/include
-I${HOME}/.local/include"


_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to