Git Product home page Git Product logo

Comments (5)

grwlf avatar grwlf commented on July 22, 2024

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:

  1. 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 standalone nixpkgs trees instead of pre-installed by nix-channels (adjusting NIX_PATH, etc - check the Nix manual or ask here) update: or try changing the very first line of ./default.nix to something like pkgs ? import /path/to/your/nixpkgs {} This option is probably the most promising.
  2. 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.

grwlf avatar grwlf commented on July 22, 2024

fix-aarch64.patch

BTW, are you trying to build everything for ARM?

from asterisk-dongle-setup.

AlphaJosh avatar AlphaJosh commented on July 22, 2024

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.

grwlf avatar grwlf commented on July 22, 2024

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.

AlphaJosh avatar AlphaJosh commented on July 22, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.