Re: Kinemage and Unix

Phil Cunningham (udaa420@box.cc.kcl.ac.uk)
Fri, 16 Feb 1996 16:20:00 +0000 (GMT)

Phil Cunningham (again!)
Kinemage SG irix 5.3 problems :-(
(rasmol fine thanks JohnW and others :-) )

On Thu, 15 Feb 1996, John Walshaw wrote:

>
>
> On Thu, 15 Feb 1996, Peter Slickers wrote:
>
> > Currently there are Unix versions of kinemage. I am running
> > Mage on a SGI indy under IRIX 5.3 . And also starting
> > this Mage from Netscape works fine. I have compiled my Mage
> > from the sources which are available from since the
> > compiled version ( from
> > http://www.cryst.bbk.ac.uk/PPS2/technology/kinemage.html) is very
> > old and do not run under IRIX 5.3 .
>
> The complied version pointed to from above URL is MAGE 4.2, dated
> 18-6-95, which *does* run under IRIX 5.3
>

KINEMAGE for SG irix 5.3

the bbk ftp site iona /dist/pps96 has mage_4_2.gz
i 'got' it gunzipped and chmod u+x 'ed it and 'ran it' ===> core dump :-(

QUESTION Is this the same source? refered to above?

Then I ftp'ed (binary) the mage.tar from iona.cryst.bbk.ac.uk/PPS2/technology/kin
note ftp NOT http//www (?) netscape just copied gibbersih onto my
screen!
untar'ed it and ran make I get the following files and 'errors'
like:-wwwdotbbkdotPPS2/tech/kin (or similar!) Can't open: /usr/lib/libc.a (No
such file or directory)

QUESTION DO I NEED other files in the SRC directory refered to in the readme
file but not in the tar file?

I'm investigating the suna.biochem.duke.edu/pub/UNIXprograms/ via auto ftp
but wont get any joy before next wednesday!

Can any one point me towards a 'fix' some diagnostics below!

Thanks Phil Cunningham

FILES -:
MAGE.H MAGE.HDR MAGEANGL.c MAGEANGL.o MAGEBBOX.c MAGEBBOX.o MAGECOLR.c
MAGECOLR.o MAGEDRAW.c MAGEDRAW.o MAGEFILE.c MAGEFILE.o MAGEGRUP.c
MAGEGRUP.o MAGEINIT.c MAGEINIT.o MAGEINPT.c MAGEINPT.o MAGEMENU.H
MAGEOUT.c MAGESGRP.c MAGESGRP.o MAGEUTIL.c MAGEUTIL.o MAGEVECT.c
MAGEVECT.o MAGEVSUB.c MAGEVSUB.o MUXMBAR.c MUXMBAR.o MUXMBBOX.c MUXMBBOX.o
MUXMDRAW.c MUXMDRAW.o MUXMINIT.c MUXMINIT.o MUXMWIND.c MUXMWIND.o MUXPHIG.c
MUX_COLR.c MUX_COLR.o MUX_DLOG.c MUX_DLOG.o MUX_EXTR.c MUX_EXTR.o MUX_FILE.c
MUX_FILE.o MUX_MAIN.c MUX_MAIN.o MUX_MENU.c MUX_MENU.o
Makefile
README see below
README about UNIXprograms 95-01-25
MAGE expects X11 and MOTIF to be present and reasonably up-to-date.
Except for the ESV PEX version, this MAGE is the "Generic" version
that does its own drawing using X11 calls, does not use any graphics
accelerators, and has a performance on UNIX machines more-or-less like
that on a Mac. Most of the "reader" functions are working, but many of
the "author" tools are not hooked up yet. Most, if not all, kinemages
ever made should give something reasonable to look at.
Compiled executable for several platforms. To transfer, set ftp to
"binary" mode before "get" step. Set permissions on your copy to make
it executable: e.g. chmod 755 MAGE.
SRC contains the working source and the various Makefiles that I used
to compile it on various machines.

I would like to know: 1) if any of the precompiled executables work
for you, or 2) if you have any success in compiling from the source.
If neither works, perhaps we can work together to figure out how
to compile MAGE on your system!?

-Dave Richardson-
..
end of README file

the make produced :-
including at the end :-
Can't open: /usr/lib/libc.a (No such file or directory)
QUSTION DO I NEED other files in the SRC directory refered to in the readme file?

Many thanks

Phil Cunningham

Script started on Fri Feb 16 11:39:25 1996
1 box% umask 022
2 box% make mage
cc -I/usr/include/X11 -c MAGEANGL.c
cc -I/usr/include/X11 -c MAGECOLR.c
cc -I/usr/include/X11 -c MAGEDRAW.c
cc -I/usr/include/X11 -c MAGEFILE.c
cc -I/usr/include/X11 -c MAGEGRUP.c
cc -I/usr/include/X11 -c MAGEINIT.c
cc -I/usr/include/X11 -c MAGEINPT.c
cc -I/usr/include/X11 -c MAGESGRP.c
cc -I/usr/include/X11 -c MAGEVECT.c
cc -I/usr/include/X11 -c MAGEVSUB.c
cc -I/usr/include/X11 -c MUXMBBOX.c
cc -I/usr/include/X11 -c MUXMDRAW.c
cc -I/usr/include/X11 -c MUXMINIT.c
cfe: Warning 709: MUXMINIT.c, line 266: Incompatible pointer type assignment
XtAddCallback(openItem, ((char*)&_XmStrings[4683]) , open_CB, 0 );
-------------------------------------------------------^
cfe: Warning 709: MUXMINIT.c, line 270: Incompatible pointer type assignment
XtAddCallback(aboutItem, ((char*)&_XmStrings[4683]) , alert_CB, 0 );
-----------------
150 ditto removed!
cfe: Warning 709: MUXMINIT.c, line 650: Incompatible pointer type assignment
XtAddCallback(drawArea, ((char*)&_XmStrings[7330]) , pick_CB, 0 );
-------------------------------------------------------^
cfe: Warning 709: MUXMINIT.c, line 651: Incompatible pointer type assignment
XtAddCallback(drawArea, ((char*)&_XmStrings[9024]) , resize_CB, 0 );
-------------------------------------------------------^
cc -I/usr/include/X11 -c MUXMWIND.c
cc -I/usr/include/X11 -c MUX_COLR.c
cc -I/usr/include/X11 -c MUX_EXTR.c
cc -I/usr/include/X11 -c MUX_FILE.c
cc -I/usr/include/X11 -c MUX_MAIN.c
cc -I/usr/include/X11 -c MUX_MENU.c
cfe: Warning 709: MUX_MENU.c, line 142: Incompatible pointer type assignment
XtAddCallback(dialog, ((char*)&_XmStrings[8526]) , fileok_CB, 0 );
---------------------------------------------------------------^
cfe: Warning 709: MUX_MENU.c, line 143: Incompatible pointer type assignment
XtAddCallback(dialog, ((char*)&_XmStrings[5285]) , filecancel_CB, 0 );
---------------------------------------------------------------^
cfe: Warning 709: MUX_MENU.c, line 660: Incompatible pointer type assignment
XtAddCallback(kinenum, ((char*)&_XmStrings[10557]) , kinenumber_CB, 0 );
--------------------------------------------------------^
cfe: Warning 709: MUX_MENU.c, line 683: Incompatible pointer type assignment
XtAddCallback(kinebutok, ((char*)&_XmStrings[4683]) , kineOK_CB, 0 );
---------------------------------------------------------^
cfe: Warning 709: MUX_MENU.c, line 691: Incompatible pointer type assignment
XtAddCallback(kinebutnext, ((char*)&_XmStrings[4683]) , kinenext_CB, 0 );
-----------------------------------------------------------^
cfe: Warning 709: MUX_MENU.c, line 699: Incompatible pointer type assignment
XtAddCallback(kinebutcan, ((char*)&_XmStrings[4683]) , kinecancel_CB, 0 );
----------------------------------------------------------^
cfe: Warning 712: MUX_MENU.c, line 726: illegal combination of pointer and integer
XRaiseWindow(XtDisplay(topgraf),topgraf);
------------------------------------^
cc -I/usr/include/X11 -c MAGEBBOX.c
cc -I/usr/include/X11 -c MAGEUTIL.c
cc -I/usr/include/X11 -c MUXMBAR.c
cfe: Warning 709: MUXMBAR.c, line 197: Incompatible pointer type assignment
XtAddCallback(vgrafzoom,((char*)&_XmStrings[10557]) ,zoom_CB,0 );
-------------------------------------------------------------^
cfe: Warning 709: MUXMBAR.c, line 283: Incompatible pointer type assignment
XtAddCallback(vgrafzclip,((char*)&_XmStrings[10557]) ,zclip_CB,0 );
--------------------------------------------------------------^
cfe: Warning 709: MUXMBAR.c, line 366: Incompatible pointer type assignment
XtAddCallback(vgrafztran,((char*)&_XmStrings[10557]) ,ztran_CB,0 );
--------------------------------------------------------------^
cfe: Warning 709: MUXMBAR.c, line 883: Incompatible pointer type assignment
XtAddCallback(hgrafbondrot[i],((char*)&_XmStrings[10557]) ,bondrot_CB,i);
-------------------------------------------------------------------^
cfe: Warning 712: MUXMBAR.c, line 883: illegal combination of pointer and integer
XtAddCallback(hgrafbondrot[i],((char*)&_XmStrings[10557]) ,bondrot_CB,i);
------------------------------------------------------------------------------^
cc -I/usr/include/X11 -c MUX_DLOG.c
cfe: Warning 709: MUX_DLOG.c, line 103: Incompatible pointer type assignment
XtAddCallback(reportbutOK, ((char*)&_XmStrings[4683]) , reportOK_CB, 0 );
-----------------------------------------------------------^
cfe: Warning 709: MUX_DLOG.c, line 109: Incompatible pointer type assignment
XtAddCallback(reportbutabort, ((char*)&_XmStrings[4683]) , quit_CB, 0 );
--------------------------------------------------------------^
cc -o mage MAGEANGL.o MAGECOLR.o MAGEDRAW.o MAGEFILE.o MAGEGRUP.o MAGEINIT.o MAGEINPT.o MAGESGRP.o MAGEVECT.o MAGEVSUB.o MUXMBBOX.o MUXMDRAW.o MUXMINIT.o MUXMWIND.o MUX_COLR.o MUX_EXTR.o MUX_FILE.o MUX_MAIN.o MUX_MENU.o MAGEBBOX.o MAGEUTIL.o MUXMBAR.o MU

X_DLOG.o -lXm -lXt -lX11 -lPW -lm -lc /usr/lib/libc.a
ld:
Can't open: /usr/lib/libc.a (No such file or directory) <=============================== mega death!!
*** Error code 1 (bu21)
3 box% l exit
4 box%
script done on Fri Feb 16 11:40:57 1996