[GRASS5] Re: [GRASSLIST:7910] grass-6.0.1RC2 compilation

Markus Neteler neteler at itc.it
Thu Aug 18 15:58:51 EDT 2005


Hi,

please (later) send me your notes of all the required tricks for
sun-solaris2.9.

To fix below problem, can you edit
include/Make/Shlib.make
and change in line 14

 ... ln -sf ...
to
 ... ln -f -s ...

and rerun make? This may cure the problem (maybe I am completely wrong but
I don't have a SUN to try).

Markus

On Thu, Aug 18, 2005 at 01:54:27PM -0400, jun liang wrote:
> Markus,
>    Thanks. Your comments are very helpful. I have put a option for the make " make INSTALL=/usr/ucb/install" and it avoided the incorrect reference
> for BSD to "/afs/isis/depts/geog/pkg/ipw-1.0/etc/install -c  -m 644 ../include/*"
>    And it bypassed the wildcard problem, but the make did not succeed. I have included the first error below. It seems we are having problem with
> "libgrass_datetime".
>  Jun
> ------------------------------------------------------------------------------------------------------------------------------------------------------------
> 
> cc -I/scratch/grass6/grass-6.0.1RC2/include -I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass  -g     -KPIC
> -DPACKAGE=\""grasslibs"\"     -DPACKAGE=\""grasslibs"\"  -I/scratch/grass6/grass-6.0.1RC2/include
> -I/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/grass \
>         -o OBJ.sparc-sun-solaris2.9/values.o -c values.c
> /usr/ccs/bin/ld -G -z text -o /scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/lib/libgrass_datetime.6.0.1RC2.so
> -L/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/lib    OBJ.sparc-sun-solaris2.9/between.o OBJ.sparc-sun-solaris2.9/copy.o
> OBJ.sparc-sun-solaris2.9/same.o OBJ.sparc-sun-solaris2.9/diff.o OBJ.sparc-sun-solaris2.9/error.o OBJ.sparc-sun-solaris2.9/format.o
> OBJ.sparc-sun-solaris2.9/incr1.o OBJ.sparc-sun-solaris2.9/incr2.o OBJ.sparc-sun-solaris2.9/incr3.o OBJ.sparc-sun-solaris2.9/local.o
> OBJ.sparc-sun-solaris2.9/misc.o OBJ.sparc-sun-solaris2.9/change.o OBJ.sparc-sun-solaris2.9/scan.o OBJ.sparc-sun-solaris2.9/sign.o
> OBJ.sparc-sun-solaris2.9/type.o OBJ.sparc-sun-solaris2.9/tz1.o OBJ.sparc-sun-solaris2.9/tz2.o OBJ.sparc-sun-solaris2.9/values.o  && ln -sf
> libgrass_datetime.6.0.1RC2.so /scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/lib/libgrass_datetime.so
> Usage: ln [-f] [-s] f1
>        ln [-f] [-s] f1 f2
>        ln [-f] [-s] f1 ... fn d1
> make[2]: *** [/scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/lib/libgrass_datetime.6.0.1RC2.so] Error 1
> make[2]: Leaving directory `/scratch/grass6/grass-6.0.1RC2/lib/datetime'
> ---------------------------------------------------------------------------------------------------------------------------------------------------
> 
> 
> 
> Markus Neteler wrote:
> 
> > On Mon, Aug 15, 2005 at 03:23:46PM -0400, jun liang wrote:
> > > I was trying to compile grass-6.0.1RC2 and had the following error log.
> > > The "./configure " worked before that.
> > > I guess the problem is due to some libraries' path setting. I am fairly
> > > new to grass and any help will be appreciated. Thanks.
> > >
> > > ------------------------------------------------------------------------------------------------------------------------------------------------
> > >
> > > ubehebe:</scratch/grass6/grass-6.0.1RC2> make
> > >
> > > mkdir -p /scratch/grass6/grass-6.0.1RC2/bin.sparc-sun-solaris2.9
> >
> > [...]
> > > /afs/isis/depts/geog/pkg/ipw-1.0/etc/install -c  -m 644 ../include/*.h
> > > /scratch/grass6/grass-6.0.1RC2/dist.sparc-sun-solaris2.9/include/
> > >
> >
> > I don't see anything offending in above command.
> >
> > > install -- install commands, libraries, etc.
> > >
> > > Usage: install [-c] [-m mode] [-o owner] [-g group] [-s] file destination
> > >
> > > make[1]: *** [headers] Error 1
> > >
> >
> > The other errors are resulting from above problem.
> >
> > Does install from sparc-sun-solaris2.9 have problems with wildcards?
> >
> > Markus
> 

-- 
Markus Neteler     <neteler itc it>       http://mpa.itc.it
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-dev mailing list