On 17 Nov 2003, mike crowe wrote:
> While attempting to build an installation kit for dia 0.92,
> using the command:
>
> rpmbuild -ta dia-0.92.tar.gz
>
> I received the error message below, which was the last thing
> printed:
>
> RPM build errors:
> File not found:
> /var/tmp/dia-0.92-root/usr/share/gnome/apps/Applications/dia.desktop
>
>
> Indeed, there is not such file, or anything other than a "help" directory
> in var/tmp/dia-0.92-root/usr/share/gnome
>
>
> I simply copied the tar.gz file to a temporary directory on
> my Linux 9 system and initiated the rpmbuild command.
> Am I missing a step, or is there a problem with the source distribution?
I notice the toplevel Makefile.am contains the following:
Applicationsdir = $(gnomedatadir)/applications
applications_in_files = dia.desktop.in
Applications_DATA = $(applications_in_files:.desktop.in=.desktop)
Perhaps the uncapitalized "applications" is causing the trouble. Try
editing either Makefile.in or dia.spec so they agree on it, and let us know
what happens.
-Lars
--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| HĂ„rdgrim of Numenor
"I do not agree with a word that you say, but I |----------------------------
will defend to the death your right to say it." | Where are we going, and
--Evelyn Beatrice Hall paraphrasing Voltaire | what's with the handbasket?