[yt-users] errno.h

Nathan Goldbaum nathan12343 at gmail.com
Wed Jan 30 13:21:19 PST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130130/4fb9453b/attachment.htm>


More information about the yt-users mailing list