[mcstas-users] install problem 2.0RC2
Peter Willendrup
p at willendrup.org
Mon Dec 3 15:30:45 CET 2012
Hi J-F,
On Dec 3, 2012, at 3:16 PM, Jean-Francois.Moulin at hzg.de wrote:
> Thanks for the input.
> I tried and now get the following problems:
>
> 0) How do I get mcgui???
So far we don't have a Python-based mcgui, so you need the mcstas-tools-perl package for that. :-)
Once you have it, it should install itself as 'mcgui' via a link to mcgui-2.0RC2
> 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.
Probably, yes.
> At least this means mcstas seems to be running. So far so good.
Good to hear that. :-) If you end up in a dead alley under point 1) feel free to send me the instrument file...
> 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…
apt-get -f install should in principle fix that I think?
Otherwise, on a raw Debian you need to allow the non-free and contrib repos, you may need to switch on something in mint?
> 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)
The easiest way would have been to use our migration tool (i.e. http://mcstas-20rc2.mcstas.org/Linux/deb_64bit/migrate-mcstas.sh) BEFORE uninstalling mcstas-1.12c as mentioned in the README.. ;-)
Alternatively I would install mcstas-1.12c from the source tgz package (all dependencies should be resolved using the 2.0RC2 deb package now) and set a prefix using ./configure --prefix=/where/ever/you/want/mcstas-1.12c
Best,
Peter
> -
> 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
> _______________________________________________
> mcstas-users mailing list
> mcstas-users at mcstas.org
> http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users
More information about the mcstas-users
mailing list