Re: AMMRL: vnmrj installed under Fedora

From: Eugenio Alvarado <ealva_at_umich.edu>
Date: Tue, 01 Dec 2009 16:52:53 -0500

Hi. I just installed vnmrj 2.2D (workstation) under Fedora 12
(32bits). This is what I did.

1- Install tcsh, tcl, tk, compat-libstdc++-33.

2- Install vnmrj.

    *

      Check group and shell of vnmr1 in /etc/passwd and change them to
      "nmr" and tcsh if they were not set up correctly.

    *

      During installation the following error appears: "ERROR: Problem
      creating or opening /home/vnmr1/vnmrsys/ManagedbMsgLog" but this
      appears to be harmless.

3- Install openmotif from rpmfusion.org (go to
http://rpmfusion.org/Configuration to enable the repositories) and make
link: /usr/lib/libXm.so.3 to /usr/lib/openmotif/libXm.so.4.
Or, install lesstif from fedora's repositories and link
/usr/lib/libXm.so.3 to /usr/lib/libXm.so.2.

4- Make entry for the computer's fully qualified domain name in /etc/hosts

5- Vnmrj installs an outdated version of sudo in /usr/local/bin that
doesn't recognize new configurations in /etc/sudoers. The line "Defaults
secure_path ..." is not recognized. It can be commented out (security
risk?) or /usr/local/bin/sudo can be renamed and substituted with a link
to /usr/bin/sudo. Also, the line "Defaults env_keep=vnmrsystem" must be
added at the end of /etc/sudoers (use visudo). Otherwise "add printer"
or "add user" functions in vnmrj adm will not work. If updating users
with vnmrj adm fails, comment out "Defaults requiretty" in /etc/sudoers
(sudo complains in /var/log/secure: "sorry, you must have a tty to run
sudo").

6- To enable 3D desktop effects, rename /vnmr/jre (java provided with
vnmrj) to jre.bak and link /vnmr/jre to /etc/alternatives/jre. Or,
install jre from java.com and link /vnmr/jre to /usr/java/latest.

7- Change line 200 of /vnmr/bin/patchinstall from: "console_name = 'tail
+$console_at ..." to "console_name = 'tail -n +$console_at ...".

8- Make these links in /usr/include:
stdarg.h to /usr/lib/gcc/i686-redhat-linux/4.4.2/include/stdarg.h
stddef.h to /usr/lib/gcc/i686-redhat-linux/4.4.2/include/stddef.h

otherwise some pulse sequences may not compile.


Good luck,
Eugenio


Eugenio Alvarado, Ph.D.
Co-Director, NMR Services
Chemistry Department, University of Michigan
930 N. University Ave., Ann Arbor, MI 48109-1055.
Voice: (734)-764-9924, Fax: (734)-647-1179



Charles G. Fry wrote:
> Hi all,
>
> We are having problems getting the vnmrj installer to work in Fedora
> (core 12). We seem to remember some discussion on this topic either
> here or in vnmrnews, but can't find the thread. If any of you has the
> link, or experience with this kind of installation, we'd appreciate
> some help.
>
> Cheers,
> Charlie
>
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~
> Charles G. Fry, Ph.D. Tel: (608)262-3182
> Director, MR Facility Fax: (608)262-0381
> Chem. Dept., 1101 University Ave, Univ. Wisconsin-Madison
> Madison, WI 53706 USA email: fry_at_chem.wisc.edu
>
>
>
Received on Tue Dec 01 2009 - 11:56:37 MST

This archive was generated by hypermail 2.4.0 : Fri Jun 16 2023 - 15:23:59 MST