[Top][All Lists]

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

build and installation names

From: Wesley Smith
Subject: build and installation names
Date: Sun, 25 Jul 2010 18:35:34 +0000

I'm trying to setup a such that the lib and modules I
build get installed in the following way:


As a start, I tried to see if I could just build  Here's the

AM_CPPFLAGS = -I/usr/include/lua5.1 -I/usr/include/cairo
-I/usr/include/directfb -I/usr/include/freetype2
liblua5_1_cairo_la_LIBADD = -llua5.1 -L/usr/lib -lcairo -L/usr/lib
-ldirectfb -L/usr/lib -lfreetype -L/usr/lib
liblua5_1_cairo_la_SOURCES = src/lcairo.c

But I end up with this error:

/bin/bash ../../libtool --tag=CC   --mode=link gcc  -g -O2   -o -rpath /usr/local/lib lcairo.lo -llua5.1 -L/usr/lib
-lcairo -L/usr/lib -ldirectfb -L/usr/lib -lfreetype -L/usr/lib
-lgstapp-0.10 -lgstreamer-0.10 -lcairo -lapr-1 -llua5.1
libtool: link: gcc -shared  .libs/lcairo.o   -Wl,-rpath
-Wl,/home/wesleysmith/Documents/luaav3/modules/cairo/.libs -Wl,-rpath
-Wl,/usr/local/lib/lua/5.1 -L/usr/lib -ldirectfb
/usr/lib/ -lgstapp-0.10 /usr/lib/
/usr/lib/ /usr/lib/    -pthread -Wl,-soname
-Wl, -o .libs/
gcc: /home/wesleysmith/Documents/luaav3/modules/cairo/.libs/
No such file or directory
make[1]: *** [] Error 1

I have a feeling it's because the name of the lib
and how I refer to its target liblua5_1_cairo are messing things up.
How do the characters '.' and '-' get translated into target names?
When I put them in there, I get errors on autoreconf.


reply via email to

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