| Newsgroups |
gmane.comp.video.gimp.windows.devel |
| Message-ID |
<[email protected]> |
Hi,
First,I need to thank Tor Lillqvist. With his website, I can have
a chance to have a freeware for image editing program and its updated
source code. Secondly, I need to appreciate Kevin Myers's messages
"Building the GIMP". I am a newbie of writing the program in MinGW.
With this messages, I have a hints to start to re-build GIMP.
However, I got problems while running "./configure.kam".
****************************************************
1. Run confiure.kam, It said that it can't find pkg-config. the
message is shown below.
./configure: /c/gimpsdk/source/gimp-1.2.4/po/POTFILES.in: No such file
or directory
mkdir: cannot create directory `intl': File exists
touch: creating `plug-ins/perl/po/Makefile.in.in': No such file or
directory
checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get
pkg-config.
configure: error: Library requirements (gtk+-1.3-win32-production >=
1.3.0) not met; consider adjusting the PKG_CONFIG_PATH environment
variable if your libraries are in a nonstandard prefix so pkg-config
can find them.
ACTION: I put pkg-config.exe with its related files
(libglib-2.0-0.dll, libintl-1.dll and iconv.dll) in the same directory
and run it.
************************************************************
2. Run configure.kam, where pkg-config and the related files are in
the same directory. In this time, it can't find the library of jpeg,
tiff and png libraries, although I have those libraries and write the
include and library path in "configure.kam". Error message is shown
below
checking for XmuUpdateMapHints in -lXmu... no
configure: WARNING: *** webbrowser plug-in and gimp-remote will not be
built (XMU library not found) ***
checking for aa_printf in -laa... no
configure: WARNING: *** AA plug-in will not be built (AA library not
found) ***
checking for jpeg_destroy_decompress in -ljpeg... no
configure: WARNING: *** JPEG plug-in will not be built (JPEG library
not found) ***
configure: WARNING: *** XJT plug-in will not be built (JPEG library
not found) ***
configure: error:
*** Checks for JPEG library failed. You can build without it by
passing
*** --without-libjpeg to configure but you won't be able to use JPEGs
then.
ACTION: I simply by-pass those libraries first.
****************************************************
3. Run configure.kam without jpeg, tiff and png library, it said that
I miss the config.pl file. I check it in all of the folder. It is not
in there. The error message is shown below.
config.status: creating plug-ins/makefile.mingw
config.status: creating plug-ins/perl/config.pl
config.status: error: cannot find input file: plug
-ins/perl/config.pl.in
Is there somethings wrong that I made? I really don't know what I
should do. Does any expert can give me some advices?
******************************************************
P.S.
By the way, pls let me provide my code of configure.kam and it is
shown below.
#!/bin/sh
export PKG_CONFIG_PATH=\
C:\\GIMPSDK\\Source\\gettext-dev-0.10.40-20020904\\lib\\pkgconfig\;\
C:\\GIMPSDK\\Source\\glib-dev-2.2.0-20030112\\lib\\pkgconfig\;\
C:\\GIMPSDK\\Source\\gtk+-dev-1.3.0-20030115\\lib\\pkgconfig
echo PKG_CONFIG_PATH=$PKG_CONFIG_PATH
# specify any necessary compiler flags here
export CFLAGS='-mcpu=pentiumpro'
echo CFLAGS=$CFLAGS
# specify pre-processor flags here, with any required include paths
(-I)
export CPPFLAGS="\
-I/c/GIMPSDK/Source/libiconv-1.7-w32.bin/include\ \
-I/c/GIMPSDK/Source/gettext-dev-0.10.40-20020904/include\ \
-I/c/GIMPSDK/Source/glib-dev-2.2.0-20030112/include/glib-2.0\ \
-I/c/GIMPSDK/Source/gtk+-dev-1.3.0-20030115/include/gdk\ \
-I/c/GIMPSDK/Source/gtk+-dev-1.3.0-20030115/include/gtk\ \
-I/c/GIMPSDK/Source/zlib-1.1.4-lib/include\ \
-I/c/GIMPSDK/Source/libpng-1.2.4-1-lib/include\ \
-I/c/GIMPSDK/Source/libjpeg-6b-lib/include\ \
-I/c/GIMPSDK/Source/tiff-3.5.7-lib/include\ \
-I/c/GIMPSDK/Source/freetype-2.1.2-1lib/include\ \
-I/c/GIMPSDK/Source/xpm-nox-dev-4.0.3-20020112/include"
echo CPPFLAGS=$CPPFLAGS
# specify linker flags here, with any required library paths (-L)
export LDFLAGS="\
-L/c/GIMPSDK/Source/libiconv-1.7-w32.bin/lib\ \
-L/c/GIMPSDK/Source/libintl-0.10.40-tml-20020904/lib\ \
-L/c/GIMPSDK/Source/gettext-dev-0.10.40-20020904/lib\ \
-L/c/GIMPSDK/Source/glib-dev-2.2.0-20030112/lib\ \
-L/c/GIMPSDK/Source/gtk+-dev-1.3.0-20030115/lib\ \
-L/c/GIMPSDK/Source/zlib-1.1.4-lib/lib\ \
-L/c/GIMPSDK/Source/libpng-1.2.4-1-lib/lib\ \
-L/c/GIMPSDK/Source/libjpeg-6b-lib/lib\ \
-L/c/GIMPSDK/Source/tiff-3.5.7-lib/lib\ \
-L/c/GIMPSDK/Source/freetype-2.1.2-1lib/lib\ \
-L/c/GIMPSDK/Source/xpm-nox-dev-4.0.3-20020112/lib"
echo LDFLAGS=$LDFLAGS
./configure --disable-static --disable-perl --disable-print
--srcdir=`pwd` --prefix=`pwd` --without-libtiff --without-libjpeg
--without-libpng
Thx,
Chi-ho.