[yt-users] errno.h

Matthew Turk matthewturk at gmail.com
Tue Feb 5 13:51:39 PST 2013


Hi all,

I wanted to briefly revisit this discussion, as we're in the process
of updating the install script to add more tips for distributions.  I
was wondering if anybody narrowed down the right set of RPMs / etc to
install?  I'd like to put them in; it's been a while since I've used
SUSE but I think we're going to be getting more and more people using
it.  And thanks for the helpful tip, Peter!  I didn't know about rpm
-qf or -qa, but now I've put them in my notes file ... :)

-Matt

On Wed, Jan 30, 2013 at 2:36 PM, Peter Teuben <teuben at astro.umd.edu> wrote:
> of course if you don't have the file you can't use this trick, but the
> command
>
>     rpm -qf /usr/include/linux/errno.h
>
> would give you the same result as that beforementioned ubuntu example,
> namely which package you need.   I have a SL63 here, whihc is also a
> redhat derivative, so perhaps close enoiugh to your SUSE.  And it
> responded with
>
> kernel-headers-2.6.32-279.19.1.el6.x86_64
>
>
> which is quite different from my linux-libc-dev. Anyways, maybe you can list
> your packages with
>
>
>     rpm -qa | grep kernel
>
> and see if you have something like it
>
>
> On 01/30/2013 04:31 PM, Mark Kremenetsky wrote:
>
>
> I have to apologize for not providing OS version that I am running on my
> system
> It is
> SUSE Linux Enterprise Server 11 (x86_64)
> VERSION = 11
> PATCHLEVEL = 2
> Mark
>
> On 01/30/2013 01:21 PM, Nathan Goldbaum wrote:
>
> And in fact, on Ubuntu the install script will spit out exactly which
> packages it needs:
>
> https://bitbucket.org/yt_analysis/yt/src/0514b030f6479c0adb75df5bf3da7ab7310caa91/doc/install_script.sh?at=yt#cl-218
>
> 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.
>
> 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.
>
> Cheers,
>
> Nathan
>
> On Jan 30, 2013, at 1:04 PM, Peter Teuben <teuben at astro.umd.edu> wrote:
>
> On 01/30/2013 03:59 PM, Mark Kremenetsky wrote:
>
> Guys,
>
> I am using  a script recommended on  ENZO boot-camp page
>
>
> $ bash install_script.sh
>
>
>
> in order to set up all libraries needed for enzo compilation.
>
> Everything is going good and well until I got a following error:
>
>
> gcc -fPIC -c bzip2.c
>
> In file included from /usr/include/errno.h:36,
>
>                 from bzip2.c:55:
>
> /usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or
>
> directory
>
> make: *** [bzip2.o] Error 1
>
> I checked and certainly I don't have  such thing as
>
> /usr/include/linux/errno.h
>
>
> Any advice ?
>
>
> on ubuntu you can do
>
> % dpkg -S /usr/include/linux/errno.h
> linux-libc-dev: /usr/include/linux/errno.h
>
> so you need to have that "dev" package installed. For other distro's
> it might have a different name. If this is your first time installing it,
> you might wind up needing more of these development packages
> for some of the libraries.
>
> I've seen quite a few packages give their developers a nice list
> of how to update their system, something like
>
>    sudo apt-get install linux-libc-dev .....
>
>
> peter
>
> _______________________________________________
> 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
>
>
>
> _______________________________________________
> 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