Asterisk build options

Jonas Smedegaard jonas at jones.dk
Thu May 25 13:49:47 BST 2023


Hi Anthony,

Quoting Antony Stone (2023-05-25 14:05:33)
> I need to build Asterisk from source, in order to add some debugging options.
> 
> I'm starting from Asterisk 16.28.0 under Debian 10 Buster.
> 
> I first wanted to build a "standard" version matching what I would get 
> installed from the binary package, and once I'd verified that that version 
> still displayed a suspected bug, I would build the version with debugging 
> options set.
> 
> I'm using the following commands to build from source:
> 
>  - apt-get install dpkg-dev build-essentials
>  - apt-get source asterisk
>  - apt build-dep asterisk
>  - cd asterisk-16.28.0~dfsg
>  - dpkg-buildpackage -b -uc -us
> 
> The resulting file is a binary *14398296* bytes in size, whereas the file 
> installed by a standard "apt-get install asterisk" is *3057784* bytes.
> 
> Where can I find the options which the package maintainers use to create the 
> version in the binary package, so I can build from the source package and end 
> up with something similar?

Are you compiling within a pristine Debian Buster build environment?

Otherwise I guess the difference in size may be caused by changes to
default build options of your build environment.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20230525/3a30a9e5/attachment.sig>


More information about the Pkg-voip-maintainers mailing list