[GRASS5] Grass 6.0cvs 21/05/2005 on Solaris Sparc
Glynn Clements
glynn at gclements.plus.com
Fri May 27 14:05:51 EDT 2005
"6.0cvs"? The CVS head should be "6.1cvs".
Ade Fewings wrote:
> It is once again my duty to compile up Grass on Solaris Sparc. Having
> got this down to a reasonably fine art with Grass 5, i'm now having a
> few difficulties with 6.......
>
> A number of occurrences of not being able to find install-sh - typically
> not enough or too many "../" - in builds in sub-directories of the grass
> source. However, I can fix these myself for my purposes - should they
> be fed back here for info?
What is INSTALL set to in include/Make/Platform.make?
> Also had another problem linking with ncurses and undefined symbols
> w32addch, getcurx, getcury and initscr32 in building lib/init,
> display/d.colors, general/g.access, general/g.mapsets,
> general/g.tempfile, imagery/i.class, imagery/i.cluster, etc. which I
> had to fix by adding -lcurses to the LDFLAGS. Again, is this likely to
> be Solaris limited or should it be fed back here?
The relevant linking commands should use $(CURSES); if you can find
specific examples where this switch isn't present, let us know.
> This all leaves just one problem about which i'm not sure - with nviz......
> -L/opt/csw/lib
> -L/usr/openwin/lib
> Undefined first referenced
> symbol in file
> c::c(n6, (int0_t)) /opt/csw/lib/libGLU.so
> __1cG__CrunKpure_error6F_v_ /opt/csw/lib/libGLU.so
> sunOglCurPrimTablePtr
> /export/data0/grass-6.0.cvs_src_snapshot_2005_05_21/dist.sparc-sun-solaris2.9/lib/libgrass_ogsf.so
> sunOglCurrentContext
> /export/data0/grass-6.0.cvs_src_snapshot_2005_05_21/dist.sparc-sun-solaris2.9/lib/libgrass_ogsf.so
> __1cG__CrunMex_rethrow_q6F_v_ /opt/csw/lib/libGLU.so
> __1c2K6Fpv_v_ /opt/csw/lib/libGLU.so
> __1c2k6Fpv_v_ /opt/csw/lib/libGLU.so
> c::c(N6, (int0_t)) /opt/csw/lib/libGLU.so
> ld: fatal: Symbol referencing errors. No output written to
> /export/data0/grass-6.0.cvs_src_snapshot_2005_05_21/dist.sparc-sun-solaris2.9/bin/nviz
> collect2: ld returned 1 exit status
> gmake[1]: ***
> [/export/data0/grass-6.0.cvs_src_snapshot_2005_05_21/dist.sparc-sun-solaris2.9/bin/nviz]
> Error 1
> gmake[1]: Leaving directory
> `/export/data0/grass-6.0.cvs_src_snapshot_2005_05_21/visualization/nviz/src'
> gmake: *** [nvwish] Error 2
>
> Can anybody offer any guidance? libGLU and libGL are both in
> /usr/openwin/lib which is included, so i'm not sure how to fix this.
> Thanks in advance.
It appears that /opt/csw/lib/libGLU.so is broken.
I don't think that you can force the version in /usr/openwin/lib to be
used instead simply by choosing configure switches.
In that situation, the only solution which I can think of is to make a
private libraries directory, populate it with symlinks to the
necessary libraries in /opt/csw/lib (but not libGLU), then pass the
private directory to configure instead of /opt/csw/lib.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list