[yt-users] Crashing PDFs and Login screen after Yt installation
Matthew Turk
matthewturk at gmail.com
Mon Jul 23 18:56:23 PDT 2012
Hi Hector,
On Mon, Jul 23, 2012 at 8:49 PM, Héctor Aceves Campos
<aceves at astro.unam.mx> wrote:
>
> Hi Nathan and Matt,
>
>
> Thanks for your prompt reply.
>
> Yes, I installed it as "sudo" ; since I want it to be available to several
> users (in particular some grad students). Unfortunately I did it in
> /usr/local and the $PATH points to /usr/local as a lookup directory first.
>
> I guess that the best way -probably under the assumption that Yt and Enzo be
> available to several people-- is to proceed as follows:
>
> a) Install the libssl-dev package
> b) Install in directory /opt
> c) Set the appropiate environment flags later... (including
> PATH=$PATH:/opt..... LD_LIBRARY=/opt/yt.....)
I think that sounds good -- note also that the install script comes
with an "activate" script which will set these variables for you, and
that way you can enter/exit the yt environment at will.
Let us know if this doesn't work, and good luck!
Matt
>
> I will try it this way in my laptop... before I screw the department's
> computer! :-)
>
> Thanks again, and will let you know about it.
>
> Hector
>
>
>
> On Mon, Jul 23, 2012 at 5:21 PM, Matthew Turk <matthewturk at gmail.com> wrote:
>>
>> Hi Nathan and Hector,
>>
>> I'm sorry for your trouble!
>>
>> I suspect that what happened wasn't that yt overwrote any files. I
>> think it only installed new files, but what ended up happening is that
>> Ubuntu searches /usr/local *first*, and then searches the rest of
>> LD_LIBRARY_PATH. So in doing so, it hit an incompatible libpng (which
>> we should update anyway) and which then killed theo ther stuff. I
>> suspect the contents of /usr/local could have been wiped and it would
>> have been okay.
>>
>> I've issues a pull request with some fixes to the install script that
>> will:
>>
>> * Tell you which packages you need to install on Ubuntu
>> * Refuse to install in /usr/local
>> * Refuse to run as sudo
>>
>> I think this should cover these use cases.
>>
>> Again, I'm sorry this caused you any troubles. Hopefully we can work
>> them out! And, thanks for bringing them to our attention. It stinks
>> that this happened, but I think we can try to make sure it doesn't
>> happen again to you or anybody else.
>>
>> -Matt
>>
>> On Mon, Jul 23, 2012 at 7:56 PM, Nathan Goldbaum <nathan12343 at gmail.com>
>> wrote:
>> > Hi Hector,
>> >
>> > Sorry to hear you're having trouble. The first issue is an easy fix,
>> > you
>> > must install the libssl-dev package before running the install script.
>> >
>> > Your OS issues are troubling and we'd like to make sure that this issue
>> > isn't repeated.
>> >
>> > To figure out exactly what happened, we need to know how you ran the
>> > install
>> > script. Unfortunately you haven't given us enough information to figure
>> > out
>> > what went wrong. Please let us know exactly what you did, and if you
>> > can,
>> > please forward us the install log file for the failed installation.
>> >
>> > Normally the install script shouldn't be able to write to system
>> > directories
>> > like /usr/local, but if you ran the script using escalated privileged
>> > (e.g.
>> > with sudo), it may have overwritten important system files. In general,
>> > the
>> > install script is not supposed to be run with root privileges.
>> >
>> > Cheers,
>> >
>> > Nathan
>> >
>> >
>> > On 7/23/12 12:52 PM, Héctor Aceves Campos wrote:
>> >>
>> >> Dear all
>> >>
>> >> I have recently tried to install Yt, including Enzo, with the
>> >> installation
>> >> script provided in the Yt webpage; setting the Enzo flag=1 and
>> >> installing as
>> >> superuser in /usr/local all the files
>> >>
>> >> I had the following two problems:
>> >>
>> >> 1) the enzo clone was not installed... just before finishing the script
>> >> said something like Python SSL not found or supported, and the enzo
>> >> installation was aborted.
>> >>
>> >> 2) After all this, I was not able to (a) open any pdf file either with
>> >> evince or xpdf (under linux; either ubuntu 10.04 and linux mint 13 -
>> >> running
>> >> gnome), (b) login .. my "welcome screen" was off, completely gone or
>> >> black
>> >> as in my laptop (a toshiba with linux mint). so I could not login! In
>> >> the
>> >> case of my desktop at work, I had to reinstall the operating system.
>> >>
>> >> Have any of the people of this forum seen this kind of problems? Any
>> >> ideas
>> >> what might have gone wrong or how to fix this?
>> >>
>> >> cheers,
>> >>
>> >> hector
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> yt-users mailing list
>> >> yt-users at lists.spacepope.org
>> >> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>> >
>> >
>> >
>> > _______________________________________________
>> > yt-users mailing list
>> > yt-users at lists.spacepope.org
>> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
>
>
> --
> *************************************
> Dr. Héctor Aceves Campos
> Instituto de Astronomía-UNAM
> Apdo. Postal 106
> Ensenada B.C. 22800 México
> Tel: +52-(646)-1744580 x 325
> Fax: +52-(646)-1744607
> *************************************
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
More information about the yt-users
mailing list