-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add support for custom dir layout #1
Comments
Greetings, Thanks for trying out directory layout options available for UniMRCP. You are right the Asterisk module uses the default layout. If you can take a closer look and make the necessary changes, I'd be glad to push them upstream. Feel free to ask for help, if needed. |
I would be happy to help, but do not have any experience with C or GNU Build System. My current dirty solution is hardcode my layout in a |
…ts-teardown-fix NeoSpeech MRCPv1 compatability fix: send explicit ANNOUNCE:STOP prior to TEARDOWN of TTS
@seamus-45 I'm using the latest alpine docker image, and can
Any thoughts on this? it looks like there's a bug in the patched version of the deps. Perhaps I should be installing the deps in a different manner? |
I do not see anything apparently wrong on the error line. What is the version of gcc on your Linux distribution. And more interestingly, how is __GLIBC_PREREQ() defined in features.h typically located in /usr/include directory. Below is a relevant part matching glibc 2.12. /* Major and minor version number of the GNU C library package. Use #define __GLIBC_PREREQ(maj, min) |
@adamgoose As I mentioned above, Alpine is built on musl but not on glibc. Thus you will not be able to build unpatched apr bundled with unimrcp-deps package. Instead of this, you should build every dependency separately and use patched apr/apr-util from aports. Overall, I have achieved this success, but many time ago. Below you can see versions which I used:
It is somewhat difficult, because you will have to write APKBUILD by yourself. Good luck! |
Support to speak verif
Greetings,
I am a user of Alpine Linux
I compiled asterisk, unimrcp and asterisk-unimrcp from source. Unimrcp has support for dir layout configuration. I edited
config.layout/dirlayout.xml
and add LSB layout configuration, then configure with--prefix=/usr --enable-layout=lsb
. Everything work flawlessly. But asterisk-unimrcp module pays no attention to these settings, and cannot load configunimrcpclient.xml
. After some digging, I realized that the module usesapt_default_dir_layout_create
function and without patching code no chance to get what I want.My current layout is:
P.S. Unfortunately Alpine Linux build system prevents to isntall packages in other places than
/{,usr}
, e.g./opt/unimrcp
or/usr/local/unimrcp
. I guess this is due to the fact that the Alpine is very simple and built on musl.The text was updated successfully, but these errors were encountered: