Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000159graphvizBuild/Installpublic2003-01-16 16:092011-04-28 04:02
ReporterJohn Gluck 
Assigned Toellson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Linux-2.4.10OS Version
Summary0000159: Compile / link problem in graphviz-1.8.10/dotneato
Description



After running ./configre in the top source directory, I did make.



This resulted in the following errors:
<CD>
make[3]: Entering directory `/usr/src/util/graphviz-1.8.10/dotneato'
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -Wno-unknown-pragmas -DDATE="\"`date`\"" -o dot dot.o common/libdotneato.la dotgen/libdot.la common/libdotneato.la ../pathplan/libpathplan.la ../graph/libgraph.la ../cdt/libcdt.la ../gd/libgd.la -L/usr/X11R6/lib -ljpeg -lz -lm
gcc -g -O2 -Wall -Wno-unknown-pragmas "-DDATE=\"Thu Jan 16 16:29:10 AST 2003\"" -o .libs/dot dot.o dotgen/.libs/libdot.al common/.libs/libdotneato.al ../pathplan/.libs/libpathplan.so ../graph/.libs/libgraph.so ../cdt/.libs/libcdt.so ../gd/.libs/libgd.so -L/usr/X11R6/lib -ljpeg -lz -lm -Wl,--rpath -Wl,/usr/local/lib/graphviz
common/.libs/libdotneato.al(gdgen.lo): In function `loadimage':
/usr/src/util/graphviz-1.8.10/dotneato/common/gdgen.c:762: undefined reference to `gdImageCreateFromPng'
collect2: ld returned 1 exit status
make[3]: *** [dot] Error 1
make[3]: Leaving directory `/usr/src/util/graphviz-1.8.10/dotneato'
</CD>
Since libgd.so had been built and defines gdImageCreateFromPng, I did make install.
Then I edited graphviz-1.8.10/dotneato/Makefile and tricked it into linking
with the installed libgd.so by changing the line:
<CD>
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o [email protected]



to:
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -lgd -o [email protected]
</CD>



This resolved the problem



Regards



John Gluck
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT See above
FORMER-ID243
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (earlier)
VERSION     graphviz-1.8.10
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