Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

x3270 package/downloadable for Solaris 8 1

Status
Not open for further replies.

serafino

Technical User
Oct 19, 2004
26
US
I'm looking for an x3270 for Solaris 8. Anyone know where I might get one? Found some possibles but they have all petered out thus far (either couldn't connect or not available from a site).
 
ftp://sunsite.cnlab-switch.ch/mirror/solaris-freeware/SOURCES/

Docs say this version (x3270 3.1.1.6) will work on Solaris 8
 
I'm back from vacation and have downloaded x3270 from the FTP site referenced by 'bfitzmai' (Thank you bfitzmai). I've unzipped and untarred the package and am looking at the 'Build' document. Build references 'X11R5', 'X11R6', 'X11R4' etc. Not at all sure what these names reference. Can someone give me some background and some information regarding aforementioned packages or whatever they are?
 
How do you determine which level of xwindows drivers and libraries one has?
 
We began using X11R6 with Solais 2.6. We are now running Solaris 9 and still using the X11R6 libraries.
 
What is '-DUseInstalled'. My 'imake' failed with:

imake -DUseInstalled -I/usr/openwin/lib/X11/config
imake: No such file or directory: No description file. Stop
 
I tried using the 'Vanilla X11R4' install instructions and got further as follows:

# mv /usr/local/x3270-3.1.1/Imakefile.R4 Imakefile
# xmkmf
imake –DUseInstalled –I/usr/openwin/lib/X11/config
# make depend
makedepen -- -I/usr/openwin/include -Dsun -Dsparc -DSVR4 -DSYSV -DLIBX3270DIR=\"/usr/openwin/lib/X11/x3270\"

(the above followed by a list of files that could not be opened)

In addition I performed the following 'find' and got bupkis.

# find / -name x3270

Which is confounding as I thought that was the intent of what I've done thus far.

 
I found a command that tells me that I have X11R6. The only thing I can guess at this point is that perhaps 'xmkmf' and 'imake' are not configured. I have the Xaw & Xmu libraries, but I'm not sure whether I have 'header' files installed. Any suggestions would be greatly appreicated.
 
Header files should be in X11R6/include/X11. I don't recall having to run make for any reason. It has been a while since I installed X11R6.3.

 
Let me try and understand all this. I'm attempting to install x3270 which in turn has a dependency on x-windows. I already had X11R6 on my system which ostensibly came with the Solaris-8 install media (because I did nothing explicit). After unzipping and untarring x3270 to printed a copy the the 'Build' document residing in the 'Docs' directory. There were directions for a vanilla X11R5 & X11R6 install and an X11R4 install. The instructions for X11R5 & X11R6 have the following dependencies; 1) a 'complete X11R5 & X11R6 implementation', and 2) a 'complete R5 or R6 implementation means that xmkmf and imake are configured and installed on your system, and that the Xaw and Xmu libraries and header files are installed'. The install instructions fo on to say: 'If you are running vanilla X11R5 or X11R6, then the build procedure is:

# xmkmf
# make depend
# make
# ./dryrun
# make install
# xset fp rehash

I have the libraries and such but it appears something further is required. Can someone help?
 
Found part of my problem. I started fresh cleaned up everything but the tar file and untarred it again and got further.

The 'xmkmf' execution worked and the 'make depend' worked as well, but the make' failed with the following:

cc -O -Xc -xF -xcg92 -I/usr/openwin/include -Dsun -Ssparc =DSVR4 -DLIBX3270DIR=\"/usr/openwin/lib/X11/x3270\" -c Cme.c
/usr/ucb/cc: language optional software package not installed
*** Error code 1
make: Fatal error: Command failed for target 'Cme.o'

Anybody encounter this and know what I need to do?
 
It appears I'm at a dead end. I require the 'SPROcc' (unbundled SPARCworks Professional C compiler) and what I have is the GCC compiler. It appears I can't get there from here. If this isn't the fact please let me know.
 
What I ended up doing:

I abandoned my original track and did the following:

From Netscape on my Sun workstation I went to the following website:


I downloaded the following file into the ‘/usr/local’ directory:

x3270-332p1.tgz

I performed the following commands on the file:

# gunzip x3270-332p1.tgz

Which created file ‘x3270-332p1.tar’.

# tar –xvf x3270-332p1.tar

Which created directory ‘x3270-3.3’.

Then via Netscape I viewed the following html file living within the following directory structure:

/usr/local/x3270-3.3/html/Build.html

Note: Build.html is the file with the x3270 Build and Install Instructions.

I had already determined that I had X11R6 on my system via the following command:

# grep XtSpecificationRelease /usr/include/X11/Intrinisc.h

What was returned was the following:

#define XtSpecificationRelease 6

Note: The path to X11 is ? /usr/openwin/share/include/X11

Note: I discovered that I had to add ‘/usr/local/ssl/lib’ to the LD_LIBRARY_PATH in ‘/etc/profile’.

Since I had X11R6 I performed a ‘Vanilla X11R6 build and install of x3270’ as per Build.html. I then executed the following commands:

# cd /usr/local/x3270-3.3
# ./configure
# make depend
# make
# ./dryrun
# make install
# make install.man
# xset fp rehash
# ./x3270&

Once the x3270 window appeared I connected to VM running on our mainframe.

I hope this helps someone...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top