Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000558graphvizBuild/Installpublic2001-11-22 09:282011-04-28 04:02
ReporterJeremie Petit 
Assigned Toellson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOther-Unix-Tru64 5.1OS Version
Summary0000558: -liconv needed for some targets on Tru64 5.1, ieee flags and a bug
Description



Hello,



  I'm trying to compile graphviz on a Tru64 5.1 system+
<CD>
/bin/sh ../libtool --mode=link gcc -g -O2 -o fontwheeltest fontwheeltest.o libgd.la -lm -L/usr/local1/Tru64-5.1/lib -lfreetype -L/usr/local1/Tru64-5.1/lib -lpng -L/usr/local1/Tru64-5.1/lib -lz -lm -lm -L/usr/local1/Tru64-5.1/lib -lfreetype -L/usr/local1/Tru64-5.1/lib -lpng -L/usr/local1/Tru64-5.1/lib -lz
gcc -g -O2 -o fontwheeltest fontwheeltest.o ./.libs/libgd.al -lm -L/usr/local1/Tru64-5.1/lib -lpng -lz -lm -lpng -lz -lm -lm /usr/local1/Tru64-5.1/lib/libfreetype.so -lpng -lz -Wl,-rpath -Wl,/usr/local1/Tru64-5.1/lib
/bin/ld:
Unresolved:
iconv_open
iconv
iconv_close



I had to change gd/Makefile line from:



LIBS = -lm ${FT_LIBS} ${PNG_LIBS} ${JPEG_LIBS} ${XPM_LIBS} ${Z_LIBS}



to



LIBS = -lm ${FT_LIBS} ${PNG_LIBS} ${JPEG_LIBS} ${XPM_LIBS} ${Z_LIBS} -liconv
(added -liconv)
</CD>



I also had to do that change in the dotneato Makefile.



on Tru64 5.1, with gcc 3.0.2, the -mieee option is necessary to avoir floating
point exceptions (with native compiler 'cc', the option would be '-ieee')



I've also remarked that in dotneato/dotgen/mincross.c, a closing } in dot_mincross()
is included into a #ifdef DEBUG statement, so the file doesn't compile when DEBUG
is not set



Also, files
dotneato/dotmemtest.c
dotneato/neatomemtest.c
dotneato/twopimemtest.c



do contain C++ style comments, that all compilers do not understand.



Anyway, unfortunately the result obtained when I generate graphs is very
(no transparency, picture is truncated so node names are not seen in full...



Cheers,



    Jeremie Petit.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID64
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     Thu Nov 22 tarball
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker