Hi ! I have to past full messages so that u people can figure out whats the main problem in it So that i can install grass on solaris.
Following are my messages when i compile grass-6.2.1RC1 on solaris 9.
GRASS is now configured for: sparc-sun-solaris2.9
Source directory: /opt/grass/grass-6.2.1RC1
Build directory: /opt/grass/grass-6.2.1RC1
Installation directory: /usr/local/grass-6.2.1RC1
Startup script in directory: ${exec_prefix}/bin
C compiler: gcc -g -O2
C++ compiler:
FORTRAN compiler:
Building shared libraries: yes
64bit support: yes
OpenGL platform: X11
NVIZ: yes
BLAS support: no
C++ support: no
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: no
GDAL support: yes
GLw support: no
JPEG support: yes
LAPACK support: no
Large File Support (LFS): yes
Motif support: no
MySQL support: no
NLS support: no
ODBC support: no
OGR support: yes
OpenGL support: yes
PNG support: yes
PostgreSQL support: yes
Python support: yes
Readline support: no
SQLite support: no
Tcl/Tk support: yes
TIFF support: yes
X11 support: yes
------------
bash-2.05# make
Then i execute command Following modules are missing the 'description.html' file in src code:
i.find
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Thu Dec 14 09:29:03 PKT 2006
--
Errors in:
/opt/grass/grass-6.2.1RC1/lib/gmath
/opt/grass/grass-6.2.1RC1/lib/db/sqlp
/opt/grass/grass-6.2.1RC1/lib/imagery
/opt/grass/grass-6.2.1RC1/lib/rst/interp_float
/opt/grass/grass-6.2.1RC1/lib/init
/opt/grass/grass-6.2.1RC1/db/drivers/dbf
/opt/grass/grass-6.2.1RC1/db/drivers/postgres
/opt/grass/grass-6.2.1RC1/db/drivers/ogr
/opt/grass/grass-6.2.1RC1/display/d.colors
/opt/grass/grass-6.2.1RC1/general/g.access
/opt/grass/grass-6.2.1RC1/general/g.mapsets
/opt/grass/grass-6.2.1RC1/general/g.transform
/opt/grass/grass-6.2.1RC1/imagery/i.class
and few more messages like this.
Then i change the directory and try to make i.e
bash-2.05# cd /opt/grass/grass-6.2.1RC1/lib/gmath
bash-2.05# make
<unknown> 0x18 /usr/local/lib/libfftw3.a(t1_4.o)
<unknown> 0x14 /usr/local/lib/libfftw3.a(t1_5.o)
<unknown> 0x18 /usr/local/lib/libfftw3.a(t1_5.o)
<unknown> 0x14 /usr/local/lib/libfftw3.a(t1_6.o)
<unknown> 0x18 /usr/local/lib/libfftw3.a(t1_6.o)
<unknown> 0x14 /usr/local/lib/libfftw3.a(t1_7.o)
<unknown> 0x18 /usr/local/lib/libfftw3.a(t1_7.o)
<unknown> 0x14 /usr/local/lib/libfftw3.a(t1_8.o)
<unknown> 0x18 /usr/local/lib/libfftw3.a(t1_8.o)
<unknown> 0x14 /usr/local/lib/libfftw3.a(t1_9.o)
<unknown> 0x18 /usr/local/lib/libfftw3.a(t1_9.o)
<unknown> 0x14 /usr/local/lib/libfftw3.a(t1_10.o)
<unknown> 0x18 /usr/local/lib/libfftw3.a(t1_10.o)
<unknown> 0x14 /usr/local/lib/libfftw3.a(t1_12.o)
<unknown> 0x18 /usr/local/lib/libfftw3.a(t1_12.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make: *** [/opt/grass/grass-6.2.1RC1/dist.sparc-sun-solaris2.9/lib/libgrass_gmath.6.2.1RC1.so] Error 1
Please check it and let me know wat should i do.
Regards.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
On Thu, 2006-12-14 at 10:57 +0500, capricorn 80 wrote:
Hi ! I have to past full messages so that u people can figure out whats the
main problem in it So that i can install grass on solaris.
Following are my messages when i compile grass-6.2.1RC1 on solaris 9.
GRASS is now configured for: sparc-sun-solaris2.9
Source directory: /opt/grass/grass-6.2.1RC1
Build directory: /opt/grass/grass-6.2.1RC1
Installation directory: /usr/local/grass-6.2.1RC1
Startup script in directory: ${exec_prefix}/bin
C compiler: gcc -g -O2
C++ compiler:
FORTRAN compiler:
Building shared libraries: yes
64bit support: yes
OpenGL platform: X11
NVIZ: yes
BLAS support: no
C++ support: no
DWG support: no
FFMPEG support: no
FFTW support: yes
FreeType support: no
GDAL support: yes
GLw support: no
JPEG support: yes
LAPACK support: no
Large File Support (LFS): yes
Motif support: no
MySQL support: no
NLS support: no
ODBC support: no
OGR support: yes
OpenGL support: yes
PNG support: yes
PostgreSQL support: yes
Python support: yes
Readline support: no
SQLite support: no
Tcl/Tk support: yes
TIFF support: yes
X11 support: yes
------------
bash-2.05# make
Then i execute command Following modules are missing the 'description.html'
file in src code:
i.find
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Thu Dec 14 09:29:03 PKT 2006
--
Errors in:
/opt/grass/grass-6.2.1RC1/lib/gmath
/opt/grass/grass-6.2.1RC1/lib/db/sqlp
/opt/grass/grass-6.2.1RC1/lib/imagery
/opt/grass/grass-6.2.1RC1/lib/rst/interp_float
/opt/grass/grass-6.2.1RC1/lib/init
/opt/grass/grass-6.2.1RC1/db/drivers/dbf
/opt/grass/grass-6.2.1RC1/db/drivers/postgres
/opt/grass/grass-6.2.1RC1/db/drivers/ogr
/opt/grass/grass-6.2.1RC1/display/d.colors
/opt/grass/grass-6.2.1RC1/general/g.access
/opt/grass/grass-6.2.1RC1/general/g.mapsets
/opt/grass/grass-6.2.1RC1/general/g.transform
/opt/grass/grass-6.2.1RC1/imagery/i.class
and few more messages like this.
Then i change the directory and try to make i.e
bash-2.05# cd /opt/grass/grass-6.2.1RC1/lib/gmath
bash-2.05# make
<unknown> 0x18
/usr/local/lib/libfftw3.a(t1_4.o)
<unknown> 0x14
/usr/local/lib/libfftw3.a(t1_5.o)
<unknown> 0x18
/usr/local/lib/libfftw3.a(t1_5.o)
<unknown> 0x14
/usr/local/lib/libfftw3.a(t1_6.o)
<unknown> 0x18
/usr/local/lib/libfftw3.a(t1_6.o)
<unknown> 0x14
/usr/local/lib/libfftw3.a(t1_7.o)
<unknown> 0x18
/usr/local/lib/libfftw3.a(t1_7.o)
<unknown> 0x14
/usr/local/lib/libfftw3.a(t1_8.o)
<unknown> 0x18
/usr/local/lib/libfftw3.a(t1_8.o)
<unknown> 0x14
/usr/local/lib/libfftw3.a(t1_9.o)
<unknown> 0x18
/usr/local/lib/libfftw3.a(t1_9.o)
<unknown> 0x14
/usr/local/lib/libfftw3.a(t1_10.o)
<unknown> 0x18
/usr/local/lib/libfftw3.a(t1_10.o)
<unknown> 0x14
/usr/local/lib/libfftw3.a(t1_12.o)
<unknown> 0x18
/usr/local/lib/libfftw3.a(t1_12.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make: ***
[/opt/grass/grass-6.2.1RC1/dist.sparc-sun-solaris2.9/lib/libgrass_gmath.6.2.1RC1.so]
Error 1
This thread may be related:
http://www.filibeto.org/pipermail/solaris-users/2004-March/000660.html
--
Brad Douglas <rez touchofmadness com> KB8UYR/6
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785
capricorn 80 wrote:
Hi ! I have to past full messages so that u people can figure out whats the
main problem in it So that i can install grass on solaris.
Following are my messages when i compile grass-6.2.1RC1 on solaris 9.
GRASS is now configured for: sparc-sun-solaris2.9
Then i change the directory and try to make i.e
bash-2.05# cd /opt/grass/grass-6.2.1RC1/lib/gmath
bash-2.05# make
<unknown> 0x18
/usr/local/lib/libfftw3.a(t1_4.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
Please check it and let me know wat should i do.
The quick fix is:
1. In lib/gmath/Makefile, remove $(FFTWLIB) from the definition of
EXTRA_LIBS.
2. In include/Make/Grass.make and/or include/Make/Grass.make.in,
change the line:
GMATHLIB = -l$(GMATH_LIBNAME) $(GISLIB)
to:
GMATHLIB = -l$(GMATH_LIBNAME) $(FFTWLIB) $(GISLIB)
A better fix is to either build FFTW as a shared library, or (for a
static FFTW library) compile with -fPIC.
--
Glynn Clements <glynn@gclements.plus.com>
Hello,
I see you have selected to compile GRASS with 64bit support enabled, and
that you are using gcc as a compiler, and ld is used as the linker. Two
comments:
From the Solaris CC manual can be found the information, that ld should
not be used to link 64bit binaries; CC should be used for that purpose
('CC -G' or 'CC -g', 'man CC' will give the necessary info). You could
try changing the relevant part in include/Make/Platform.make . I have
tried to report this as a bug a couple of times, but to no avail...
Alternatively you might try to specify the path to the GNU ld, as the
generic name ld probably indicates Solaris ld, for which the
above-mentioned restriction applies.
The above-mentioned trick might require the compilation with the Solaris
cc, which in my case always worked nicely.
Greetings,
Harri K.
to, 2006-12-14 kello 00:15 -0800, Brad Douglas kirjoitti:
On Thu, 2006-12-14 at 10:57 +0500, capricorn 80 wrote:
> Hi ! I have to past full messages so that u people can figure out whats the
> main problem in it So that i can install grass on solaris.
> Following are my messages when i compile grass-6.2.1RC1 on solaris 9.
> GRASS is now configured for: sparc-sun-solaris2.9
>
> Source directory: /opt/grass/grass-6.2.1RC1
> Build directory: /opt/grass/grass-6.2.1RC1
> Installation directory: /usr/local/grass-6.2.1RC1
> Startup script in directory: ${exec_prefix}/bin
> C compiler: gcc -g -O2
> C++ compiler:
> FORTRAN compiler:
> Building shared libraries: yes
> 64bit support: yes
> OpenGL platform: X11
>
> NVIZ: yes
>
> BLAS support: no
> C++ support: no
> DWG support: no
> FFMPEG support: no
> FFTW support: yes
> FreeType support: no
> GDAL support: yes
> GLw support: no
> JPEG support: yes
> LAPACK support: no
> Large File Support (LFS): yes
> Motif support: no
> MySQL support: no
> NLS support: no
> ODBC support: no
> OGR support: yes
> OpenGL support: yes
> PNG support: yes
> PostgreSQL support: yes
> Python support: yes
> Readline support: no
> SQLite support: no
> Tcl/Tk support: yes
> TIFF support: yes
> X11 support: yes
> ------------
> bash-2.05# make
>
> Then i execute command Following modules are missing the 'description.html'
> file in src code:
> i.find
> ----------------------------------------------------------------------
> GRASS GIS compilation log
> -------------------------
> Started compilation: Thu Dec 14 09:29:03 PKT 2006
> --
> Errors in:
> /opt/grass/grass-6.2.1RC1/lib/gmath
> /opt/grass/grass-6.2.1RC1/lib/db/sqlp
> /opt/grass/grass-6.2.1RC1/lib/imagery
> /opt/grass/grass-6.2.1RC1/lib/rst/interp_float
> /opt/grass/grass-6.2.1RC1/lib/init
> /opt/grass/grass-6.2.1RC1/db/drivers/dbf
> /opt/grass/grass-6.2.1RC1/db/drivers/postgres
> /opt/grass/grass-6.2.1RC1/db/drivers/ogr
> /opt/grass/grass-6.2.1RC1/display/d.colors
> /opt/grass/grass-6.2.1RC1/general/g.access
> /opt/grass/grass-6.2.1RC1/general/g.mapsets
> /opt/grass/grass-6.2.1RC1/general/g.transform
> /opt/grass/grass-6.2.1RC1/imagery/i.class
>
> and few more messages like this.
>
> Then i change the directory and try to make i.e
> bash-2.05# cd /opt/grass/grass-6.2.1RC1/lib/gmath
> bash-2.05# make
>
> <unknown> 0x18
> /usr/local/lib/libfftw3.a(t1_4.o)
> <unknown> 0x14
> /usr/local/lib/libfftw3.a(t1_5.o)
> <unknown> 0x18
> /usr/local/lib/libfftw3.a(t1_5.o)
> <unknown> 0x14
> /usr/local/lib/libfftw3.a(t1_6.o)
> <unknown> 0x18
> /usr/local/lib/libfftw3.a(t1_6.o)
> <unknown> 0x14
> /usr/local/lib/libfftw3.a(t1_7.o)
> <unknown> 0x18
> /usr/local/lib/libfftw3.a(t1_7.o)
> <unknown> 0x14
> /usr/local/lib/libfftw3.a(t1_8.o)
> <unknown> 0x18
> /usr/local/lib/libfftw3.a(t1_8.o)
> <unknown> 0x14
> /usr/local/lib/libfftw3.a(t1_9.o)
> <unknown> 0x18
> /usr/local/lib/libfftw3.a(t1_9.o)
> <unknown> 0x14
> /usr/local/lib/libfftw3.a(t1_10.o)
> <unknown> 0x18
> /usr/local/lib/libfftw3.a(t1_10.o)
> <unknown> 0x14
> /usr/local/lib/libfftw3.a(t1_12.o)
> <unknown> 0x18
> /usr/local/lib/libfftw3.a(t1_12.o)
> ld: fatal: relocations remain against allocatable but non-writable sections
> collect2: ld returned 1 exit status
> make: ***
> [/opt/grass/grass-6.2.1RC1/dist.sparc-sun-solaris2.9/lib/libgrass_gmath.6.2.1RC1.so]
> Error 1
This thread may be related:
http://www.filibeto.org/pipermail/solaris-users/2004-March/000660.html