This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: 5.2 no longer builds using RPM: iwidgets symlink problem
- From: Grant Edwards <grante at visi dot com>
- To: insight at sources dot redhat dot com
- Date: Fri, 12 Jul 2002 17:36:56 -0500
- Subject: Re: 5.2 no longer builds using RPM: iwidgets symlink problem
- References: <20020712151924.A7719@visi.com>
On Fri, Jul 12, 2002 at 03:19:27PM -0500, Grant Edwards wrote:
> After switching from 5.1.1 to 5.2, my rpm spec file for Insight
> no longer builds (the same spec file for gdb 5.2 still works
> fine):
>
> RPM build errors:
> Symlink points to BuildRoot: /usr/local/lib/iwidgets ->
> /var/tmp/arm-elf-insight-root/usr/local/share/iwidgets3.0.1
>
> Anybody familiar with that problem?
>
> Something in the "install" stanza of the Makefile ceated a
> symlink without paying attention to the configured destination?
I got it to build by hacking the iwidgets Makefile.in like so:
install-libraries:
@$(MKINSTALLDIRS) $(SCRIPT_INSTALL_DIR) $(LIB_INSTALL_DIR)
@rm -f $(LIB_INSTALL_DIR)/iwidgets
$(LN_S) /usr/local/share/iwidgets$(VERSION)/iwidgets $(LIB_INSTALL_DIR)/iwidgets
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
But that's hardly kosher.
--
Grant Edwards
grante@visi.com