Calling xmkmf, calling Dr. xmkmf.

Calling xmkmf, calling Dr. xmkmf.

Post by -~=Darek M=~ » Fri, 05 May 2000 04:00:00



Hi, I am going crazy trying to find xmkmf. Maybe I am looking in
the wrong places. Tried a web search, linuxberg, tucows,
google.com. None of them gave me a link to download it. I just
want to install xpmlib and xfree86.

Why the use of Imake files instead of the traditional make files
with the ./configure | make | make install commands?

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

 
 
 

Calling xmkmf, calling Dr. xmkmf.

Post by David . » Sat, 06 May 2000 04:00:00



> Hi, I am going crazy trying to find xmkmf. Maybe I am looking in
> the wrong places. Tried a web search, linuxberg, tucows,
> google.com. None of them gave me a link to download it. I just
> want to install xpmlib and xfree86.

> Why the use of Imake files instead of the traditional make files
> with the ./configure | make | make install commands?

> * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
> The fastest and easiest way to search and participate in Usenet - Free!

Check to see if it is installed and by which package.

        rpm -qf /usr/X11R6/bin/xmkmf

Or to see if it is installed and where it is try:

        whereis xmkmf

--
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

 
 
 

Calling xmkmf, calling Dr. xmkmf.

Post by Duan » Sat, 06 May 2000 04:00:00




Quote:> Hi, I am going crazy trying to find xmkmf. Maybe I am looking in
> the wrong places. Tried a web search, linuxberg, tucows,
> google.com. None of them gave me a link to download it. I just
> want to install xpmlib and xfree86.

> Why the use of Imake files instead of the traditional make files
> with the ./configure | make | make install commands?

Imake is the "traditional" way of of compiling X programs. I was using
it years before I ever saw configure.

Configure contains the info about every variation on every platform that
it can be compiled on in the ./configure file itself. It the file does
not contain the info for your platform, then you may be SOL. Admittedly,
it is well supported and seems to handle the vast majority of cases very
well.

Imake keeps the platform dependent information on the platform, so that
theoretically any new platform could compile any program that had
properly configured Imakefiles. This also allows easy platform dependent
customization if, for example, you wanted nonstandard locations for
binaries, docs, etc.

Unfortunately, many vendors shipped their computers with broken Imake
implementations, leading to widespread dissatisfaction with it. Hence
its eventual replacement with ./configure.

--

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Calling xmkmf, calling Dr. xmkmf.

Post by David . » Sat, 06 May 2000 04:00:00




> > Hi, I am going crazy trying to find xmkmf. Maybe I am looking in
> > the wrong places. Tried a web search, linuxberg, tucows,
> > google.com. None of them gave me a link to download it. I just
> > want to install xpmlib and xfree86.

> > Why the use of Imake files instead of the traditional make files
> > with the ./configure | make | make install commands?

> > * Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
> > The fastest and easiest way to search and participate in Usenet - Free!

> Check to see if it is installed and by which package.

>         rpm -qf /usr/X11R6/bin/xmkmf

> Or to see if it is installed and where it is try:

>         whereis xmkmf

> --
> Registered with the Linux Counter.  http://counter.li.org
> ID # 123538

It is included in the XFree86-devel-.rpm

--
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

 
 
 

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

|I just did a few xmkmf's using Solaris 2.1 and the OW that
|comes with it (I think it's 3.0.1 or 3.1 -- don't remember).
|The resulting Makefiles generate stuff that would work fine
|on SunOS 4.1.x, but often fail on Solaris 2.1. It looks like
|the Imake templates were not changed since the 4.1.x version
|of OW...
|Anybody have OW imake templates that setup correct Makefiles
|when used with xmkmf on Solaris 2.1?

Hmm, strange, I used xmkmf a dozen times now and it allways produced correct
output. It is true that there was a very small bug in the OW 3.0 (Solaris 1.X)
sun.cf in openwin/lib/config, but this can be corrected by the patch at the
end of this posting (this works really nice for me, but your mileage may vary).

Cheers,
Frank

--- Patch for $OPENWINHOME/lib/config/sun.cf ---
*** sun.cf.org  Wed Sep 18 10:26:19 1991
--- sun.cf      Thu Oct 29 21:48:54 1992
***************
*** 5,14 ****
   * full build (make World) at the top of the sources....
   */
  #define SunOSPlatform     YES         /* set to NO if not running SunOS */
! #define OSName            SunOS 4.0.3
  #define OSMajorVersion    4
! #define OSMinorVersion    0
! #define HasSaberC       YES           /* for machines that have it */
  #define HasNdbm                 YES
  #define XsunServer Xsun

--- 5,14 ----
   * full build (make World) at the top of the sources....
   */
  #define SunOSPlatform     YES         /* set to NO if not running SunOS */
! #define OSName            SunOS 4.1.3
  #define OSMajorVersion    4
! #define OSMinorVersion    1
! /* #define HasSaberC    YES           /* for machines that have it */
  #define HasNdbm                 YES
  #define XsunServer Xsun

***************
*** 77,79 ****
--- 77,89 ----
  #if OSMajorVersion >= 4 && OSMinorVersion >= 0
  #define SetTtyGroup YES
  #endif
+
+ /* special defines to make things easier - fkk */
+ #ifdef IncRoot
+ #undef IncRoot
+ #endif
+ #define IncRoot $(DESTDIR)$(OPENWINHOME)/include
+ #ifdef ExtraLibraries
+ #undef ExtraLibraries
+ #endif
+ #define ExtraLibraries -L$(OPENWINHOME)/lib
--

2. UDP echo request, what's that?

3. How I could add a new system call to linux or modify a system calls

4. Gnome Terminal and VT Function Keys

5. Save Over $1 On EVERY Calling Card Call You Make

6. New Web Site Directory

7. Calling semop() after signal interrupts blocking semop() call

8. Leiterplattenentwurf mit Linux ?

9. system call to get calling processes tty?

10. Calling a Loadable System Call

11. host name and call-by-call

12. How to use open system call in a new system call

13. Need utility to trap network function calls (socket calls) and save to log file