[asterisk-users] Building an RPM from Asterisk 1.4
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Wed Sep 19 17:22:43 CDT 2007
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
More information about the asterisk-users
mailing list