Re: prerelease 4



On Sun, 2 Mar 2003 11:14:58 -0500, "James K. Lowden"
<jklowden schemamania org> wrote:
On Sun, 02 Mar 2003 09:01:29 -0600, Lars Clausen <lrclause cs uiuc edu>
wrote:
On Sun, 2 Mar 2003, James K. Lowden wrote:
checking for FT_Init_FreeType in -lfreetype... no
configure: error: Can't find FreeType library

$ pkg_info -L freetype2 |grep lib
/usr/pkg/include/freetype2/freetype/config/ftstdlib.h
/usr/pkg/lib/libfreetype.a
/usr/pkg/lib/libfreetype.la
/usr/pkg/lib/libfreetype.so
/usr/pkg/lib/libfreetype.so.9
/usr/pkg/lib/libfreetype.so.9.2

I'm suspecting that them being in /usr/pkg/lib is what confuses
configure. You can check that by looking at config.log and see what
the failed test looks like.  

Thanks, Lars.  I think you're right, config.log says:

configure:9485: checking for FT_Init_FreeType in -lfreetype
configure:9516: gcc -o conftest -g -O2   conftest.c -lfreetype   >&5
ld: cannot find -lfreetype
configure:9519: $? = 1
configure: failed program was: ... #provides the C that failed to
compile.

Let me see if I can patch configure directly.  

Silly me.  No need to patch.  

$ LDFLAGS='-Wl,-R/usr/pkg/lib -Wl,--export-dynamic -L/usr/pkg/lib' \
        ../configure --enable-gnome

works fine, as far as it goes.  I get a message: 

configure: error: Need FreeType library version 2.0.9 or higher

But I have 2.1.3, which might not be set up right, yet.  Does FreeType2
have to be on the client or the server?  I'm using a remote display.  

Thanks again.  

--jkl



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