[GRASS5] build errors in i.ortho.photo/ and r3.showdspf
Kirk R. Wythers
kwythers at umn.edu
Tue Nov 30 23:18:48 EST 2004
On Nov 30, 2004, at 6:03 PM, William K wrote:
> 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}"
WIlliam,
When I apply this patch, the i.ortho.photo stuff builds fine, trouble
is now these modules are not building:
Started compilation: Tue Nov 30 22:03:32 CST 2004
Errors in:
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/lib/proj
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/lib/vector/Vlib
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/lib/sites
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/lib/rst/interp_float
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/lib/ogsf
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/display/d.extend
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/display/d.path
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/display/d.vect
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/display/d.vect.chart
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/display/d.what.vect
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/display/d.where
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/display/d.zoom
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/general/g.proj
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/general/g.region/cmd
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/general/g3.region
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/general/manage/cmd
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/imagery/i.vpoints
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/ps/ps.map
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.contour
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.cost
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.flow
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.le/r.le.setup
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.proj
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.random
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.region
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.resamp.rst
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.sun
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.sunmask
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.to.vect
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/raster/r.in.gdal
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.buffer
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.build
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.build.polylines
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.category
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.clean
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.convert
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.db.connect
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.digit
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.distance
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.extract
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.hull
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.info
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.in.ascii
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.in.db
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.in.region
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.in.sites
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.kcv
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.kernel
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.label
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.proj
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.mkgrid
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.neighbors
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.net
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.net.alloc
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.net.iso
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.net.path
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.net.salesman
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.net.steiner
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.normal
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.out.ascii
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.out.dxf
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.out.pov
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.overlay
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.patch
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.perturb
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.qcount
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.random
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.reclass
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.sample
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.segment
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.select
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.surf.idw
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.surf.rst
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.transform
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.to.db
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.to.points
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.to.rast
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.type
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.univar
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.voronoi
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.what.rast
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.vol.rst
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.out.ogr
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.in.ogr
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.external
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/vector/v.in.dwg
/Users/kirkw/grass5_dev/grass57_exp_2004_11_27/visualization/nviz
the patch in my configure file looks like this:
Rhapsody-*|Darwin-*)
SHLIB_CFLAGS="-fno-common"
SHLIB_LD="cc -dynamiclib -Wl,-flat_namespace,-U,_cuserid
-compatibility_version 5.7 -curren\
t_version 5.7 -install_name
\${LIB_RUNTIME_DIR}/lib\${LIB_NAME}\${SHLIB_SUFFIX}"
# GRASS_SHLIB_LD_EXTRAS="-compatibility_version ${LIB_VER}
-current_version \${LIB_VER} -inst\
all_name \${DYLIB_INSTALL_DIR}/\${GRASS_LIB_FILE} -prebind -seg1addr
0xa000000"
#check if we need -U,_cuserid:
# SHLIB_LD="cc -dynamiclib -Wl,-flat_namespace,-U,_cuserid
-undefined suppress \${LDFLAGS}"
GRASS_SHLIB_LD_EXTRAS=""
SHLIB_LD_LIBS='${LIBS}'
SHLIB_SUFFIX=".dylib"
PLAT_OBJS=""
CC_SEARCH_FLAGS=""
LD_SEARCH_FLAGS=""
CFLAGS_OPTIMIZE="-Os"
LD_LIBRARY_PATH_VAR="DYLD_LIBRARY_PATH"
# for compatibility with autoconf vers 2.13 :
HACK=""
EXTRA_CFLAGS=""
LIBS="$LIBS"
;;
Does that look right to you?
>
Kirk R. Wythers
Dept. of Forest Resources
University of Minnesota
email: kwythers at umn.edu
tel: 612.625.2261
fax: 612.625.5212
More information about the grass-dev
mailing list