The task of compiling zsh on OSX

I am trying to install zsh

git clone git://zsh.git.sf.net/gitroot/zsh/zsh 
cd zsh                                                                                                                            
Util/preconfig  
./configure --prefix=dir
make 

but, I get it

gcc -Wl,-x  -bundle -flat_namespace -undefined suppress -o zleparameter.so   zleparameter..o    -liconv -ldl -ltermcap -lm  -lc
: yodl  -o zsh.texi -I. -w ztexi.yo version.yo zsh.yo; \
        test -f zsh.texi
make[1]: *** [zsh.texi] Error 1
+5
source share
2 answers

Zsh source archives are distributed with pre-created documentation, including a file zsh.texi. You checked zsh from git, so you only get the original source files. The documentation is created using Yodl , and the makefile is configured to collect documentation by default. Install Yodl (on OSX you may need to build it from the source). If you are in a hurry and do not want to create documentation, configure the makefile to skip the documentation assembly: remove Docfrom SUBDIRSand from the loop forin the target all.

+4

Gilles , , zsh.

// sudo install build-essential
// sudo install yodl
git clone git://zsh.git.sf.net/gitroot/zsh/zsh
cd zsh
./Util/preconfig
./configure --prefix=/usr/local
make
sudo make install

, JuanPablo, make clean make .

-1

All Articles