Current procedure for re-compiling asterisk/asl on deb9 ?
Do we have a current procedure for re-compiling asterisk/asl on deb9 ? Any links to a written version ? ...mike/kb8jnm
On 07/12/2018 04:30 PM, Mike wrote:
Do we have a current procedure for re-compiling asterisk/asl on deb9 ?
Any links to a written version ?
...mike/kb8jnm
** The following instructions are untested -- your mileage will vary and you will need to adjust for things that are missing ** I'm told the develop branch in the repository is the current version of ASL that was released. The Makefile there is probably outdated a bit if it doesn't work, so you can try this instead: In your /etc/apt/sources.list add: deb-src http://mirrors.kernel.org/debian/ stretch main deb-src http://mirrors.kernel.org/debian/ stretch-updates main deb-src http://security.debian.org/debian-security stretch/updates main Then: apt-get update You will then need to install the various dependencies to get it to compile: apt-get install build-essential linux-headers-$(uname -r) linux-source libssl7-dev wget dahdi-source dahdi-linux gawk libusb-dev doxygen git Then try this to make sure you have everything: apt-get build-dep asterisk apt-get install libssl1.0-dev Change to a base directory you want everything in and then do: git cone https://github.com/AllStarLink/DAHDI.git git clone https://github.com/AllStarLink/Asterisk.git Change into the Asterisk directory you just downloaded the sources to and do: git checkout develop This last line will switch you from the master branch to the develop branch. Change into the DAHDI directory and then run: make distclean make make install make config (I recommend recompiling and reinstalling DAHDI to make sure that the version that has been patches for AllStar is installed and the headers/libraries are available for recompiling Asterisk) Change into the Asterisk Directory and see if the Makefile works. You can run make help. If not, then try this: cd asterisk ./configure menuselect/menuselect --enable app_rpt --enable chan_beagle --enable chan_tlb --enable chan_usrp --enable chan_rtpdir --enable chan_usbradio --enable chan_simpleusb --enable chan_echolink --enable app_gps --enable chan_voter --enable radio-tune-menu --enable simpleusb-tune-menu menuselect.makeopts make make install make samples and if you want to program docs: make progdocs Change the --enable lines to --disable for features you don't want included. This has not been tested, but should probably work for just recompiling asterisk. You will have to adjust as necessary to account for dependencies that are missing and install them. With Debian 9, you will need libssl1.0-dev to account for any SSL/TLS code that is looking for things that only exist in the older libssl. With Ubuntu, libssl-dev should work. Let me know how this works for you. -Stacy KG7QIN
On 07/12/2018 07:38 PM, Stacy wrote:
On 07/12/2018 04:30 PM, Mike wrote:
Do we have a current procedure for re-compiling asterisk/asl on deb9 ?
Any links to a written version ?
...mike/kb8jnm
** The following instructions are untested -- your mileage will vary and you will need to adjust for things that are missing **
I'm told the develop branch in the repository is the current version of ASL that was released.
The Makefile there is probably outdated a bit if it doesn't work, so you can try this instead:
In your /etc/apt/sources.list add:
deb-src http://mirrors.kernel.org/debian/ stretch main deb-src http://mirrors.kernel.org/debian/ stretch-updates main deb-src http://security.debian.org/debian-security stretch/updates main
Then: apt-get update
You will then need to install the various dependencies to get it to compile: apt-get install build-essential linux-headers-$(uname -r) linux-source libssl7-dev wget dahdi-source dahdi-linux gawk libusb-dev doxygen git
Then try this to make sure you have everything: apt-get build-dep asterisk apt-get install libssl1.0-dev
Change to a base directory you want everything in and then do:
git clone not git cone!!! oops!
git clone https://github.com/AllStarLink/Asterisk.git
Change into the Asterisk directory you just downloaded the sources to and do: git checkout develop
This last line will switch you from the master branch to the develop branch.
Change into the DAHDI directory and then run:
make distclean make make install make config
(I recommend recompiling and reinstalling DAHDI to make sure that the version that has been patches for AllStar is installed and the headers/libraries are available for recompiling Asterisk)
Change into the Asterisk Directory and see if the Makefile works. You can run make help.
If not, then try this:
cd asterisk ./configure menuselect/menuselect --enable app_rpt --enable chan_beagle --enable chan_tlb --enable chan_usrp --enable chan_rtpdir --enable chan_usbradio --enable chan_simpleusb --enable chan_echolink --enable app_gps --enable chan_voter --enable radio-tune-menu --enable simpleusb-tune-menu menuselect.makeopts make make install make samples
and if you want to program docs: make progdocs
Change the --enable lines to --disable for features you don't want included.
This has not been tested, but should probably work for just recompiling asterisk. You will have to adjust as necessary to account for dependencies that are missing and install them. With Debian 9, you will need libssl1.0-dev to account for any SSL/TLS code that is looking for things that only exist in the older libssl. With Ubuntu, libssl-dev should work.
Let me know how this works for you.
-Stacy KG7QIN
Thank you for that. But it looks like I'm going to need to test this on a separate test machine or a dup of the hard drive. But great. I've got something solid to work with. Perhaps after trying it a few times, I may be able to update and post that if it's needed. I really did not think I would get a reply on that one ! LOL Thank you for the time in writing a detailed answer. I just gotta find time to test it out now ! testing 'stuff', trying to get back into the full swing of things. It's amazing what you can forget in a few years. ...mike/kb8jnm On 7/12/2018 10:40 PM, Stacy wrote:
On 07/12/2018 07:38 PM, Stacy wrote:
On 07/12/2018 04:30 PM, Mike wrote:
Do we have a current procedure for re-compiling asterisk/asl on deb9 ?
Any links to a written version ?
...mike/kb8jnm
** The following instructions are untested -- your mileage will vary and you will need to adjust for things that are missing **
I'm told the develop branch in the repository is the current version of ASL that was released.
The Makefile there is probably outdated a bit if it doesn't work, so you can try this instead:
In your /etc/apt/sources.list add:
deb-src http://mirrors.kernel.org/debian/ stretch main deb-src http://mirrors.kernel.org/debian/ stretch-updates main deb-src http://security.debian.org/debian-security stretch/updates main
Then: apt-get update
You will then need to install the various dependencies to get it to compile: apt-get install build-essential linux-headers-$(uname -r) linux-source libssl7-dev wget dahdi-source dahdi-linux gawk libusb-dev doxygen git
Then try this to make sure you have everything: apt-get build-dep asterisk apt-get install libssl1.0-dev
Change to a base directory you want everything in and then do:
git clone not git cone!!!
oops!
git clone https://github.com/AllStarLink/Asterisk.git
Change into the Asterisk directory you just downloaded the sources to and do: git checkout develop
This last line will switch you from the master branch to the develop branch.
Change into the DAHDI directory and then run:
make distclean make make install make config
(I recommend recompiling and reinstalling DAHDI to make sure that the version that has been patches for AllStar is installed and the headers/libraries are available for recompiling Asterisk)
Change into the Asterisk Directory and see if the Makefile works. You can run make help.
If not, then try this:
cd asterisk ./configure menuselect/menuselect --enable app_rpt --enable chan_beagle --enable chan_tlb --enable chan_usrp --enable chan_rtpdir --enable chan_usbradio --enable chan_simpleusb --enable chan_echolink --enable app_gps --enable chan_voter --enable radio-tune-menu --enable simpleusb-tune-menu menuselect.makeopts make make install make samples
and if you want to program docs: make progdocs
Change the --enable lines to --disable for features you don't want included.
This has not been tested, but should probably work for just recompiling asterisk. You will have to adjust as necessary to account for dependencies that are missing and install them. With Debian 9, you will need libssl1.0-dev to account for any SSL/TLS code that is looking for things that only exist in the older libssl. With Ubuntu, libssl-dev should work.
Let me know how this works for you.
-Stacy KG7QIN
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
On 07/12/2018 07:56 PM, Mike wrote:
Thank you for that.
But it looks like I'm going to need to test this on a separate test machine or a dup of the hard drive.
But great. I've got something solid to work with.
Perhaps after trying it a few times, I may be able to update and post that if it's needed.
I really did not think I would get a reply on that one ! LOL
No problem. it is based off my notes from the 1.8 port stuff I did before. I do believe I missed one other thing. Before the menuselect line, you need to run: make menuselect.makeopts Yes, please let the list know if I'm correct on this and it works. Thanks. -Stacy
Thank you for the time in writing a detailed answer. I just gotta find time to test it out now !
testing 'stuff', trying to get back into the full swing of things. It's amazing what you can forget in a few years.
Thank You Stacy, I'll bet you did a pretty good job of it from what I see. ...mike/kb8jnm On 7/12/2018 11:32 PM, Stacy wrote:
On 07/12/2018 07:56 PM, Mike wrote:
Thank you for that.
But it looks like I'm going to need to test this on a separate test machine or a dup of the hard drive.
But great. I've got something solid to work with.
Perhaps after trying it a few times, I may be able to update and post that if it's needed.
I really did not think I would get a reply on that one ! LOL
No problem. it is based off my notes from the 1.8 port stuff I did before.
I do believe I missed one other thing. Before the menuselect line, you need to run:
make menuselect.makeopts
Yes, please let the list know if I'm correct on this and it works.
Thanks.
-Stacy
Thank you for the time in writing a detailed answer. I just gotta find time to test it out now !
testing 'stuff', trying to get back into the full swing of things. It's amazing what you can forget in a few years.
<https://github.com/AllStarLink/Asterisk/tree/develop/allstar/scripts> On 07/12/2018 07:30 PM, Mike wrote:
Do we have a current procedure for re-compiling asterisk/asl on deb9 ?
Any links to a written version ?
...mike/kb8jnm
_______________________________________________ App_rpt-users mailing list App_rpt-users@lists.allstarlink.org http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button" You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
participants (3)
-
Mike -
Stacy -
Steve Zingman