Opened 16 years ago

Last modified 15 years ago

#52 new defect

Wrong ln command in caca makefile

Reported by: guest Owned by: Sam Hocevar
Priority: minor Milestone:
Component: build system Version: 0.99.beta16
Keywords: makefile Cc:
Product: libcaca

Description

caca/Makefile.am, lines 68-74:

install-exec-local:

$(mkinstalldirs) $(DESTDIR)$(libdir) . libcaca.la; \ for x in $$library_names; do \

ln -sf $$x $(DESTDIR)$(libdir)/$$(echo $$x | sed 's/caca/cucul/g'); \

done

In my case it turned out to be:

/bin/sh /c/src/libcaca-0.99.beta16/.auto/install-sh -d /usr/local/lib . libcaca.la; \

for x in $library_names; do \

ln -sf $x /usr/local/lib/$(echo $x | sed 's/caca/cucul/g'); \

done

ln: creating symbolic link /usr/local/lib/libcucul.dll.a' to libcaca.dll.a': No such file or directory

I changed "ln -sf $$x" to "ln -sf .libs/$$x" and it worked, because lincaca.dll.a resides in .libs subdirectory

Change History (1)

comment:1 Changed 15 years ago by Sam Hocevar

Component: libcacabuild system
Product: libcaca
Note: See TracTickets for help on using tickets.