Hi!
has someone experience compiling git v2.26 (current) on Solaris 10 sparc?
I can't get it to work with https. After finishing compiling, I get
$ /usr/local/bin/git clone https://xxx.address.org/repo.git
Cloning into 'agent'...
fatal: unable to find remote helper for 'https'
Basically I installed the tools and libs from openCSW.
to name a few -
+ autoconf
+ openssl_utils
+ expat
+ curl_devel_stub
+ tcl_dev
+ libiconv_utils
+ libncurses_dev
+ gcc5g++
+ libexpat_dev
+ curl
+ curldevel
+ libcurl-dev
git is very old getting it from openCSW with v2.4 from 2015
but eg. openssl and curl seem to be still maintained at openCSW, they are very current.
1)
my way is
$ ./configure --prefix=/usr/local --with-curl --with-expat --with-openssl=/opt/csw/lib
or
$ ./configure --prefix=/usr/local --with-curl --with-expat
or
$ ./configure --prefix=/usr/local --with-curl
$ ./make -j4
...
ld: fatal: library -lcares: not found
ld: fatal: library -lrtmp: not found
ld: fatal: library -lssh2: not found
ld: fatal: library -lssh2: not found
ld: fatal: library -lgssapi_krb5: not found
ld: fatal: library -lk5crypto: not found
ld: fatal: library -lcom_err: not found
ld: fatal: library -llber: not found
ld: fatal: library -lbrotlidec: not found
ld: fatal: library -lbrotlidec: not found
ld: fatal: file processing errors. No output written to git-imap-send
make: *** [git-imap-send] Error 1
make: *** Waiting for unfinished jobs....
2)
different result
$ ./configure --with-curl=/opt/csw/lib/libcurl.so --with-openssl=/opt/csw/lib/libssl.so --with-expat
$ ./make -j4
(works)
$ ./make install
$ /usr/local/bin/git --version
git version 2.26.0-rc1
$ /usr/local/bin/git clone https://xxx.address.org/repo.git
Cloning into 'agent'...
fatal: unable to find remote helper for 'https'
I also tried setting LD_LIBRARY_PATH=/opt/csw/lib
For me it seems like that openssl is not included. Or something with curl.
Or the current version v2.26 is not compatible with some openCSW tools.
Any hint is highly appreciated.
--Fritz