xmkmf & Motif?

xmkmf & Motif?

Post by Janusz Kawcza » Tue, 20 May 1997 04:00:00



Hello,
it seems to me that the Motif configuration with respect to the imake
has been
broken. As an example, when Imakefile includes the commands like:
        DEPLIBS = XmClientDepLibs
LOCAL_LIBRARIES = XmClientLibs
MComplexProgramTarget(prog, $(DEPLIBS), $(LOCAL_LIBRARIES))
InstallAppDefaults(Xprog)

after running xmkmf nothing gets substituted into Makefile in place of
'XmClientDepLibs', etc....

I've checked the 'site.def' file in /usr/X11R6/lib/X11/config  and it
does include
#ifndef BUILD_MOTIF
#define BUILD_MOTIF 1
#endif
just after the line containing the following check:
#ifdef BeforeVendorCF.

I don't know what else should I change. Please help.
Janusz

P.S. I am using SWiM 2.0.1 Motif with XFree 3.2 with 2.0.30 kernel. Most
of
the configuration is a standard one.


 
 
 

xmkmf & Motif?

Post by James Mcphers » Wed, 21 May 1997 04:00:00



: Hello,
: it seems to me that the Motif configuration with respect to the imake
: has been
: broken. As an example, when Imakefile includes the commands like:
:         DEPLIBS = XmClientDepLibs
: LOCAL_LIBRARIES = XmClientLibs
: MComplexProgramTarget(prog, $(DEPLIBS), $(LOCAL_LIBRARIES))
: InstallAppDefaults(Xprog)
: after running xmkmf nothing gets substituted into Makefile in place of
: 'XmClientDepLibs', etc....
: I've checked the 'site.def' file in /usr/X11R6/lib/X11/config  and it
: does include
: #ifndef BUILD_MOTIF
: #define BUILD_MOTIF 1
: #endif
: just after the line containing the following check:
: #ifdef BeforeVendorCF.
:
: I don't know what else should I change. Please help.
: Janusz
:

Janusz, you should be using "mxmkmf" (Motif xmkmf) instead of plain xmkmf.
(I'm using MooTiff-2, but I've had the same thing occur on sunos and hpux).

hth,
jcm

--
Historian/InterLibraryLoans/ITLO




 
 
 

1. xmkmf for Motif clients under Solaris 2.4

Ok, so I've installed Motif 1.2.3 from the Solaris 2.4 SDK, and guess
what?  It doesn't come with the config files for Motif and imake (I mean
the Motif.tmpl and Motif.rules), which means one can't use 'xmkmf' and
compile Motif clients cleanly.

I'm sure others have encountered this problem before - how do you solve
this?  The solution in the Motif FAQ (subject 242) works only if the
Motif rules/templates are available.

Is Sun listening?

--

WEB URL: http://www.csee.usf.edu/~gohel/
Digital Medical Imaging Program (DMIP)
University of South Florida, Tampa, FL.  USA

2. Resolving Virtual IP address

3. motif 2.0 - xmkmf - missing separator

4. xlc AIX4.2.1/GNU g++ (egcs-1.1.2)

5. Calling xmkmf, calling Dr. xmkmf.

6. scsi zip

7. OW3.1 xmkmf is ok - Re: Solaris 2.1 OW3.x xmkmf -- WRONG!

8. Sony DVD

9. Motif & DDD & Nedit & characters not in font

10. xmkmf & gnu make Where?

11. RH 5.2, xmkmf & knews

12. Stop KDE Autostart & xmkmf Question

13. xmkmf & Imake.tmpl