[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XGraph12.0 installation problem



On Sat, 11 Apr 1998 18:03:59 BST, "Mr. Kashinath Basu" wrote: 
>Hey, 
>I tried to install the original source distn of XGraph12.0 in Sun-Sparc
>running SunOS 5.5
>But none of the 2 options mentioned in the Installation readme file works.
>
>If I give the X11 source dir, it shows the foll output:
>dsrg% make TOP=/usr/lib/X11
>cc    -I/usr/include         -c xgraph.c 
>"./xgraph.h", line 150: identifier redeclared: sprintf
>        current : function() returning pointer to char
>        previous: function() returning int : "/usr/include/stdio.h", line 277
>"xgraph.c", line 645: warning: using out of scope declaration: NewWindow
>make: *** [xgraph.o] Error 2
>
>
>If I use the other option using Makefile.std, it cannot find the file:
>dsrg% make -f Makefile.std
>make: Makefile.std: No such file or directory
>make: *** No rule to make target `Makefile.std'.  Stop.
>

Did you try the Posix-friendly xgraph patch on the ns-build web page?
I would guess that that would fix this problem.
If it doesn't, adjusting the ifdefs along the lines of  patch should
clear things up.

   -John Heidemann