LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-16-2009, 10:46 PM   #1
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283
Blog Entries: 11

Rep: Reputation: 41
Unhappy fuse-python-0.2 cannot be installed


After downloading the tarball and getting into the package directory, I follow the INSTALL instructions:
Quote:
bash-3.1$ python setup.py build
running build
running build_py
creating build
creating build/lib.linux-i686-2.5
copying fuse.py -> build/lib.linux-i686-2.5
creating build/lib.linux-i686-2.5/fuseparts
copying fuseparts/subbedopts.py -> build/lib.linux-i686-2.5/fuseparts
copying fuseparts/setcompatwrap.py -> build/lib.linux-i686-2.5/fuseparts
copying fuseparts/__init__.py -> build/lib.linux-i686-2.5/fuseparts
running build_ext
building 'fuseparts._fusemodule' extension
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/fuseparts
gcc -pthread -fno-strict-aliasing -DNDEBUG -O3 -march=i486 -mtune=i686 -fPIC -I/usr/include/fuse -I/usr/include/python2.5 -c fuseparts/_fusemodule.c -o build/temp.linux-i686-2.5/fuseparts/_fusemodule.o -D_FILE_OFFSET_BITS=64
In file included from /usr/include/bits/posix1_lim.h:153,
from /usr/include/limits.h:145,
from /usr/lib/gcc/i486-slackware-linux/4.2.4/include/limits.h:122,
from /usr/lib/gcc/i486-slackware-linux/4.2.4/include/syslimits.h:7,
from /usr/lib/gcc/i486-slackware-linux/4.2.4/include/limits.h:11,
from /usr/include/python2.5/Python.h:18,
from fuseparts/_fusemodule.c:35:
/usr/include/bits/local_lim.h:36:26: error: linux/limits.h: No such file or directory
In file included from /usr/include/errno.h:36,
from /usr/include/python2.5/Python.h:39,
from fuseparts/_fusemodule.c:35:
/usr/include/bits/errno.h:25:26: error: linux/errno.h: No such file or directory
fuseparts/_fusemodule.c: In function 'getattr_func':
fuseparts/_fusemodule.c:220: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c:220: error: (Each undeclared identifier is reported only once
fuseparts/_fusemodule.c:220: error: for each function it appears in.)
fuseparts/_fusemodule.c: In function 'fgetattr_func':
fuseparts/_fusemodule.c:236: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'readlink_func':
fuseparts/_fusemodule.c:255: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'opendir_func':
fuseparts/_fusemodule.c:273: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'releasedir_func':
fuseparts/_fusemodule.c:285: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'fsyncdir_func':
fuseparts/_fusemodule.c:298: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'dir_add_entry':
fuseparts/_fusemodule.c:311: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'readdir_func':
fuseparts/_fusemodule.c:350: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'mknod_func':
fuseparts/_fusemodule.c:384: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'mkdir_func':
fuseparts/_fusemodule.c:391: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'unlink_func':
fuseparts/_fusemodule.c:398: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'rmdir_func':
fuseparts/_fusemodule.c:405: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'symlink_func':
fuseparts/_fusemodule.c:412: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'rename_func':
fuseparts/_fusemodule.c:419: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'link_func':
fuseparts/_fusemodule.c:426: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'chmod_func':
fuseparts/_fusemodule.c:433: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'chown_func':
fuseparts/_fusemodule.c:440: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'truncate_func':
fuseparts/_fusemodule.c:447: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'ftruncate_func':
fuseparts/_fusemodule.c:455: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'utime_func':
fuseparts/_fusemodule.c:465: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'read_func':
fuseparts/_fusemodule.c:483: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'write_func':
fuseparts/_fusemodule.c:505: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'open_func':
fuseparts/_fusemodule.c:515: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'create_func':
fuseparts/_fusemodule.c:558: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'release_func':
fuseparts/_fusemodule.c:591: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'statfs_func':
fuseparts/_fusemodule.c:616: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'fsync_func':
fuseparts/_fusemodule.c:648: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'flush_func':
fuseparts/_fusemodule.c:660: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'getxattr_func':
fuseparts/_fusemodule.c:670: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'listxattr_func':
fuseparts/_fusemodule.c:691: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'setxattr_func':
fuseparts/_fusemodule.c:738: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'removexattr_func':
fuseparts/_fusemodule.c:748: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'access_func':
fuseparts/_fusemodule.c:756: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'lock_func':
fuseparts/_fusemodule.c:828: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'utimens_func':
fuseparts/_fusemodule.c:843: error: 'EINVAL' undeclared (first use in this function)
fuseparts/_fusemodule.c: In function 'bmap_func':
fuseparts/_fusemodule.c:859: error: 'EINVAL' undeclared (first use in this function)
error: command 'gcc' failed with exit status 1
I checked this:
python -V -> Python 2.5.2
whereis fuse -> fuse: /usr/include/fuse /usr/include/fuse.h

Thanks for reading this.
 
Old 01-16-2009, 11:17 PM   #2
guanx
Senior Member
 
Registered: Dec 2008
Posts: 1,179

Rep: Reputation: 236Reputation: 236Reputation: 236
Did you install kernel-headers-*.tgz ?
 
Old 01-17-2009, 01:20 PM   #3
xri
Member
 
Registered: Aug 2002
Distribution: Archlinux, Garuda Linux
Posts: 283

Original Poster
Blog Entries: 11

Rep: Reputation: 41
I'm away from that computer now, but I'll check on that. Thanks for pointing it out.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
curlftpfs - fuse not found, but installed... jon23d Linux - Software 2 09-28-2011 08:40 AM
FUSE works but fuse group does not exist? violagirl23 Linux - Software 3 01-21-2008 04:01 AM
Is python installed? K05T9 Slackware 2 11-15-2006 05:13 PM
Error trying to install the Python FUSE bindings. EOHooligan Linux - Software 0 02-15-2005 06:23 PM
Installed Python 2.4 Tuul Programming 3 01-25-2005 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration