Re: Fw: [gtkmm] problems while buiding libgnomecanvasmm for windows using cygwin env



At 12:15 PM 6/27/2003 -0700, Sagar Shah wrote:

> Thanx Cedric once again, i immdiateky followed ur instructions
> this time with a different result of make
>
> $ make
> Making all in tools
> make[1]: Entering directory `/libgnomecanvasmm-2.0.0/tools'
> Making all in extra_defs_gen
> make[2]: Entering directory `/libgnomecanvasmm-2.0.0/tools/extra_defs_gen'
> if
>
> extracting exported symbol list from `cyggtkmm-2.0-1.dll'
> test -f .libs/impgen.c || \
>       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends
> here \
> *\// { s/^# //;s/^# *$//; p; }" -e d < ../../libtool > .libs/impgen.c
>       test -f .libs/impgen.exe || (cd .libs && \
>       if test "x" != "x" ; then  -o impgen impgen.c ; \
>       else gcc -o impgen impgen.c ; fi)
>       .libs/impgen /usr/lib/../bin/cyggtkmm-2.0-1.dll >
.libs/cyggtkmm-2.0-1
> .dll
> -def
> make[2]: *** [generate_extra_defs.exe] Error 1
> make[2]: Leaving directory `/libgnomecanvasmm-2.0.0/tools/extra_defs_gen'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/libgnomecanvasmm-2.0.0/tools'
> make: *** [all-recursive] Error 1
>
> i am using gcc 3.2.3, as there is config.log where we can see the exact
> errors but for make i dont know.

Try with the development branch of the autotools. They work much better with c++ DLLs

export PATH=/usr/autotool/devel/bin:$PATH

then

Say a prayer !
libtoolize --force
aclocal (with the appropriate -I flags to the share/aclocal directories if necessary)
automake -a
autoconf

then

configure --disable-static

If it fails, restart with a fresh libgnomecanvasmm tarball and compile the library statically (configure --disable-shared).

Welcome to the wondeful world of the autotools on win32 !!!

Cedric



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