Problem with pkg-config with Windows/MinGW

Ronald Madrid mfcguru at yahoo.com
Wed Feb 24 05:51:05 EST 2010


 
Hi,
 
Been trying to build GnuCash for Windows XP following the instructions in the .../packaging//win32/README. I am not much of a Unix power user/programmer so my discussion below may be trivial with most of you here. I surely hope so for my own benefit.
 
The first problem I encountered was that some of the URLs in defined in the default.sh file are no longer updated, so I went on to create my custom.sh as follows:
 
##################################################################################AQBANKING_WITH_QT=no
set_default ACTIVE_PERL_URL "http://downloads.activestate.com/ActivePerl/releases/5.10.1.1007/ActivePerl-5.10.1.1007-MSWin32-x86-291969.zip"
set_default LIBXML2_URL "http://ftp.acc.umu.se/pub/gnome/binaries/win32/dependencies/libxml2_2.7.4-1_win32.zip"
set_default LIBXML2_DEV_URL "http://ftp.acc.umu.se/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.4-1_win32.zip"
set_default LIBPNG_URL "http://ftp.acc.umu.se/pub/gnome/binaries/win32/dependencies/libpng_1.2.37-1_win32.zip"
set_default LIBPNG_DEV_URL "http://ftp.acc.umu.se/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.37-1_win32.zip"
#
# The pkg-config_0.23-3_win32.zip package contains the binary executable, not source code
#
set_default PKG_CONFIG_URL "http://ftp.acc.umu.se/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip"
set_default FONTCONFIG_URL "http://ftp.acc.umu.se/pub/gnome/binaries/win32/dependencies/fontconfig_2.8.0-2_win32.zip"
set_default FONTCONFIG_DEV_URL "http://ftp.acc.umu.se/pub/gnome/binaries/win32/dependencies/fontconfig-dev_2.8.0-2_win32.zip"
set_default FREETYPE_URL "http://ftp.acc.umu.se/pub/gnome/binaries/win32/dependencies/freetype_2.3.11-2_win32.zip"
set_default FREETYPE_DEV_URL "http://ftp.acc.umu.se/pub/gnome/binaries/win32/dependencies/freetype-dev_2.3.11-2_win32.zip"##################################################################################
 
Proceeding to compile the code produces the problem below:
 
##################################################################################
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
./configure: line 13646: PKG_PROG_PKG_CONFIG: command not found
./configure: line 13683: syntax error near unexpected token `GTK,'
./configure: line 13683: ` PKG_CHECK_MODULES(GTK, $goffice_gtk_reqs)'
##################################################################################
 
Please help.
 
Best and Thanks,
Ronald


      


More information about the gnucash-devel mailing list