[comp.unix.aix] xrn on RS/6000

wuketich@bernina.ethz.ch (Johann Wuketich) (06/03/91)

Is there any distribution of "xrn" that will compile AND link on my RS/6000.
I got the lates Distribution from shambhala.berkeley.edu (xrn6-15.tar.Z)
but it seems that my libX, libXm, asf. miss some stuff. 

I compiled the Program with (X11) R3 defined/undefined MOTIF defined/undefined
but all ended with compile/link errors. The best result was defining R3 and 
MOTIF, which gave the following result:

0706-317 ERROR: Unresolved or undefined symbols detected ...

.XmListGetSelectedPos
.XmListReplaceItemsPos
.XmListAddItems
.XmListItemPos
.XawTextDisableRedisplay
.XawTextEnableRedisplay
.XtCallActionProc
.XmTextInsert
.XmTextSetCursorPosition


So what version of xrn and AIX (libX, libXm,...) do I need to get it
working ?

	Thanks, H. Wuketich


------------------------------------------------------------------
 Hans Wuketich              Swiss Federal Institute of Technology
 wuketich@bs.id.ethz.ch      "if you can't beat 'em, boot 'em !"
------------------------------------------------------------------

fangchin@leland.Stanford.EDU (Chin Fang) (06/04/91)

In article <1991Jun3.095155.29388@bernina.ethz.ch>, wuketich@bernina.ethz.ch (Johann Wuketich) writes:
|> Is there any distribution of "xrn" that will compile AND link on my RS/6000.
|> I got the lates Distribution from shambhala.berkeley.edu (xrn6-15.tar.Z)
|> but it seems that my libX, libXm, asf. miss some stuff. 
|> 
|> I compiled the Program with (X11) R3 defined/undefined MOTIF defined/undefined
|> but all ended with compile/link errors. The best result was defining R3 and 
|> MOTIF, which gave the following result:
|> 
|> 0706-317 ERROR: Unresolved or undefined symbols detected ...
|> 
|> .XmListGetSelectedPos
|> .XmListReplaceItemsPos
|> .XmListAddItems
|> .XmListItemPos
|> .XawTextDisableRedisplay
|> .XawTextEnableRedisplay
|> .XtCallActionProc
|> .XmTextInsert
|> .XmTextSetCursorPosition
|> 
|> 
|> So what version of xrn and AIX (libX, libXm,...) do I need to get it
|> working ?
|> 
FYI, I got the same version of xrn from the same place (Stanford and Berkeley
are just 40 Mins away :-) and compiled it using X11R4 libs/includes I built 
for our machines.  No problems at all.  Of course, one has to edit out these
BSD type function declaration  like extern char *malloc() etc in src.  As 
a Stanford guy, I am more than happy to eliminate such Berkeley stuff :-)

I have either built (ie, just xmkmf and then make) or ported (src hacking too) 
most well known and some not so well known contributed clients using these R4
libs/includes without too much troubles.  Before IBM provides us a *real* R4
X, I guess this is the way to go for the near future.  Remember you get X11R4
standard clients, color database, and fonts at the same time too.  No server
however :-(

A few examples: kterm, xpostit, xrn, xnlock, xrlogin, xsh, xshowcmap, xtetris,
SeeTeX, xwebster, dclock, hexcalc, xcalendar, xinfo, xcolors, xdiary, xdir, xfig,
xless, tvtwm, acm 2.3 .. and more.  All built using R4 libs/includes. So RISC 6000
is not that bad.

Hope the info helps.

Regards,

Chin Fang
Mechanical Engineering Department
Stanford University
fangchin@leland.stanford.edu

PS.  One open question however is when IBM can provide RISC 6000 users X11R4?

hbergh@nl.oracle.com (06/10/91)

In article <1991Jun3.171142.5316@leland.Stanford.EDU> fangchin@leland.Stanford.EDU (Chin Fang) writes:
|In article <1991Jun3.095155.29388@bernina.ethz.ch>, wuketich@bernina.ethz.ch (Johann Wuketich) writes:
||> Is there any distribution of "xrn" that will compile AND link on my RS/6000.
||> I got the lates Distribution from shambhala.berkeley.edu (xrn6-15.tar.Z)
||> but it seems that my libX, libXm, asf. miss some stuff. 
.... stuff deleted
|FYI, I got the same version of xrn from the same place (Stanford and Berkeley
|are just 40 Mins away :-) and compiled it using X11R4 libs/includes I built 
|for our machines.  No problems at all.  Of course, one has to edit out these
|BSD type function declaration  like extern char *malloc() etc in src.

	I tried the same thing a few days ago, but xrn keeps exiting
	with malloc and calloc errors. 
	It seems to be a problem in the X11R4 libraries. The [cm]alloc 
	was passed incorrect (==0) parameters, no memory shortages here.
	Do I need to apply any patches to X11R4 before this stuff runs
	reliably? And if so, where can I get them? 
	And what about Motif 1.x? Is it publicly available somewhere?
	
>Regards,
>
>Chin Fang
>Mechanical Engineering Department
>Stanford University
>fangchin@leland.stanford.edu
-- 

	Regards,

	Herbert van den Bergh                    hbergh@oracle.com
	Oracle Europe                            or uunet!oracle!hbergh

jigang@geoblue.gcn.uoknor.edu (Jigang Yang) (06/11/91)

In article <1411@nlsun1.oracle.nl>, hbergh@nl.oracle.com writes:
|> In article <1991Jun3.171142.5316@leland.Stanford.EDU> fangchin@leland.Stanford.EDU (Chin Fang) writes:
|> |In article <1991Jun3.095155.29388@bernina.ethz.ch>, wuketich@bernina.ethz.ch (Johann Wuketich) writes:
|> ||> Is there any distribution of "xrn" that will compile AND link on my RS/6000.
|> 	I tried the same thing a few days ago, but xrn keeps exiting
|> 	with malloc and calloc errors. 
|> 	It seems to be a problem in the X11R4 libraries. The [cm]alloc 
|> 	was passed incorrect (==0) parameters, no memory shortages here.
|> 	Do I need to apply any patches to X11R4 before this stuff runs
|> 	reliably? And if so, where can I get them? 
|> 	And what about Motif 1.x? Is it publicly available somewhere?
|> 	
|> 
.........
|> 	Regards,
|> 
|> 	Herbert van den Bergh                    hbergh@oracle.com
|> 	Oracle Europe                            or uunet!oracle!hbergh

    Well, I installed xrn several weeks ago(together with nntp). It runs fine.
-- 
Jigang Yang                       | jigang@geoblue.gcn.uoknor.edu
Geosciences Computing Network     | jigang@gcn.uoknor.edu 
University of Oklahoma            | 
830 Van Vleet Oval,Gould Hall#116 | jigang@uokgcn.bitnet
Norman, Oklahoma 73019            | Telphone: 405-325-5540

eliot@engr.washington.edu (Eliot Lim) (06/12/91)

I got xrn6-15 built without any modifications whatsoever to the code
other than the customary config/custom.h. I also built it with Motif
widgets.  As far as I can remember the only thing that I had to change
was the Makefile to add -lXm to it.


eliot

hbergh@nl.oracle.com (06/18/91)

In article <1991Jun11.163752.22702@uokmax.ecn.uoknor.edu> jigang@geoblue.gcn.uoknor.edu (Jigang Yang) writes:
|In article <1411@nlsun1.oracle.nl>, hbergh@nl.oracle.com writes:
||> In article <1991Jun3.171142.5316@leland.Stanford.EDU> fangchin@leland.Stanford.EDU (Chin Fang) writes:
||> |In article <1991Jun3.095155.29388@bernina.ethz.ch>, wuketich@bernina.ethz.ch (Johann Wuketich) writes:
||> ||> Is there any distribution of "xrn" that will compile AND link on my RS/6000.
||> 	I tried the same thing a few days ago, but xrn keeps exiting
||> 	with malloc and calloc errors. 
||> 	It seems to be a problem in the X11R4 libraries. The [cm]alloc 
||> 	was passed incorrect (==0) parameters, no memory shortages here.
||> 	Do I need to apply any patches to X11R4 before this stuff runs
||> 	reliably? And if so, where can I get them? 
||> 	And what about Motif 1.x? Is it publicly available somewhere?
||> 	
||> 
|.........
||> 	Regards,
||> 
||> 	Herbert van den Bergh                    hbergh@oracle.com
||> 	Oracle Europe                            or uunet!oracle!hbergh
|
|    Well, I installed xrn several weeks ago(together with nntp). It runs fine.

	Ok, it runs fine most of the time now, but I had to get rid of
	all the "#override"'s in the accelerators and translations in
	the XRn.ad file shipped with 6.15. This file can be added to
	your .Xdefaults file. Since they're there, there must be some 
	X11R4 implementation somewhere in the world where these things
	worked. The one it's developed on, perhaps? So what am I
	missing in the standard MIT distribution with MIT fix 1-18
	applied?
	I really would like to know, because posting news still causes
	this malloc error to show up. I have to use rn for that...
-- 

	Regards,

	Herbert van den Bergh                    hbergh@oracle.com
	Oracle Europe                            or uunet!oracle!hbergh