Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000409graphvizBuild/Installpublic2004-06-10 08:082011-04-28 04:02
ReporterPrasad Narasimha 
Assigned Toellson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSSparc-Solaris-8OS Version
Summary0000409: Compilation problem on Sun UltraSparc Solaris8
Description



After rununning the ./configure successfully, running make
fails half way with with error message as shown below:
<CD>
make all-recursive
Making all in cdt
Making all in agraph
/usr/bin/sed "s/yy/aag/g" < y.tab.c > grammar.c
bash: y.tab.c: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `grammar.c'
Current working directory /usr/local/graphviz/graphviz-1.12/agraph
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/graphviz/graphviz-1.12
*** Error code 1
make: Fatal error: Command failed for target `all'
</CD>
Additional Information

[ellson]
What are the names of the files generated by yacc on your system?

Can you try installing GNU Bison ?

[prasad]
I installed GNU bison and autoconf. Ran the commands "make distclean" and
again restarted with ./configure and make commands. Same results as shown
below. You asked " What are the names of the files generated by yacc on your
system?" . I am not sure how to recognize such files. If you guide me how to
capture the info you wanted, I can follow those instructions to provide you
necessary info. The output of make command is below attached.
<CD>
----------------------------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../cdt -I/usr/local/include -g -O2
-Wall -Wno-unknown-pragmas -c flatten.c -MT flatten.lo -MD -MP -MF
.deps/flatten.TPlo -fPIC -DPIC -o flatten.lo
bison -y -dv ../agraph/grammar.y
M4sugar requires GNU M4. Install it before installing M4sugar or
set the M4 environment variable to its path name.*** Signal 13
make: Fatal error: Command failed for target `y.output'
Current working directory /usr/local/graphviz/graphviz-1.12/agraph
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/graphviz/graphviz-1.12
*** Error code 1
make: Fatal error: Command failed for target `all'
---------------------------------------------------------------
</CD>

[ellson]
It looks like you also need to install GNU m4.

Perhaps before you do that, could you try re-unpacking the tar.gz and doing just:
<CD>
   ./configure
   make
</CD>

The yacc products are (or at least, should be, according to GNU guidelines) included in the
distribution, so yacc shouldn't even be necessary, unless you do a make distclean.

[prasad]
I already had installed GNU M4 after seeing the output of make. Anyway I did
not mention it in my previous email.

I removed the entire directory and freshly uninstalled the graphiz tar ball.
But no luck. Again the same error and fails at the same place giving the
very same output.

[ellson]

So what error do you see now with bison and m4 installed after make distclean?

You may also need to install: automake and libtool.

I notice that on our SunOS5.8 box (is that teh same as Solaris 8?) that I use for nightly
test build of graphviz, that I have GNU sed installed as well. Sorry, but I don't remember
the exact reason, but I wouldn't have installed it unless I had needed it for this build.

This maybe a problem with my packaging since it isn't supposed to be needed. I'll take a look.

Meanwhile, if you have enough of the toolchain installed, you should be able to do a full make
after a make distclean on Solaris.

[ellson]
I think I've fixed this packaging problem. It will be in tomorrow's snapshot
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID469
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (11 June 2004)
VERSION     1.12
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