[Info] Compile (most) prerequisites for building freetz on unsupported distros

zyrill

Neuer User
Mitglied seit
29 Jul 2009
Beiträge
89
Punkte für Reaktionen
0
Punkte
6
Hi guys,

I just installed a bleeding edge distro (Kali 2.0) that lacked a lot of the prerequisites but I still wanted to build freetz so I got started building a lot of the required packages myself.

Installed were gcc (4.9.2-2), g++ (4.9.2-10), make-guile (4.0-8.1).

Here is the rest that I needed to prepare to "make menuconfig":
Code:
wget http://ftp.gnu.org/gnu/autoconf/autoconf-latest.tar.xz && tar xfJ autoconf-latest.tar.xz && cd autoconf-latest && ./configure && make && make install && cd .. && rm -rf autoconf-*
wget http://ftp.gnu.org/gnu/automake/automake-1.15.tar.xz && tar xfJ automake-1.15.tar.xz && cd automake-1.15 && ./configure && make && make install && cd .. && rm -rf automake-1.15*
wget http://ftp.gnu.org/gnu/gawk/gawk-4.1.3.tar.xz && tar xfJ gawk-4.1.3.tar.xz && cd gawk-4.1.3 && ./configure && make && make install && cd .. && rm -rf gawk-4.1.3*
wget http://ftp.gnu.org/gnu/bison/bison-3.0.4.tar.xz && tar xfJ bison-3.0.4.tar.xz && cd bison-3.0.4 && ./configure && make && make install && cd .. && rm -rf bison-3*
wget http://ftp.halifax.rwth-aachen.de/gnu/libtool/libtool-2.4.6.tar.xz && tar xfJ libtool-2.4.6.tar.xz && cd libtool-2.4.6 && ./configure && make && make install && cd .. && rm -rf libtool-2.4.6*
wget ftp://ftp.gnu.org/gnu/ncurses/ncurses-6.0.tar.gz && tar xfz ncurses-6.0.tar.gz && cd ncurses-6.0/ && ./configure --enable-ext-colors && make && make install && cd .. && rm -rf ncurses-6.0*
wget http://http.debian.net/debian/pool/main/a/attr/attr_2.4.47.orig.tar.bz2 && tar xfj attr_2.4.47.orig.tar.bz2 && cd attr-2.4.47/ && ./configure && make && make install install-dev install-lib && cd .. && rm -rf attr*
wget http://http.debian.net/debian/pool/main/a/acl/acl_2.2.49-4.debian.tar.bz2 && tar xfj acl_2.2.52.orig.tar.bz2 && ./configure &&  make && make install install-dev install-lib && cd .. && rm -rf acl*
wget http://http.debian.net/debian/pool/main/libc/libcap2/libcap2_2.24.orig.tar.xz && tar xfJ libcap2_2.24.orig.tar.xz && cd libcap2-2.24/ && make && make install && cd .. && rm -rf libcap*
wget ftp://ftp.cwru.edu/pub/bash/readline-6.3.tar.gz && tar xfz readline-6.3.tar.gz && cd readline-6.3 && ./configure && make && make install && cd .. && rm -rf readline-6.3*

"make menuconfig" works and I've just compiled an image. I wasn't able to do it with the precompiled toolchain, however building the toolchain myself the image creation went perfectly.

Happy building!
 
Zuletzt bearbeitet:
For future reference, modern versions (kali-rolling) of Kali have all required packages:

apt-get install automake autoconf bc bison flex gawk g++-multilib imagemagick libacl1-dev libcap-dev libncurses5-dev libreadline-dev libtool make pkgconf python zlib1g-dev

ln -s /usr/bin/libtoolize /usr/bin/libtool

###
Edit: amended required packages; again; again; again.
 
Zuletzt bearbeitet:
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.