libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ibtool: install: error: cannot install `foo.la' to a directory not endin


From: Vincent Torri
Subject: ibtool: install: error: cannot install `foo.la' to a directory not ending in bar/
Date: Sun, 4 Nov 2012 11:29:37 +0100

Hey

I have that error with my package. Usually, it's a problem of
configuration and prefix. I know that I have solved that problem with
a 'make clean', 'make' then 'make install'. But it's not sufficient.

First, the commands I run:

make maintainer-clean
./autogen.sh --prefix=$HOME/local/e17
make
make install

Error:

test -z "/home/torri/local/e17/lib/evas/modules/engines/buffer/" ||
/bin/mkdir -p "/home/torri/local/e17/lib/evas/modules/engines/buffer/"
 /bin/bash ../libtool   --mode=install /usr/bin/install -c
modules/evas/engines/buffer/module.la
'/home/torri/local/e17/lib/evas/modules/engines/buffer/'
libtool: install: error: cannot install
`modules/evas/engines/buffer/module.la' to a directory not ending in
/home/torri/local/e17/lib/evas/modules/engines/buffer/
make[3]: *** [install-enginebufferpkgLTLIBRARIES] Error 1

In my Makefile.am, the buffer engine is set up like that:

if BUILD_ENGINE_BUFFER
dist_installed_evasmainheaders_DATA +=
modules/evas/engines/buffer/Evas_Engine_Buffer.h
BUFFER_SOURCES = \
modules/evas/engines/buffer/evas_engine.c \
modules/evas/engines/buffer/evas_outbuf.c \
modules/evas/engines/buffer/evas_engine.h
if EVAS_STATIC_BUILD_BUFFER
lib_evas_libevas_la_SOURCES += $(BUFFER_SOURCES)
else
enginebufferpkgdir = $(libdir)/evas/modules/engines/buffer/$(MODULE_ARCH)
enginebufferpkg_LTLIBRARIES = modules/evas/engines/buffer/module.la
modules_evas_engines_buffer_module_la_SOURCES = $(BUFFER_SOURCES)
modules_evas_engines_buffer_module_la_CPPFLAGS = \
-I$(top_srcdir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eo \
-I$(top_srcdir)/src/lib/evas \
-I$(top_srcdir)/src/lib/evas/include \
-I$(top_srcdir)/src/lib/evas/cserve2 \
@EFL_CFLAGS@ \
@EVAS_CFLAGS@
modules_evas_engines_buffer_module_la_LIBADD = lib/evas/libevas.la @EFL_LIBS@
modules_evas_engines_buffer_module_la_LDFLAGS = -no-undefined -module
-avoid-version
modules_evas_engines_buffer_module_la_LIBTOOLFLAGS = --tag=disable-static
endif
endif



BUILD_ENGINE_BUFFER is true
EVAS_STATIC_BUILD_BUFFER is false

So the relevant part is just:

enginebufferpkgdir = $(libdir)/evas/modules/engines/buffer/$(MODULE_ARCH)
enginebufferpkg_LTLIBRARIES = modules/evas/engines/buffer/module.la
modules_evas_engines_buffer_module_la_SOURCES = $(BUFFER_SOURCES)
modules_evas_engines_buffer_module_la_CPPFLAGS = \
-I$(top_srcdir)/src/lib/eina \
-I$(top_srcdir)/src/lib/eo \
-I$(top_srcdir)/src/lib/evas \
-I$(top_srcdir)/src/lib/evas/include \
-I$(top_srcdir)/src/lib/evas/cserve2 \
@EFL_CFLAGS@ \
@EVAS_CFLAGS@
modules_evas_engines_buffer_module_la_LIBADD = lib/evas/libevas.la @EFL_LIBS@
modules_evas_engines_buffer_module_la_LDFLAGS = -no-undefined -module
-avoid-version
modules_evas_engines_buffer_module_la_LIBTOOLFLAGS = --tag=disable-static

I have looked at the code closely, but i can't see my error

Does someone know what the problem is ?

thank you

Vincent Torri



reply via email to

[Prev in Thread] Current Thread [Next in Thread]