[mcstas-users] install problem 2.0RC2
Jean-Francois.Moulin at hzg.de
Jean-Francois.Moulin at hzg.de
Mon Dec 3 15:16:30 CET 2012
Thanks for the input.
I tried and now get the following problems:
0) How do I get mcgui???
1) directly doing mcstas-2.0RC2 foo_bar.instr resulted in an awful lot of errors, I guess these are compatibility issues I'll look at later.
At least this means mcstas seems to be running. So far so good.
3) further install problems:
I have matplotlib latest version installed from source, but:
sudo dpkg -i mcstas-tools-Python-mcplot-matplotlib-2.0RC2-linux64.deb
Selecting previously unselected package mcstas-tools-python-mcplot-matplotlib-2.0rc2.
(Reading database ... 242596 files and directories currently installed.)
Unpacking mcstas-tools-python-mcplot-matplotlib-2.0rc2 (from mcstas-tools-Python-mcplot-matplotlib-2.0RC2-linux64.deb) ...
dpkg: dependency problems prevent configuration of mcstas-tools-python-mcplot-matplotlib-2.0rc2:
mcstas-tools-python-mcplot-matplotlib-2.0rc2 depends on python-matplotlib; however:
Package python-matplotlib is not installed.
dpkg: error processing mcstas-tools-python-mcplot-matplotlib-2.0rc2 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mcstas-tools-python-mcplot-matplotlib-2.0rc2
idem for yaml:
sudo dpkg -i mcstas-tools-Python-mcrun-2.0RC2-linux64.deb
Selecting previously unselected package mcstas-tools-python-mcrun-2.0rc2.
(Reading database ... 242599 files and directories currently installed.)
Unpacking mcstas-tools-python-mcrun-2.0rc2 (from mcstas-tools-Python-mcrun-2.0RC2-linux64.deb) ...
dpkg: dependency problems prevent configuration of mcstas-tools-python-mcrun-2.0rc2:
mcstas-tools-python-mcrun-2.0rc2 depends on python-yaml; however:
Package python-yaml is not installed.
dpkg: error processing mcstas-tools-python-mcrun-2.0rc2 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mcstas-tools-python-mcrun-2.0rc2
I guess it might be possible to tell dpkg where the dependencies are...
Last question for the road: if I ever succed to have 2.0 running, how should I reinstall a 1.X version as concurent? (I was a bit bold and removed my previous install when I got the error messages)
Thanks for your help!
JF
-
Helmholtz Zentrum Geesthacht
Institut für Werkstoffforschung
Abteilung WPN, Instrument REFSANS
Lichtenbergstr. 1
85747 Garching FRM II
Tel.: +49 (0)89 289 10762
Internet: http://www.frm2.tum.de
-----zerrez at gmail.com schrieb: -----
An: Jean-Francois.Moulin at hzg.de
Von: Johan Brinch
Gesendet von: zerrez at gmail.com
Datum: 12/03/2012 02:42PM
Kopie: mcstas-users at mcstas.org
Betreff: Re: [mcstas-users] install problem 2.0RC2
Hi!
It's great that you're trying out the RC! :)
Let me see if I can clear up what's going on.
On Mon, Dec 3, 2012 at 2:33 PM, <Jean-Francois.Moulin at hzg.de> wrote:
> mcstas -> /usr/local/bin/mcstas-2.0RC2
> INSTALL: mcstas: /usr/local/bin/mcstas-2.0RC2
> update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcstas-2.0RC2 because link group mcstas is broken.
> update-alternatives: warning: not replacing /usr/local/man/man1/mcstas.1 with a link.
> update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcstas-2.0RC2 because link group mcstas is broken.
> update-alternatives: warning: not replacing /usr/local/man/man1/mcstas.1 with a link.
> mcformat -> /usr/local/bin/mcformat-2.0RC2
> INSTALL: mcformat: /usr/local/bin/mcformat-2.0RC2
> update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcformat-2.0RC2 because link group mcformat is broken.
> update-alternatives: warning: not replacing /usr/local/man/man1/mcformat.1 with a link.
> update-alternatives: warning: forcing reinstallation of alternative /usr/local/bin/mcformat-2.0RC2 because link group mcformat is broken.
> update-alternatives: warning: not replacing /usr/local/man/man1/mcformat.1 with a link.
>
It seems you already have files in /usr/local/man/man1/mcformat.1 and
/usr/local/man/man1/mcstas.1 ... the new version is trying to replace
these with links but cannot do this (as they already exist as regular
files).
These files could be left-overs from an older version that wasn't
completely uninstalled.
> Tools:
> mcconfig: cannot locate binary: /usr/local/bin/mcconfig-2.0RC2
>> skipping: mcstas-tools-2.0RC2 isn't installed?
> mcconvert: cannot locate binary: /usr/local/bin/mcconvert-2.0RC2
>> skipping: mcstas-tools-2.0RC2 isn't installed?
> mcdaemon: cannot locate binary: /usr/local/bin/mcdaemon-2.0RC2
>> skipping: mcstas-tools-2.0RC2 isn't installed?
> mcdisplay: cannot locate binary: /usr/local/bin/mcdisplay-2.0RC2
>> skipping: mcstas-tools-2.0RC2 isn't installed?
> mcdoc: cannot locate binary: /usr/local/bin/mcdoc-2.0RC2
>> skipping: mcstas-tools-2.0RC2 isn't installed?
> mcformatgui: cannot locate binary: /usr/local/bin/mcformatgui-2.0RC2
>> skipping: mcstas-tools-2.0RC2 isn't installed?
> mcgui: cannot locate binary: /usr/local/bin/mcgui-2.0RC2
>> skipping: mcstas-tools-2.0RC2 isn't installed?
> mcplot: cannot locate binary: /usr/local/bin/mcplot-2.0RC2
>> skipping: mcstas-tools-2.0RC2 isn't installed?
> mcresplot: cannot locate binary: /usr/local/bin/mcresplot-2.0RC2
>> skipping: mcstas-tools-2.0RC2 isn't installed?
> mcrun: cannot locate binary: /usr/local/bin/mcrun-2.0RC2
>> skipping: mcstas-tools-2.0RC2 isn't installed?
> mcstas2vitess: cannot locate binary: /usr/local/bin/mcstas2vitess-2.0RC2
>> skipping: mcstas-tools-2.0RC2 isn't installed?
> Processing triggers for man-db ...
These are merely "warnings" and can be ignored. The install process is
noting, that the listed tools are not installed and will not be
configured (this will happen when they are installed). We are
considering silencing the process as it is more confusing than
informative.
But you can safely ignore the "skipping: ...." warnings.
--
Johan Brinch
Helmholtz-Zentrum Geesthacht
Zentrum für Material- und Küstenforschung GmbH
Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany
Geschäftsführer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Ganß
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus
Amtsgericht Lübeck HRB 285 GE (Register Court)
Internet: http://www.hzg.de
More information about the mcstas-users
mailing list