Comments (5)
First of all, thank you for even trying to build this project. The setup is rater complex and I may miss some important points, so pelase ask if you see any troubles.
Regarding the pjsip
the problem: it is likely in some recent changes made by nixpkgs
authors. The nix upstream started to diverge from tg2sip
's expectations some time ago, so I had to downgrade pjsip version. Looking at your error I think that they probably introduced more changes wich is not compatible with pjsip-2.9
which is only acceptable by tg2sip
.
I see 2 options how to fix it:
- Use an older version of
nixpkgs
. Last time I checked, the following commit worked: NixOS/nixpkgs@3e55f1d You may need to know how to use standalonenixpkgs
trees instead of pre-installed by nix-channels (adjustingNIX_PATH
, etc - check the Nix manual or ask here) update: or try changing the very first line of ./default.nix to something likepkgs ? import /path/to/your/nixpkgs {}
This option is probably the most promising. - Figure out how to improve my current code for downgrading pjsip here. One probably needs to add another line or two in order to disable the patching (in a hope that it is not important).
Note that rather than running run.sh
, you can build pjsip
and other components one-by-one like this
$ nix-build -A pjsip default.nix
...
/nix/store/srf9p5nw1hkjmxbns1fa26wwwfzxv09k-pjsip+opus-2.9
from asterisk-dongle-setup.
fix-aarch64.patch
BTW, are you trying to build everything for ARM?
from asterisk-dongle-setup.
No, on Debian 10 x64.
Thats the silly part, the patch looks like it is for ARM. I dont know NixOS so this is quite a learning curve.
from asterisk-dongle-setup.
No, on Debian 10 x64.
Thats the silly part, the patch looks like it is for ARM. I dont know NixOS so this is quite a learning curve.
OK then. I've checked my version of nixpkgs -it also has this patch. Nix applies it unconditionally to fix something related to ARM. In my nixpkgs
it works fine. Probably, you have a newer nixpkgs
which comes with a newer patch which is no longer compatible with the pjsip version I pinned manually. I've added a line which disables all the patches, it should help.
from asterisk-dongle-setup.
Boom baby! Compiled, thank you.
I have a couple more questions but I will open them up as different issue
from asterisk-dongle-setup.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asterisk-dongle-setup.