public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* 5.2 no longer builds using RPM: iwidgets symlink problem
@ 2002-07-12 13:15 Grant Edwards
  2002-07-12 15:33 ` Grant Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Edwards @ 2002-07-12 13:15 UTC (permalink / raw)
  To: insight


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?

-- 
Grant Edwards
grante@visi.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 5.2 no longer builds using RPM: iwidgets symlink problem
  2002-07-12 13:15 5.2 no longer builds using RPM: iwidgets symlink problem Grant Edwards
@ 2002-07-12 15:33 ` Grant Edwards
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2002-07-12 15:33 UTC (permalink / raw)
  To: insight

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-12 22:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-12 13:15 5.2 no longer builds using RPM: iwidgets symlink problem Grant Edwards
2002-07-12 15:33 ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).