🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #19240

Using Imake on Solaris (was Re: xrn and knews)

#19240
From: Jonathan Kamens
Date: Thu, 15 Feb 1996 00:00
38 lines
2395 bytes
(Cross-posted to comp.unix.solaris and comp.windows.x.apps, and followups
directed to those groups, because this has nothing to do with News readers in
particular.)

In article <4fqp6t$bst@news.fsu.edu>, cliff@ealpha1.eng.fsu.edu (Cliff Browning) writes:
|> Has anyone been able to get xrn or knews to compile under 
|> Solaris 2.4?
|> 
|> Imake seems to be broken and it can't get up.

It would have been nice if you had been a bit more specific about the problem
you were having.

In any case, I was able to compile XRN on Solaris 2.3 (and I doubt 2.4 is much
different) by doing the following:

1. Put /usr/openwin/bin first in my search path (to avoid getting different
versions of imake installed in /usr/local/bin, etc.).

2. Set the OPENWINHOME environment variable to /usr/openwin.

3. Run "imake -I/usr/openwin/lib/config -DHasGcc=YES".  Note that, minus the
"-DHasGcc=YES", this is the same command that "xmkmf" will run.

4. Run "make CC=gcc CDEBUGFLAGS=-DCONFIG_H_IS_OK".

Now, I shouldn't have had to specify "CC=gcc", since "-DHasGcc=YES" should
have taken care of that, but what the heck.  You may not have to specify the
"-DHasGcc=YES" or "CC=gcc" if you've got Sun's compiler installed as cc.

If you are still having trouble even with these directions, then you'll have
to be more specific about what the trouble is, or we can't help you.

Note that these same steps (excluding the "CDEBUGFLAGS=-DCONFIG_H_IS_OK",
which is XRN-specific) should apply to compiling on Solaris any X application
with an Imakefile.

Technical Details
Message-ID: <4fv7v4$bb4@jik.datasrv.co.il>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.windows.x.apps.mbox.zip!not-for-mail
References: <4fqp6t$bst@news.fsu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <4fv7v4$bb4@jik.datasrv.co.il>
Subject: Using Imake on Solaris (was Re: xrn and knews)
Date: Thu, 15 Feb 1996 00:00:00 +0000
From: jik@annex-1-slip-jik.cam.ov.com (Jonathan Kamens)
References: <4fqp6t$bst@news.fsu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.windows.x.apps.mbox.zip!not-for-mail
X-Deja-AN: 139492862
Distribution: world
Sender: jik@jik.datasrv.co.il (Jonathan Kamens)
To: cliff@ealpha1.eng.fsu.edu (Cliff Browning)
Cc: jik
Followup-to: comp.unix.solaris,comp.windows.x.apps
Organization: jik's Linux box
Newsgroups: news.software.readers,comp.unix.solaris,comp.windows.x.apps