Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntfs3g build error<maybe solved>
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
redwing26
Apprentice
Apprentice


Joined: 20 Jan 2006
Posts: 156
Location: movl "scotland",%ebp

PostPosted: Wed Dec 12, 2007 5:50 pm    Post subject: ntfs3g build error<maybe solved> Reply with quote

Hiya , I am going through some ntfs3g docs and all they say is that I must disable filesystem in userspace support , this I have done but when I try to emerge as per docs heres what happens

localhost linux # emerge -av sys-fs/ntfs3g

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] sys-fs/fuse-2.7.0 0 kB
[ebuild N ] sys-fs/ntfs3g-1.810 USE="-suid" 569 kB

Total: 2 packages (2 new), Size of downloads: 569 kB

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 2) sys-fs/fuse-2.7.0 to /
* fuse-2.7.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking fuse-2.7.0.tar.gz ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
/usr/portage/eclass/linux-info.eclass: line 200: [: too many arguments
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /usr/src/linux
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
*
* ERROR: sys-fs/fuse-2.7.0 failed.
* Call stack:
* ebuild.sh, line 1717: Called dyn_setup
* ebuild.sh, line 768: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* fuse-2.7.0.ebuild, line 29: Called linux-mod_pkg_setup
* linux-mod.eclass, line 465: Called linux-info_pkg_setup
* linux-info.eclass, line 558: Called die
* The specific snippet of code:
* get_version || die "Unable to calculate Linux Kernel version"
* The die message:
* Unable to calculate Linux Kernel version
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-fs/fuse-2.7.0/temp/build.log'.
*

* Messages for package sys-fs/fuse-2.7.0:

* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
*
* ERROR: sys-fs/fuse-2.7.0 failed.
* Call stack:
* ebuild.sh, line 1717: Called dyn_setup
* ebuild.sh, line 768: Called qa_call 'pkg_setup'
* ebuild.sh, line 44: Called pkg_setup
* fuse-2.7.0.ebuild, line 29: Called linux-mod_pkg_setup
* linux-mod.eclass, line 465: Called linux-info_pkg_setup
* linux-info.eclass, line 558: Called die
* The specific snippet of code:
* get_version || die "Unable to calculate Linux Kernel version"
* The die message:
* Unable to calculate Linux Kernel version
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-fs/fuse-2.7.0/temp/build.log'.


Any idea where I can get good docs which explain exactly what I need compiled in my kernel?

Thanks again

Ow one other thing and im not sure if this has any relevance but Im using gentoo sources and compile my kernel with

genkernel --dmraid --menuconfig all

and ls -l /usr/src/linux gives lrwxrwxrwx 1 root root 22 Dec 6 05:45 linux -> linux-2.6.23-gentoo-r3
_________________
Never do today what you can put of until tommorow ..........unless its to do with a x86 :-)


Last edited by redwing26 on Wed Dec 12, 2007 6:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
redwing26
Apprentice
Apprentice


Joined: 20 Jan 2006
Posts: 156
Location: movl "scotland",%ebp

PostPosted: Wed Dec 12, 2007 6:09 pm    Post subject: Reply with quote

Ok I hope this will be of use to someone but the following page

http://gentoo-wiki.com/HOWTO_NTFS_write_with_ntfs-3g

tells you to disable filesystem in userspace support but I did the opposite as doing it that way wasnt working and now the portage packages install . Im rusty in regards to linux at this time so Im unsure if what I have done is the correct thing but only time will tell :-)
_________________
Never do today what you can put of until tommorow ..........unless its to do with a x86 :-)
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2609

PostPosted: Wed Dec 12, 2007 6:19 pm    Post subject: Reply with quote

Yes, the kernel version of FUSE needs to be disabled in order to merge ntfs-3g because it pulls in sys-fs/fuse.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Dec 13, 2007 5:41 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Kernel & Hardware.
Not about getting gentoo installed, so moved here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum