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