Summary:ASTERISK-21123: Compilation error: pjproject/build.mak: version.mak: No such file or directory
Reporter:Dmitry Shegolihin (dmitry)Labels:
Date Opened:2013-02-16 02:20:04.000-0600Date Closed:2013-02-17 20:59:04.000-0600
Versions:11.1.1 Frequency of
Environment:ubuntu 12.04 precise, bzr dh-make, pbuilder-distAttachments:( 0) last_operation.log
Description:Colleagues, please, help me to solve this issue:

I try to build asterisk.deb package with use manual:


Use sources Asterisk:

On step build:

pbuilder-dist precise build asterisk_11.3.0-1.dsc

Catch the make error:

Last lines this file: ~/pbuilder/precise_result/last_operation.log


pjproject/build.mak:2: /home/dima/test/build-area/asterisk-11.3.0/res/pjproject/version.mak: No such file or directory
make[2]: *** No rule to make target `/home/dima/test/build-area/asterisk-11.3.0/res/pjproject/version.mak'.  Stop.
make[1]: *** [res-dist-clean] Error 2
make[1]: Leaving directory `/tmp/buildd/asterisk-11.3.0'
dh_auto_clean: make -j1 distclean returned exit code 2
make: *** [clean] Error 29
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
E: Failed autobuilding of package
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//6106 and its subdirectories



Comments:By: Matt Jordan (mjordan) 2013-02-16 11:04:16.138-0600

This appears to be a problem with the debian package builder.

What happens if you simply take the Asterisk source tarball, and do the following:
# ./configure
# make

By: Dmitry Shegolihin (dmitry) 2013-02-17 01:47:12.938-0600

Thank you, Matt!

Yes, the build from source tarball is work. But I want to make build asterisk.deb package with depends and share this package for other users community. To save time on compilation...


By: Paul Belanger (pabelanger) 2013-02-17 20:58:08.653-0600

Thanks for your comments. This does not appear to be a bug report and we are closing it. We appreciate the difficulties you are facing, but it would make more sense to raise your question in the support tracker, http://www.asterisk.org/support.

By: Paul Belanger (pabelanger) 2013-02-17 20:59:04.443-0600

There is existing debian package source if you want to use it. Otherwise, you need to contact Debian / Ubuntu voip teams.