[asterisk-bugs] [JIRA] (ASTERISK-24598) When running ./contrib/scripts/install_prereq install-unpackaged pjproject is installed in wrong place

PowerPBX (JIRA) noreply at issues.asterisk.org
Wed Jan 7 17:53:34 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224337#comment-224337 ] 

PowerPBX edited comment on ASTERISK-24598 at 1/7/15 5:52 PM:
-------------------------------------------------------------

Adding the following to the bash script will automate libdir selection based on OS architecture.  May need to explicitly show the complete path for getconf and grep.

ARCH=$(/usr/bin/getconf LONG_BIT | /bin/grep "64")
./configure --prefix=/usr --libdir=/usr/lib$ARCH --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr CFLAGS='-O2 -DNDEBUG'


was (Author: powerpbx):
Adding the following to the bash script will automate libdir selection based on OS architecture.

ARCH=$(getconf LONG_BIT | grep "64")
./configure --prefix=/usr --libdir=/usr/lib$ARCH --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr CFLAGS='-O2 -DNDEBUG'

> When running ./contrib/scripts/install_prereq install-unpackaged pjproject is installed in wrong place
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-24598
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24598
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 13.0.1
>         Environment: CentOS v6.6 x86
>            Reporter: PowerPBX
>
> When pjproject is not installed as a package resulting in {{./install_prereq install-unpackaged}} installing pjproject from source, the result is that it is install in {{/usr/local/lib}}.  Afterwards when running {{./configure}} Asterisk cannot find the pjproject dependency.
> When installing pjproject manually from source according to these instructions:
> https://wiki.asterisk.org/wiki/display/AST/Building+and+Installing+pjproject
> pjproject is installed in {{/usr/lib}} and {{./configure}} is then able to find the pjproject dependency.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list