Fwd: [GRASS5] grass5 on darwin - problem w/init

andy agena andya at mac.com
Tue Sep 10 08:08:36 EDT 2002


Begin forwarded message:

> From: andy agena <andya at mac.com>
> Date: Mon Sep 9, 2002  21:39:43 US/Central
> To: Glynn Clements <glynn.clements at virgin.net>
> Cc: GRASS5 <grass5 at grass.itc.it>
> Subject: Re: [GRASS5] grass5 on darwin - problem w/init
>
> Hi Glynn:
>
> Thanks for the quick response.
>
> I started from scratch and still got the '/sw/grass5/etc/Init.sh:  
> /sw/grass5/etc/lock: No such file or directory' error with the libedit  
> symlink i note below.
>
> Andy
>
> On Monday, Sep 9, 2002, at 18:08 US/Central, Glynn Clements wrote:
>
>>
>> andy agena wrote:
>>
>>> i gave compiling grass5.0 a whirl today; this is my error.log:
>>>
>>> GRASS GIS compilation log
>>> -------------------------
>>>
>>> (i have a make.log--1.7mb--let me know if you want me to send it  
>>> along)
>>
>> Compress it with "gzip -9" (this should reduce it to ~100Kb), then
>> send it to me.
>
> i've attached it (88kb), but i'm assuming the GRASS list strips  
> attachments.  if anyone else wants a look (if it doesn't get through),  
> please zap me.
>
>>> trying to start grass, i get:
>>>
>>> % ./grass5
>>> /sw/grass5/etc/Init.sh: /sw/grass5/etc/lock: No such file or  
>>> directory
>>> Unable to properly access /Users/andya/.gislock5
>>> Please notify system personel.
>>
>> This is due to:
>>
>>> Compilation error in module: src/general/init (ignored)
>>
>> At present, *all* failures are ignored; even for components which
>> (like src/general/init) are essential for using GRASS.
>>
>>
>>> so i tried:
>>>
>>> % /sw/bin/gmake5 src/general/init
>>>
>>> OBJ.powerpc-apple-darwin6.0/other.o -ledit -lgis -lvask -lncurses
>>> -ltermcap   -lz
>>> ld: Undefined symbols:
>>> _E_edit_cellhd
>>> make: ***
>>> [/Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/dist.powerpc- 
>>> apple-
>>> darwin6.0/etc/set_data] Error 1
>>
>> 1. Do you have a libedit.a in the directory:
>>
>> /Users/andya/Desktop/grass-5_0_0_src_0/grass-5.0.0/src/libes/ 
>> LIB.powerpc-apple-darwin6.0?
>
> this file does exist.
>
>> If not, there should have been an error for src/libes/edit. OTOH, if
>> that file exists, then ...
>>
>> 2. Do you have a libedit.a, libedit.dylib, or libedit.<anything> (or,
>> for that matter, anything else which looks like a library and is
>> called something-edit-something) in /sw/lib, or in any "system"
>> library directory?
>
> my libedit.dylib was in /usr/local, so i:  ln -s  
> /usr/lib/libedit.dylib /sw/lib/libedit.dylib
>
>>
>> -- 
>> Glynn Clements <glynn.clements at virgin.net>
>
> here's my ./configure if any mac users are curious.  i'm using Marc  
> Liyanage's PostgreSQL installer  
> <http://www.entropy.ch/software/MacOSx/postgresql/> since PostgreSQL  
> isn't available on the stable fink tree (nor is odbc, so i didn't  
> include it).   to get it to work with the GRASS ./configure, I copied  
> /usr/local/pgsql/include/internal/postgres_fe.h up one directory  
> level, as ./configure wasn't seeing it in the internal directory:
>
> sudo ./configure --prefix=/sw --with-includes=/sw/include  
> --with-libs=/sw/lib --with-tiff-includes=/sw/include  
> --with-tiff-libs=/sw/lib --with-tcltk-includes=/sw/include  
> --with-tcltk-libs=/sw/lib/tcl8.3 --with-gd-includes=/sw/include  
> --with-opengl-includes=/usr/X11R6/include  
> --with-fftw-includes=/sw/include --without-odbc  
> --with-postgres-includes=/usr/local/pgsql/include  
> --with-postgres-libs=/usr/local/pgsql/lib
>




More information about the grass-dev mailing list