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

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

Post by Frank Kaef » Sun, 17 Jan 1993 03:31:44



|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
--

 
 
 

1. Calling xmkmf, calling Dr. xmkmf.

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!

2. Fvwm2-CDE emulation v.1.0 - fvwm-cde.gif [1/1]

3. imake/xmkmf on RedHat (2.1/3.0.3)

4. Secure Tunneling

5. calendar tool mystery (OW3.x, Solaris 2.5)

6. Configuration problems (several)

7. NCSA Mosaic and OW3.3 DPS

8. What NFS version has Red Hat 6.2 (kernel 2.2.14) ?

9. scrunched Mailtool Compose window under OW3.4

10. Adding new fonts.bdf to OW3.3

11. font server in Solaris2.4/OW3.4

12. Imagetool in OW3.3

13. DPS errors / OW3.3 and navigator