Installing on Ubuntu 20.04 LTS

After many years, I’ve decided to revisit AllStar, especially since there are now a number of systems around VK that run AllStar, and I’ve also got some new ways to link it to my existing systems.

To this end, I have setup a VPS, which happens to be running Ubuntu 20.04 LTS. I tried the instructions on the Wiki, but it seems my distro is too “new”, because it doesn’t have libcurl3, which is a dependency for the asl-asterisk.package.

Would libcurl4 work? (I can tweak dependencies), or do I have to downgrade my distro? Or the third option, is this an area of experimentation (which I’m not afraid to do)?

Any thoughts?

Maybe. I’ve not tried compiling it on a newer Ubuntu. What sources are you using?

I’ve got the ASL 1.02 release candidate sitting on github and have another update I will be pushing to it tonight that fixes GPIO in the events section of rpt.conf.

The issue you may likely run into is compiling DAHDI for the 5.x kernel. The 2.11.1 version on github also has the patches in it for the 4.19 kernel. I posted them the other day. As far as I know it has not been tested on the 5.x kernel.

I recommend running Ubuntu 18.04 instead of the 20.04. The code will compile on that. You may run into an issue with libssl though. Make sure libssl1.0-dev is installed before you compile.

Instructions are on the wiki on how to compile.

The standard repository referenced in the Wiki documentation Umm, I mentioned the exact issue in my post. The problem is I don’t have libcurl3, because it’s not available on Ubuntu 20.04. I only have libcurl4. So I don’t get to the point of compiling anything. I’m not keen on downgrading, mainly because that means reduced support time for what’s likely to be a long lived system.

···

On 19/6/20 1:19 pm, Stacy Olivas via AllStarLink Discussion Groups wrote:

| Stacy_Olivas | Stacy_Olivas
June 19 |
| - | - |

Maybe. I’ve not tried compiling it on a newer Ubuntu. What sources are you using?

I’ve got the ASL 1.02 release candidate sitting on github and have another update I will be pushing to it tonight that fixes GPIO in the events section of rpt.conf.

The issue you may likely run into is compiling DAHDI for the 5.x kernel. The 2.11.1 version on github also has the patches in it for the 4.19 kernel. I posted them the other day. As far as I know it has not been tested on the 5.x kernel

I recommend running Ubuntu 18.04 instead of the 20.04. The code will compile on that. You may run into an issue with libssl though. Make sure libssl1.0-dev is installed before you compile.

-- 
73 de Tony VK3JED/VK3IRL

http://vkradio.com

Yes, the repo in the wiki: https://www.github.com/allstarlink

Not to discourage you, but 20.04 is still pretty new. 18.04 will be around until at least 2028 for security updates. 20.04 only has two years past that as well. (https://ubuntu.com/about/release-cycle)

My suggestion is based upon compiling it on 18.04 myself.

If you insist on sticking to 20.04 you have a few alternatives:
-Download the libcurl sources (https://github.com/curl/curl) and compile them yourself, then specify that in the ./configure line (note I’ve updated the bootstrap.sh file in the github repo to re-create the configure scripts)
-Make the necessary changes to the configure scripts and Asterisk 1.4 sources to get it linking with libcurl4.

It all depends on how much work you want to spend to get it running. I will say though that if you do find yourself going down this rabbit hole (and don’t let me discourage you) that any notes you can provide on the AllStarLInk Wiki (https://wiki.allstarlink.org/wiki/Compiling) for 20.04 will be appreciated. Even a patch if you find yourself having to update DAHDI 2.11.1 to work with a kernel past 4.19.