It is currently Fri Sep 18, 2026 12:23 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: Hey RobA
PostPosted: Wed Nov 24, 2010 3:27 am  (#1) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
Thanks for the gimp compile shell script. =)

I made the following changes to the script and i downloaded the Gimp RAR, GEGL RAR, BABL RAR files and placed them in the tmp dl folder and ran the script again..I disabled the download part of the script for the above files also.
#!/usr/bin/sh
#
# This script automaticaly makes a buildenvironment for the Gimp
# Written by Anton Verburg (anton.verburg AT otb.nl)
# Updated by Philipp "Zyrill" Krueger (zyrill et gmx dot ch)
# - added check to refrain from downloading packages that are already there
# Updated by Carlo Baldassi (carlobaldassi AT gmail DOT com)
# - changed many binary sources, made it easier to update
# - added additional checks
# - note: there may be some unneeded packages, but they don't harm however

# Make sure that you've installed the wget and wget-dep package from the tarballs that you can find at
# http://gnuwin32.sourceforge.net/packages/wget.htm
# to the /mingw before executing this script

# Make sure that you've installed the unzip package from the tarball that you can find at
# http://gnuwin32.sourceforge.net/packages/unzip.htm
# to the /mingw before executing this script

# Make sure that you've installed perl in your system

# WARNING
# You should check if the packages referenced by this script are still current when you try to build
# GIMP. This script isn't always up-to-date, you can help make sure it will be.

# GCC compiler flags, use only if you know what you're doing
# export CXXFLAGS="-march=athlon-xp -pipe -O3"

# Paranoid mode (exit at any error)
set -e

# Mingw installation directory
MINGW="/mingw/"

# Some general settings which can be changed freely
WITH_GNOMEUI=NO # Optional (downloads some additional packages)
WITH_EXIF=YES # EXIF is used by the Jpeg plugin, but not required
EXIF_FROM_SOURCES=YES # The sources EXIF version is newer, but takes longer to install *****
SILENT_WGET=NO # Whether to silence download output

# These settings should not be changed other than for debugging the script
# (or maybe to save some time if re-running the script after the first time)
ZEXTRACT=YES # Whether to actually install the zip files you download
TBZ2EXTRACT=YES # Whether to actually extract the tarballs you download

COMPILE_EXIF=NO # Whether to compile EXIF
# ¤¤¤ ORG: COMPILE_BABL=NO # Whether to compile BABL (inactivated) ***
# ¤¤¤ ORG: COMPILE_GEGL=NO # Whether to compile GAGL (inactivated)
COMPILE_BABL=YES # Whether to compile BABL (inactivated) ***
COMPILE_GEGL=YES # Whether to compile GAGL (inactivated)
COMPILE_GIMP=YES # Whether to compile GIMP

# use proxy for wget
#export http_proxy="http://localhost:3128"

# to pull in puthon environment
#export PKG_CONFIG_PATH="/mingw/lib/pkgconfig:/c/Python25/Lib/pkgconfig"

# Current directory
START_DIR="$PWD"

# Store tmp-data here
TMP_DIR="gimp-packages-tmp"

# Compile stuff here
COMPILE_DIR="gimp-compile-dir"

# A list of download locations and package names follows
# Change these to update to newer versions when they're available

# Sourceforge mirror
SOURCEFORGE_MIRROR="freefr.dl"
#SOURCEFORGE_MIRROR="switch.dl" # example of alternative location

# Place where to find GNOME stuff for windows
GNOME_BASE="http://ftp.gnome.org/pub/gnome/binaries/win32"

# ATK
ATK_VERSION="1.24"
ATK_VERSION_FULL="${ATK_VERSION}.0-1"
ATK_BASE="${GNOME_BASE}/atk/${ATK_VERSION}/"

ATK_PACKAGES="
atk_${ATK_VERSION_FULL}_win32
atk-dev_${ATK_VERSION_FULL}_win32
"

# GTK ***
GTK_VERSION="2.16"
GTK_VERSION_FULL="${GTK_VERSION}.6-1"
GTK_BASE="${GNOME_BASE}/gtk+/${GTK_VERSION}/"

GTK_PACKAGES="
gtk+_${GTK_VERSION_FULL}_win32
gtk+-dev_${GTK_VERSION_FULL}_win32
"

# Glib
GLIB_VERSION="2.22"
GLIB_VERSION_FULL="${GLIB_VERSION}.2-1"
GLIB_BASE="${GNOME_BASE}/glib/${GLIB_VERSION}/"

GLIB_PACKAGES="
glib_${GLIB_VERSION_FULL}_win32
glib-dev_${GLIB_VERSION_FULL}_win32
"

# Intltool
INTLTOOL_VERSION="0.40"
INTLTOOL_VERSION_FULL="${INTLTOOL_VERSION}.4-1"
INTLTOOL_BASE="${GNOME_BASE}/intltool/${INTLTOOL_VERSION}/"

INTLTOOL_PACKAGES="
intltool_${INTLTOOL_VERSION_FULL}_win32
intltool-dev_${INTLTOOL_VERSION_FULL}_win32
"

# Pango
PANGO_VERSION="1.22"
PANGO_VERSION_FULL="${PANGO_VERSION}.4-1"
PANGO_BASE="${GNOME_BASE}/pango/${PANGO_VERSION}/"

PANGO_PACKAGES="
pango_${PANGO_VERSION_FULL}_win32
pango-dev_${PANGO_VERSION_FULL}_win32
"

# Librsvg
LIBRSVG_VERSION="2.22"
LIBRSVG_VERSION_FULL="${LIBRSVG_VERSION}.3-1"
LIBRSVG_BASE="${GNOME_BASE}/librsvg/${LIBRSVG_VERSION}/"

LIBRSVG_PACKAGES="
librsvg_${LIBRSVG_VERSION_FULL}_win32
librsvg-dev_${LIBRSVG_VERSION_FULL}_win32
svg-gdk-pixbuf-loader_${LIBRSVG_VERSION_FULL}_win32
svg-gtk-engine_${LIBRSVG_VERSION_FULL}_win32
"

# Libcroco
LIBCROCO_VERSION="0.6"
LIBCROCO_VERSION_FULL="${LIBCROCO_VERSION}.1"
LIBCROCO_BASE="${GNOME_BASE}/libcroco/${LIBCROCO_VERSION}/"

LIBCROCO_PACKAGES="
libcroco-${LIBCROCO_VERSION_FULL}
libcroco-dev-${LIBCROCO_VERSION_FULL}
"

# Libgsf
LIBGSF_VERSION="1.14"
LIBGSF_VERSION_FULL="${LIBGSF_VERSION}.8"
LIBGSF_BASE="${GNOME_BASE}/libgsf/${LIBGSF_VERSION}/"

LIBGSF_PACKAGES="
libgsf-${LIBGSF_VERSION_FULL}
libgsf-dev-${LIBGSF_VERSION_FULL}
libgsf-gnome-${LIBGSF_VERSION_FULL}
libgsf-gnome-dev-${LIBGSF_VERSION_FULL}
"

# Libgnome (optional, for GNOME UI only)
LIBGNOME_VERSION="2.24"
LIBGNOME_VERSION_FULL="${LIBGNOME_VERSION}.1-1"
LIBGNOME_BASE="${GNOME_BASE}/libgnome/${LIBGNOME_VERSION}/"

LIBGNOME_PACKAGES="
libgnome_${LIBGNOME_VERSION_FULL}_win32
libgnome-dev_${LIBGNOME_VERSION_FULL}_win32
"

# Libgnomeui (optional, for GNOME UI only)
LIBGNOMEUI_VERSION="2.22"
LIBGNOMEUI_VERSION_FULL="${LIBGNOMEUI_VERSION}.1"
LIBGNOMEUI_BASE="${GNOME_BASE}/libgnomeui/${LIBGNOMEUI_VERSION}/"

LIBGNOMEUI_PACKAGES="
libgnomeui-${LIBGNOMEUI_VERSION_FULL}
libgnomeui-dev-${LIBGNOMEUI_VERSION_FULL}
"

# Libgnomecanvas (optional, for GNOME UI only)
LIBGNOMECANVAS_VERSION="2.20"
LIBGNOMECANVAS_VERSION_FULL="${LIBGNOMECANVAS_VERSION}.1"
LIBGNOMECANVAS_BASE="${GNOME_BASE}/libgnomecanvas/${LIBGNOMECANVAS_VERSION}/"

LIBGNOMECANVAS_PACKAGES="
libgnomecanvas-${LIBGNOMECANVAS_VERSION_FULL}
libgnomecanvas-dev-${LIBGNOMECANVAS_VERSION_FULL}
"

# Libart_lgpl (optional, for GNOME UI only)
LIBARTLGPL_VERSION="2.3"
LIBARTLGPL_VERSION_FULL="${LIBARTLGPL_VERSION}.20"
LIBARTLGPL_BASE="${GNOME_BASE}/libart_lgpl/${LIBARTLGPL_VERSION}/"

LIBARTLGPL_PACKAGES="
libart_lgpl-${LIBARTLGPL_VERSION_FULL}
libart_lgpl-dev-${LIBARTLGPL_VERSION_FULL}
"

# Libbonobo (optional, for GNOME UI only)
LIBBONOBO_VERSION="2.24"
LIBBONOBO_VERSION_FULL="${LIBBONOBO_VERSION}.0-1"
LIBBONOBO_BASE="${GNOME_BASE}/libbonobo/${LIBBONOBO_VERSION}/"

LIBBONOBO_PACKAGES="
libbonobo_${LIBBONOBO_VERSION_FULL}_win32
libbonobo-dev_${LIBBONOBO_VERSION_FULL}_win32
"

# Libbonoboui (optional, for GNOME UI only)
LIBBONOBOUI_VERSION="2.24"
LIBBONOBOUI_VERSION_FULL="${LIBBONOBOUI_VERSION}.0-1"
LIBBONOBOUI_BASE="${GNOME_BASE}/libbonoboui/${LIBBONOBOUI_VERSION}/"

LIBBONOBOUI_PACKAGES="
libbonoboui_${LIBBONOBOUI_VERSION_FULL}_win32
libbonoboui-dev_${LIBBONOBOUI_VERSION_FULL}_win32
"

# ORBit2 (optional, for GNOME UI only)
ORBIT2_VERSION="2.14"
ORBIT2_VERSION_FULL="${ORBIT2_VERSION}.16-1"
ORBIT2_BASE="${GNOME_BASE}/ORBit2/${ORBIT2_VERSION}/"

ORBIT2_PACKAGES="
ORBit2_${ORBIT2_VERSION_FULL}_win32
ORBit2-dev_${ORBIT2_VERSION_FULL}_win32
"

# GConf (optional, for GNOME UI only)
GCONF_VERSION="2.22"
GCONF_VERSION_FULL="${GCONF_VERSION}.0-2"
GCONF_BASE="${GNOME_BASE}/GConf/${GCONF_VERSION}/"

GCONF_PACKAGES="
GConf_${GCONF_VERSION_FULL}_win32
GConf-dev_${GCONF_VERSION_FULL}_win32
"

# Gnome-vfs (optional, for GNOME UI only)
GNOMEVFS_VERSION="2.24"
GNOMEVFS_VERSION_FULL="${GNOMEVFS_VERSION}.0-1"
GNOMEVFS_BASE="${GNOME_BASE}/gnome-vfs/${GNOMEVFS_VERSION}/"

GNOMEVFS_PACKAGES="
gnome-vfs_${GNOMEVFS_VERSION_FULL}_win32
gnome-vfs-dev_${GNOMEVFS_VERSION_FULL}_win32
"

# GNOME dependencies
CAIRO_VERSION="1.8.10-1"
EXPAT_VERSION="2.0.1-1"
FONTCONFIG_VERSION="2.6.0-2"
FREETYPE_VERSION="2.3.12-1"
GETTEXTRT_VERSION="0.17-1"
GETTEXTTOOLS_VERSION="0.17"
GNUTLS_VERSION="2.4.2-1"
HICOLICONTHEME_VERSION="0.10-1"
ICONNAMINGUTILS_VERSION="0.8.7-1"
ISOCODES_VERSION="3.5-1"
LIBBZIP2_VERSION="1.0.2"
LIBFFI_VERSION="3.0.6-1"
LIBICAL_VERSION="0.43-1"
LIBICONV_VERSION="1.9.1"
LIBPNG_VERSION="1.2.40-1"
LIBTIFF_VERSION="3.8.2"
LIBXML2_VERSION="2.7.7-1"
PKGCONFIG_VERSION="0.23-3"
POPPLER_VERSION="0.6.4"
TANGOICON_VERSION="0.8.1"
WINICONV_VERSION="20100912"
ZLIB_VERSION="1.2.5-2"

GNOMEDEP_BASE="${GNOME_BASE}/dependencies/"
GNOMEDEP_PACKAGES="
cairo_${CAIRO_VERSION}_win32
cairo-dev_${CAIRO_VERSION}_win32
expat_${EXPAT_VERSION}_win32
expat-dev_${EXPAT_VERSION}_win32
fontconfig_${FONTCONFIG_VERSION}_win32
fontconfig-dev_${FONTCONFIG_VERSION}_win32
freetype_${FREETYPE_VERSION}_win32
freetype-dev_${FREETYPE_VERSION}_win32
gettext-runtime-${GETTEXTRT_VERSION}
gettext-runtime-dev-${GETTEXTRT_VERSION}
gettext-tools-${GETTEXTTOOLS_VERSION}
gnutls_${GNUTLS_VERSION}_win32
gnutls-dev_${GNUTLS_VERSION}_win32
hicolor-icon-theme_${HICOLICONTHEME_VERSION}_win32
hicolor-icon-theme-dev_${HICOLICONTHEME_VERSION}_win32
icon-naming-utils_${ICONNAMINGUTILS_VERSION}_win32
icon-naming-utils-dev_${ICONNAMINGUTILS_VERSION}_win32
iso-codes_${ISOCODES_VERSION}_win32
iso-codes-dev_${ISOCODES_VERSION}_win32
libbzip2-${LIBBZIP2_VERSION}
libbzip2-dev-${LIBBZIP2_VERSION}
libffi_${LIBFFI_VERSION}_win32
libffi-dev_${LIBFFI_VERSION}_win32
libical_${LIBICAL_VERSION}_win32
libical-dev_${LIBICAL_VERSION}_win32
libiconv-${LIBICONV_VERSION}.bin.woe32
libpng_${LIBPNG_VERSION}_win32
libpng-dev_${LIBPNG_VERSION}_win32
libtiff-${LIBTIFF_VERSION}
libtiff-dev-${LIBTIFF_VERSION}
libxml2_${LIBXML2_VERSION}_win32
libxml2-dev_${LIBXML2_VERSION}_win32
pkg-config_${PKGCONFIG_VERSION}_win32
poppler-${POPPLER_VERSION}
poppler-dev-${POPPLER_VERSION}
tango-icon-theme-${TANGOICON_VERSION}
tango-icon-theme-dev-${TANGOICON_VERSION}
win-iconv-dev_tml-${WINICONV_VERSION}_win32
win-iconv-dll_tml-${WINICONV_VERSION}_win32
zlib_${ZLIB_VERSION}_win32
zlib-dev_${ZLIB_VERSION}_win32
"

# We need to fetch jpeg library from a different location
# (the one in the GNOME site does not provide development files)
JPEG_VERSION="6b-4"

GNUWIN32_BASE="http://${SOURCEFORGE_MIRROR}.sourceforge.net/sourceforge/gnuwin32"
GNUWIN32_PACKAGES="
jpeg-${JPEG_VERSION}-bin
jpeg-${JPEG_VERSION}-lib
jpeg-${JPEG_VERSION}-dep
"

# GEGL and BABL
#GEGL_BASE="http://${SOURCEFORGE_MIRROR}.sourceforge.net/sourceforge/gimp-win"
#GEGL_BASE="http://sourceforge.net/projects/gimp-win/files/GIMP + GTK+ (stable release)/GIMP 2.6.4 + GTK+ 2.14.6/gegl-2847-babl-359-dev.zip/download

#http://sourceforge.net/projects/gimp-win/files/GIMP%20%2B%20GTK%2B%20%28stable%20release%29/GIMP%202.6.4%20%2B%20GTK%2B%202.14.6/gegl-2847-babl-359-dev.zip/download
GEGL_BABL_BASE="http://sourceforge.net/projects/gimp-win/files/GIMP + GTK+ (stable release)/GIMP 2.6.4 + GTK+ 2.14.6"
GEGL_BABL_PACKAGES="gegl-2847-babl-359-dev"

# EXIF
if [ "$EXIF_FROM_SOURCES" == "YES" ]
then
EXIF_VERSION="0.6.17"
EXIF_BASE="http://${SOURCEFORGE_MIRROR}.sourceforge.net/sourceforge/libexif"
EXIF_TARBALL="libexif-${EXIF_VERSION}"
else
EXIF_VERSION="0.6.16"
EXIF_BASE="http://www.gimp.org/~tml/gimp/win32"
EXIF_PACKAGES="
libexif-${EXIF_VERSION}
libexif-dev-${EXIF_VERSION}
"
fi

# BABL and GEGL sources
BABL_VERSION="0.1.3"
BABL_VERSION_FULL="${BABL_VERSION}"
BABL_BASE="ftp://gimptest.flamingtext.com/pub/nightly-tarballs/"
BABL_TARBALL="babl-${BABL_VERSION_FULL}"
#
GEGL_VERSION="0.1.3"
GEGL_VERSION_FULL="${GEGL_VERSION}"
GEGL_BASE="ftp://gimptest.flamingtext.com/pub/nightly-tarballs/"
GEGL_TARBALL="gegl-${GEGL_VERSION_FULL}"

# GIMP sources
GIMP_VERSION="2.7.2"
GIMP_VERSION_FULL="${GIMP_VERSION}"
GIMP_BASE="ftp://gimptest.flamingtext.com/pub/nightly-tarballs/"
GIMP_TARBALL="gimp-${GIMP_VERSION_FULL}"

# End of packages locations and names.
# Nothing should need to be changed below this point, except maybe for the fixes section

echo "Starting to get build environment for GIMP"

# Test if wget is installed
echo "Testing if wget is available..."
if [ -z "`which wget`" ]
then
echo "You did not install wget! Please download wget and wget-dep from http://gnuwin32.sourceforge.net/packages/wget.htm and extract their content to $MINGW. Try to execute this script than again."
exit
fi
echo "OK1"

# Test if unzip is installed
echo "Testing if unzip is available..."
if [ -z "`which unzip`" ]
then
echo "You did not install unzip! Please download unzip from http://gnuwin32.sourceforge.net/packages/unzip.htm and extract the content of that package to $MINGW. Try to execute this script than again."
exit
fi
echo "OK2"

# Test if perl is installed
echo "Testing if perl is available..."
if [ -z "`which perl`" ]
then
echo "You did not install perl! Please install perl in your system and try to execute this script than again."
exit
fi
echo "OK3"

PERL_BINARY="`which perl`"

# Ok, continue.
if ! [ -d "$TMP_DIR" ]; then mkdir -p "$TMP_DIR"; fi
if ! [ -d "$COMPILE_DIR" ]; then mkdir -p "$COMPILE_DIR"; fi
pushd "$TMP_DIR" > /dev/null

# Set wget flags
WGETFLAGS=""
if [ "$SILENT_WGET" == "YES" ]
then
WGETFLAGS="$WGETFLAGS -q"
fi

# Define some useful functions

# Extract zip files
function zextract
{
if [ "$ZEXTRACT" == "YES" ]
then
unzip -u -q "$1.zip" -d $2
#echo " force skipped"
else
echo " skipped"
fi
}

# Extract tarballs
function tbz2extract
{
local TARBALL_DIR="$PWD"
if [ "$TBZ2EXTRACT" == "YES" ]
then
pushd "${START_DIR}/$2" > /dev/null
tar -vxjf "${TARBALL_DIR}/$1.tar.bz2"
popd > /dev/null
else
echo " skipped"
fi
}

# Install zip files with binaries
function download_and_zextract
{
local NAME="$1";
local PACK_LOCATION="$2"
local PACK_LIST="$3"

echo "Downloading $NAME packages..."
for PACKAGE in $PACK_LIST
do
if [ -e "$PACKAGE.zip" ]; then
echo " Already there - extracting $PACKAGE";
zextract "$PACKAGE" "$MINGW"
else
echo " Getting $PACKAGE";
wget $WGETFLAGS "$PACK_LOCATION/$PACKAGE.zip"
echo " Extracting $PACKAGE";
zextract "$PACKAGE" "$MINGW"
fi
done
echo "OK4"
}

# Download, extract and compile tarballs
function download_and_tbz2extract
{
local NAME="$1";
local TARBALL_LOCATION="$2"
local TARBALL_LIST="$3"
local COMPILE="$4"
local CONFIG_FLAGS="$5"

echo "Downloading $NAME packages..."
for TARBALL in $TARBALL_LIST
do
if [ -e "$TARBALL.tar.bz2" ]; then
echo " Already there - extracting $TARBALL";
tbz2extract "$TARBALL" "$COMPILE_DIR"
else
echo " Getting $TARBALL";
wget $WGETFLAGS "$TARBALL_LOCATION/$TARBALL.tar.bz2"
echo " Extracting $TARBALL";
tbz2extract "$TARBALL" "$COMPILE_DIR"
fi
pushd "${START_DIR}/${COMPILE_DIR}/$TARBALL" > /dev/null
echo " Compiling $TARBALL"
if [ "$COMPILE" == "YES" ]
then
configure --prefix="$MINGW" ${CONFIG_FLAGS}
make
make install
else
echo " skipped"
fi
popd > /dev/null
done
echo "OK5"
}

# End of functions definitions

# Let's go! first download and install binaries

download_and_zextract "ATK" "${ATK_BASE}" "${ATK_PACKAGES}"
download_and_zextract "GTK+" "${GTK_BASE}" "${GTK_PACKAGES}"
download_and_zextract "Glib" "${GLIB_BASE}" "${GLIB_PACKAGES}"
download_and_zextract "INTLTOOL" "${INTLTOOL_BASE}" "${INTLTOOL_PACKAGES}"
download_and_zextract "PANGO" "${PANGO_BASE}" "${PANGO_PACKAGES}"
download_and_zextract "LIBRSVG" "${LIBRSVG_BASE}" "${LIBRSVG_PACKAGES}"
download_and_zextract "LIBCROCO" "${LIBCROCO_BASE}" "${LIBCROCO_PACKAGES}"
download_and_zextract "LIBGSF" "${LIBGSF_BASE}" "${LIBGSF_PACKAGES}"
if [ "$WITH_GNOMEUI" == "YES" ]
then
download_and_zextract "LIBGNOME" "${LIBGNOME_BASE}" "${LIBGNOME_PACKAGES}"
download_and_zextract "LIBGNOMEUI" "${LIBGNOMEUI_BASE}" "${LIBGNOMEUI_PACKAGES}"
download_and_zextract "LIBGNOMECANVAS" "${LIBGNOMECANVAS_BASE}" "${LIBGNOMECANVAS_PACKAGES}"
download_and_zextract "LIBARTLGPL" "${LIBARTLGPL_BASE}" "${LIBARTLGPL_PACKAGES}"
download_and_zextract "LIBBONOBO" "${LIBBONOBO_BASE}" "${LIBBONOBO_PACKAGES}"
download_and_zextract "LIBBONOBOUI" "${LIBBONOBOUI_BASE}" "${LIBBONOBOUI_PACKAGES}"
download_and_zextract "ORBIT2" "${ORBIT2_BASE}" "${ORBIT2_PACKAGES}"
download_and_zextract "GCONF" "${GCONF_BASE}" "${GCONF_PACKAGES}"
download_and_zextract "GNOMEVFS" "${GNOMEVFS_BASE}" "${GNOMEVFS_PACKAGES}"
fi
download_and_zextract "other GNOME dependencies" "${GNOMEDEP_BASE}" "${GNOMEDEP_PACKAGES}"
download_and_zextract "other GNU packages" "${GNUWIN32_BASE}" "${GNUWIN32_PACKAGES}"
# ¤¤¤ DISABLED BY BR download_and_zextract "GEGL and BABL" "${GEGL_BABL_BASE}" "${GEGL_BABL_PACKAGES}"
if [ "$WITH_EXIF" == "YES" ] && [ "$EXIF_FROM_SOURCES" != "YES" ]
then
download_and_zextract "EXIF" "${EXIF_BASE}" "${EXIF_PACKAGES}"
fi

# Some fixes are required to make everything work

# Intltool fix (set the correct perl location)
INTLTOOL_SCRIPTS="
intltool-extract
intltool-merge
intltool-prepare
intltool-update
"

echo "Fixing intltool scripts"
pushd "${MINGW}/bin" > /dev/null
for ISCR in $INTLTOOL_SCRIPTS
do
if grep -q "^#!/opt/perl/" "$ISCR"
then
mv "$ISCR" "$ISCR.bk"
cat "$ISCR.bk" | sed "s@^#!/opt/perl/bin/perl@#!${PERL_BINARY}@" > "$ISCR"
rm "$ISCR.bk"
fi
done
popd > /dev/null
echo " test if fix worked"
for ISCR in $INTLTOOL_SCRIPTS
do
$ISCR --version > /dev/null
done
echo "OK6"

# libbabl fix (mirror the library so that GIMP finds it during compilation)
# echo "Copying libbabl in alternative position"
# LIBBABLALTDIR="/win32dev/i386/gimp/dev/deps/lib"
# LIBBABLFILES="
# libbabl-0.1.la
# libbabl-0.1.dll.a
# "

# mkdir -p "$LIBBABLALTDIR"
# pushd "$MINGW/lib" > /dev/null
# for FILE in $LIBBABLFILES
# do
# cp "$FILE" "$LIBBABLALTDIR"
# done
# popd > /dev/null
# echo "OK7"

# Compile from sources EXIF and GIMP

if [ "$WITH_EXIF" == "YES" ] && [ "$EXIF_FROM_SOURCES" == YES ]
then
download_and_tbz2extract "EXIF" "${EXIF_BASE}" "${EXIF_TARBALL}" "${COMPILE_EXIF}" ""
fi

# ¤¤¤ ENABLED BY BR
tbz2extract "BABL" "${BABL_BASE}" "${BABL_TARBALL}" "${COMPILE_BABL}" "" # (inactivated)
tbz2extract "GEGL" "${GEGL_BASE}" "${GEGL_TARBALL}" "${COMPILE_GEGL}" "--disable-docs" # (inactivated)
tbz2extract "GIMP" "${GIMP_BASE}" "${GIMP_TARBALL}" "${COMPILE_GIMP}" "--disable-print --disable-python"

# Done
cd $START_DIR
echo "OK. Script is finished now."


Results:
Compaq_Owner@Family-Room ~
$ ./compile-gimp.sh
Starting to get build environment for GIMP
Testing if wget is available...
OK1
Testing if unzip is available...
OK2
Testing if perl is available...
OK3
Downloading ATK packages...
Already there - extracting atk_1.24.0-1_win32
Already there - extracting atk-dev_1.24.0-1_win32
OK4
Downloading GTK+ packages...
Already there - extracting gtk+_2.16.6-1_win32
Already there - extracting gtk+-dev_2.16.6-1_win32
OK4
Downloading Glib packages...
Already there - extracting glib_2.22.2-1_win32
Already there - extracting glib-dev_2.22.2-1_win32
OK4
Downloading INTLTOOL packages...
Already there - extracting intltool_0.40.4-1_win32
Already there - extracting intltool-dev_0.40.4-1_win32
OK4
Downloading PANGO packages...
Already there - extracting pango_1.22.4-1_win32
Already there - extracting pango-dev_1.22.4-1_win32
OK4
Downloading LIBRSVG packages...
Already there - extracting librsvg_2.22.3-1_win32
Already there - extracting librsvg-dev_2.22.3-1_win32
Already there - extracting svg-gdk-pixbuf-loader_2.22.3-1_win32
Already there - extracting svg-gtk-engine_2.22.3-1_win32
OK4
Downloading LIBCROCO packages...
Already there - extracting libcroco-0.6.1
Already there - extracting libcroco-dev-0.6.1
OK4
Downloading LIBGSF packages...
Already there - extracting libgsf-1.14.8
Already there - extracting libgsf-dev-1.14.8
Already there - extracting libgsf-gnome-1.14.8
Already there - extracting libgsf-gnome-dev-1.14.8
OK4
Downloading other GNOME dependencies packages...
Already there - extracting cairo_1.8.10-1_win32
Already there - extracting cairo-dev_1.8.10-1_win32
Already there - extracting expat_2.0.1-1_win32
Already there - extracting expat-dev_2.0.1-1_win32
Already there - extracting fontconfig_2.6.0-2_win32
Already there - extracting fontconfig-dev_2.6.0-2_win32
Already there - extracting freetype_2.3.12-1_win32
Already there - extracting freetype-dev_2.3.12-1_win32
Already there - extracting gettext-runtime-0.17-1
Already there - extracting gettext-runtime-dev-0.17-1
Already there - extracting gettext-tools-0.17
Already there - extracting gnutls_2.4.2-1_win32
Already there - extracting gnutls-dev_2.4.2-1_win32
Already there - extracting hicolor-icon-theme_0.10-1_win32
Already there - extracting hicolor-icon-theme-dev_0.10-1_win32
Already there - extracting icon-naming-utils_0.8.7-1_win32
Already there - extracting icon-naming-utils-dev_0.8.7-1_win32
Already there - extracting iso-codes_3.5-1_win32
Already there - extracting iso-codes-dev_3.5-1_win32
Already there - extracting libbzip2-1.0.2
Already there - extracting libbzip2-dev-1.0.2
Already there - extracting libffi_3.0.6-1_win32
Already there - extracting libffi-dev_3.0.6-1_win32
Already there - extracting libical_0.43-1_win32
Already there - extracting libical-dev_0.43-1_win32
Already there - extracting libiconv-1.9.1.bin.woe32
Already there - extracting libpng_1.2.40-1_win32
Already there - extracting libpng-dev_1.2.40-1_win32
Already there - extracting libtiff-3.8.2
Already there - extracting libtiff-dev-3.8.2
Already there - extracting libxml2_2.7.7-1_win32
Already there - extracting libxml2-dev_2.7.7-1_win32
Already there - extracting pkg-config_0.23-3_win32
Already there - extracting poppler-0.6.4
Already there - extracting poppler-dev-0.6.4
Already there - extracting tango-icon-theme-0.8.1
Already there - extracting tango-icon-theme-dev-0.8.1
Already there - extracting win-iconv-dev_tml-20100912_win32
Already there - extracting win-iconv-dll_tml-20100912_win32
Already there - extracting zlib_1.2.5-2_win32
Already there - extracting zlib-dev_1.2.5-2_win32
OK4
Downloading other GNU packages packages...
Already there - extracting jpeg-6b-4-bin
Already there - extracting jpeg-6b-4-lib
Already there - extracting jpeg-6b-4-dep
OK4
Fixing intltool scripts
test if fix worked
OK6
Downloading EXIF packages...
Already there - extracting libexif-0.6.17
libexif-0.6.17/
libexif-0.6.17/Makefile.in
libexif-0.6.17/libexif.spec
libexif-0.6.17/AUTHORS
libexif-0.6.17/doc/
libexif-0.6.17/doc/Makefile.in
libexif-0.6.17/doc/Doxyfile-internals.in
libexif-0.6.17/doc/Makefile.am
libexif-0.6.17/doc/README.apidocs
libexif-0.6.17/doc/libexif-api.html.tar.gz
libexif-0.6.17/doc/Doxyfile.in
libexif-0.6.17/configure.ac
libexif-0.6.17/aclocal.m4
libexif-0.6.17/install-sh
libexif-0.6.17/libexif-uninstalled.pc.in
libexif-0.6.17/missing
libexif-0.6.17/Makefile.am
libexif-0.6.17/contrib/
libexif-0.6.17/contrib/Makefile.in
libexif-0.6.17/contrib/watcom/
libexif-0.6.17/contrib/watcom/Makefile
libexif-0.6.17/contrib/watcom/_stdint.h
libexif-0.6.17/contrib/Makefile.am
libexif-0.6.17/depcomp
libexif-0.6.17/binary/
libexif-0.6.17/binary/Makefile.in
libexif-0.6.17/binary/Makefile.am
libexif-0.6.17/config.rpath
libexif-0.6.17/ChangeLog
libexif-0.6.17/INSTALL
libexif-0.6.17/auto-m4/
libexif-0.6.17/auto-m4/nls.m4
libexif-0.6.17/auto-m4/progtest.m4
libexif-0.6.17/auto-m4/lib-prefix.m4
libexif-0.6.17/auto-m4/gettext.m4
libexif-0.6.17/auto-m4/iconv.m4
libexif-0.6.17/auto-m4/po.m4
libexif-0.6.17/auto-m4/lib-ld.m4
libexif-0.6.17/auto-m4/lib-link.m4
libexif-0.6.17/NEWS
libexif-0.6.17/ABOUT-NLS
libexif-0.6.17/libexif.spec.in
libexif-0.6.17/m4m/
libexif-0.6.17/m4m/gp-gettext-hack.m4
libexif-0.6.17/m4m/gp-references.m4
libexif-0.6.17/m4m/Makefile.in
libexif-0.6.17/m4m/gp-packaging.m4
libexif-0.6.17/m4m/gp-config-msg.m4
libexif-0.6.17/m4m/Makefile.am
libexif-0.6.17/m4m/gp-byteorder.m4
libexif-0.6.17/m4m/gp-pkg-config.m4
libexif-0.6.17/m4m/gp-check-shell-environment.m4
libexif-0.6.17/m4m/gp-documentation.m4
libexif-0.6.17/m4m/stdint.m4
libexif-0.6.17/m4m/gp-check-library.m4
libexif-0.6.17/m4m/gp-check-popt.m4
libexif-0.6.17/libexif/
libexif-0.6.17/libexif/exif-mem.c
libexif-0.6.17/libexif/Makefile.in
libexif-0.6.17/libexif/exif-entry.h
libexif-0.6.17/libexif/exif-utils.c
libexif-0.6.17/libexif/exif-tag.h
libexif-0.6.17/libexif/exif-mem.h
libexif-0.6.17/libexif/i18n.h
libexif-0.6.17/libexif/exif-tag.c
libexif-0.6.17/libexif/exif-byte-order.c
libexif-0.6.17/libexif/exif-ifd.h
libexif-0.6.17/libexif/exif-content.c
libexif-0.6.17/libexif/fuji/
libexif-0.6.17/libexif/fuji/mnote-fuji-entry.c
libexif-0.6.17/libexif/fuji/mnote-fuji-entry.h
libexif-0.6.17/libexif/fuji/mnote-fuji-tag.c
libexif-0.6.17/libexif/fuji/exif-mnote-data-fuji.h
libexif-0.6.17/libexif/fuji/Makefile-files
libexif-0.6.17/libexif/fuji/mnote-fuji-tag.h
libexif-0.6.17/libexif/fuji/exif-mnote-data-fuji.c
libexif-0.6.17/libexif/_stdint.h
libexif-0.6.17/libexif/exif-data.h
libexif-0.6.17/libexif/exif-loader.c
libexif-0.6.17/libexif/exif-ifd.c
libexif-0.6.17/libexif/Makefile.am
libexif-0.6.17/libexif/exif-format.h
libexif-0.6.17/libexif/canon/
libexif-0.6.17/libexif/canon/mnote-canon-entry.h
libexif-0.6.17/libexif/canon/mnote-canon-entry.c
libexif-0.6.17/libexif/canon/mnote-canon-tag.h
libexif-0.6.17/libexif/canon/Makefile-files
libexif-0.6.17/libexif/canon/mnote-canon-tag.c
libexif-0.6.17/libexif/canon/exif-mnote-data-canon.h
libexif-0.6.17/libexif/canon/exif-mnote-data-canon.c
libexif-0.6.17/libexif/exif-data.c
libexif-0.6.17/libexif/exif-byte-order.h
libexif-0.6.17/libexif/olympus/
libexif-0.6.17/libexif/olympus/mnote-olympus-tag.h
libexif-0.6.17/libexif/olympus/mnote-olympus-entry.c
libexif-0.6.17/libexif/olympus/mnote-olympus-tag.c
libexif-0.6.17/libexif/olympus/exif-mnote-data-olympus.c
libexif-0.6.17/libexif/olympus/mnote-olympus-entry.h
libexif-0.6.17/libexif/olympus/Makefile-files
libexif-0.6.17/libexif/olympus/exif-mnote-data-olympus.h
libexif-0.6.17/libexif/exif-format.c
libexif-0.6.17/libexif/exif-entry.c
libexif-0.6.17/libexif/exif-data-type.h
libexif-0.6.17/libexif/exif-system.h
libexif-0.6.17/libexif/exif-utils.h
libexif-0.6.17/libexif/exif-content.h
libexif-0.6.17/libexif/exif-loader.h
libexif-0.6.17/libexif/exif-mnote-data-priv.h
libexif-0.6.17/libexif/libexif.sym
libexif-0.6.17/libexif/pentax/
libexif-0.6.17/libexif/pentax/mnote-pentax-tag.h
libexif-0.6.17/libexif/pentax/exif-mnote-data-pentax.h
libexif-0.6.17/libexif/pentax/Makefile-files
libexif-0.6.17/libexif/pentax/mnote-pentax-entry.c
libexif-0.6.17/libexif/pentax/mnote-pentax-entry.h
libexif-0.6.17/libexif/pentax/exif-mnote-data-pentax.c
libexif-0.6.17/libexif/pentax/mnote-pentax-tag.c
libexif-0.6.17/libexif/exif-log.c
libexif-0.6.17/libexif/exif-mnote-data.h
libexif-0.6.17/libexif/exif-mnote-data.c
libexif-0.6.17/libexif/exif-log.h
libexif-0.6.17/config.h.in
libexif-0.6.17/config.guess
libexif-0.6.17/config.sub
libexif-0.6.17/ltmain.sh
libexif-0.6.17/test/
libexif-0.6.17/test/Makefile.in
libexif-0.6.17/test/test-parse.c
libexif-0.6.17/test/Makefile.am
libexif-0.6.17/test/test-value.c
libexif-0.6.17/test/test-mnote.c
libexif-0.6.17/test/test-integers.c
libexif-0.6.17/test/nls/
libexif-0.6.17/test/nls/check-nls.in
libexif-0.6.17/test/nls/Makefile.in
libexif-0.6.17/test/nls/check-localedir.in
libexif-0.6.17/test/nls/test-codeset.c
libexif-0.6.17/test/nls/Makefile.am
libexif-0.6.17/test/nls/test-nls.c
libexif-0.6.17/test/nls/print-localedir.c
libexif-0.6.17/test/test-mem.c
libexif-0.6.17/libexif.pc.in
libexif-0.6.17/COPYING
libexif-0.6.17/configure
libexif-0.6.17/mkinstalldirs
libexif-0.6.17/po/
libexif-0.6.17/po/sv.po
libexif-0.6.17/po/stamp-po
libexif-0.6.17/po/insert-header.sin
libexif-0.6.17/po/Rules-quot
libexif-0.6.17/po/remove-potcdate.sin
libexif-0.6.17/po/vi.gmo
libexif-0.6.17/po/cs.po
libexif-0.6.17/po/Makefile.in.in
libexif-0.6.17/po/POTFILES.in
libexif-0.6.17/po/es.po
libexif-0.6.17/po/de.gmo
libexif-0.6.17/po/fr.po
libexif-0.6.17/po/sk.po
libexif-0.6.17/po/quot.sed
libexif-0.6.17/po/en_CA.po
libexif-0.6.17/po/cs.gmo
libexif-0.6.17/po/sv.gmo
libexif-0.6.17/po/pl.po
libexif-0.6.17/po/fr.gmo
libexif-0.6.17/po/de.po
libexif-0.6.17/po/nl.gmo
libexif-0.6.17/po/[email protected]
libexif-0.6.17/po/vi.po
libexif-0.6.17/po/en_CA.gmo
libexif-0.6.17/po/boldquot.sed
libexif-0.6.17/po/nl.po
libexif-0.6.17/po/Makevars
libexif-0.6.17/po/libexif-12.pot
libexif-0.6.17/po/ru.po
libexif-0.6.17/po/pl.gmo
libexif-0.6.17/po/es.gmo
libexif-0.6.17/po/ru.gmo
libexif-0.6.17/po/sk.gmo
libexif-0.6.17/po/[email protected]
libexif-0.6.17/README
Compiling libexif-0.6.17
skipped
OK5
./compile-gimp.sh: line 438: pushd: /home/Compaq_Owner/ftp://gimptest.flamingtex
t.com/pub/nightly-tarballs/: No such file or directory

Compaq_Owner@Family-Room ~
$


Any ideas on how to fix this error Rob?

_________________
Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Re: Hey RobA
PostPosted: Wed Nov 24, 2010 9:29 am  (#2) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
I think i get it. The script can not call up that directory because it doesn't exist in the path of the compiler correct?

_________________
Image


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Thu Nov 25, 2010 3:23 pm  (#3) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
pushd pushes a directory onto the directory stack. It is trying in your case to push the directory:
"/home/Compaq_Owner/ftp://gimptest.flamingtext.com/pub/nightly-tarballs"

Not sure how the ftp is slipping in there. the line is:
pushd "${START_DIR}/$2" > /dev/null


So I'm thinking the START_DIR is "/home/Compaq_Owner" and the "ftp://gimptest.flamingtext.com/pub/nightly-tarballs" is from $2,

which matches you BABL_BASE variable....that is where it hits the error, when it calls:

tbz2extract "BABL" "${BABL_BASE}" "${BABL_TARBALL}" "${COMPILE_BABL}" "" # (inactivated)


This makes sense as tbzextract only takes two parameter.

Try changing your three lines to:
download_and_tbz2extract "BABL" "${BABL_BASE}" "${BABL_TARBALL}" "${COMPILE_BABL}" "" # (inactivated)
download_and_tbz2extract "GEGL" "${GEGL_BASE}" "${GEGL_TARBALL}" "${COMPILE_GEGL}" "--disable-docs" # (inactivated)
download_and_tbz2extract "GIMP" "${GIMP_BASE}" "${GIMP_TARBALL}" "${COMPILE_GIMP}" "--disable-print --disable-python"


and see if that works...

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Fri Nov 26, 2010 4:18 am  (#4) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
Awesome thanks.
Is there a way to set the script, so it doesnt download GEGL and BABL, just compiles them from that tmp directory if i have those files there already?
I get another complication with a connection resolve...OK3
Downloading ATK packages...
Already there - extracting atk_1.24.0-1_win32
Already there - extracting atk-dev_1.24.0-1_win32
OK4
Downloading GTK+ packages...
Already there - extracting gtk+_2.16.6-1_win32
Already there - extracting gtk+-dev_2.16.6-1_win32
OK4
Downloading Glib packages...
Already there - extracting glib_2.22.2-1_win32
Already there - extracting glib-dev_2.22.2-1_win32
OK4
Downloading INTLTOOL packages...
Already there - extracting intltool_0.40.4-1_win32
Already there - extracting intltool-dev_0.40.4-1_win32
OK4
Downloading PANGO packages...
Already there - extracting pango_1.22.4-1_win32
Already there - extracting pango-dev_1.22.4-1_win32
OK4
Downloading LIBRSVG packages...
Already there - extracting librsvg_2.22.3-1_win32
Already there - extracting librsvg-dev_2.22.3-1_win32
Already there - extracting svg-gdk-pixbuf-loader_2.22.3-1_win32
Already there - extracting svg-gtk-engine_2.22.3-1_win32
OK4
Downloading LIBCROCO packages...
Already there - extracting libcroco-0.6.1
Already there - extracting libcroco-dev-0.6.1
OK4
Downloading LIBGSF packages...
Already there - extracting libgsf-1.14.8
Already there - extracting libgsf-dev-1.14.8
Already there - extracting libgsf-gnome-1.14.8
Already there - extracting libgsf-gnome-dev-1.14.8
OK4
Downloading other GNOME dependencies packages...
Already there - extracting cairo_1.8.10-1_win32
Already there - extracting cairo-dev_1.8.10-1_win32
Already there - extracting expat_2.0.1-1_win32
Already there - extracting expat-dev_2.0.1-1_win32
Already there - extracting fontconfig_2.6.0-2_win32
Already there - extracting fontconfig-dev_2.6.0-2_win32
Already there - extracting freetype_2.3.12-1_win32
Already there - extracting freetype-dev_2.3.12-1_win32
Already there - extracting gettext-runtime-0.17-1
Already there - extracting gettext-runtime-dev-0.17-1
Already there - extracting gettext-tools-0.17
Already there - extracting gnutls_2.4.2-1_win32
Already there - extracting gnutls-dev_2.4.2-1_win32
Already there - extracting hicolor-icon-theme_0.10-1_win32
Already there - extracting hicolor-icon-theme-dev_0.10-1_win32
Already there - extracting icon-naming-utils_0.8.7-1_win32
Already there - extracting icon-naming-utils-dev_0.8.7-1_win32
Already there - extracting iso-codes_3.5-1_win32
Already there - extracting iso-codes-dev_3.5-1_win32
Already there - extracting libbzip2-1.0.2
Already there - extracting libbzip2-dev-1.0.2
Already there - extracting libffi_3.0.6-1_win32
Already there - extracting libffi-dev_3.0.6-1_win32
Already there - extracting libical_0.43-1_win32
Already there - extracting libical-dev_0.43-1_win32
Already there - extracting libiconv-1.9.1.bin.woe32
Already there - extracting libpng_1.2.40-1_win32
Already there - extracting libpng-dev_1.2.40-1_win32
Already there - extracting libtiff-3.8.2
Already there - extracting libtiff-dev-3.8.2
Already there - extracting libxml2_2.7.7-1_win32
Already there - extracting libxml2-dev_2.7.7-1_win32
Already there - extracting pkg-config_0.23-3_win32
Already there - extracting poppler-0.6.4
Already there - extracting poppler-dev-0.6.4
Already there - extracting tango-icon-theme-0.8.1
Already there - extracting tango-icon-theme-dev-0.8.1
Already there - extracting win-iconv-dev_tml-20100912_win32
Already there - extracting win-iconv-dll_tml-20100912_win32
Already there - extracting zlib_1.2.5-2_win32
Already there - extracting zlib-dev_1.2.5-2_win32
OK4
Downloading other GNU packages packages...
Already there - extracting jpeg-6b-4-bin
Already there - extracting jpeg-6b-4-lib
Already there - extracting jpeg-6b-4-dep
OK4
Fixing intltool scripts
test if fix worked
OK6
Downloading EXIF packages...
Already there - extracting libexif-0.6.17
tar: Record size = 8 blocks
libexif-0.6.17/
libexif-0.6.17/Makefile.in
libexif-0.6.17/libexif.spec
libexif-0.6.17/AUTHORS
libexif-0.6.17/doc/
libexif-0.6.17/doc/Makefile.in
libexif-0.6.17/doc/Doxyfile-internals.in
libexif-0.6.17/doc/Makefile.am
libexif-0.6.17/doc/README.apidocs
libexif-0.6.17/doc/libexif-api.html.tar.gz
libexif-0.6.17/doc/Doxyfile.in
libexif-0.6.17/configure.ac
libexif-0.6.17/aclocal.m4
libexif-0.6.17/install-sh
libexif-0.6.17/libexif-uninstalled.pc.in
libexif-0.6.17/missing
libexif-0.6.17/Makefile.am
libexif-0.6.17/contrib/
libexif-0.6.17/contrib/Makefile.in
libexif-0.6.17/contrib/watcom/
libexif-0.6.17/contrib/watcom/Makefile
libexif-0.6.17/contrib/watcom/_stdint.h
libexif-0.6.17/contrib/Makefile.am
libexif-0.6.17/depcomp
libexif-0.6.17/binary/
libexif-0.6.17/binary/Makefile.in
libexif-0.6.17/binary/Makefile.am
libexif-0.6.17/config.rpath
libexif-0.6.17/ChangeLog
libexif-0.6.17/INSTALL
libexif-0.6.17/auto-m4/
libexif-0.6.17/auto-m4/nls.m4
libexif-0.6.17/auto-m4/progtest.m4
libexif-0.6.17/auto-m4/lib-prefix.m4
libexif-0.6.17/auto-m4/gettext.m4
libexif-0.6.17/auto-m4/iconv.m4
libexif-0.6.17/auto-m4/po.m4
libexif-0.6.17/auto-m4/lib-ld.m4
libexif-0.6.17/auto-m4/lib-link.m4
libexif-0.6.17/NEWS
libexif-0.6.17/ABOUT-NLS
libexif-0.6.17/libexif.spec.in
libexif-0.6.17/m4m/
libexif-0.6.17/m4m/gp-gettext-hack.m4
libexif-0.6.17/m4m/gp-references.m4
libexif-0.6.17/m4m/Makefile.in
libexif-0.6.17/m4m/gp-packaging.m4
libexif-0.6.17/m4m/gp-config-msg.m4
libexif-0.6.17/m4m/Makefile.am
libexif-0.6.17/m4m/gp-byteorder.m4
libexif-0.6.17/m4m/gp-pkg-config.m4
libexif-0.6.17/m4m/gp-check-shell-environment.m4
libexif-0.6.17/m4m/gp-documentation.m4
libexif-0.6.17/m4m/stdint.m4
libexif-0.6.17/m4m/gp-check-library.m4
libexif-0.6.17/m4m/gp-check-popt.m4
libexif-0.6.17/libexif/
libexif-0.6.17/libexif/exif-mem.c
libexif-0.6.17/libexif/Makefile.in
libexif-0.6.17/libexif/exif-entry.h
libexif-0.6.17/libexif/exif-utils.c
libexif-0.6.17/libexif/exif-tag.h
libexif-0.6.17/libexif/exif-mem.h
libexif-0.6.17/libexif/i18n.h
libexif-0.6.17/libexif/exif-tag.c
libexif-0.6.17/libexif/exif-byte-order.c
libexif-0.6.17/libexif/exif-ifd.h
libexif-0.6.17/libexif/exif-content.c
libexif-0.6.17/libexif/fuji/
libexif-0.6.17/libexif/fuji/mnote-fuji-entry.c
libexif-0.6.17/libexif/fuji/mnote-fuji-entry.h
libexif-0.6.17/libexif/fuji/mnote-fuji-tag.c
libexif-0.6.17/libexif/fuji/exif-mnote-data-fuji.h
libexif-0.6.17/libexif/fuji/Makefile-files
libexif-0.6.17/libexif/fuji/mnote-fuji-tag.h
libexif-0.6.17/libexif/fuji/exif-mnote-data-fuji.c
libexif-0.6.17/libexif/_stdint.h
libexif-0.6.17/libexif/exif-data.h
libexif-0.6.17/libexif/exif-loader.c
libexif-0.6.17/libexif/exif-ifd.c
libexif-0.6.17/libexif/Makefile.am
libexif-0.6.17/libexif/exif-format.h
libexif-0.6.17/libexif/canon/
libexif-0.6.17/libexif/canon/mnote-canon-entry.h
libexif-0.6.17/libexif/canon/mnote-canon-entry.c
libexif-0.6.17/libexif/canon/mnote-canon-tag.h
libexif-0.6.17/libexif/canon/Makefile-files
libexif-0.6.17/libexif/canon/mnote-canon-tag.c
libexif-0.6.17/libexif/canon/exif-mnote-data-canon.h
libexif-0.6.17/libexif/canon/exif-mnote-data-canon.c
libexif-0.6.17/libexif/exif-data.c
libexif-0.6.17/libexif/exif-byte-order.h
libexif-0.6.17/libexif/olympus/
libexif-0.6.17/libexif/olympus/mnote-olympus-tag.h
libexif-0.6.17/libexif/olympus/mnote-olympus-entry.c
libexif-0.6.17/libexif/olympus/mnote-olympus-tag.c
libexif-0.6.17/libexif/olympus/exif-mnote-data-olympus.c
libexif-0.6.17/libexif/olympus/mnote-olympus-entry.h
libexif-0.6.17/libexif/olympus/Makefile-files
libexif-0.6.17/libexif/olympus/exif-mnote-data-olympus.h
libexif-0.6.17/libexif/exif-format.c
libexif-0.6.17/libexif/exif-entry.c
libexif-0.6.17/libexif/exif-data-type.h
libexif-0.6.17/libexif/exif-system.h
libexif-0.6.17/libexif/exif-utils.h
libexif-0.6.17/libexif/exif-content.h
libexif-0.6.17/libexif/exif-loader.h
libexif-0.6.17/libexif/exif-mnote-data-priv.h
libexif-0.6.17/libexif/libexif.sym
libexif-0.6.17/libexif/pentax/
libexif-0.6.17/libexif/pentax/mnote-pentax-tag.h
libexif-0.6.17/libexif/pentax/exif-mnote-data-pentax.h
libexif-0.6.17/libexif/pentax/Makefile-files
libexif-0.6.17/libexif/pentax/mnote-pentax-entry.c
libexif-0.6.17/libexif/pentax/mnote-pentax-entry.h
libexif-0.6.17/libexif/pentax/exif-mnote-data-pentax.c
libexif-0.6.17/libexif/pentax/mnote-pentax-tag.c
libexif-0.6.17/libexif/exif-log.c
libexif-0.6.17/libexif/exif-mnote-data.h
libexif-0.6.17/libexif/exif-mnote-data.c
libexif-0.6.17/libexif/exif-log.h
libexif-0.6.17/config.h.in
libexif-0.6.17/config.guess
libexif-0.6.17/config.sub
libexif-0.6.17/ltmain.sh
libexif-0.6.17/test/
libexif-0.6.17/test/Makefile.in
libexif-0.6.17/test/test-parse.c
libexif-0.6.17/test/Makefile.am
libexif-0.6.17/test/test-value.c
libexif-0.6.17/test/test-mnote.c
libexif-0.6.17/test/test-integers.c
libexif-0.6.17/test/nls/
libexif-0.6.17/test/nls/check-nls.in
libexif-0.6.17/test/nls/Makefile.in
libexif-0.6.17/test/nls/check-localedir.in
libexif-0.6.17/test/nls/test-codeset.c
libexif-0.6.17/test/nls/Makefile.am
libexif-0.6.17/test/nls/test-nls.c
libexif-0.6.17/test/nls/print-localedir.c
libexif-0.6.17/test/test-mem.c
libexif-0.6.17/libexif.pc.in
libexif-0.6.17/COPYING
libexif-0.6.17/configure
libexif-0.6.17/mkinstalldirs
libexif-0.6.17/po/
libexif-0.6.17/po/sv.po
libexif-0.6.17/po/stamp-po
libexif-0.6.17/po/insert-header.sin
libexif-0.6.17/po/Rules-quot
libexif-0.6.17/po/remove-potcdate.sin
libexif-0.6.17/po/vi.gmo
libexif-0.6.17/po/cs.po
libexif-0.6.17/po/Makefile.in.in
libexif-0.6.17/po/POTFILES.in
libexif-0.6.17/po/es.po
libexif-0.6.17/po/de.gmo
libexif-0.6.17/po/fr.po
libexif-0.6.17/po/sk.po
libexif-0.6.17/po/quot.sed
libexif-0.6.17/po/en_CA.po
libexif-0.6.17/po/cs.gmo
libexif-0.6.17/po/sv.gmo
libexif-0.6.17/po/pl.po
libexif-0.6.17/po/fr.gmo
libexif-0.6.17/po/de.po
libexif-0.6.17/po/nl.gmo
libexif-0.6.17/po/[email protected]
libexif-0.6.17/po/vi.po
libexif-0.6.17/po/en_CA.gmo
libexif-0.6.17/po/boldquot.sed
libexif-0.6.17/po/nl.po
libexif-0.6.17/po/Makevars
libexif-0.6.17/po/libexif-12.pot
libexif-0.6.17/po/ru.po
libexif-0.6.17/po/pl.gmo
libexif-0.6.17/po/es.gmo
libexif-0.6.17/po/ru.gmo
libexif-0.6.17/po/sk.gmo
libexif-0.6.17/po/[email protected]
libexif-0.6.17/README
Compiling libexif-0.6.17
skipped
OK5
Downloading BABL packages...
Getting babl-0.1.3
--2010-11-26 04:12:31-- ftp://gimptest.flamingtext.com/pub/nightly-tarballs//ba
bl-0.1.3.tar.bz2
=> `babl-0.1.3.tar.bz2'
Resolving gimptest.flamingtext.com (gimptest.flamingtext.com)... 203.94.189.170
Connecting to gimptest.flamingtext.com (gimptest.flamingtext.com)|203.94.189.170
|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/nightly-tarballs/ ... done.
==> SIZE babl-0.1.3.tar.bz2 ... 455586
==> PASV ... couldn't connect to 192.168.122.85 port 2201: Connection timed out
Retrying.

--2010-11-26 04:13:11-- ftp://gimptest.flamingtext.com/pub/nightly-tarballs//ba
bl-0.1.3.tar.bz2
(try: 2) => `babl-0.1.3.tar.bz2'
Connecting to gimptest.flamingtext.com (gimptest.flamingtext.com)|203.94.189.170
|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /pub/nightly-tarballs/ ... done.
==> SIZE babl-0.1.3.tar.bz2 ... 455586
==> PASV ...

The BABL and GEGL src files are already in the tmp folder, so i do not need to dl them via script.
If i could get the script to just see the files are there, and just compile BABL, and then GEGL, i think it will work. =)

Any more ideas?

_________________
Image


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Fri Nov 26, 2010 12:47 pm  (#5) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Rod-

First try striping the trailing "\" on the BABL_BASE GEGL_BASE and GIMP_BASE lines (line 358, 363 and 369) to get tid of the double slash

The check is already there, line 481 has:
if [ -e "$TARBALL.tar.bz2" ]; then
echo " Already there - extracting $TARBALL";
tbz2extract "$TARBALL" "$COMPILE_DIR"
else

Not sure why it isn't working. You could add in an
echo "Looking for $TARBALL.tar.bz2"
before the if line to see what it is trying to find.

If you do already have them downloaded, then try and change the lines I had you change before to:
tbz2extract "${BABL_TARBALL} "$COMPILE_DIR"
tbz2extract "${GEGL_TARBALL}" "$COMPILE_DIR"
tbz2extract "${GIMP_TARBALL}" "$COMPILE_DIR"


which should just extract the tarballs.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Sat Nov 27, 2010 4:04 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
I kept the three lines the same at the bottom. (no change)
However i changed the slash (took it out)
Now the script, compiles BABL, and makes it...
Then the script quits, waiting for me to type make install...
i can then "type" make install and it installs into usr/local/bin, and usr/local/lib
That's perfect, but when it is done, the script doesn't start again.

So i commented out the top line of the 3 at the bottom, for babl compile
Ran the script again, thinking it would now compile GEGL, it did...however...
It could not find babl, so it stopped.
I set the lib, and bin dir in the PATH variable.
I still can not get it to work.
Someone on the gimp registry forums told me it could be searching for the babl.pc file.
But this file is also in the PATH variable. ie... PKG_CONFIG - usr/lib/pkgconfig ..
I do not understand why GEGL won't compile.

So close but no cookie! =P

_________________
Image


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Sat Nov 27, 2010 5:20 pm  (#7) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
There appears to be a problem with how you are invoking the script. Please post the full commandline you are using (e.g., "compile-gimp.sh somefile.zip /somedir/").

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Sun Nov 28, 2010 7:41 am  (#8) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
./compile-gimp.sh

_________________
Image


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Mon Nov 29, 2010 6:22 am  (#9) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
My mistake. That is not the problem.

I would recommend changing the first line of your script from:
#!/usr/bin/sh
to:
#!/usr/bin/bash
or, better still:
#!/usr/bin/env bash

Alternately, you could leave the first line unmodified, and change all of the tests that are of the form [ "string1" == "string2" ] so that they use a single equal sign. While this may not be causing a problem, the script is relying upon a feature that is not necessarily implemented.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Mon Nov 29, 2010 11:10 am  (#10) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
I tried to just compile the gegl-0.1.2 files, here is what happens

Compaq_Owner@FAMILY-ROOM ~
$ cd gimp-compile-dir

Compaq_Owner@FAMILY-ROOM ~/gimp-compile-dir
$ cd gegl-0.1.2

Compaq_Owner@FAMILY-ROOM ~/gimp-compile-dir/gegl-0.1.2
$ ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for as... as
checking for dlltool... dlltool
checking for objdump... objdump
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... c:/msys/1.0/mingw/mingw32/bin/ld.exe
checking if the linker (c:/msys/1.0/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm
checking the name lister (/mingw/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for c:/msys/1.0/mingw/mingw32/bin/ld.exe option to reload object files. .. -r
checking for objdump... (cached) objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import| ^x86 DLL
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw/bin/nm output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (c:/msys/1.0/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by g++... c:/msys/1.0/mingw/mingw32/bin/ld.exe
checking if the linker (c:/msys/1.0/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking whether the g++ linker (c:/msys/1.0/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC
checking if g++ PIC flag -DDLL_EXPORT -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (c:/msys/1.0/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether to enable maintainer-specific portions of Makefiles... no
checking for library containing strerror... none required
checking whether make sets $(MAKE)... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for GNUC variadic macros... yes
checking for ISO C99 variadic macros in C... yes
checking for ISO C99 variadic macros in C++... yes
checking whether to turn on debugging... no
checking whether to turn on profiling... no
checking whether to enable multi threading... no
checking whether gcc understands -Wdeclaration-after-statement... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wmissing-declarations... yes
checking whether gcc understands -Winit-self... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wold-style-definition... yes
checking for aclocal flags...
checking for target architecture... i686-pc-mingw32
checking for dynamic library filename suffix... .dll
checking for some Darwin platform... no
checking for some Win32 platform... yes
checking for native Win32... yes
checking whether gcc understands -mmmx... yes
checking whether we can compile MMX code... yes
checking whether gcc understands -msse... yes
checking whether we can compile SSE code... yes
checking pkg-config is at least version 0.9.0... ./configure: line 16156: C:\msy s\1.0\lib: is a directory
no
checking for BABL... configure: error: in `/home/Compaq_Owner/gimp-compile-dir/g egl-0.1.2':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables BABL_CFLAGS
and BABL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details.

This is my exact path to local - C:\msys\1.0\local
This is my path - C:\msys\1.0\local\include\babl-0.1\babl for CFLAGS
This is my path - C:\msys\1.0\local\lib\babl-0.1 - for babl libraries libbabl-0.1.dll.a, and libbabl-0.1.la and all dll's
This is my PKG_CONFIG variable path - C:\msys\1.0\lib\pkgconfig
This is where pkgconfig folder and babl.pc are located - C:\msys\1.0\lib\pkgconfig

Here is the babl.pc info

prefix=c:/msys/1.0/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: babl
Description: Dynamic, any to any, pixel format conversion library
Version: 0.1.2
Cflags: -I${includedir}/babl-0.1
Libs: -L${libdir} -lbabl-0.1

Would flipping the slash marks make a difference?

_________________
Image


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Mon Nov 29, 2010 11:24 am  (#11) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
Oh you know what i am going to try the path to the pkg-config.exe and see what happens. =)
PKG_CONFIG - C:\msys\1.0\mingw\bin\pkg-config.exe

_________________
Image


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Mon Nov 29, 2010 4:05 pm  (#12) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
Ok that worked...except
Now i get this error at make

Compaq_Owner@FAMILY-ROOM ~/gegl-0.1.2
$ make
make all-recursive
make[1]: Entering directory `/home/Compaq_Owner/gegl-0.1.2'
Making all in gegl
make[2]: Entering directory `/home/Compaq_Owner/gegl-0.1.2/gegl'
Making all in buffer
make[3]: Entering directory `/home/Compaq_Owner/gegl-0.1.2/gegl/buffer'
CC gegl-tile-backend-tiledir.lo
In file included from gegl-tile-backend.h:22:0,
from gegl-tile-backend-tiledir.c:26:
gegl-tile-source.h:23:23: fatal error: babl/babl.h: No such file or directory
compilation terminated.
gcc.exe: C:usrlocalincludebabl-0.1babl: No such file or directory
make[3]: *** [gegl-tile-backend-tiledir.lo] Error 1
make[3]: Leaving directory `/home/Compaq_Owner/gegl-0.1.2/gegl/buffer'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Compaq_Owner/gegl-0.1.2/gegl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Compaq_Owner/gegl-0.1.2'
make: *** [all] Error 2

Why in blazes is GCC calling up all those directories as one name?
ie... C:usrlocalincludebabl-0.1babl ...
Shouldn't it read C:/usr/local/include/babl-0.1/babl ??

Is that a script i can edit?

_________________
Image


Top
 Post subject: Re: Hey RobA
PostPosted: Wed Dec 01, 2010 12:25 pm  (#13) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
You've pretty much hit the point where I gave up on compiling in windows.

Sorry. I had hopes.

-Rob A.

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Hey RobA
PostPosted: Wed Dec 01, 2010 4:36 pm  (#14) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
RobA wrote:
You've pretty much hit the point where I gave up on compiling in windows.

Sorry. I had hopes.

-Rob A.


That for 2.7 but did you managed to compile 2.6 ?

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Hey RobA
PostPosted: Thu Dec 02, 2010 11:49 pm  (#15) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
PhotoComix wrote:
RobA wrote:
You've pretty much hit the point where I gave up on compiling in windows.

Sorry. I had hopes.

-Rob A.


That for 2.7 but did you managed to compile 2.6 ?


Gimp 2.6.10 only, I used the binaries of gegl and babl that were downloaded by the original script.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Hey RobA
PostPosted: Fri Dec 03, 2010 8:34 am  (#16) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
and you still have a copt of the original script ?

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Fri Dec 03, 2010 3:58 pm  (#17) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
I don't give up that easily, I will keep at it. =)
Heck, I have every dependency needed now, so the build environment is all set (i think)...
I just keep having this install GEGL problem. :hoh

One thing is for sure though, it builds a lot better and easier with Msys and MinGW, than cygwin.
Has anyone compiled 2.7.2 for linux yet?

_________________
Image


Top
 Post subject: Re: Hey RobA
PostPosted: Fri Dec 03, 2010 7:05 pm  (#18) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
yes,i did on ubuntu lucid lynx
i got some help (again from RobA :clap ) anyway was quite easy once i was pointed on a tut to do it)

For that i suggested you to do first on linux, even if you don't know linux is much easier then in win (even if you know well win)

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Re: Hey RobA
PostPosted: Sat Dec 04, 2010 7:24 am  (#19) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16173
Check it out PC!
Almost there...
Compaq_Owner@FAMILY-ROOM ~
$ cd gimp-2.7.2

Compaq_Owner@FAMILY-ROOM ~/gimp-2.7.2
$ ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for as... as
checking for dlltool... dlltool
checking for objdump... objdump
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... c:/msys/1.0/mingw/mingw32/bin/ld.exe
checking if the linker (c:/msys/1.0/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm
checking the name lister (/mingw/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for c:/msys/1.0/mingw/mingw32/bin/ld.exe option to reload object files... -r
checking for objdump... (cached) objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw/bin/nm output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... no
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (c:/msys/1.0/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking dependency style of gcc... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking pkg-config is at least version 0.16... yes
checking for target architecture... i686-pc-mingw32
checking for some Win32 platform... yes
checking for native Win32... yes
checking for lib.exe... yes
checking for windres... windres
checking for library containing strerror... none required
checking whether make sets $(MAKE)... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether to turn on debugging... no
checking whether to turn on profiling... no
checking whether gcc understands -Wdeclaration-after-statement... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Wmissing-declarations... yes
checking whether gcc understands -Winit-self... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wold-style-definition... yes
checking whether gcc understands -Wmissing-format-attribute... yes
checking whether gcc understands -Wformat-security... yes
checking whether gcc understands -Wformat-non-literal... no
checking how to get MSVC-compatible struct packing... -mms-bitfields
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether time.h and sys/time.h may both be included... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... no
checking sys/times.h presence... no
checking for sys/times.h... no
checking for sys/wait.h... (cached) no
checking for unistd.h... (cached) yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for fsync... no
checking for difftime... yes
checking for mmap... no
checking whether binary relocation support should be enabled... no
checking for _NL_MEASUREMENT_MEASUREMENT... no
checking whether NLS is requested... yes
checking for intltool >= 0.40.1... 0.40.4 found
checking for intltool-update... /mingw/bin/intltool-update
checking for intltool-merge... /mingw/bin/intltool-merge
checking for intltool-extract... /mingw/bin/intltool-extract
checking for xgettext... /mingw/bin/xgettext
checking for msgmerge... /mingw/bin/msgmerge
checking for msgfmt... /mingw/bin/msgfmt
checking for gmsgfmt... /mingw/bin/msgfmt
checking for perl... /c/Perl/bin/perl
checking for perl >= 5.8.1... 5.8.9
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... no
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /mingw/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /mingw/bin/msgfmt
checking for xgettext... (cached) /mingw/bin/xgettext
checking for iso-codes... yes
checking for BABL... yes
checking for GEGL... yes
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.24.0... yes (version 2.24.2)
checking for GMODULE_NO_EXPORT... yes
checking for GIO... yes
checking if GLib is version 2.26.0 or newer... no
checking for bind_textdomain_codeset... (cached) yes
checking for X... no
checking for pkg-config... C:\msys\1.0\mingw\bin\pkg-config.exe
checking for GTK+ - version >= 2.20.0... yes (version 2.20.1)
checking if GTK+ is version 2.24.0 or newer... no
checking for GDK_PIXBUF... yes
checking for gdk-pixbuf-csource... /mingw/bin/gdk-pixbuf-csource
checking for CAIRO... yes
checking for PANGOCAIRO... yes
checking for FONTCONFIG... yes
checking if Pango is version 1.30.0 or newer... no
checking if Pango is built with a recent fontconfig... yes
checking for freetype-config... /mingw/bin/freetype-config
checking for freetype libraries... -L/mingw/bin/../lib -lfreetype
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for extra flags to get ANSI library prototypes... none needed
checking for finite... yes
checking for extra flags for POSIX compliance... none needed
checking for rint... yes
checking for getaddrinfo... no
checking for getaddrinfo in -lnsl... no
checking for getnameinfo... no
checking for getnameinfo in -lnsl... no
checking for socket in -lsocket... no
checking whether gcc understands -mmmx... yes
checking whether we can compile MMX code... yes
checking whether gcc understands -msse... yes
checking whether we can compile SSE code... yes
checking for shared memory transport type... win32
checking whether symbols are prefixed... yes, with a _
checking for TIFFReadScanline in -ltiff... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking for jpeg_destroy_decompress in -ljpeg... yes
checking for jpeglib.h... yes
checking for jpeg_save_markers in -ljpeg... yes
checking for gzsetparams in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for PNG... yes
checking for mng_create in -lmng... no
checking for EXIF... no
checking for aa_printf in -laa... no
checking for XpmReadFileToXpmImage in -lXpm... no
checking for WEBKIT... no
checking for SVG... yes
checking for POPPLER... yes
checking for CAIRO_PDF... yes
checking for CURL... no
checking for libwmf-config... no
checking for jas_init in -ljasper... no
configure: WARNING: *** JP2 plug-in will not be built (JasPer library not found) ***
checking for LCMS... no
checking for XMC... no
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 1.0.0... not present.
checking for snd_ctl_open in -lasound... no
checking linux/input.h usability... no
checking linux/input.h presence... no
checking for linux/input.h... no
checking for DBUS_GLIB... no
checking for sendmail... no
checking for perl5... no
checking for perl... /c/Perl/bin/perl
checking for a Python interpreter with version >= 2.5.0... none
configure: error:
*** Could not find Python 2.5.0 or newer.
*** Please install it, or skip building the python scripting extension by
*** passing --disable-python to configure (but then you will not be able
*** to use scripts for GIMP that are written in Python).

Compaq_Owner@FAMILY-ROOM ~/gimp-2.7.2

Now to get the path environment variable correct with Python (i have 2.5 - 2.6 - and 2.7 installed).
I think it would be nice to go ahead and compile without the Python just to see if it works.
I will keep you posted. =)

_________________
Image


Top
 Post subject: Re: Hey RobA
PostPosted: Sat Dec 04, 2010 8:01 am  (#20) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
i think python 2.5 is the only compatible,things may be changed but i would not risk with 2.6 even less with 2.7

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
Post new topic Reply to topic  [ 27 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group