ssl.h

[!NOTE|label:error message:]

git-compat-util.h:213:25: fatal error: openssl/ssl.h: No such file or directory
#include \<openssl/ssl.h\>
# ubuntu/debian
$ sudo apt-get install libssl-dev

# RHEL/CentOS
$ sudo yum install openssl-devel

curl.h

[!NOTE|label:error message:]

http.h:6:23: fatal error: curl/curl.h: No such file or directory
#include \<curl/curl.h\>
# OpenSuse
$ sudo apt-get install libcurl4-openssl

# ubuntu/debian
$ sudo apt-get install libcurl4-openssl-dev

# RHEL/CentOS
$ sudo yum install libcurl libcurl-devel

[!TIP|label:root cause:]

  • libcurl-dev should be installed, but
    Package libcurl-dev is a virtual package provided by:
      libcurl4-openssl-dev 7.35.0-1ubuntu2
      libcurl4-nss-dev 7.35.0-1ubuntu2
      libcurl4-gnutls-dev 7.35.0-1ubuntu2
    You should explicitly select one to install.
    

expat.h

[!NOTE|label:error message:]

http-push.c:17:19: fatal error: expat.h: No such file or directory
#include \<expat.h\>
# ubuntu/debian
$ apt-cache search expat | grep dev
libexpat1-dev - XML parsing C library - development kit
lib64expat1-dev - XML parsing C library - development kit (64bit)
libexpat-ocaml-dev - OCaml expat bindings
lua-expat-dev - libexpat development files for the Lua language
tdom-dev - fast XML/DOM/XPath/XSLT extension for Tcl written in C (development files)
$ sudo apt-get install libexpat1-dev

# RHEL/CentOS
$ sudo yum install expat-devel

tclsh

[!NOTE|label:error message:]

tclsh failed; using unoptimized loading
MSGFMT    po/de.msg make[1]: *** [po/de.msg] Error 127
make: *** [all] Error 2
# ubuntu/debian
$ sudo apt-get install gettext

asciidoc

[!NOTE|label:error message:]

ASCIIDOC git-add.html
/bin/sh: 2: asciidoc: not found
make[1]: *** [git-add.html] Error 127
make[1]: Leaving directory `/home/marslo/Tools/Software/Programming/Git/git-master/Documentation'
make: *** [doc] Error 2
# ubuntu/debian
$ apt-cache search asciidoc
$ sudo apt-get install -y asciidoc

# centos/rhel
$ yum install -y docbook-style-xsl
$ rpm -ivh http://pkgs.repoforge.org/asciidoc/asciidoc-8.6.9-1.el6.rfx.noarch.rpm

docbook2x-texi

[!NOTE|label:error message:]

db2texi user-manual.texi
/bin/sh: 2: docbook2x-texi: not found
make[1]: *** [user-manual.texi] error 127
make[1]: leaving directory `/home/marslo/tools/software/programming/git/git-master/documentation'
make: *** [info] error 2
# ubuntu/debian
$ sudo apt-get install -y docbook2x

# centos/rhel
$ sudo yum -y --enablerepo=*epel* install docbook2X
$ sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi

[!NOTE|label:references:]

hunspell

[!NOTE|label:error message:]

$ qmake-qt4
Project MESSAGE: Install Prefix is: /usr/local
Project ERROR: Package hunspell not found
# ubuntu/debian
$ sudo apt-get install -y hunspell libhunspell-dev

ao

[!NOTE|label:error message:]

$ qmake-qt4
Project MESSAGE: Install Prefix is: /usr/local
Project ERROR: Package ao not found
# ubuntu/debian:
$ apt-cache search ao | grep dev
libao-dev - Cross Platform Audio Output Library Development
...
$ sudo apt-get install libao-dev

ncurses

[!NOTE|label:error message:]

no terminal library found
checking for tgetent()... configure: error: NOT FOUND!
      You need to install a terminal library; for example ncurses.
      Or specify the name of the library with --with-tlib.
# RHEL/CentOS
$ yum install ncurses-devel

bash_completion

[!NOTE|label:error message:] bash: _filedir: command not found

# modify
BASH_COMPLETION="$(brew --prefix)/etc/profile.d/bash_completion.sh"
# to
BASH_COMPLETION="$(brew --prefix bash-completion)/etc/bash_completion"

# and then
test -f "${BASH_COMPLETION}" && source "${BASH_COMPLETION}"
# verify
$ compgen -A function | grep _filedir
_comp_compgen_filedir
_comp_compgen_filedir_xspec
_comp_complete_filedir_xspec
_filedir
_filedir_xspec

# or
$ declare -F | grep _filedir
declare -f _comp_compgen_filedir
declare -f _comp_compgen_filedir_xspec
declare -f _comp_complete_filedir_xspec
declare -f _filedir
declare -f _filedir_xspec
# result
$ type _filedir
_filedir is a function
_filedir ()
{
    local i IFS='
' xspec;
    _tilde "$cur" || return 0;
    local -a toks;
    local quoted tmp;
    _quote_readline_by_ref "$cur" quoted;
    toks=(${toks[@]-} $(compgen -d -- "$cur" | { while read -r tmp; do
    printf '%s\n' $tmp;
done; }));
    if [[ "$1" != -d ]]; then
        [[ ${BASH_VERSINFO[0]} -ge 4 ]] && xspec=${1:+"!*.@($1|${1^^})"} || xspec=${1:+"!*.@($1|$(printf %s $1 | tr '[:lower:]' '[:upper:]'))"};
        toks=(${toks[@]-} $(compgen -f -X "$xspec" -- $quoted));
    fi;
    [ ${#toks[@]} -ne 0 ] && _compopt_o_filenames;
    COMPREPLY=("${COMPREPLY[@]}" "${toks[@]}")
}

$ fcf _filedir
_filedir 632 /usr/local/opt/bash-completion/etc/bash_completion
Copyright © marslo 2020-2026 all right reserved,powered by GitbookLast Modified: 2026-08-26 14:03:28

results matching ""

    No results matching ""