jbase Installation in Ubuntu 8.10

92 views
Skip to first unread message

madhu

unread,
Nov 2, 2009, 2:16:38 PM11/2/09
to jBASE
hi,
All any one how to install jbase in Ubuntu 8.10 OS .. please if any
one is having a Installation documents please provide me



Regards
MADHU M P

Jim Idle

unread,
Nov 2, 2009, 3:04:01 PM11/2/09
to jb...@googlegroups.com
Madhu,

jBASE Version?

However, I never got jBASE to work very well on Ubuntu. Apart from Ubuntu being generally not so great a distro, especially for developers, there are library incompatibilities because jBASE is built against the same version of Linux that Noah/Krishna used.

I found illegal memory accesses (accessing a 32 bit layout as if it was a 64 bit) and had memory core dump issues. I did sort of get it working, and thought I posted the instructions to this group in fact (remember that the group search is your friend - and see my next posting about markmail indexing for the jBASE group).

I ended up abandoning Ubuntu and using Mandriva, and now back to Fedora. I seemed to think that there was also going to be a build of jBASE against newer kernels and development environments but don't know if that happened or not; perhaps Pat [list member] does.

Also, I was using the 64 bit Linux kernel and that may have colored my results with 32 bit versions.

In general it is a pain and would be less hassle to load Fedora (and not just for jBASE reasons), so I would basically recommend you do not do it. The install procedure is basically the same as any other Linux, but be prepared to hack stuff when it doesn't quite hang together.

Jim

Jim Idle

unread,
Nov 2, 2009, 3:19:06 PM11/2/09
to jb...@googlegroups.com
> a 64 bit) and had memory core dump issues. I did sort of get it
> working, and thought I posted the instructions to this group in fact

And using Markmail:

http://markmail.org/message/ltwouh6cai7qmsem

However, as Mark Twain might have said, my claims to have completely solved the install problems on Ubuntu were greatly exaggerated ;-)

MT pp Jim


madhu

unread,
Nov 3, 2009, 12:14:05 AM11/3/09
to jBASE


Thanks a lot for your words.. k. i will switch on to some other OS



Regards
MADHU M P

VK

unread,
Nov 3, 2009, 7:42:51 AM11/3/09
to jBASE
Hi,
actually I've used jbase under Ubuntu 8.10 x64 for half a year (needed
Linux area on my laptop badly and had Ubuntu at hand so just installed
it inside windows; wouldn't want to go into comparisons of Linux
dists; I'm not really Linux guy I just needed the system to work).

It was jbase 5.0.9 IIRC. There were several problems:

1) error starting jsh:

jsh: error while loading shared libraries: libcrypto.so.4: cannot open
shared object file: No such file or directory

solution:

sudo ln -s /home/xxxuser/libcrypto.so.0.9.7 /home/xxxuser/libcrypto.so.
4

2) BASIC -v ETC.BP KZM.1
jcompile -FETC.BP -v -c BASIC_1000.b > BASIC_1000.x 2>&1
KZM.1
/bin/ksh: No such file or directory
** Unable to compile source KZM.1 **

solution:
sudo ln /bin/sh /bin/ksh

3) CATALOG ETC.BP KZM.1
KZM.1
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
cc -fPIC -fno-strict-aliasing -fexceptions -Wall -D_LARGEFILE_SOURCE -
D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 CATALOG_1000.o /home/
vkazimirtchik/jbase5/bin/jmainfunction.o -L/home/vkazimirtchik/jbase5/
lib -ljbase -ljbaseutil -lm -lncurses -ldl -lpthread -o/home/
vkazimirtchik/bib/bnk.run/bin/KZM.1 failed , command returned a code
of 1
jcompile: Returned an error code of 8
** Unable to catalog object KZM.1 **


solution:
sudo apt-get install libncurses5 libncurses5-dev

4) COB problem (too many opened files)

solution:

/etc/security/limits.conf:


<user> hard nofile 4096
<user> soft nofile 4096

I also managed to install jbase4 (which is 32bit) to the same x64
system... that's another story

VK

madhu

unread,
Nov 3, 2009, 8:30:59 AM11/3/09
to jBASE
Ultimately Which Linux Flavor OS' s are Compatible with jBASE with any
version ????




Regards
MADHU

Jim Idle

unread,
Nov 3, 2009, 10:45:36 AM11/3/09
to jb...@googlegroups.com
It was all this messing around that I think we should avoid ;-)

> Hi,
> actually I've used jbase under Ubuntu 8.10 x64 for half a year (needed
> Linux area on my laptop badly and had Ubuntu at hand so just installed
> it inside windows; wouldn't want to go into comparisons of Linux
> dists; I'm not really Linux guy I just needed the system to work).
>
> It was jbase 5.0.9 IIRC. There were several problems:
>

>

> 2) BASIC -v ETC.BP KZM.1
> jcompile -FETC.BP -v -c BASIC_1000.b > BASIC_1000.x 2>&1
> KZM.1
> /bin/ksh: No such file or directory
> ** Unable to compile source KZM.1 **
>
> solution:
> sudo ln /bin/sh /bin/ksh

This isn't a good idea as while the simple script used by jcompile works in sh mode, almost nothing else will. So anything that asks for ksh will get sh and fail. You will forget that you did this. Instead install the freeware ksh or the AT&T enhance ksh that was flying around for a while.


And of course, you will still get the core dumps every now and again, which makes it very difficult to use :-(

Jim

Jim Idle

unread,
Nov 3, 2009, 10:47:21 AM11/3/09
to jb...@googlegroups.com
Stick to Redhat versions. Fedora Core, while you will still have to load the older .so files that jBASE is incorrectly linked against (should not really link against the .so.nnn but I think there was a gcc bug that forced this at some point), will still be easier to get jBASE running on than other distributions, and it is as good as all the others, even if it is a bit bleeding edge.

Jim

> -----Original Message-----
> From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> Of madhu

Dhilip_kumar

unread,
Nov 4, 2009, 1:40:06 AM11/4/09
to jBASE
Will packages made after 'make'ing jBASE on Ubuntu solve these
problems? Could see a lot of home users switching from Windows to
Ubuntu in the recent times. This would give them a chance to try
jBASE.

Forgive my ignorance if wrong. :D

Regards,
Dhilip

Jim Idle

unread,
Nov 4, 2009, 2:01:39 AM11/4/09
to jb...@googlegroups.com

> -----Original Message-----
> From: jb...@googlegroups.com [mailto:jb...@googlegroups.com] On Behalf
> Of Dhilip_kumar
> Sent: Tuesday, November 03, 2009 10:40 PM
> To: jBASE
> Subject: Re: jbase Installation in Ubuntu 8.10
>
>

> Will packages made after 'make'ing jBASE on Ubuntu solve these
> problems?

Generally, yes.

> Could see a lot of home users switching from Windows to
> Ubuntu in the recent times.

I cannot see this at all - even with my best Linux loving head on, the desktop is useless compared to Windows and Ubuntu doubly so :-(

> This would give them a chance to try
> jBASE.

But so does a Virtual Machine :-)

Jim

Reply all
Reply to author
Forward
0 new messages