Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001355graphvizBuild/Installpublic2008-07-16 14:002011-12-15 22:36
ReporterBrian Bukowski 
Assigned Togviz 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOther-Other-OS Version
Summary0001355: Problem installing on HP-UX 11.23
Description



I'm attempting to install Graphviz 2.18 on an HP-UX server. I extracted
the tar file, ran a ./configure --with-Xawincludedir=/usr/contrib/X11R6/include --with-Xawlibdir=/usr/contrib/X11R6/lib,
and then attempted to make the file. It got hung up while making the sfio.



It said the error occured in line 895. I looked in the sfio make file,
and there aren't even 895 lines.



<CD>
\> \> make
No suffix list.
        make all-recursive
No suffix list.
Making all in libltdl
        make all-am
Making all in lib
No suffix list.
Making all in cdt
Making all in graph
Making all in agraph
Making all in gd
Making all in pathplan
Making all in agutil
Making all in sfio
Make: line 895: syntax error. Stop.
*** Error exit code 1



Stop.
*** Error exit code 1



Stop.
*** Error exit code 1
</CD>
Additional Information

[brian] When I downloaded and tried to configure Graphviz-2.20.2, I wasn't even able to. I got this error message:

<CD>
./configure
./configure[2414]: ${GRAPHVIZ_VERSION_MICRO:0:4}: The specified substitution is not valid for this command.
./configure[2414]: GRAPHVIZ_VERSION_BUILD=`expr \( ${GRAPHVIZ_VERSION_MICRO:0:4} - 2000 \) \* 12 + ${GRAPHVIZ_VERSION_MICRO:4:2}`${GRAPHVIZ_VERSION_MICRO:6:2}: The specified substitution is not valid for this command.
</CD>

[ellson]Perhaps this is a shell problem. Can you try running from a bash shell?

Or perhaps its with /usr/bin/expr ??
<CD>
   $ expr --version
   expr (GNU coreutils) 6.12
   Copyright (C) 2008 Free Software Foundation, Inc.
   License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> [^]
   This is free software: you are free to change and redistribute it.
   There is NO WARRANTY, to the extent permitted by law.

   Written by Mike Parker.
</CD>


This expr stuff is for creating Windows compatible version strings. Probably we can find a way to avoid executing it on other platforms...

[ellson] On the suspicion that /usr/bin/expr is broken on HPUX, I've put in a change to configure.ac to avoid
running expr except for the Windows builds.

The change should be in tomorrow's snapshot.

[glen] expr is not the broken thing here. It's the use of the construct ${XXX:n:m} which is supposed to be POSIX-compliant, but perhaps HPUX's shell isn't up to scratch.

[brian]

Sorry for the delay, I was out of the office yesterday. Thanks for making the change to the dev snapshot. I just downloaded and tried to install graphviz-2.21.20080718.0445.tar.gz. Here's the error message I received:
<CD>
make
No suffix list.
        make all-recursive
No suffix list.
Making all in libltdl
        make all-am
Making all in lib
No suffix list.
Making all in cdt
        source='dtclose.c' object='dtclose.lo' libtool=yes \
        DEPDIR=.deps depmode=hp /bin/sh ../../config/depcomp \
        /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/local/include -Wp,-H30000 -c -o dtclose.lo dtclose.c
 cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I/usr/local/include -Wp,-H30000 -c dtclose.c -Wp,-M.deps/dtclose.TPlo -DPIC -o .libs/dtclose.o
(Bundled) cc: "cdt.h", line 53: error 1000: Unexpected symbol: "*".
(Bundled) cc: "cdt.h", line 53: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "cdt.h", line 53: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 54: error 1000: Unexpected symbol: "*".
(Bundled) cc: "cdt.h", line 54: error 1000: Unexpected symbol: "Dtdisc_t".
(Bundled) cc: "cdt.h", line 54: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "cdt.h", line 54: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 54: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 55: error 1000: Unexpected symbol: "*".
(Bundled) cc: "cdt.h", line 55: error 1000: Unexpected symbol: "Dtdisc_t".
(Bundled) cc: "cdt.h", line 55: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "cdt.h", line 55: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 55: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 57: error 1000: Unexpected symbol: "*".
(Bundled) cc: "cdt.h", line 57: error 1000: Unexpected symbol: "Dtdisc_t".
(Bundled) cc: "cdt.h", line 56: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "cdt.h", line 57: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 57: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 58: error 1000: Unexpected symbol: "*".
(Bundled) cc: "cdt.h", line 58: error 1000: Unexpected symbol: "Dtdisc_t".
(Bundled) cc: "cdt.h", line 58: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "cdt.h", line 58: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 58: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 60: error 1000: Unexpected symbol: "*".
(Bundled) cc: "cdt.h", line 60: error 1000: Unexpected symbol: "size_t".
(Bundled) cc: "cdt.h", line 59: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "cdt.h", line 60: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 60: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 61: error 1000: Unexpected symbol: "*".
(Bundled) cc: "cdt.h", line 61: error 1000: Unexpected symbol: "Dtdisc_t".
(Bundled) cc: "cdt.h", line 61: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "cdt.h", line 61: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 61: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 64: error 1000: Unexpected symbol: "Dtlink_t".
(Bundled) cc: "cdt.h", line 64: error 1573: Type of "right" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 64: error 1578: Size of struct or union member is unknown.
(Bundled) cc: "cdt.h", line 202: error 1000: Unexpected symbol: "*".
(Bundled) cc: "cdt.h", line 202: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "cdt.h", line 202: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration.
(Bundled) cc: "cdt.h", line 203: error 1000: Unexpected symbol: "*".
(Bundled) cc: "cdt.h", line 203: error 1506: Parameters allowed in function definition only.
(Bundled) cc: "cdt.h", line 204: error 1000: Unexpected symbol: "*".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1
</CD>

Here's the \<A HREF="b1389a.txt"\>Makefile\</A\> from this attempt.

[north]
We depend on having an ANSI C compiler.
If you don't have an ANSI C compiler, you should probably give up at this point.
TagsNo tags attached.
AUXILLARY-FILEShttp://www.graphviz.org/bugs/b1389a.txt [^]
DATE-FIXED
FIX-COMMENT
FORMER-ID1389
INPUT-FILEhttp://www.graphviz.org/bugs/b1389.txt [^]
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.18
Attached Files

- Relationships

-  Notes
User avatar (0000138)
xunavy624 (reporter)
2011-12-15 22:36

you should use gmake´╝înot hp make

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user1
2011-12-15 22:36 xunavy624 Note Added: 0000138


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