Hello,
Would it make sense (and be possible) to include gmake and gmakelinks in the binary distribution ? Example: I just installed the release binaries from Markus, but they do not contain the PNG driver. If I want to compile the driver, witthout having to compile all of GRASS would it be possible ?
Moritz
Hi Moritz,
On Fri, Aug 23, 2002 at 02:05:43PM +0200, Moritz Lennert wrote:
Hello,
Would it make sense (and be possible) to include gmake and gmakelinks in
the binary distribution ? Example: I just installed the release binaries
from Markus, but they do not contain the PNG driver.
really?
tar tvfz grass5.0.0_test_RB20020822_i686-pc-linux-gnu_bin.tar.gz |grep PNG
-rwxr-xr-x neteler/ssi 117404 2002-08-22 13:51:36 driver/PNG
It is there.
If I want to compile
the driver, witthout having to compile all of GRASS would it be possible ?
You need all required libraries:
in this case
$(DRIVERLIB) $(GISLIB)
and $(GISLIB) requires $(DATETIMELIB) and maybe more. So you needed
a large portion of the code (also the make mechanism etc).
This will be feasible when we split up the code base into packages
on day (GRASS-core, GRASS-base etc).
Markus
On Fri, Aug 23, 2002 at 04:14:59PM +0200, Moritz Lennert wrote:
On Fri, Aug 23, 2002 at 03:56:37PM +0200, Markus Neteler wrote:
> Hi Moritz,
>
> On Fri, Aug 23, 2002 at 02:05:43PM +0200, Moritz Lennert wrote:
> > Hello,
> >
> > Would it make sense (and be possible) to include gmake and gmakelinks in
> > the binary distribution ? Example: I just installed the release binaries
> > from Markus, but they do not contain the PNG driver.
>
> really?
>
> tar tvfz grass5.0.0_test_RB20020822_i686-pc-linux-gnu_bin.tar.gz |grep PNG
> -rwxr-xr-x neteler/ssi 117404 2002-08-22 13:51:36 driver/PNG
>
> It is there.
Sorry, my fault. It is there, but it is not in
/usr/local/grass5/etc/monitorcap file...
Yes, correct - a bug. Obviously the monitorcap is (sometimes) not updated
when compiling the driver a second time (which I did in my script but
which is maybe not needed).
So I'll update my script and rebuild. Then I hope to see the entry.
Thanks for pointing that out!
Markus
On Fri, Aug 23, 2002 at 04:14:59PM +0200, Moritz Lennert wrote:
On Fri, Aug 23, 2002 at 03:56:37PM +0200, Markus Neteler wrote:
> Hi Moritz,
>
> On Fri, Aug 23, 2002 at 02:05:43PM +0200, Moritz Lennert wrote:
> > Hello,
> >
> > Would it make sense (and be possible) to include gmake and gmakelinks in
> > the binary distribution ? Example: I just installed the release binaries
> > from Markus, but they do not contain the PNG driver.
>
> really?
>
> tar tvfz grass5.0.0_test_RB20020822_i686-pc-linux-gnu_bin.tar.gz |grep PNG
> -rwxr-xr-x neteler/ssi 117404 2002-08-22 13:51:36 driver/PNG
>
> It is there.
Sorry, my fault. It is there, but it is not in
/usr/local/grass5/etc/monitorcap file...
Hi Moritz,
after customization (simplification) of my build script the monitorcap
is ok.
New version at:
http://mpa.itc.it/markus/tmp/grass5_i686-pc-linux-gnu_install.sh
http://mpa.itc.it/markus/tmp/grass5.0.0_test_RB20020823_i686-pc-linux-gnu_bin.tar.gz
around 36.6MB
GDALlib is still not included, will add to my script on Monday.
Testers of above tarball are welcome.
BTW: The build script should run on any platform.
Markus
Moritz Lennert wrote:
Would it make sense (and be possible) to include gmake and gmakelinks
in the binary distribution ? Example: I just installed the release
binaries from Markus, but they do not contain the PNG driver. If I
want to compile the driver, witthout having to compile all of GRASS
would it be possible ?
No.
A GRASS installation only includes libgis and libdatetime (required by
libgis), and the headers for those.
Many modules would need additional libraries, and their associated
header files. E.g. all d.* programs need libraster, many need
libdisplay; all v.* programs would need the vector libraries. You
would also need much of src/CMD/generic for "gmake5" to work.
--
Glynn Clements <glynn.clements@virgin.net>