LinHES Forums
http://forums.linhes.org/

Build djmount
http://forums.linhes.org/viewtopic.php?f=6&t=19870
Page 1 of 1

Author:  marc.aronson [ Mon May 18, 2009 11:30 am ]
Post subject:  Build djmount

I'm trying to build djmount. I've download the sources from http://fuse.sourceforge.net/ and untared. When I try to run "./configure" I get the following error on my KM R5.5 system;

Code:
checking FUSE_LIBS... -lfuse
checking whether FUSE_CFLAGS and FUSE_LIBS work... no
configure: error:
** Can't find fuse library (or it is too old).
** try to configure again
 - using --with-fuse-prefix=DIR if the package is installed in
   non-standard location DIR/include and DIR/lib,
 - or set the FUSE_CFLAGS and/or FUSE_LIBS environment variables
   before calling 'configure',
 - or add the directory containing 'fuse.pc' to the PKG_CONFIG_PATH
   environment variable for pkg-config.



I believe that FUSE is part of the R5.5 base install -- any suggestions on how to resolve this would be appreciated.

Author:  marc.aronson [ Thu Jul 02, 2009 4:03 pm ]
Post subject: 

I've tried several different approaches but still no luck. Any suggestions would be appreciated...

Author:  manicmike [ Thu Jul 02, 2009 4:28 pm ]
Post subject: 

marc.aronson wrote:
I've tried several different approaches but still no luck. Any suggestions would be appreciated...


Hi Marc,

You haven't really said exactly *what* you've tried. Have you followed all of the instructions on the sf page? There's a kernel prep HOWTO in the event that the process fails. Have you the installed the 5.5 kernel headers?

Mike

Author:  marc.aronson [ Thu Jul 02, 2009 5:32 pm ]
Post subject: 

Good point. Here is what I tried:

1. Downloaded sources for djmount and untar’ed.
2. Noted that FUSE is already installed on KM5.5
3. Tried a simple ./configure and got the error noted on the original post
4. Found the fuse libraries at /usr/lib/libfuse.so.2.6.2
5. Found the fuse headers at /usr/include/linux/fuse.h
6. Found the “.ko” file at /lib/modules/2.6.23-chw-4/kernel/fs/fuse/fuse.ko
7. Tried “./configure -- --with-fuse-prefix=/usr” – still failed.
8. Created sym link /usr/lib/libfuse.so pointing at libfuse.so.2.6.2
9. Created sym link /usr/include/fuse.h pointing at /usr/include/linux/fuse.h
10. Tried “./configure -- --with-fuse-prefix=/usr” at failed with the following message:

Code:
checking FUSE_CFLAGS...  -I/usr/include -D_FILE_OFFSET_BITS=64
checking FUSE_LIBS...  -L/usr/lib -lfuse
checking whether FUSE_CFLAGS and FUSE_LIBS work... no
configure: error:
** Can't find fuse library (or it is too old).
** try to configure again
 - using --with-fuse-prefix=DIR if the package is installed in
   non-standard location DIR/include and DIR/lib,
 - or set the FUSE_CFLAGS and/or FUSE_LIBS environment variables
   before calling 'configure',
 - or add the directory containing 'fuse.pc' to the PKG_CONFIG_PATH
   environment variable for pkg-config.


I do not believe that fuse version 2.6.2 is "too old" as the instruction talk about djmount working with earlier versions of fuse. Thanks for any help or pointers...

Author:  manicmike [ Thu Jul 02, 2009 8:58 pm ]
Post subject: 

You know version 2.7.4-1.1 is available in the repository, right? You'd just have to apt-get install libfuse2 and it will update it for you. Getting a package is vastly preferable to compiling from source. Just behind that is making a .deb from source. You can also get the source using apt.

Alternatively, do you have libfuse-dev installed? May be needed.

The djmount package you mention isn't referenced from the URL you quoted, otherwise I could build it and just tell you what was required (or send you the built deb).

Mike

Author:  marc.aronson [ Thu Jul 02, 2009 10:25 pm ]
Post subject: 

Mike,

First of all I want to thank you for the level of help your offering here -- its really appreciated!

I didn't know that version 2.7.4.1 of FUSE is in the repository, but given that a version of fuse is already install in r5.5 I wasn't trying to re-build fuse. As I read your message and look at my original post I realize that I inadvertantly provided a link to fuse when I meant to provide a link to djmount. That has probably created the impression that I am trying to build fuse.

Here is the homepage for djmountand here is the download linkfor djmount. Thanks again for any guidance or help you can provide...

Marc

Author:  manicmike [ Sun Jul 05, 2009 2:04 am ]
Post subject: 

marc.aronson wrote:
Mike,

First of all I want to thank you for the level of help your offering here -- its really appreciated!

I didn't know that version 2.7.4.1 of FUSE is in the repository, but given that a version of fuse is already install in r5.5 I wasn't trying to re-build fuse. As I read your message and look at my original post I realize that I inadvertantly provided a link to fuse when I meant to provide a link to djmount. That has probably created the impression that I am trying to build fuse.

Here is the homepage for djmountand here is the download linkfor djmount. Thanks again for any guidance or help you can provide...

Marc


Hi Marc,

You're welcome.

I just built it. Updated libfuse2 and it wouldn't build. Installed the dev package and it built beautifully. Here is my bash history:

512 ./configure --prefix=/usr--sysconfdir=/etc # (this attempt failed)
513 apt-cache search fuse
514 apt-get install libfuse-dev
515 ./configure --prefix=/usr--sysconfdir=/etc # (this one was successful)
516 make
517 make install

If you want the built source, I can tar and gzip it to you by email, but it is trivial to build once you install the fuse packages.

Cheers

Mike

Author:  marc.aronson [ Sun Jul 05, 2009 2:54 pm ]
Post subject: 

Mike, thanks -- that did the trick! Alas, it looks like I won't be able to get to the final outcome I was looking for. I have a copy of "PlayOn". PlayOn takes content from Hulu, Netflix and others and makes it visible on your network as a UPNP share. I was hoping to use a combination of the PlayOn and DJmount to enable me to browse and play Hulu & netflix content from the mythtv mythvideo front end. Alas, it won't work out:

1. Netflix plays a video that says that my system isn't DRM compliant.

2. Hulu directories come up empty -- no visible videos.

Oh well -- it seems like a good idea...

Author:  Too Many Secrets [ Thu Jul 16, 2009 9:35 am ]
Post subject: 

I dont think we will ever see Netflix stream to our linux boxes... sad. I hate DRM.

DW is always asking about hulu too. MythVodka worked so well, for a while, that we got a glimpse of what could be... if only... if only.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/