Line 1: |
Line 1: |
− | = Compiling AllStarLink =
| |
| | | |
− | The following commands will allow you to compile AllStarLink's ASL 1.01+ release. | + | [[Category:Software]] |
| + | [[Category:Development]] |
| + | {{Infobox PTTLink |
| + | | image = XCD-compiling.png |
| + | | caption = Compiling |
| + | | category = How to |
| + | }} |
| + | |
| + | How to compile the software for your on your own systems. |
| + | |
| + | = Compiling PTTLinkLink = |
| + | |
| + | The following commands will allow you to compile PTTLinkLink's PTTLink 1.01+ release. |
| | | |
| These instructions assume you are already familiar with compiling and installing software on Linux. | | These instructions assume you are already familiar with compiling and installing software on Linux. |
Line 7: |
Line 18: |
| Note: These instructions are currently a Work In Progress. You are going to have to resolve dependency issues yourself if you follow them. | | Note: These instructions are currently a Work In Progress. You are going to have to resolve dependency issues yourself if you follow them. |
| | | |
− | You will also need to have cloned the main AllStarLink repo at https://github.com/AllStarLink/Asterisk | + | You will also need to have cloned the main PTTLinkLink repo at https://github.com/PTTLinkLink/Asterisk |
| | | |
| == DO NOT BLINDLY RUN THE COMMANDS HERE WITHOUT UNDERSTANDING WHAT THEY DO!! == | | == DO NOT BLINDLY RUN THE COMMANDS HERE WITHOUT UNDERSTANDING WHAT THEY DO!! == |
Line 19: |
Line 30: |
| apt-get install -y git build-essential libss7-dev wget apt-utils dahdi-source dahdi-linux aptitude tcsh gawk libusb-dev vim '''libblkid-dev''' | | apt-get install -y git build-essential libss7-dev wget apt-utils dahdi-source dahdi-linux aptitude tcsh gawk libusb-dev vim '''libblkid-dev''' |
| | | |
− | == Install Linux Sources and Headers == | + | == Compiling for PC == |
| + | |
| + | === Install Linux Sources and Headers === |
| | | |
| apt-get install -y linux-headers-generic linux-source | | apt-get install -y linux-headers-generic linux-source |
| | | |
− | == Install Asterisk Prereqs == | + | === Install Asterisk Prereqs === |
| | | |
| mkdir /etc/vpb | | mkdir /etc/vpb |
Line 31: |
Line 44: |
| apt-get install -f | | apt-get install -f |
| | | |
− | == Build DAHDI == | + | === Build DAHDI === |
| | | |
− | git clone https://github.com/AllStarLink/ASL-DAHDI-PATCHED-2.11.1.git | + | git clone https://github.com/PTTLink/ASL-DAHDI-PATCHED-2.11.1.git |
| cd ASL-DAHDI-PATCHED-2.11.1 | | cd ASL-DAHDI-PATCHED-2.11.1 |
| make distclean | | make distclean |
− | make | + | make MODULES_EXTRA="dahdi_dummy" |
− | make install | + | make install MODULES_EXTRA="dahdi_dummy" |
| make config | | make config |
| | | |
− | == Install GCC 4.9 to compile ASL 1.01+ == | + | === Install GCC 4.9 to compile PTTLink 1.01+ === |
| echo "deb http://ftp.us.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list | | echo "deb http://ftp.us.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list |
| echo "deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list | | echo "deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list |
Line 46: |
Line 59: |
| apt-get install -y gcc-4.9 g++-4.9 | | apt-get install -y gcc-4.9 g++-4.9 |
| | | |
− | == Build Asterisk for ASL == | + | === Build Asterisk for PTTLink === |
| | | |
− | git clone https://github.com/AllStarLink/Asterisk | + | git clone https://github.com/PTTLink/Asterisk |
| cd Asterisk/asterisk | | cd Asterisk/asterisk |
| '''./bootstrap.sh''' | | '''./bootstrap.sh''' |
Line 69: |
Line 82: |
| make bininstall | | make bininstall |
| | | |
− | == Final == | + | === Final === |
| | | |
| There is no guarantee this will work for you. Your mileage may vary. | | There is no guarantee this will work for you. Your mileage may vary. |
| + | |
| + | == Compiling for Raspberry PI == |
| + | |
| + | Coming soon |