Has anyone found a way to compile grass 6.2 on cygwin?
In his wiki, Huidae Cho said couple of months ago that "unfortunately, the latest 6.1 CVS version does not compile on Cygwin [...]. It seems like Cygwin libraries change too often to follow".
It would be nice to have an official statement on the topic. I am saying this as a cygwin/grass user in transition to ubuntu/grass, so I am aware that a cygwin version of grass is useful to attract windows folks.
After some years of using grass and noticing that
the cygwin grass version has not been updated
since April 17th, I have decided that I will sit
down and try and compile grass for cygwin myself.
What suggestion does anyone have? Searching the
grass web & wiki I have notice that no where is
there detailed instructions on compiling grass for
cygwin. Is this correct?
I have downloaded grass-6.2.cvs_src_snapshot_2006_08_22.tar.gz
And off of the http://geni.ath.cx/grass.html page
I have installed :
gdal-grass6.1.cvs-1.2.3-2.tar.bz2.tar
mesa-grass-6.2-1.tar.bz2.tar
tcltk-grass-8.4.7-1.tar.bz2.tar
tiff-grass-3.7.1-1.tar.bz2
Is it worth getting more recient libraries?
thanks,
Phillip J. Allen
Consulting Geochemist
Denver Colorado (I have finally moved out of Peru!)
paallen@attglobal.net
You may be able to compile Cygwin/GRASS without shared libraries
(--disable-shared), which I didn't try. Since I'm currently working on
a native Windows package, I want to phase out Cygwin versions. I have
successfully compiled most of libraries and modules without Cygwin
dependencies, and this package will be available sometime in September.
However, it will be considered a sort of alpha version before extensive
testing.
Regards,
Huidae
On Mon, Sep 11, 2006 at 02:17:31PM -0700, Luigi Ponti wrote:
Hello,
Has anyone found a way to compile grass 6.2 on cygwin? In his wiki, Huidae Cho
said couple of months ago that "unfortunately, the latest 6.1 CVS version does
not compile on Cygwin [...]. It seems like Cygwin libraries change too often to
follow".
It would be nice to have an official statement on the topic. I am saying this
as a cygwin/grass user in transition to ubuntu/grass, so I am aware that a
cygwin version of grass is useful to attract windows folks.
Hi, After some years of using grass and noticing that
the cygwin grass version has not been updated
since April 17th, I have decided that I will sit
down and try and compile grass for cygwin myself.
What suggestion does anyone have? Searching the
grass web & wiki I have notice that no where is
there detailed instructions on compiling grass for
cygwin. Is this correct?
I have downloaded grass-6.2.cvs_src_snapshot_2006_08_22.tar.gz
And off of the http://geni.ath.cx/grass.html page
I have installed :
gdal-grass6.1.cvs-1.2.3-2.tar.bz2.tar
mesa-grass-6.2-1.tar.bz2.tar
tcltk-grass-8.4.7-1.tar.bz2.tar
tiff-grass-3.7.1-1.tar.bz2
Is it worth getting more recient libraries?
thanks,
Phillip J. Allen
Consulting Geochemist
Denver Colorado (I have finally moved out of Peru!)
paallen@attglobal.net
Has anyone found a way to compile grass 6.2 on cygwin?
Use --disable-shared. Shared libraries used to work on Cygwin, but
they stopped working following a Cygwin update a few months back.
Hello,
I am trying to compile grass-6.1.0 on Cygwin. Using the command:
$ ./configure --disable-shared>configure.log
I get the following warnings/error:
configure: warning: *** External PROJ.4 directory not specified
configure: warning: *** Unable to locate PROJ data files.
configure: error: *** Unable to locate PNG includes.
Along with the configuration log below. It is a Cygwin installation where grass6.1.cvs (April 17, 2006) is arleady installed and running ok. What am I missing?
Thank you and regards,
Luigi
--
# Configuration log:
checking host system type... i686-pc-cygwin
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for full floating-point support... yes
checking for pwd... /usr/bin/pwd
checking for source directory... /grass-6.1.0
checking for build directory... /grass-6.1.0
checking how to build libraries... static
no
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... CYGWIN_NT-5.1-1.5.21(0.156/4/2)
checking for dlopen in -ldl... yes
checking for ar... ar
checking for SysV... no
checking for XDriver... socket
checking for additional include dirs...
checking for additional library dirs...
checking for a BSD compatible install... /usr/bin/install -c
checking for flex... flex
checking for yywrap in -lfl... yes
checking for bison... bison -y
checking for ranlib... ranlib
checking for ar... ar
checking for env... env
checking for perl... /usr/bin/perl
checking for ANSI C header files... yes
checking for limits.h... yes
checking for termio.h... yes
checking for termios.h... yes
checking for unistd.h... yes
checking for values.h... no
checking for g2c.h... no
checking for f2c.h... no
checking for sys/ioctl.h... yes
checking for sys/mtio.h... yes
checking for sys/resource.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/types.h... yes
checking for sys/utsname.h... yes
checking for libintl.h... yes
checking for iconv.h... yes
checking for langinfo.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for off_t... yes
checking for uid_t in sys/types.h... yes
checking return type of signal handlers... void
checking for Cygwin environment... yes
checking for ftime... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for lseek... yes
checking for nice... yes
checking for time... yes
checking for uname... yes
checking for seteuid... yes
checking for setpriority... yes
checking for setreuid... yes
checking for setruid... no
checking for drand48... yes
checking for putenv... yes
checking for setenv... yes
checking for nanosleep... yes
checking whether setpgrp takes no argument... yes
checking for W11... no
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether to use Curses... yes
checking for curses.h... yes
checking curses.h WINDOW structure component... _maxy
checking for initscr in -lncurses... yes
checking for keypad in -lncurses... yes
checking for gtty in -lcompat... no
checking for gtty in -lbsd-compat... no
checking for gtty in -lbsd... no
checking for library containing cuserid... none required
checking for xdrmem_create... no
checking for xdrmem_create in -lsun... no
checking for xdrmem_create in -lnsl... no
checking for xdrmem_create in -lrpclib... yes
checking for asprintf... yes
checking for atan... yes
checking for dlsym... yes
checking for iconv... no
checking for iconv in -liconv... no
checking for iconv in -lgiconv... no
checking for libiconv... no
checking for libiconv in -liconv... yes
checking for socket... yes
checking for location of zlib includes...
checking for zlib.h... yes
checking for location of zlib library...
checking for deflate in -lz... yes
checking for location of External PROJ.4 includes...
checking for proj_api.h... yes
checking External PROJ.4 version... 449
checking for location of External PROJ.4 library...
checking for pj_get_def in -lproj... yes
checking for location of External PROJ.4 data files...
checking for /epsg... no
checking for nad2bin... /usr/local/bin/nad2bin
checking whether to use Readline... no
checking whether to use JPEG... yes
checking for location of JPEG includes...
checking for jpeglib.h... yes
checking for location of JPEG library...
checking for jpeg_start_compress in -ljpeg... yes
checking whether to use GDAL... yes
checking for gdal-config... /usr/local/bin/gdal-config
checking for GDALOpen... yes
checking whether to use TIFF... yes
checking for location of TIFF includes...
checking for tiffio.h... yes
checking for location of TIFF library...
checking for TIFFOpen in -ltiff... yes
checking whether to use PNG... yes
checking for location of PNG includes...
checking for png.h... no
>> Has anyone found a way to compile grass 6.2 on cygwin?
>>
>
> Use --disable-shared. Shared libraries used to work on Cygwin, but
> they stopped working following a Cygwin update a few months back.
I am trying to compile grass-6.1.0 on Cygwin. Using the command:
$ ./configure --disable-shared>configure.log
I get the following warnings/error:
configure: warning: *** External PROJ.4 directory not specified
configure: warning: *** Unable to locate PROJ data files.
configure: error: *** Unable to locate PNG includes.
Along with the configuration log below. It is a Cygwin installation
where grass6.1.cvs (April 17, 2006) is arleady installed and running ok.
What am I missing?
It's impossible to tell from the summary information which the
configure script writes to the terminal; you need to examine the
config.log file for the actual error message.
The PROJ.4 issue isn't particularly critical; it's only relevant if
you want to create a new location using an EPSG code (the
--with-proj-share= option specifies the directory in which to look for
the file of EPSG codes).
[mailto:grassuser-bounces@grass.itc.it] On Behalf Of Luigi Ponti
Glynn Clements wrote:
> Luigi Ponti wrote:
>
>
>> Has anyone found a way to compile grass 6.2 on cygwin?
>>
>
> Use --disable-shared. Shared libraries used to work on Cygwin, but
> they stopped working following a Cygwin update a few months back.
>
>
Hello,
I am trying to compile grass-6.1.0 on Cygwin. Using the command:
$ ./configure --disable-shared>configure.log
I get the following warnings/error:
configure: warning: *** External PROJ.4 directory not specified
configure: warning: *** Unable to locate PROJ data files.
configure: error: *** Unable to locate PNG includes.
Along with the configuration log below. It is a Cygwin
installation where grass6.1.cvs (April 17, 2006) is arleady
installed and running ok.
What am I missing?
If the proj4 is installed maybe You should specify it's (and/or includes,
libraries,) location after for configuring, the same for the PNG includes.
Check also the header files.
[mailto:grassuser-bounces@grass.itc.it] On Behalf Of Luigi Ponti
Glynn Clements wrote:
Luigi Ponti wrote:
Has anyone found a way to compile grass 6.2 on cygwin?
Use --disable-shared. Shared libraries used to work on Cygwin, but they stopped working following a Cygwin update a few months back.
Hello,
I am trying to compile grass-6.1.0 on Cygwin. Using the command:
$ ./configure --disable-shared>configure.log
I get the following warnings/error:
configure: warning: *** External PROJ.4 directory not specified
configure: warning: *** Unable to locate PROJ data files.
configure: error: *** Unable to locate PNG includes.
Along with the configuration log below. It is a Cygwin installation where grass6.1.cvs (April 17, 2006) is arleady installed and running ok. What am I missing?
If the proj4 is installed maybe You should specify it's (and/or includes,
libraries,) location after for configuring, the same for the PNG includes.
Check also the header files.
I have included the directory for PROJ.4 (/usr/share/proj) and also installed png headers, which were actually lacking. Then I also had to install FFTW headers. Eventually the configurantion went well. Then
$ make
and
$ make install
Finished compilation, although errorlist is quite long (see below). Should I run make for each of the directories?
Ragards,
Eventually the configurantion went well. Then
$ make
and
$ make install
Finished compilation, although errorlist is quite long (see below).
Should I run make for each of the directories?
I have included the directory for PROJ.4 (/usr/share/proj) and also
installed png headers, which were actually lacking. Then I also had to
install FFTW headers. Eventually the configurantion went well. Then
$ make
and
$ make install
Finished compilation, although errorlist is quite long (see below).
Should I run make for each of the directories?
No. The first error is for lib/vector/Vlib, which is one of the core
vector libraries (libgrass_vect). If a library fails to compile,
anything which uses that library will also fail to compile.
Almost all of the other errors refer to modules which depend upon that
libgrass_vect.
If you can fix the lib/vector/Vlib error, most of the other errors
will also go away.