On 7/9/07, bill lam <[EMAIL PROTECTED]> wrote:
It appears Linux J has some assumption on the location of j system folder and
libj601, so will it be portable in the coming J602?

I think the issue here is that there would be three different "reasonable"
ways of installing J:

0. System installation (all users share the same installation of J).
1. User installation (J is installed in the user's home directory)
2. Portable installation (on usb drive or network mount)

Another issue is that the default dynamic linker follows its own set of
rules (which is not specifically related to the pattern J uses).

Probably the simplest solution would be to use dynamic linking (what
15!: uses) instead of the default linking mechanism, for the j binary to
find the j interpreter library or libraries.  Also, note that the "system
implementation" variant might be treated as an instance of the "user
installation" variant -- with a special "j user" created specifically to
hold J for all users.  If people want a /usr/local/bin/jconsole or something
like that, presumably they could use a wrapper shell script or symbolic
link that points to the installed location.

The intention is to create a all-in-one J system on usb since these packages are
almost identical.

Or you could just have three copies of J on the same usb drive, though I
guess you would want to arrange to share the same user (and package
manager) directories.

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to