[asterisk-bugs] [JIRA] (ASTERISK-24623) Hard coded PJDIR in res/pjproject/build.mak

tootai (JIRA) noreply at issues.asterisk.org
Wed Dec 17 05:26:29 CST 2014


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

tootai edited comment on ASTERISK-24623 at 12/17/14 5:25 AM:
-------------------------------------------------------------

Install asterisk-11.14.0 from tarball: res/pjproject/build.mak will have

export PJDIR := /usr/src/asterisk-11.14.0/res/pjproject

Copy the asterisk-11.14.0 src directory as asterisk-11.15.0, apply asterisk-11.15.0-patch, make && make install && restart asterisk. Your running asterisk instance is now 11.15.0 and value of PJDIR is still, in asterisk-11.15.0 src dir,

export PJDIR := /usr/src/asterisk-11.14.0/res/pjproject

Now remove src directory asterisk-11.14.0 and run make clean && ./configure && make => error appears as asterisk src dir 11.14.0 doesn't exist anymore.



was (Author: tootai):
Install asterisk-11.14.0 from tarball: res/pjproject/build.mak will have

export PJDIR := /usr/src/asterisk-11.14.0/res/pjproject

Copy the asterisk-11.14.0 src directory as asterisk-11.15.0, apply asterisk-11.15.0-patch, make && make install && restart asterisk. Your running asterisk instance is now 11.15.0 and PJDIR is still, asterisk-11.15.0 src dir,

export PJDIR := /usr/src/asterisk-11.14.0/res/pjproject

Now remove src directory asterisk-11.14.0 and run make clean && ./configure && make => error appears as asterisk src dir 11.14.0 doesn't exist anymore.


> Hard coded PJDIR in res/pjproject/build.mak
> -------------------------------------------
>
>                 Key: ASTERISK-24623
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24623
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 11.15.0
>         Environment: irrelevant
>            Reporter: tootai
>            Assignee: Rusty Newton
>            Severity: Minor
>
> I upgraded 2 asterisk 11.14.2 to 11.15.0 One of them didn't compile well and I got error
> pjproject/build.mak:2: /usr/src/asterisk-11.9.0/res/pjproject/version.mak: Aucun fichier ou dossier de ce type
> make[1]: *** Pas de règle pour fabriquer la cible « /usr/src/asterisk-11.9.0/res/pjproject/version.mak ». Arrêt.
> make: *** [res] Erreur 2
> I create a symlink asterisk-11-9-0 to asterisk-11.15.0 source and then compiling was fine.
> On the second one, compiling went smoothly, without having to create this symlink. I took a look in his build.mak and saw that his export PJDIR was connected to asterisk-11.12.0 And the source of this version are present on the server which is not the case on the other one (removed them some days ago after installing 11.14.2)
> This means that the PJDIR path is setted against the full tar.gz version of asterisk. My upgrades are only patch applied from last version to the new one.
>  



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



More information about the asterisk-bugs mailing list