GIT from source: fatal: Unable to find remote helper for 'https'

Henk1989

Due to me not having root rights, I compiled git from source locally. My distro is OpenSUSE 13.1. Googling the error fatal: Unable to find remote helper for 'https'

It was suggested that curl is not configured properly. However, using curl to access https://example.com works just fine.

Another suggestion was that curl wasnt linked properly to git during configuring and making git.

The steps I took to get where I am now:

Installed Openssl-1.0.0t in my home.

./config --prefix=$HOME shared
make
make install

(completes without any errors)

Then I installed curl-7.48.0 in my home:

./buildconf
./configure --prefix=$HOME --with-ssl=$HOME

Compiler:         gcc
  SSL support:      enabled (OpenSSL)
  SSH support:      enabled (libSSH2)
  zlib support:     enabled
  GSS-API support:  no      (--with-gssapi)
  TLS-SRP support:  enabled
  resolver:         default (--enable-ares / --enable-threaded-resolver)
  IPv6 support:     enabled
  Unix sockets support: enabled
  IDN support:      no      (--with-{libidn,winidn})
  Build libcurl:    Shared=yes, Static=yes
  Built-in manual:  enabled
  --libcurl option: enabled (--disable-libcurl-option)
  Verbose errors:   enabled (--disable-verbose)
  SSPI support:     no      (--enable-sspi)
  ca cert bundle:   no
  ca cert path:     /etc/ssl/certs/
  ca fallback:      no
  LDAP support:     enabled (OpenLDAP)
  LDAPS support:    enabled
  RTSP support:     enabled
  RTMP support:     no      (--with-librtmp)
  metalink support: no      (--with-libmetalink)
  PSL support:      no      (libpsl not found)
  HTTP2 support:    disabled (--with-nghttp2)
  Protocols:        DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTSP SCP SFTP SMB SMBS SMTP SMTPS TELNET TFTP

make 
make install

(completes without any errors)

Thirdly I installed expat 2.1.1:

CPPFLAGS="-I $HOME/include" LDFLAGS="-L$HOME/lib -L$HOME/lib64" ./configure --prefix=$HOME
make
make install

(completes without any errors)

Finally GIT 2.8.2:

CPPFLAGS="-I $HOME/include" LDFLAGS="-L$HOME/lib -L$HOME/lib64" ./configure --with-curl=$HOME --with-openssl=$HOME --prefix=$HOME --with-expat=$HOME
make
make install

This too seems to go well with no warnings to be reported. I obviously overlooked something but cant seem to figure out what... can anybody help me?

SOLUTION Add the lib64 directory to LDFLAGS (commands have been updated).

Henk1989

SOLUTION Add the lib64 directory to LDFLAGS (commands have been updated).

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

git fatal: Unable to find remote helper for 'git+https'

From Dev

warning: templates not found /share/git-core/templates | fatal: Unable to find remote helper for 'https'

From Dev

fatal : Unable to find remote helper for 'gitL'

From Dev

fatal : Unable to find remote helper for 'gitL'

From Java

Git push problem : Unable to find remote helper for 'ttps'

From Dev

How to resolve "git pull,fatal: unable to access 'https://github.com...\': Empty reply from server"

From Java

git: fatal: Could not read from remote repository

From Dev

unable to look up https fatal error when push to git repository

From Dev

Git : fatal: Couldn't find remote ref my_repo

From Dev

git Connection abandoned, fatal: Could not read from remote repository

From Dev

CentOS: Git: "fatal: could not read from the remote repository"

From Dev

Git: Permission denied (publickey). fatal: Could not read from remote repository

From Java

Git push: "fatal 'origin' does not appear to be a git repository - fatal Could not read from remote repository."

From Dev

fatal: Unable to create in git

From Java

Git fatal: protocol 'https' is not supported

From Dev

git on mac os from homebrew: fatal: unable to access

From Dev

git on mac os from homebrew: fatal: unable to access

From Dev

git ls-remote returns "fatal: No remote configured to list refs from."

From Java

Git: Permission denied (publickey) fatal - Could not read from remote repository. while cloning Git repository

From Dev

Find latest git tag from the remote git repository

From Dev

fatal: Full write to remote helper failed: Invalid argument Done

From Dev

fatal: Full write to remote helper failed: Invalid argument Done

From Dev

git throws fatal: unable to access 'https://github.com/user/repo.git': Failed sending HTTP2 data

From Dev

Unable to read from remote repository after git mirror

From Java

Git, fatal: The remote end hung up unexpectedly

From Dev

SourceTree - git: fatal: remote error: Repository not found

From Dev

Git - fatal: remote origin already exists

From Dev

`git remote add` is throwing a fatal error

From Dev

$ git push cloud fatal: remote error: Forbidden

Related Related

  1. 1

    git fatal: Unable to find remote helper for 'git+https'

  2. 2

    warning: templates not found /share/git-core/templates | fatal: Unable to find remote helper for 'https'

  3. 3

    fatal : Unable to find remote helper for 'gitL'

  4. 4

    fatal : Unable to find remote helper for 'gitL'

  5. 5

    Git push problem : Unable to find remote helper for 'ttps'

  6. 6

    How to resolve "git pull,fatal: unable to access 'https://github.com...\': Empty reply from server"

  7. 7

    git: fatal: Could not read from remote repository

  8. 8

    unable to look up https fatal error when push to git repository

  9. 9

    Git : fatal: Couldn't find remote ref my_repo

  10. 10

    git Connection abandoned, fatal: Could not read from remote repository

  11. 11

    CentOS: Git: "fatal: could not read from the remote repository"

  12. 12

    Git: Permission denied (publickey). fatal: Could not read from remote repository

  13. 13

    Git push: "fatal 'origin' does not appear to be a git repository - fatal Could not read from remote repository."

  14. 14

    fatal: Unable to create in git

  15. 15

    Git fatal: protocol 'https' is not supported

  16. 16

    git on mac os from homebrew: fatal: unable to access

  17. 17

    git on mac os from homebrew: fatal: unable to access

  18. 18

    git ls-remote returns "fatal: No remote configured to list refs from."

  19. 19

    Git: Permission denied (publickey) fatal - Could not read from remote repository. while cloning Git repository

  20. 20

    Find latest git tag from the remote git repository

  21. 21

    fatal: Full write to remote helper failed: Invalid argument Done

  22. 22

    fatal: Full write to remote helper failed: Invalid argument Done

  23. 23

    git throws fatal: unable to access 'https://github.com/user/repo.git': Failed sending HTTP2 data

  24. 24

    Unable to read from remote repository after git mirror

  25. 25

    Git, fatal: The remote end hung up unexpectedly

  26. 26

    SourceTree - git: fatal: remote error: Repository not found

  27. 27

    Git - fatal: remote origin already exists

  28. 28

    `git remote add` is throwing a fatal error

  29. 29

    $ git push cloud fatal: remote error: Forbidden

HotTag

Archive