looking for xmkmf

looking for xmkmf

Post by H.T. Su » Thu, 03 Sep 1998 04:00:00



Hi,

   I am looking for xmkmf to compile a program in X-windows,
   Could somebody please point me to where I can find it ?

   I am using RedHat 5.1 Linux.

   Many thanks

H.T.

 
 
 

looking for xmkmf

Post by jxfau.. » Fri, 04 Sep 1998 04:00:00



>    I am looking for xmkmf to compile a program in X-windows,
>    Could somebody please point me to where I can find it ?

Load XFree86-devel, the development environment for XFree.

 
 
 

looking for xmkmf

Post by Jon Gunnar R » Fri, 04 Sep 1998 04:00:00



>Hi,

>   I am looking for xmkmf to compile a program in X-windows,
>   Could somebody please point me to where I can find it ?

>   I am using RedHat 5.1 Linux.

>   Many thanks

You need to install the XFree86-devel package.

--

Jon Gunnar Rue
Running RedHat Linux

 
 
 

looking for xmkmf

Post by William H. Ba » Sat, 05 Sep 1998 04:00:00




>>Hi,

>>   I am looking for xmkmf to compile a program in X-windows,
>>   Could somebody please point me to where I can find it ?

>>   I am using RedHat 5.1 Linux.

>>   Many thanks

>You need to install the XFree86-devel package.

>--

>Jon Gunnar Rue
>Running RedHat Linux

why not give him xmkmf here? here it is:

#!/bin/sh

#
# make a Makefile from an Imakefile from inside or outside the sources
#
# $XConsortium: xmkmf.cpp /main/22 1996/09/28 16:17:05 rws $

usage="usage:  $0 [-a] [top_of_sources_pathname [current_directory]]"

configdirspec="-I/usr/X11R6/lib/X11/config"
topdir=
curdir=.
do_all=

case "$1" in
-a)
    do_all="yes"
    shift
    ;;
esac

case $# in
    0) ;;
    1) topdir=$1 ;;
    2) topdir=$1  curdir=$2 ;;
    *) echo "$usage" 1>&2; exit 1 ;;
esac

case "$topdir" in
    -*) echo "$usage" 1>&2; exit 1 ;;
esac

if [ -f Makefile ]; then
    echo mv -f Makefile Makefile.bak
    mv -f Makefile Makefile.bak
fi

if [ "$topdir" = "" ]; then
    args="-DUseInstalled "$configdirspec
else
    args="-I$topdir/config/cf -DTOPDIR=$topdir -DCURDIR=$curdir"
fi

echo imake $args
case "$do_all" in
yes)
    imake $args &&
    echo "make Makefiles" &&
    make Makefiles &&
    echo "make includes" &&
    make includes &&
    echo "make depend" &&
    make depend
    ;;
*)
    imake $args
    ;;
esac

 
 
 

1. Looking for xmkmf

You are sure you did not install it with your X distribution ?
How did you install X ?

Jochen

-----------------------------------------------------------------------
  Jochen K=FCpper


  Institut f=FCr Physikalische Chemie I
  Universit=E4tsstrasse 1, Geb 26.43.02.19       phone ++49-211-8113681
  40225 D=FCsseldorf                             fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------

2. lexmark z51 printer and linux

3. Calling xmkmf, calling Dr. xmkmf.

4. /sbin/macos script

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

6. HELP!!! X keeps crashing on a Gateway2000

7. xmkmf--Where is it?

8. Print Queue PRIORITY under BSD

9. X11R6 Contrib xmkmf problem

10. New User: Video Probs and xmkmf

11. imake/xmkmf - Solaris 2.3

12. What's with xmkmf?

13. Where is xmkmf?