Thanks for persevering with this, and for posting your
successful step-by-step recipe. I've added a few comments
below.
On Fri, 16 Mar 2012, Chloe wrote:
3.. Download & install gtksourceview manually because there
is no Cygwin module for that.
http://ftp.acc.umu.se/pub/gnome/sources/gtksourceview/3.3/gtksourceview-3...
1.. wget <link>
2.. xzcat gtksourceview-3.3.4.tar.xz | tar -xvf -
3.. cd gtksourceview-3.3.4
4.. configure
5.. make
6.. make install
7.. Set PKG_CONFIG_PATH because gtksourceview installs
into a different location.
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
You could avoid that by doing
./configure --prefix=/usr
with the gtksourceview package. Also note that if you do
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
you are blanking out the default of /usr/lib/pkgconfig. You
would be better to append /usr/local/lib/pkgconfig to
PKG_CONFIG_PATH.
4.. Download gretl
wget
http://prdownloads.sourceforge.net/gretl/gretl-1.9.7.tar.bz2
5.. bzcat gretl-1.9.7.tar.bz2 | tar -xvf -
6.. cd gretl-1.9.7
7.. Set a special flag for Cygwin because the configure script doesn't work
export LDFLAGS=-no-undefined
It's not really the configure script that's not working,
apparently it's libtool, which is called by configure, that is
not doing the right thing on your cygwin system.
8.. Run configure with special options, again because the
configure script doesn't work
configure --enable-static --enable-shared --enable-gtk3
There's really no reason to --enable-static, and there
shouldn't be a need to --enable-shared since that is the
default. It might be helpful to see your config.log after
configuring gretl with just --enable-gtk3 (and perhaps
--prefix=/usr if you don't want gretl under /usr/local).
Presumably libtool must be having difficulty figuring out that
cygwin's gcc is capable of building shared libraries.
9.. If you have an older computer without SSE2
instructions, then edit all the Makefiles with SSE2 option
and comment them out. Once again the configure script is
broken.
That was a bug in gretl's configure script, but it was fixed
in CVS as of late January and will be OK in the 1.9.8 release.
Allin Cottrell