Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!uunet!mcsun!sunic!corax.udac.uu.se!astro.uu.se!goran From: goran@astro.uu.se (Goran Hammarback) Newsgroups: comp.unix.bsd Subject: Re: Compiling X11 programs? Date: 21 Sep 1992 15:07:36 GMT Organization: Uppsala University Lines: 33 Sender: goran@solaris.astro.uu.se (Goran Hammarback) Distribution: world Message-ID: <19kofoINNd2l@corax.udac.uu.se> References: <oVZaRB2w165w@student.business.uwo.ca> NNTP-Posting-Host: solaris.astro.uu.se In article <oVZaRB2w165w@student.business.uwo.ca>, mark@student.business.uwo.ca (Mark Bramwell CS Staff) writes: |> Simple question: |> |> I have downloaded some simple X11 programs, but I do not know how to |> compile them. Do I use make, imake, xmkmf, or all of them, or none of |> them. |> |> I have downloaded the OpenLook binary and it looks good. I want to try |> to compile Ftptool, but make fails on some libraries (a quick check shows |> that I have the libraries). |> |> mark@student.business.uwo.ca (Mark Bramwell CS Staff) |> Western Business School -- London, Ontario If there is an Imakefile included in the source, try using xmkmf -a (-a does "make makefiles" automagically). This should produce a correct makefile for your system. Then just do "make" (a warning though, when I did this for xv-2.21 the makefile produced was not quite correct, empty lines had been inserted in illegal places, but when I removed them the make worked fine. I think the problem was with imake (xmkmf runs imake) since this error was not produced on a SUN). -- Good luck, Goran ------------------------------+--------------------------------- Goran Hammarback | goran@astro.uu.se Astronomiska Observatoriet | Uppsala Universitet | S-751 20 SWEDEN | ------------------------------+---------------------------------