[GRASS5] [bug #4082] (grass) libgrass_driver is not built

this bug's URL: http://intevation.de/rt/webrt?serial_num=4082
-------------------------------------------------------------------------

Subject: libgrass_driver is not built

Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 20060211

Grass 6.1.cvs 060211 intoduces many changes.
It's impossible to built libgrass_driver in Mac OS X.
There are many Undefined symbols linked to freetype.

Error:
----------
....
cc -dynamiclib -flat_namespace -compatibility_version 6.1 -current_version 6.1 -install_name /
Applications/Grass/grass61cvs.app/Contents/Resources/grass-6.1.cvs/lib/libgrass_driver.dylib -o /
src/grass-6.1.cvs_src_snapshot_2006_02_11/dist.powerpc-apple-darwin7.9.0/lib/
libgrass_driver.6.1.cvs.dylib -L/usr/X11R6/lib -L/usr/local/grasslib/lib -L/src/grass
-6.1.cvs_src_snapshot_2006_02_11/dist.powerpc-apple-darwin7.9.0/lib -L/usr/local/pgsql/lib
OBJ.powerpc-apple-darwin7.9.0/Box.o OBJ.powerpc-apple-darwin7.9.0/Can_do.o OBJ.powerpc-
apple-darwin7.9.0/Client.o OBJ.powerpc-apple-darwin7.9.0/Color_table.o OBJ.powerpc-apple-
darwin7.9.0/Color.o OBJ.powerpc-apple-darwin7.9.0/Cont.o OBJ.powerpc-apple-darwin7.9.0/
Erase.o OBJ.powerpc-apple-darwin7.9.0/Font.o OBJ.powerpc-apple-darwin7.9.0/Get_location.o
OBJ.powerpc-apple-darwin7.9.0/Get_t_box.o OBJ.powerpc-apple-darwin7.9.0/Graph.o
OBJ.powerpc-apple-darwin7.9.0/Line_width.o OBJ.powerpc-apple-darwin7.9.0/Move.o
OBJ.powerpc-apple-darwin7.9.0/Num_colors.o OBJ.powerpc-apple-darwin7.9.0/Panel.o
OBJ.powerpc-apple-darwin7.9.0/Polydots.o OBJ.powerpc-apple-darwin7.9.0/Polyline.o
OBJ.powerpc-apple-darwin7.9.0/Polygon.o OBJ.powerpc-apple-darwin7.9.0/Raster_RGB.o
OBJ.powerpc-apple-darwin7.9.0/Raster_int.o OBJ.powerpc-apple-darwin7.9.0/Raster_char.o
OBJ.powerpc-apple-darwin7.9.0/Reset_colors.o OBJ.powerpc-apple-darwin7.9.0/Respond.o
OBJ.powerpc-apple-darwin7.9.0/Returns.o OBJ.powerpc-apple-darwin7.9.0/Set_window.o
OBJ.powerpc-apple-darwin7.9.0/Text.o OBJ.powerpc-apple-darwin7.9.0/Text_size.o OBJ.powerpc-
apple-darwin7.9.0/Work.o OBJ.powerpc-apple-darwin7.9.0/clip.o OBJ.powerpc-apple-darwin7.9.0/
color_support.o OBJ.powerpc-apple-darwin7.9.0/command.o OBJ.powerpc-apple-darwin7.9.0/
connect_fifo.o OBJ.powerpc-apple-darwin7.9.0/connect_sock.o OBJ.powerpc-apple-darwin7.9.0/
font2.o OBJ.powerpc-apple-darwin7.9.0/font_freetype.o OBJ.powerpc-apple-darwin7.9.0/main.o
OBJ.powerpc-apple-darwin7.9.0/pad.o OBJ.powerpc-apple-darwin7.9.0/text2.o OBJ.powerpc-apple-
darwin7.9.0/text3.o -lgrass_gis -lgrass_datetime -lz -lintl && if [ -z "" ] ; then ln -f -s
libgrass_driver.6.1.cvs.dylib /src/grass-6.1.cvs_src_snapshot_2006_02_11/dist.powerpc-apple-
darwin7.9.0/lib/libgrass_driver.dylib; fi
ld: warning prebinding disabled because dependent library: /Applications/Grass/grass61cvs.app/
Contents/Resources/grass-6.1.cvs/lib/libgrass_gis.dylib is not prebound
ld: warning multiple definitions of symbol _locale_charset
/usr/lib/libiconv.2.dylib(localcharset.o) definition of _locale_charset
/usr/local/grasslib/lib/libintl.dylib(localcharset.o) definition of _locale_charset
ld: Undefined symbols:
_FT_Done_Face
_FT_Done_FreeType
_FT_Init_FreeType
_FT_Load_Char
_FT_New_Face
_FT_Render_Glyph
_FT_Set_Char_Size
_FT_Set_Transform
/usr/bin/libtool: internal link edit command failed
make[3]: *** [/src/grass-6.1.cvs_src_snapshot_2006_02_11/dist.powerpc-apple-darwin7.9.0/lib/
libgrass_driver.6.1.cvs.dylib] Error 1

------------

Lorenzo

-------------------------------------------- Managed by Request Tracker

Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=4082
-------------------------------------------------------------------------

Subject: libgrass_driver is not built

Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 20060211

Grass 6.1.cvs 060211 intoduces many changes.
It's impossible to built libgrass_driver in Mac OS X.
There are many Undefined symbols linked to freetype.

1. Did you use --with-freetype when running the configure script?
2. What are FTINC and FTLIB set to in include/Make/Platform.make?
3. Is HAVE_FT2BUILD_H defined in include/config.h?

--
Glynn Clements <glynn@gclements.plus.com>


Hi Glynn

Request Tracker wrote:

this bug’s URL: http://intevation.de/rt/webrt?serial_num=4082

Subject: libgrass_driver is not built

Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 20060211

Grass 6.1.cvs 060211 intoduces many changes.
It’s impossible to built libgrass_driver in Mac OS X.
There are many Undefined symbols linked to freetype.

  1. Did you use --with-freetype when running the configure script?
  2. What are FTINC and FTLIB set to in include/Make/Platform.make?
  3. Is HAVE_FT2BUILD_H defined in include/config.h?


Glynn Clements glynn@gclements.plus.com


grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5

It’s resolved with this change in CVS (done in date 2006_02_12).
The Freetype libs was missing.

change in display/drivers/lib/Makefile
line 3

EXTRA_LIBS=$(GISLIB) $(FTLIB) $(ICONVLIB)

Lorenzo

Bye


|| Lorenzo Moretti e-mail: lorenzo.moretti@bologna.enea.it
||/|/| ENEA prot/idr Web: http://wwwamb.bologna.enea.it/
|| | via Don Fiammelli, 2 FTP: ftp://ftpamb.bologna.enea.it/ (ris.)

ENEA - Ente Nazionale per le Nuove Tecnologie, l'Energia e l'Ambiente
ENEA - The Italian Agency for New Technologies, Energy and the Environment
__________________________________________________________________________