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:[EMAIL PROTECTED]
+972-50-7952406 mailto:[EMAIL PROTECTED]
http://www.xorcom.com iax:[EMAIL PROTECTED]/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