[GRASS-dev] r.li.* building errors in MinGW Windows
Glynn Clements
glynn at gclements.plus.com
Thu Jan 24 17:43:44 EST 2008
Moritz Lennert wrote:
> > it seems that r.li.* hace problems finding a library, except
> > r.li.daemon. Actually Makefile of r.li.daemon is different;
> > I introduced new procedures compiling gdal; don't if this takes effects,
> > but I try...
> > I'm re-compiling grass right now.... I'll tell you about consequences...
>
> Actually, compiling r.li.daemon gives the library:
>
> liblibr_li.6.3.cvs.dll
>
> As this fails because some functions (mkfifo, fork, etc) are unknown,
> all the other r.li modules which depend on this library fail to compile.
>
> Glynn, do you have any hints of what would be needed to make this compile ?
Unix ;)
The issue with r.li is quite similar to the issue with monitors.
AFAICT, you would need to replace fork()/exec() with CreateProcess(),
mkfifo() with CreateNamedPipe(), open() with ConnectNamedPipe()
(daemon end) or CreateFile() (client end). Some other changes may be
required.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list