Re: [Gimp-developer] autogen.sh on msys

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

 



To answer all the questions about my environment, etc.
(I tried to post this yesterday, but never saw it, so maybe Juno
dropped it or something) Here's what I did: 

Get and install in this order:
from http://gimp-win.sourceforge.net/stable.html
  GIMP 
  GTK+
from http://mingw.org/download.shtml
  MINGW
  MSYS
  msysDTK

Start Msys and create ~/.profile file with the following contents:
export DEVELOPMENT_DIR="$HOME/src"
export CVSROOT=':pserver:anonymous@xxxxxxxxxxxxxxxx:/cvs/gnome'
export PATH="$DEVELOPMENT_DIR/bin:$DEVELOPMENT_DIR/lib:$PATH"
export CFLAGS="$CFLAGS -I$DEVELOPMENT_DIR/include"
export CPPFLAGS="$CPPFLAGS -I$DEVELOPMENT_DIR/include"
export LDFLAGS="$LDFLAGS -L$DEVELOPMENT_DIR/lib"
export ALOCAL_FLAGS="$ALOCAL_FLAGS -I $DEVELOPMENT_DIR/share/alocal"
echo Ready to build!


Make a folder called ~/src for development and unzip into the ~/src folder 
so that the contents fall into the same bin, etc, include, share, contrib, lib,... folders: 

from http://mingw.org/download.shtml
  msys-libtool-1.5.tar.bz2
  msys-automake-1.8.2.tar.bz2

from http://www.gimp.org/~tml/gimp/win32/downloads.html
  glib-2.4.7.zip
  glib-dev-2.4.7.zip
  pkgconfig-0.15.zip
  [GNU libiconv] libiconv-1.9.1.bin.woe32.zip
  gettext-runtime-0.13.1.zip
  gtk+-2.4.13.zip
  gtk+-dev-2.4.13.zip
  pango-1.4.1.zip
  pango-dev-1.4.1.zip
  atk-1.6.0.zip
  atk-dev-1.6.0.zip

from http://gimp-win.sourceforge.net/stable.html
  [here] ftp://ftp.arnes.si/software/gimp-win/gimp-dev-2.0.1-20040415.zip

from ftp://ftp.zlatkovic.com/pub/libxml/
  libxslt-1.1.12.win32.zip
  libxml2-2.6.15.win32.zip


Do the following commands (There is no cvs password)
  cd src
  cvs login <nul
  cvs checkout gimp
  cd gimp
  ./autogen.sh


Problem resolutions:


GIMP's autogen.sh generates 2 messages and stops unless the corresponding tools are provided
checking for intltool >= 0.17 ... 
  You must have intltool installed to compile The GIMP.
  Get the latest version from
  ftp://ftp.gnome.org/pub/GNOME/sources/intltool/

checking for intltool < 0.28 or > 0.31 ... not found
checking for xsltproc ... 
  You must have xsltproc installed to compile The GIMP.
  Get the latest version from
  ftp://ftp.gnome.org/pub/GNOME/sources/libxslt/



Trying to make xsltproc from the latest sources at  
ftp://ftp.gnome.org/pub/GNOME/sources/libxslt/libxslt-1.1.12.win32.zip  
results in the following error message:

checking for libxml libraries >= 2.6.15... configure: error: Could not find libxml2 anywhere, check ftp://xmlsoft.org/.
The xmlsoft.org site directs you to Igor Zlatkovic's page at http://www.zlatkovic.com/libxml.en.html
which in turn directs you to ftp://ftp.zlatkovic.com/pub/libxml/
where you can get libxslt-1.1.12.win32.zip
Attempting to run xsltproc.exe, reveals that it needs dll libxml2.dll
Get it from the same place.


Trying to make intltool from the latest sources at
results in the following error message:
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
This seems to be available at
http://search.cpan.org/src/COOPERCL/XML-Parser-2.31/Parser.pm
but that seems to require another package:
http://sourceforge.net/projects/expat/
Instead, get and build version 1.5 of intltool.


Trying to run ./autogen.sh results in the following message
checking for automake >= 1.6 ... expr: syntax error
Too old (found version 1.8.3)!
Instead, maybe expr needs to be updated to version __?


$ automake --version
Can't locate Automake/Struct.pm in @INC (@INC contains: /usr/share/automake-1.8 /usr/lib/perl5/5.6.1/msys /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/msys /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl .) at /home/ted/src/bin/automake line 47.
BEGIN failed--compilation aborted at /home/ted/src/bin/automake line 47.


Maybe I need to install something called Struct to perl?

I'm keeping a careful record so I can simplify the instructions 
as much as possible and post them for others to use.  
I hope that after I finish this, someone should be able to walk 
up to a new Windows machine, and get things working right away 
without any surprises.  

_-T




________________________________________________________________
Juno Platinum $9.95. Juno SpeedBand $14.95.
Sign up for Juno Today at http://www.juno.com!
Look for special offers at Best Buy stores.

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux