Re: xmkmf and make
Re: xmkmf and make
- Subject: Re: xmkmf and make
- From: "Philip J. Schneider" <email@hidden>
- Date: Thu, 3 Feb 2011 10:22:35 -0800
Title: Re: xmkmf and make
Hi -
Jeremy's comments regarding xmkmf and imake are quite correct,
and the best thing to do would be to update your build system...
Probably he and others would not approve of this advice (and with
good reason!), but if you're really in a pinch, you can obtain
xmkmf and imake from fink. I believe xmkmf used to also be available
from DarwinPorts, but no longer.
I've just verified that I can create a proper Makefile for an
antique X program (a modified version of xclock, originally from the
X10 days!), using xmkmf from fink. The only issue really is the config
path: by default, fink installs in "/sw", so you want to do
this:
imake -DUseInstalled -I/sw/lib/X11/config
You'll very likely have to modify your Imakefiles...typically
you'd need to replace things like "/usr/X11R6/lib/libXt.a"
with "/usr/X11R6/lib/libXt.dylib"
My most humble apologies to Jeremy for furthering the use of
antique build schemes...I promise not to do it again :-)
-- Philip
At 5:55 PM -0700 2/2/11, Wayne Holland wrote:
In the past one was able to use xmkmf -a
on an Imakefile and get a program produced from provided source files
and of course the Imakefile on X based systems such as IBM, DEC, or
Solaris. Lately, I've found that under Tiger, Leopard, Linux,
and Solaris 10, that this no longer works. The error message
under Tiger, Leopard, Linux and Solaris is that the make program stops
(Makefile) on MSimpleProgramTarget(program) as unexpected of file.
Stop.
All of these oses have the necessary template and def files
installed. I've seen references to use gmake and not use make.
Unfortunately, Linux and OS X use it and is version 3.81.
Am I missing something, or is the system not set up correctly to do
this?
Or is it that the UNIX community overall ignoring xmkmf and imake as a
building tool?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:
>k.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden