<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>And in fact, on Ubuntu the install script will spit out exactly which packages it needs:</div><div><br></div><div>
<span style="font-family:'.HelveticaNeueUI';font-size:15px;line-height:19px;white-space:nowrap"><a href="https://bitbucket.org/yt_analysis/yt/src/0514b030f6479c0adb75df5bf3da7ab7310caa91/doc/install_script.sh?at=yt#cl-218">https://bitbucket.org/yt_analysis/yt/src/0514b030f6479c0adb75df5bf3da7ab7310caa91/doc/install_script.sh?at=yt#cl-218</a></span></div>
<div><span style="font-family:'.HelveticaNeueUI';font-size:15px;line-height:19px;white-space:nowrap"><br></span></div><div><span style="font-family:'.HelveticaNeueUI';font-size:15px;line-height:19px;white-space:nowrap">It would help to figure out exactly which libraries and packages are needed if you're running a different distribution or a different flavor of UNIX.</span></div>
<div><span style="font-family:'.HelveticaNeueUI';font-size:15px;line-height:19px;white-space:nowrap"><br></span></div><div><span style="font-family:'.HelveticaNeueUI';font-size:15px;line-height:19px;white-space:nowrap">If this is a shared computer or cluster and you don't have root access it should be possible to get this working but it will probably be a bit more complicated.</span></div>
<div><span style="font-family:'.HelveticaNeueUI';font-size:15px;line-height:19px;white-space:nowrap"><br></span></div><div><span style="font-family:'.HelveticaNeueUI';font-size:15px;line-height:19px;white-space:nowrap">Cheers,</span></div>
<div><span style="font-family:'.HelveticaNeueUI';font-size:15px;line-height:19px;white-space:nowrap"><br></span></div><div><span style="font-family:'.HelveticaNeueUI';font-size:15px;line-height:19px;white-space:nowrap">Nathan</span></div>
<div><br>On Jan 30, 2013, at 1:04 PM, Peter Teuben <<a href="mailto:teuben@astro.umd.edu">teuben@astro.umd.edu</a>> wrote:<br><br></div><blockquote type="cite"><div><span>On 01/30/2013 03:59 PM, Mark Kremenetsky wrote:</span><br>
<blockquote type="cite"><span>Guys,</span><br></blockquote><blockquote type="cite"><span> I am using  a script recommended on  ENZO boot-camp page</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote>
<blockquote type="cite"><span>$ bash install_script.sh</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>in order to set up all libraries needed for enzo compilation.</span><br>
</blockquote><blockquote type="cite"><span>Everything is going good and well until I got a following error:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>gcc -fPIC -c bzip2.c</span><br>
</blockquote><blockquote type="cite"><span>In file included from /usr/include/errno.h:36,</span><br></blockquote><blockquote type="cite"><span>                 from bzip2.c:55:</span><br></blockquote><blockquote type="cite">
<span>/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or</span><br></blockquote><blockquote type="cite"><span>directory</span><br></blockquote><blockquote type="cite"><span>make: *** [bzip2.o] Error 1</span><br>
</blockquote><blockquote type="cite"><span> I checked and certainly I don't have  such thing as</span><br></blockquote><blockquote type="cite"><span>/usr/include/linux/errno.h</span><br></blockquote><blockquote type="cite">
<span></span><br></blockquote><blockquote type="cite"><span>Any advice ?</span><br></blockquote><span></span><br><span>on ubuntu you can do</span><br><span></span><br><span>% dpkg -S /usr/include/linux/errno.h</span><br><span>linux-libc-dev: /usr/include/linux/errno.h</span><br>
<span></span><br><span>so you need to have that "dev" package installed. For other distro's</span><br><span>it might have a different name. If this is your first time installing it,</span><br><span>you might wind up needing more of these development packages</span><br>
<span>for some of the libraries.</span><br><span></span><br><span>I've seen quite a few packages give their developers a nice list</span><br><span>of how to update their system, something like</span><br><span></span><br>
<span>    sudo apt-get install linux-libc-dev .....</span><br><span></span><br><span></span><br><span>peter</span><br><span></span><br><span>_______________________________________________</span><br><span>yt-users mailing list</span><br>
<span><a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a></span><br><span><a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a></span><br>
</div></blockquote></body></html>