Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 03-11-2008, 09:15 PM   #1
Hungry ghost
Senior Member
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Installing fusefs-kmod: "Set SRC_BASE if it is not in /usr/src"

Hello people, after some months, I'm giving FreeBSD a second try (FreeBSD 7.0, this time). My problem is, when I try to install fusefs-ntfs, I get the following error when checking for the fusefs-kmod dependency:

Inside /usr/ports/sysutils/fusefs-ntfs:
make install clean
===>  Installing for fusefs-ntfs-1.2216
===>   fusefs-ntfs-1.2216 depends on file: /usr/local/modules/fuse.ko - not found
===>    Verifying install for /usr/local/modules/fuse.ko in /usr/ports/sysutils/fusefs-kmod
===>  fusefs-kmod-0.3.9.p1.20080208 requires the userland sources to be installed. Set SRC_BASE if it is not in /usr/src.
*** Error code 1

Stop in /usr/ports/sysutils/fusefs-kmod.
*** Error code 1

Stop in /usr/ports/sysutils/fusefs-ntfs.
*** Error code 1

Stop in /usr/ports/sysutils/fusefs-ntfs.
I searched on google for this error and found tons of info about it. I installed the kernel source from the CD with sysinstall, attempted to reinstall the package and it failed with the same error. I also read some info on the net about a patch for the fusefs-kmod package Makefile, but I'm unsure about how to apply the patch (and I'm not sure if it works).

Additionally, I get this warning when the ntfs-3g dependency is being configured (previous to compiling process):

config.status: executing depfiles commands
* The FUSE user space binaries were NOT installed with root directory      *
* executable prefix. This means that automounting NTFS volumes during boot *
* could fail. This can be fixed the below way by reinstalling FUSE using   *
* the right 'configure' option during FUSE compilation:                    *
*       ./configure --exec-prefix=/                                        *
*       make && sudo make install                                          *
You can type now 'make' to build ntfs-3g.
===>  Building for fusefs-ntfs-1.2216
The issue I'm most concerned about is the first one, but this ntfs-3g issue is also important because I want my ntfs data partition to automatically mount during boot (and given the fact that the whole process is automated, I can't run the 'configure' script properly).

Does anyone know how to solve these two issues? Thanks in advance.
Old 03-19-2008, 12:53 PM   #2
LQ Newbie
Registered: Aug 2002
Distribution: FreeBSD
Posts: 24

Rep: Reputation: 15
pull down the sources. csup your stable-source file
....quick run down

cp /usr/share/examples/cvsup/stable-supfile /root/stable-supfile

edit the /root/stable-supfile and put the cvsup site, and the release u want, like this

# listed at
*default base=/var/db
*default prefix=/usr
# The following line is for 6-stable. If you want 5-stable, 4-stable,
# 3-stable, or 2.2-stable, change to "RELENG_5", "RELENG_4", "RELENG_3",
# or "RELENG_2_2" respectively.
*default release=cvs tag=RELENG_7_0
*default delete use-rel-suffix

then, i simple type in csup -L 2 /root/stable-supfile

itll pull down all your sources

then try rebuilding the port

i never use the sysinstall to pull down sources...i have in the past, but i like doing it manually and knowing what its doing
Old 03-26-2008, 10:14 AM   #3
Hungry ghost
Senior Member
Registered: Dec 2004
Posts: 1,222

Original Poster
Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
Thanks, I'll try it when I reinstall FreeBSD in some days (I removed it in order to install it on the first partition of my second HD). I'll let you know how it goes.
Old 10-09-2008, 06:02 AM   #4
LQ Newbie
Registered: Jun 2007
Posts: 6

Rep: Reputation: 0
big big thnx for this manual, you saved my time =)
Old 07-13-2009, 10:22 AM   #5
LQ Newbie
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Sorry to dig up an old post, but I had this same problem and did what p3n1x said, and now I'm wondering how to delete the sources to get that hard drive space back. It installed sources for *everything* gcc, gdb, etc.. and I'd like to get that space back.

I'm new to freebsd so... please go gentle on me.

Thanks a lot.
Old 07-14-2009, 05:33 PM   #6
Senior Member
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
Assuming /usr/src is really the culprit that's eating up your disk space...

# cd /usr/src && make cleanworld

If that doesn't free up enough space, you can delete /usr/src/*. (You'll have to csup again, though, if you need the source for anything later.)


bsd, fuse, ntfs

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't locate object method "splitpath" via package "PACK001" at /usr/lib/perl5/5.8.8/ sajigeorge Linux - Software 1 01-11-2009 06:33 AM
What does "Directory "/usr/src/linux" doesn't appear to contain kernel source." mean? jtp51 Linux - General 4 06-11-2007 12:22 AM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
"/usr/src/linux" should you use it ksnash Programming 6 04-30-2005 01:11 AM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 09:02 PM.

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