How to make xfig under ISC 2.0.2 or 2.2?
Chin Fang
fangchin at elaine54.Stanford.EDU
Mon May 13 13:01:21 AEST 1991
In article <8435 at uceng.UC.EDU> dmocsny at minerva.che.uc.edu (Daniel Mocsny) writes:
>Hello.
>
>[he wants to build xfig]
>I'm under the impression that I have to do something with imake.
Not necessary unless you are building a BIG X pkg like entire X11R4.
Typically if you just want to build a client, using the Makefile that
comes with the pkg is very convenient. Just hack it in the obvious
ways. Provided that you know where your includes/libs are.
Makefiles generated by imake are usually very long and contain
much info that you don't really need. Ignore these and use the
one you really care. Heck them to fit your system's arrangement.
Don't worry about the warning in the Makefile as to "don't edit
below this line" etc. Heck it mercelessly! Do whatever necessary
to get it built.
>First of all, I have never seen any documentation on this, but
Yes. You should have it as imake.n, a man page that comes with
X11R4 distribution.
>I gather that it's a program that "automatically" generates
>makefiles. The automatically-generated Makefile that comes with
You can say so. The best way is to read imake tutorial in the doc/
directory in the MIT X11R4 distribution tape # 1. That's how I got
started. It may take a while and some practice to learn it.
>xfig looks like it's for make'ing under SunOS. I found imake in
>/usr/bin/X11 where it's supposed to be, but before I go wrecking
>the system here I thought I would ask if anyone else has any
>advice for installing xfig under ISC UNIX.
Like I said above, just heck the Makefile. Go thru it and then
the only thing you need to do is to type make. Change the -DSUN
and friends to whatever is right for your system.
>The docs that came with xfig are *very* terse. No advice at all
>on how to build it. I guess this imake program must be so wonderful
>that nobody needs to document anything anymore :-)
Generally that's the case for user contributed clients. But once
you have gone thru a few. You can do it very quickly. Don't be discouraged.
>Thanks for the help, and sorry about another stupid question... :-|
Not at all. We all have stupid questions. Who dares to claim that s/he
knows everything?
Try to get to your school's on line X11R4 src tree. Get in mit/, then
contrib/ then clients, and then xfig. Study other clients with more
clear install instructions. Then do a few times trial and error.
I think this is the only way you can learn how to heck. Hope you can
get it up and running soon.
Personlly I think idraw from Stanford's Interviews toolkit will beat
every x draw program however. But Interviews is such a hog!
Regards,
Chin Fang
Mechanical Engineering Department
Stanford University
fangchin at leland.stanford.edu
More information about the Comp.unix.sysv386
mailing list