[GRASS5] build errors in i.ortho.photo/ and r3.showdspf

William K woklist at charter.net
Tue Nov 30 19:03:42 EST 2004


Kirk-

I was getting these too a while back - I think it has something to do  
with the SDLIB_LD variable in configure (you know, my configure patch  
thingy?).  At one point it changed, so I tried to use it as is before  
applying my patch, and started getting the i.ortho.photo build errors.   
What it changed to is:

SHLIB_CFLAGS=""
SHLIB_LD="cc -dynamiclib -single_module \${LDFLAGS}"

After applying my patch (at every snapshot update) I haven't had a  
problem building i.ortho.photo.* since (including this weekend's  
snapshot).


I have a bug report on the SHLIB_LD problem (#2544), but nothing has  
come of it (tho it maybe behind the SHLIB_LD change above).  I've been  
meaning to try to get some activity on this one.  If someone out there  
can do something with it, this is what has worked for me to fix the  
various problems with the Mac OS X SHLIB_LD settings (somewhere around  
line 2200 in configure):

		SHLIB_CFLAGS="-fno-common"
	    SHLIB_LD="cc -dynamiclib -Wl,-flat_namespace,-U,_cuserid  
-compatibility_version 5.7 -current_version 5.7 -install_name  
\${LIB_RUNTIME_DIR}/lib\${LIB_NAME}\${SHLIB_SUFFIX}"

Notes: I removed \${LDFLAGS} since LDFLAGS is added elsewhere in  
makefiles.  There should be a better way to set the compatibility  
version - configure's version string isn't compatible: Mac OS X uses a  
dotted number for compatibility version (1 with optional 2nd and 3rd,  
1st in range 0-65535 and 2nd & 3rd 0-255).  Or it could be left out so  
there's no version checking.


(if this doesn't fix it for you, then it's something else.  no clue)

Don't know about the r3.showdspf error.  SHLIB_LD fix above may help.


On Nov 30, 2004, at 4:15 PM, Kirk R. Wythers wrote:

> I just finished building the latest snapshot from cvs (11.27.2004).  
> I'm getting the following build errors:
>
> ----------------------------------------------------------------------
> Following modules are missing the 'description.html' file in src code:
> d.extend
> db.login
> i.ask
> i.find
> v.kernel
> v.neighbors
> ----------------------------------------------------------------------
> GRASS GIS compilation log
> -------------------------
> Started compilation: Tue Nov 30 14:47:05 CST 2004
> Errors in:
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> libes
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> menu
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.2image
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.2target
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.camera
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.elev
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.init
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.rectify
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.ortho.photo/ 
> photo.target
> /Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster3d/r3.showdspf
> Finished compilation: Tue Nov 30 14:56:26 CST 2004

-----
William Kyngesburye <kyngchaos at charter.net>
http://webpages.charter.net/kyngchaos/

"This is a question about the past, is it? ... How can I tell that the  
past isn't a fiction designed to account for the discrepancy between my  
immediate physical sensations and my state of mind?"

- The Ruler of the Universe




More information about the grass-dev mailing list