[asterisk-users] Asterisk binaries on CentOS version 6

Barry Miller asterisk-users at notanet.net
Thu Jul 14 15:21:40 CDT 2011


On Thu, Jul 14, 2011 at 12:07:05PM -0700, J Gao wrote:
> On 11-07-14 11:42 AM, Barry Miller wrote:
> >On Thu, Jul 14, 2011 at 10:51:02AM -0700, J Gao wrote:
> >>Sorry for hijack this topic, but I have a different question:
> >>
> >>Every time I install Asterisk I have to "make menuselect" and to
> >>select/deselect some items. Now every time I have to write down what I
> >>selected for future reference.  Is there a way to save its result for
> >>later use?
> > From the Makefile:
> >
> ># If the file .asterisk.makeopts is present in your home directory, you can
> ># include all of your favorite menuselect options so that every time you 
> >download
> ># a new version of Asterisk, you don't have to run menuselect to set them.
> >
> Thanks Barry.
> 
> I just tested on 1.8.5. After I run "make menuselect" and saved when 
> exit, it generate two new files in the current source directory:
> -rw-r--r-- 1 root root    4544 Jul 14 11:57 menuselect.makeopts
> -rw-r--r-- 1 root root    4482 Jul 14 11:57 menuselect.makedeps
> 
> So should I do:
> cp menuselect.makeopts /etc/asterisk.makeopts
> 
> I notice the name is different. The Makefile want to see 
> /etc/asterisk.makeopts, but I only got the menuselect.makeopts. Are they 
> the same file?

Yes.  The name has to change because other systems can also use
menuselect.  E.g., dahdi-tools uses ~/.dahdi.makeopts (and /etc/).

Or you could just save menuselect.makeopts somewhere and copy it to
each new source you fetch.  Remember to save it again if you make any
changes you want to keep.

-- 
Barry



More information about the asterisk-users mailing list