Summary: | ASTERISK-24632: install_prereq script installs pjproject without IPv6 support | ||
Reporter: | Rusty Newton (rnewton) | Labels: | |
Date Opened: | 2014-12-19 18:38:12.000-0600 | Date Closed: | 2015-02-15 12:01:04.000-0600 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Contrib/General |
Versions: | 12.8.0 13.1.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Filing this for an issue someone noted on the forums: http://forums.asterisk.org/viewtopic.php?f=1&t=92055
{quote} 1. When downloading asterisk there is a script in contrib/scripts named install_prereq. 2. The script can download and install packaged and unpackaged prerequisites. 3. For the raspian distro pjproject is in the unpackaged prereqs. 4. The script downloads and installs pjproject from https://github.com/asterisk/pjproject.git 5. The script compiles pjproject without IPV6 support 6. When trying to build this version of pjproject the build fails with an unresolved reference to srtp_shutdown 7. When downloading the newest version of pjproject from svn co http://svn.pjsip.org/repos/pjproject/trunk/ the build with IPV6 support succeeds {quote} Not sure what we should do here. Is there any cost to just having it build with IPv6? Or maybe we just need a bit more documentation for the install_prereq script. Edit - It appears we can just modify the pjproject configuration to include {{CFLAGS='-DPJ_HAS_IPV6=1'}} if we want to have IPV6 support by default. | ||
Comments: | By: Matt Jordan (mjordan) 2014-12-21 19:20:27.529-0600 To install {{pjproject}} with IPv6 support, you have to modify the {{config_site}} header file. I'm not sure that's something we would want our install script to do. By: Rusty Newton (rnewton) 2014-12-22 18:30:54.407-0600 I was under the impression you only needed to configure it with {{CFLAGS='-DPJ_HAS_IPV6=1'}} before building? By: Joshua C. Colp (jcolp) 2015-01-06 11:05:35.213-0600 Either should do it. By: Matt Jordan (mjordan) 2015-01-06 11:34:05.193-0600 Er... yay! That would be a good modification to the {{install_prereq}} script. |