Error compiling Pango 1.0.1 on Win32 (command 'lib' not found)



I'm trying to compile GTK+ 2.0.2. So far, I've succeeded in compiling
Pkg-config 0.12 and Glib 2.0.1.
But I can't get Pango compiled. I'm using Mingw's GCC in a Cygwin
environment (bash and other tools).

This is what I've done:
export CC="C:/Dev-C++/bin/gcc -fnative-struct -mpentium
-IC:/Cygwin/gtk2/include -IC:/Cygwin/gtk2-include/gtkdeps-2.0
-LC:/Cygwin/gtk2/lib -LC:/Cygwin/gtk2/lib/gtkdeps-2.0"
export CXX="C:/Dev-C++/bin/g++ -fnative-struct -mpentium
-IC:/Cygwin/gtk2/include -IC:/Cygwin/gtk2-include/gtkdeps-2.0
-LC:/Cygwin/gtk2/lib -LC:/Cygwin/gtk2/lib/gtkdeps-2.0"

./configure --prefix=/gtk2 --build=i586-pc-mingw32
--target=i586-pc-mingw32 --host=i586-pc-mingw32 --disable-static
--enable-shared
make

Make didn't display any error messages, so I thought everything went
well.
But when I try 'make install prefix=/gtk-install', I get the following
error:

[snip]
/usr/bin/install -c -m 644 pangowin32.h
/gtk-install/include/pango-1.0/pango/pa
ngowin32.h
/usr/bin/install -c .libs/libpango-1.0.dll.a /gtk-install/lib
/usr/bin/install: cannot stat `.libs/libpango-1.0.dll.a': No such file
or directory
make[2]: *** [install-libtool-import-lib] Error 1
make[2]: Leaving directory
`/cygdrive/c/windows/Desktop/gtk2/pango-1.0.1/pango'
[snip]


Then I noticed that no DLLs were build. So I investigated
pango-1.0.1/pango/Makefile.am and found this:

pango-$(PANGO_API_VERSION).lib: libpango-$(PANGO_API_VERSION).la
pango.def
	lib -name:libpango-$(PANGO_API_VERSION)- LT_CURRENT_MINUS_AGE@.dll
-def:pango.def -out:$@

But I don't have a program called 'lib' on my system.
Is this an error in the Makefile, or am I missing something? If so,
where can I get 'lib'?






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