[asterisk-users] Pet project: one step Asterisk compile on Centos 7
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Tue Jun 14 12:50:39 CDT 2016
Off-topic:
On Tue, Jun 14, 2016 at 11:02:17AM +0200, Lenz Emilitri wrote:
> Project located at https://github.com/l3nz/CompileAsteriskPBX
>From the build script:
# build Asterisk
cd $TARGET_DIR/$ASTVERSION
./configure --libdir=/usr/lib64
cd $TARGET_DIR/$ASTVERSION/menuselect
make menuselect
cd $TARGET_DIR/$ASTVERSION
make menuselect-tree
./menuselect/menuselect \
#[snip menuselect parameters]
# we want mp3's
./contrib/scripts/get_mp3_source.sh
make
(This is not intended to criticise Lenz)
All of this magic (specifically the bits before the menuselect) is
needed for a proper build?
* Why is an explicit libdir packameter needed? What break if it is not
passed?
* Why is there a need to build menuselect manually? What about 'make
menuselect'? Do we need a Makefile target to build menuselect but not
run it?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com
More information about the asterisk-users
mailing list