[asterisk-users] Building an RPM from Asterisk 1.4

Douglas Garstang Douglas.garstang at mig33global.com
Wed Sep 19 17:26:41 CDT 2007


I'd like to know why the spec file is even included at all then?
I think we'd prefer to build our own, rather than trust someone elses build.


On 9/19/07 3:22 PM, "Tzafrir Cohen" <tzafrir.cohen at xorcom.com> wrote:

On Wed, Sep 19, 2007 at 02:54:17PM -0700, Douglas Garstang wrote:
> Ok, so I'm no rpm expert, but Asterisk 1.4.11 comes with an asterisk.spec
> file. Running rpmbuild against it yields errors, the first one being that
> the 'Copyright' tag is unknown, and that I need a License tag instead.
>
> Fixed that, and...
>
> Processing files: asterisk-CVS-1
> error: File not found: /tmp/asterisk/etc/asterisk
> error: File not found by glob: /tmp/asterisk/etc/asterisk/*.conf
> error: File not found by glob: /tmp/asterisk/etc/asterisk/*.adsi
> error: File not found: /tmp/asterisk/etc/asterisk/extensions.ael
> error: File not found: /tmp/asterisk/etc/rc.d/init.d/asterisk
>
> .... And so on. What am I missing here? Why doesn't rpm build the
> /tmp/asterisk directory itself?

So you'll catch those errors.

> Why is it looking for files that obviously
> don't exist?

That spec uses quite a few discourged methods for rpm packages. There
are a number of well-maintained RPM packages of Asterisk. Use one of
them or modify one of them.

--
               Tzafrir Cohen
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir

_______________________________________________

Sign up now for AstriCon 2007!  September 25-28th.  http://www.astricon.net/

--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070919/99159765/attachment.htm 


More information about the asterisk-users mailing list