搞了一天了,编译的时候,总是出现 fatal: Unable to find remote helper for 'https'这样的错误。今天终于解决了。

今天知道问题的原因了,是因为/usr/local/libexec/git-core路径没在 PATH 环境变量中。

deng@cecport:/usr/local/libexec/git-core$ pwd
/usr/local/libexec/git-core
deng@cecport:/usr/local/libexec/git-core$ ls
git                   git-count-objects             git-gui                 git-merge-subtree        git-remote             git-sh-setup
git-add               git-credential                git-gui--askpass        git-mergetool            git-remote-ext         git-stage
git-add--interactive  git-credential-cache          git-hash-object         git-mergetool--lib       git-remote-fd          git-stash
git-am                git-credential-cache--daemon  git-help                git-merge-tree           git-remote-ftp         git-status
git-annotate          git-credential-store          git-http-backend        git-mktag                git-remote-ftps        git-stripspace
git-apply             git-cvsexportcommit           git-http-fetch          git-mktree               git-remote-http        git-submodule
git-archimport        git-cvsimport                 git-http-push           git-mv                   git-remote-https       git-submodule--helper
git-archive           git-cvsserver                 git-imap-send           git-name-rev             git-remote-testpy      git-svn
git-bisect            git-daemon                    git-index-pack          git-notes                git-remote-testsvn     git-symbolic-ref
git-bisect--helper    git-describe                  git-init                git-p4                   git-repack             git-tag
git-blame             git-diff                      git-init-db             git-pack-objects         git-replace            git-tar-tree
git-branch            git-diff-files                git-instaweb            git-pack-redundant       git-repo-config        git-unpack-file
git-bundle            git-diff-index                git-interpret-trailers  git-pack-refs            git-request-pull       git-unpack-objects
git-cat-file          git-difftool                  git-log                 git-parse-remote         git-rerere             git-update-index
git-check-attr        git-difftool--helper          git-lost-found          git-patch-id             git-reset              git-update-ref
git-check-ignore      git-diff-tree                 git-ls-files            git-peek-remote          git-revert             git-update-server-info
git-check-mailmap     git-fast-export               git-ls-remote           git-prune                git-rev-list           git-upload-archive
git-checkout          git-fast-import               git-ls-tree             git-prune-packed         git-rev-parse          git-upload-pack
git-checkout-index    git-fetch                     git-mailinfo            git-pull                 git-rm                 git-var
git-check-ref-format  git-fetch-pack                git-mailsplit           git-push                 git-send-email         git-verify-commit
git-cherry            git-filter-branch             git-merge               git-quiltimport          git-send-pack          git-verify-pack
git-cherry-pick       git-fmt-merge-msg             git-merge-base          git-read-tree            git-shell              git-verify-tag
git-citool            git-for-each-ref              git-merge-file          git-rebase               git-sh-i18n            git-web--browse
git-clean             git-format-patch              git-merge-index         git-rebase--am           git-sh-i18n--envsubst  git-whatchanged
git-clone             git-fsck                      git-merge-octopus       git-rebase--interactive  git-shortlog           git-worktree
git-column            git-fsck-objects              git-merge-one-file      git-rebase--merge        git-show               git-write-tree
git-commit            git-gc                        git-merge-ours          git-receive-pack         git-show-branch        mergetools
git-commit-tree       git-get-tar-commit-id         git-merge-recursive     git-reflog               git-show-index
git-config            git-grep                      git-merge-resolve       git-relink               git-show-ref
deng@cecport:/usr/local/libexec/git-core$

这导致里面的 git-remote-https, git-remote-http 这些得不到执行。所以 git 所表现出来的功能不全。

解决办法是:将 /usr/local/libexec/git-core 纳入 PATH,至少在使用 git 之前,设置一下PATH。

deng@cecport:/usr/local/libexec/git-core$ vim ~/.bashrc
最后一行添加如下:
export PATH=/usr/local/libexec/git-core:$PATH

重启或者重新登录即可是环境变量生效

【物联网】OpenWrt编译出现Unable to find remote helper for 'https'问题相关推荐

  1. Unable to find remote helper for 'https'解决办法

    Unable to find remote helper for 'https'解决办法: 产生这个报错的原因一般是普通用户没权限调用git-remote-https所致 # ln -s /usr/l ...

  2. git push的时候报Unable to find remote helper for 'https'的错误

    在ubuntu下使用git push代码到github上的时候报Unable to find remote helper for 'https'的错误. 我的解决方法是重装git 1.7.7的版本. ...

  3. fatal: Unable to find remote helper for 'https'

    如果出现这样clone报错的,可能是未安装curl-devel. 依次执行安装命令,并重新编译git yum install curl-devel cd /home/tools/git-2.9.5/ ...

  4. 【物联网】OpenWrt编译和修改基础--预科

    该文章讲解一下在AR9331上使用Openwrt的编译修改方法,前面先介绍一下硬件平台特点,为后面的代码修改做铺垫,然后描述一下Openwrt的编译烧写流程,最后再重点讲述编译配置.代码修改细节. 1 ...

  5. openwrt编译环境搭建

    openwrt编译环境搭建 1.虚拟机安装 请参考网络上的资料进行安装. 2.ubuntu安装 请参考网络上的资料进行安装. 3.ubuntu下安装相关的编译环境(若是编译环境没有准备好,在后来的操作 ...

  6. 最新版OpenWrt编译教程,解决依赖问题

    最新版OpenWrt编译教程,解决依赖问题 参考文章: (1)最新版OpenWrt编译教程,解决依赖问题 (2)https://www.cnblogs.com/jzssuanfa/p/7400840. ...

  7. STM8S编译错误unable to allocate space for sections/blocks with a total

    STM8S编译错误unable to allocate space for sections/blocks with a total # 欢迎使用Markdown编辑器 笔者用IAR for STM8 ...

  8. OpenWrt 编译及batman-adv组件选择(for Netgear WNDR3800)

    OpenWrt 编译(ubuntu)及batman-adv配置(for Netgear WNDR3800) 一.编译openwrt固件 1.下载源码,如15.05(Chaos Calmer)这个版本 ...

  9. OpenWRT编译 -- 出现‘...net/mac80211/mac80211.ko‘ is missing的错误

    1.背景   1.在 ubuntu 环境下搭建好 OpenWRT 的开发环境使用良久之后(具体的搭建可以查阅 OpenWRT 编译 – 搭建属于自己的 OpenWRT 的开发环境),心血来潮想要换一下 ...

最新文章

  1. 不知道这 7 大 OpenCV 函数怎么向计算机视觉专家进阶?
  2. Python的可视化包 – Matplotlib 2D图表(点图和线图,.柱状或饼状类型的图),3D图表(曲面图,散点图和柱状图)...
  3. 谈谈 Python 程序的运行原理
  4. mysql中关于group的语句指令_mysql不支持group by的解决方法小结
  5. 河南省队选拔 HAOI2015 解题报告
  6. 怎么把截屏的一部分内容涂掉_电脑怎么录屏?录屏软件的使用技巧
  7. python写个验证码
  8. 请不要做浮躁的IT人
  9. @enableautoconfiguration注解作用_Spring Boot最核心的27个干货注解,你了解多少?
  10. FreeRTOS学习记录(安富莱FreeRTOS教程摘录)
  11. 无刷直流电机常用计算公式
  12. ensp服务器配置文件,ensp配置web服务器
  13. c++面试常见问题2019-10-03
  14. 批量下载bilibili视频
  15. conda安装rdkit包出现的问题
  16. 怎么吃才能促进孩子长个子?
  17. 【学术篇】SDOI2008 山贼集团
  18. 逻辑与、逻辑或||的注意项
  19. signature=5dd3f675332448cbe48d657ff930a326,Moss responses to elevated CO
  20. 示波器和Multisim的使用

热门文章

  1. sql 查看数据库中的各表的大小
  2. 原SUN网站:java.sun.com,developers.sun.com,bigadmin将合并到OTN
  3. 谈谈DictionaryT1,T2和ListT的问题
  4. linux 优化内存分配,Linux性能优化 第三章 性能工具:系统内存
  5. android 判断http编码格式,安卓入门笔记之HttpURLConnection的使用
  6. Java黑皮书课后题第2章:2.11(人口统计)重写编程练习题1.11,提示用户输入年数,然后显示这个年数之后的人口值,将1.11中的提示用于这个程序
  7. C语言学习之通过指针变量调用它所指向的函数
  8. 【2012百度之星/初赛下】A:度度熊就是要刷排名第一
  9. 电阻(4)之上/下拉电阻
  10. Expression Blend实例动画-大坝水位升高演示