Re: SableVM on Familiar - Installation Issues

Stephen Compall <[email protected]> Wed, 03 Aug 2005 21:16:08 -0500
Newsgroups gmane.comp.java.vm.sablevm.general
Message-ID <[email protected]>
On Wed, 2005-08-03 at 00:12 -0400, Michael Jones wrote:
> In the Familiar OS where would you suggest I hard set the environment 
> variables below- etc/profile or etc/.bashrc? The reason I ask is I saw 
> in a message a split in where the variables were stored. I just want to 
> make sure there is no magic reason for this.

Nope, it's all idempotent.  Put it in both if you like.  Note that those
files only affect shells; if you want it to be part of the environment
of something started from init other than a shell, you'll have to figure
out how those things (login, dm, etc) get their environments.  This is
somewhat distro-dependent, and I'm not familiar with Familiar (ack).

By the way, bash does not really load /etc/bashrc, it just puts that
there for bash-specific extensions (/etc/profile is used by all Bourne
shells), then puts a default .bashrc in everyone's user account, by
convention.  For example, Mandrake 8.2 put this in my account's .bashrc
when I created it 3 years ago:

# Source global definitions
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi

> I also saw mention in a 
> previous message to add to mnt/cf/packages/usr/lib to /etc/ld.so.config?

That will avoid the aforementioned problem when ld loads libsablevm for
the sablevm executable.  However, I don't know how sablevm passes the
java.library.path property to libltdl (used for loading DSOs), so it's
best to keep the env var.

-- 
Stephen Compall

_______________________________________________
SableVM-user mailing list
[email protected]
http://sablevm.org/lists/control/listinfo/sablevm-user
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBC8XpoYWjD35Pp0wIRAn54AJ42XOrZlokoOskBlj5Ck4buuFpY5QCfX4tY
T7SzMB3hKrc67Pe7PK1QVlg=
=CZ5L
-----END PGP SIGNATURE-----