Yes, Glynn, that was the problem. The 6.3.0 source code is fine, and
./configure works fine now. I must have introduced the CR-LF endings by
downloading and unpacking the tar on Windows and copying the unpacked
directories onto a CD, then moving that to Linux. Dumb. It's been a
while since I worked on Linux/GRASS.
Bill B.
Glynn Clements wrote:
William L. Baker wrote:
This should be easy, but I can't figure it out. On Open SUSE 11.0, which
has a bash shell, ./configure works fine with all kinds of packages
(e.g., gdal, geos), but in grass 6.3, I just typed ./configure, and
here's the error message:
./configure: /bin/sh M: bad interpreter: no such file or directory
My guess is that the configure script has DOS CR-LF line endings, so
the shebang line is actually:
#!/bin/sh^M
where ^M is a CR character, which will be treated as part of the
interpreter name.
How did you obtain the source code?
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user