Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old April 24th, 2006   #1
n8bounds
Way Too Much Ubuntu
 
n8bounds's Avatar
 
Join Date: Mar 2006
Location: GSO, NC
Beans: 329
Ubuntu
Lightbulb HOW TO: iSeries Client Access Emulator install

!!!!!NOTICE!!!!! !!!!!NOTICE!!!!! !!!!!NOTICE!!!!!

Updated 090715

I made a deb! http://n8.thruhere.net/export/free/ibm5250/

================================================== =================


I'll leave what I had here originally below the dashed line, but there is a newly discovered, simple way that we now share here: http://ubuntuforums.org/showthread.php?t=368894


================================================== =================


Problem: I absolutely MUST use an IBM iSeries (AS/400) Client Access Emulator (green screen) in the performance of my official duties at work; and there isn't a debian package from IBM for this (thanks guys).

Background: The company I work for relies heavily on its big IBM box, and getting the iSeries emulator to work on Ubuntu would go a long way towards divorcing us from M$. I'm still kind of a lidiot or a lincompoop or what have you. My first real taste of linux was SUSE. Of course this RPM package installed neatly therein, but Ubuntu is clearly superior to all other distributions on the known internet, so we must find a work-around.

Resolution: Being a responsible forum user, I searched through the posts for someone who had walked this path before more. The best thread I found was here:

http://ubuntuforums.org/showthread.p...hlight=iseries

It wasn't an all inclusive how to, but it was enough get me started. I am providing this as a more comprehensive next step after Sirnigel's gracious posting.

First things first, here's my /etc/apt/sources.list file, remember, something about laws and legal problems has been repeatedly said about some of these somewhere....I'm sure of it.

==================

deb-src http://archive.ubuntu.com/ubuntu breezy main restricted
deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu breezy universe
deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe
deb http://archive.ubuntu.com/ubuntu/ breezy universe main restricted multiverse
deb http://wine.lowvoice.nl/apt breezy main
deb-src http://wine.lowvoice.nl/apt breezy main
deb http://deb.opera.com/opera/ etch non-free
deb http://kubuntu.org/packages/kde351 breezy main
deb http://archive.ubuntu.com/ubuntu breezy-backports main restricted universe multiverse
deb http://koti.mbnet.fi/~ots/ubuntu/ breezy/
deb-src http://koti.mbnet.fi/~ots/ubuntu/ breezy/
deb http://theli.free.fr/packages/breezy/ ./

==================

Next, download the iSeriesAccess rpm from IBM, which can be found here:

http://www-03.ibm.com/servers/eserve...downloads.html

(I got the "iSeriesAccess-5.2.0-1.10.i386.rpm" version.)


You'll need pretty scalable fonts that IBM's program recognizes:

sudo apt-get install msttcorefonts
sudo fc-cache -f -v


Recall that IBM doesn't release a DEBIAN package, only an RPM. To install RPMs on Debian, you'll need ALIEN.

sudo apt-get install alien


After it installs, while being in the same directory as your iSeries RPM, do:

sudo alien -i iSeriesAccess-5.2.0-1.10.i386.rpm

(your filename may be different, may the TAB KEY be with you)


Again, most of this I stole from Sirnigel's post, but repeat it hear for convenience. Next, do:

sudo apt-get install libmotif3

then:
sudo apt-get install libxaw6

then:
sudo ln -s /usr/X11R6/lib/libcwbcore.so /usr/lib/libcwbcore.so

then:
sudo ln -s /opt/ibm/iSeriesAccess/lib/libcwbcore.so /usr/lib/libcwbodbc.so

then:
sudo ln -s /opt/ibm/iSeriesAccess/lib/libcwbodbcs.so /usr/lib/libcwbodbcs.so

then:
sudo ln -s /opt/ibm/iSeriesAccess/lib/libcwbrc.so /usr/lib/libcwbrc.so

then:
sudo ln -s /usr/X11R6/lib/libXm.so.3 /usr/lib/libXm.so.3

then:
sudo ln -s /opt/ibm/iSeriesAccess/lib/libcwbcore.so /usr/lib/libcwbcore.so

then:
sudo ln -s /usr/local/lib/libstdc++.so.5 /usr/lib/libstdc++.so.5

then:
sudo ln -s /usr/local/lib/libgcc_s.so.1 /usr/lib/libgcc_s.so.1

Now, this is why I had to do a little digging on my own, because this next step was missing. In fact, I wrote this entire post, because I think you should know that you'll also need to do this...
then:
sudo apt-get install libstdc++5

to run, just:
/opt/ibm/iSeriesAccess/bin/ibm5250 -LANGID en_us

I made a custom app launcher. If you're used to the windows version from IBM, this should make you feel right at home. Some keybindings were by default a little different, but you just did all that other hard stuff, you can probably point and click your way through the rest of it.

Last edited by n8bounds; July 15th, 2009 at 11:52 AM..
n8bounds is offline   Reply With Quote
Old May 24th, 2006   #2
USRPRF
First Cup of Ubuntu
 
Join Date: May 2006
Beans: 1
Re: HOW TO: iSeries Client Access Emulator install

Hi

Ok that allow you to launch ibm5250 and create a session with a QPADEV DISPLAY_NAME. But what is more useful in iSeriesAccess for linux is setup5250 that allow you to create several (up to 99) sessions, each with a specific device name. Actually i installed iseriesaccess on FC5 and made it works, and i noticed that without setup5250 you are unabel to connect to an iSeries with device restriction (in that case you can't allow anonymous users to connect with QPADEVXXXX). If i try to run setup5250 i get the following errors:
Code:
setup5250: [ ERROR ]: Xt Warning: locale not supported by C library, locale unchanged.
setup5250: [ ERROR ]: Xt Warning: Missing charsets in String to FontSet conversion.
Does anyone know how to handle this? I searched on the net but i didnt find anything.

Thanks
USRPRF is offline   Reply With Quote
Old June 14th, 2006   #3
mdfel
First Cup of Ubuntu
 
Join Date: Apr 2006
My beans are hidden!
Talking Re: HOW TO: iSeries Client Access Emulator install

finally made a complete iSeries Access for linux "localized" install.
it all starts with the fact that iSeries Access doesn't support UTF-8 locales, so that's what i did:
consider that I'm connecting to an iseries host with CCSID = 1144 from a ubuntu 6.06 and i'm italian.
Please use at least version 1.14 of iSeries Access for linux, for it adds the -USE-CP directive

Please use your appropriate language identifiers:
Code:
cd /opt/ibm/iSeriesAccess/mri
sudo ln -s /opt/ibm/iSeriesAccess/mri/it/ it_IT
then add iso8859-1 support to the appropriate file (in my case it):
Code:
sudo gedit /var/lib/locales/supported.d/it
and append the line:
Code:
it_IT.ISO-8859-1 ISO-8859-1
then execute the command:
Code:
sudo locale-gen
now you have to start any ibm iseries application by redefining the LANG variable, so i created the bash script:
Code:
#!/bin/bash
LANG=it_IT.ISO-8859-1
/opt/ibm/iSeriesAccess/bin/setup5250 -USE-CP1144
please note that in order to use setup5250 you probably have first to add /opt/ibm/iSeriesAccess/bin to PATH. I also configured ldconfig for ibm libs

Hope this helps
mdfel is offline   Reply With Quote
Old October 27th, 2006   #4
rgriffin
First Cup of Ubuntu
 
rgriffin's Avatar
 
Join Date: Jul 2006
Location: Winston Salem N
Beans: 2
Ubuntu 6.06 Dapper
Send a message via ICQ to rgriffin Send a message via AIM to rgriffin Send a message via Yahoo to rgriffin
Re: HOW TO: iSeries Client Access Emulator install

This is the bomb. Thanks for posting the very helpful how-to
rgriffin is offline   Reply With Quote
Old October 31st, 2006   #5
elvisd
Just Give Me the Beans!
 
elvisd's Avatar
 
Join Date: Nov 2005
Location: Switzerland
Beans: 67
Ubuntu 9.10 Karmic Koala
Send a message via MSN to elvisd Send a message via Skype™ to elvisd
Re: HOW TO: iSeries Client Access Emulator install

Thank you for completing my thread. I'll link this thread on my blog... elvisd.blogspot.com
__________________
Kindly elvisd

Ubuntu 9.10 Karmic on DELL Latitude D820 (@home) & Ubuntu 9.04 Jaunty on HP DC 7700p (@work)
elvisd is offline   Reply With Quote
Old November 15th, 2006   #6
Popcorn12k
First Cup of Ubuntu
 
Join Date: Nov 2006
My beans are hidden!
Re: HOW TO: iSeries Client Access Emulator install

I too am trying to install iseries Access on Dapper. I have followed the instructions provided by both elvisd, sirnigel and n8bound. When I get to this command

sudo ln -s /opt/ibm/iSeriesAccess/lib/libcwbcore.so /usr/lib/ libcwbcore.so

I get this response:
ln: target `libcwbcore.so' is not a directory

If I continue through the configuration I get this response when I try to start the application:

ibm5250: error while loading shared libraries: libcwbcore.so: cannot open shared object file: No such file or directory

I think I have a broken link; however, I don't know why nor how to fix it. Any help would be appreciated.
Popcorn12k is offline   Reply With Quote
Old November 19th, 2006   #7
n8bounds
Way Too Much Ubuntu
 
n8bounds's Avatar
 
Join Date: Mar 2006
Location: GSO, NC
Beans: 329
Ubuntu
Re: HOW TO: iSeries Client Access Emulator install

Quote:
Originally Posted by Popcorn12k View Post
I too am trying to install iseries Access on Dapper. I have followed the instructions provided by both elvisd, sirnigel and n8bound. When I get to this command

sudo ln -s /opt/ibm/iSeriesAccess/lib/libcwbcore.so /usr/lib/ libcwbcore.so

I get this response:
ln: target `libcwbcore.so' is not a directory
If you used the clipboard on that post, you have a SPACE betweeen /usr/lib and libcwbcore.so on the tail of your command there.
n8bounds is offline   Reply With Quote
Old December 6th, 2006   #8
Circus-Killer
Has an Ubuntu Drip
 
Circus-Killer's Avatar
 
Join Date: May 2006
Beans: 779
Ubuntu 8.10 Intrepid Ibex
Re: HOW TO: iSeries Client Access Emulator install

i've followed all the instructions in this thread, but i'm still getting the following error:

5250: [ ERROR ]: NSC0017: Xt Warning: Cannot convert string "-*-lucidatypewriter-medium-r-normal-*-19-*-75-75-m-*" to type FontSet.

anyone know a solution?
Circus-Killer is offline   Reply With Quote
Old December 11th, 2006   #9
n8bounds
Way Too Much Ubuntu
 
n8bounds's Avatar
 
Join Date: Mar 2006
Location: GSO, NC
Beans: 329
Ubuntu
Re: HOW TO: iSeries Client Access Emulator install

Quote:
Originally Posted by Circus-Killer View Post
i've followed all the instructions in this thread, but i'm still getting the following error:

5250: [ ERROR ]: NSC0017: Xt Warning: Cannot convert string "-*-lucidatypewriter-medium-r-normal-*-19-*-75-75-m-*" to type FontSet.

anyone know a solution?
Do you have the MS Fonts installed? If you have Universe and Multiverse repositories enabled, I think you can add them via the Add/Remove tool (or synaptics). Alternatively, you could try the Automatix2 scripts. I think I saw something in there about MS Core Fonts.

Cheers
n8bounds is offline   Reply With Quote
Old December 11th, 2006   #10
Circus-Killer
Has an Ubuntu Drip
 
Circus-Killer's Avatar
 
Join Date: May 2006
Beans: 779
Ubuntu 8.10 Intrepid Ibex
Re: HOW TO: iSeries Client Access Emulator install

yes, ms fonts is already installed, that is not the problem.
Circus-Killer is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:39 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry