This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 5.2 no longer builds using RPM: iwidgets symlink problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]