Re: Best method to port an Unix application on Win32



The typical error:

./configure: line 23713: syntax error near unexpected
token `BASE,'
./configure: line 23713: `PKG_CHECK_MODULES(BASE,
glibmm-2.4 >= 2.4.0)'

My installation:

Mingw 5.0 in c:/mingw
Cygwin in c:/cygwin
Gtk+ in c:/gtk
Gtkmm in c:/gtk

In my .bash_profile : 
export
PATH=/cygdrive/c/mingw/bin:/cygdrive/C/GTK/bin:$PATH
export PKG_CONFIG_PATH=/cygdrive/C/GTK/lib/pkgconfig

When I test:

$ pkg-config --libs gtkmm-2.4
-Lc:/GTK/lib -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6
-lgtk-win32-2.0
-lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0 -lgdk-win32-2.0
-latk-1.0
-lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32
-lpangocairo-1.0 -lpango-1.0
-lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl
-liconv

$ pkg-config --libs glibmm-2.4
-Lc:/GTK/lib -lglibmm-2.4 -lgobject-2.0 -lsigc-2.0
-lglib-2.0 -lintl
-liconv

$ which pkg-config gcc g++ libtool
/cygdrive/C/GTK/bin/pkg-config
/cygdrive/c/mingw/bin/gcc
/cygdrive/c/mingw/bin/g++
/usr/bin/libtool

$ autoreconf -f -i 
[...]

$ configure 
[...]
checking for netinet/in.h... no
checking for sys/socket.h... (cached) no
checking for unistd.h... (cached) yes
checking for floor... yes
checking for gethostbyname... no
checking for inet_ntoa... no
checking for memset... yes
checking for mkdir... yes
checking for pow... yes
checking for select... no
checking for socket... no
checking for sqrt... yes
checking for strchr... yes
./configure: line 23713: syntax error near unexpected
token `BASE,'
./configure: line 23713: `PKG_CHECK_MODULES(BASE,
glibmm-2.4 >= 2.4.0)'


I hope you found my error.




--- Pierre THIERRY <nowhere man levallois eu org> a
écrit :

> Scribit Goth dies 28/01/2006 hora 20:54:
> > but some problem appear to configure my cygwin
> environment to run
> > autotools.
> > 
> > Have you an idea ?
> 
> Not without the exact error messages...
> 
> Quickly,
> Nowhere man
> -- 
> nowhere man levallois eu org
> OpenPGP 0xD9D50D8A
> > _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 



	

	
		
___________________________________________________________________________ 
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com



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