[Asterisk-Dev] make sample vs musiconhold
Brian West
brian.west at mac.com
Mon Apr 4 17:37:19 MST 2005
We are accepting patches at http://bugs.digium.com.
/b
On Apr 4, 2005, at 6:25 PM, Tommy McNeely wrote:
> I guess what I meant was.. asterisk.conf gets dynamically generated.
> Can't all the other config files call stuff like
> ${astvarlibdir}/whatever ?
>
> Had I manually ripped all components from where they were installed
> and put them somewhere myself, I would feel your statement below is
> correct. However, since your Makefile (what ever happened to something
> like ./configure --prefix=_____ btw?) provides a facility to change
> the default installation directory, and seems to carry that change
> into ONE of the config files.. they should either be able to reference
> some sort of variable (like ${astvarlibdir}) or they should,
> themselves, be generated from a template (with sed?) replacing some
> sort of key (like %ASTVARLIB% ?) with the variable that is
> appropriate.
>
> I guess that only beginners would even consider running make samples,
> and thats why you don't care about it, but I don't think that makes it
> any less of a problem. I would normally not run CVS HEAD on something
> I am not familiar with, but alas, I needed something that would work
> on Solaris 10 x86.. and minus some "bash" like shell stuff from the
> Makefiles (which is easy enough to work around with SHELL=/bin/bash),
> and some non POSIX-compliant options on install, sed, grep, and
> company (which is easy enough to work around with various software
> from /usr/sfw or /opt/sfw (companion CD))... I think this works nicely
> on S10x.
>
>
> Tommy
>
> On Apr 4, 2005, at 4:57 PM, Brian West wrote:
>
>> No if your smart enough to so an install in this manner I would
>> expect you to have the clue to update your configs to fit your
>> system. The configs are just a raw copy from asterisk/configs to
>> /etc/asterisk/ when you make samples.
>>
>> /b
>>
>> On Apr 4, 2005, at 2:32 PM, Tommy McNeely wrote:
>>
>>> make sample doesn't seem to use defined variables for directory
>>> locations in the Makefile.. /usr is read-only on my servers so I
>>> have to install into /opt or whatever so I set all those lines to be
>>> /opt/asterisk/WHATEVER and moh config file still points to
>>> /var/lib/asterisk/moh... which would be fine, but the installer put
>>> them in /opt/asterisk/var... so there is an inconsistency between
>>> the installer and the sample config maker I think :)
>>>
>>> Tommy
>>>
>>> _______________________________________________
>>> Asterisk-Dev mailing list
>>> Asterisk-Dev at lists.digium.com
>>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>>> To UNSUBSCRIBE or update options visit:
>>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>> _______________________________________________
>> Asterisk-Dev mailing list
>> Asterisk-Dev at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
More information about the asterisk-dev
mailing list