Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000220graphvizBuild/Installpublic2003-05-28 16:452011-04-28 04:02
ReporterLars van de Kerkhof 
Assigned Toerg 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Windows-XPOS Version
Summary0000220: MAXDOUBLE undefined
Description



I am trying building graphviz witn mingw and msys. I successfully managed to compile all required libs
like freetype, zlib, libpng and libjpeg. Now I only need to build dot actually but when I move to the directory
dotneato and build I get this error:
<CD>
utils.c:610:24: pwd.h: No such file or directory
utils.c: In function `username':
utils.c:632: warning: implicit declaration of function `getpwuid'
utils.c:632: warning: implicit declaration of function `getuid'
utils.c:635: dereferencing pointer to incomplete type
utils.c:640: dereferencing pointer to incomplete type
utils.c: In function `toggle':
utils.c:889: `SIGUSR1' undeclared (first use in this function)
utils.c:889: (Each undeclared identifier is reported only once
utils.c:889: for each function it appears in.)
d:/MinGW/include/stdlib.h: At top level:
globals.h:47: warning: array `Output_langs' assumed to have one element
globals.h:50: warning: array `Output_files' assumed to have one element
make[1]: *** [utils.lo] Error 1
make[1]: Leaving directory `/d/graph_source/graphviz-1.9/graphviz-1.9/dotneato/common'
make: *** [all-recursive] Error 1
</CD>



but when I then try to build the complete package I get this :
<CD>
 -I../incr -I../agraph -I../cdt -I../shape -I../ns -I/usr/local/include -g -O2 -Wall -Wno-unknown-pragmas -c -o geom.lo `test -f geom.c || echo './'`geom.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../pathplan -I../incr -I../agraph -I../cdt -I../shape -I../ns -I/usr/local/include -g -O2 -Wall -Wno-unknown-pragmas -c geom.c -MT geom.lo -MD -MP -MF .deps/geom.TPlo -DDLL_EXPORT -DPIC -o geom.lo
geom.c: In function `update_bb':
geom.c:19: `MAXDOUBLE' undeclared (first use in this function)
geom.c:19: (Each undeclared identifier is reported only once
geom.c:19: for each function it appears in.)
make[2]: *** [geom.lo] Error 1
make[2]: Leaving directory `/d/graph_source/graphviz-1.9/graphviz-1.9/dag'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/graph_source/graphviz-1.9/graphviz-1.9'
make: *** [all] Error 2
</CD>



I build with mingw becuase my cygwin installation hangs on the configure script on the point it tries to generate the makefiles



It would be nice if you could send me some suggestions on building dot and it's exact file dependancies.
that way I could isolate the required files and focus on building dot alone.



Thanks in advance



regards,



Lars van de Kerkhof
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID299
INPUT-FILEhttp://www.graphviz.org/bugs/b299.c [^]
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     1.9
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 => erg


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