Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freeswitch python module #226585

Closed
brianmay opened this issue Apr 17, 2023 · 3 comments
Closed

freeswitch python module #226585

brianmay opened this issue Apr 17, 2023 · 3 comments
Labels
0.kind: bug Something is broken

Comments

@brianmay
Copy link

Describe the bug

I would like to be able to use the mod_python module with freeswitch for Python support.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Attempt to build with modules containing languages.python.

Expected behavior

It should work. Even better, more modules should maybe be supplied with the standard distribution. Or maybe somehow split up into another package or something.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Trying to do this myself, so far without success.

Possible configure required the -with-python3 flag. Not 100% sure yet.

Suspect this might be an issue also: signalwire/freeswitch#1479

Using Python3.9 solves this but then I get other (maybe unrelated?) build issues, such as it trying to execute /libtoolfor some unknown reason.

Notify maintainers

@misuzu

Metadata

$ nix-shell -p nix-info --run "nix-info -m"

 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.102, NixOS, 22.11 (Raccoon), 22.11.3221.328c9c6f597`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(brian): `""`
 - channels(root): `"nixos-22.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos
@brianmay brianmay added the 0.kind: bug Something is broken label Apr 17, 2023
@misuzu
Copy link
Contributor

misuzu commented Apr 17, 2023

The install script attempts to copy freeswitch.py into Python's site-packages directory, which obviously won't work since that directory is read-only. Not sure if it's possible to properly package this module.

@brianmay
Copy link
Author

What about setting DESTDIR to something else?

@brianmay
Copy link
Author

I had a good look at this, but it appears that Python support is broken upstream, with a number of bug reports, and so far no response. I was getting a compile error due to using a deprecated Python API.

No chance of getting this fixed until upstream is fixed, so will close this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

2 participants