Skip to contentSkip to conversation

How to compile btrfs-progs?

DISCUSSION Nishant Agrawal 3 participants 3 messages Feb 12, 2015 – Feb 13, 2015 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hi,

I am new to btrfs and trying to learn it.

I have download btrfs-progs code from the git repository but not able to compile it.

Can someone help me with the steps to compile this user space programs?

Thanks
Nishant

#1 lore raw
Quoted 8 lines · Nishant Agrawal

Hi,

I am new to btrfs and trying to learn it.

I have download btrfs-progs code from the git repository but not able to compile it.

Can someone help me with the steps to compile this user space programs?

There's a bunch of prerequisites you need to install. The wiki
documentation at [1], [2] may be of assistance. If you're still having problems after that, it'd be handy to know how things are going wrong for you, rather than "not able to compile".

Hugo.

[1] https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories#Dependencies
[2] https://btrfs.wiki.kernel.org/index.php/Getting_started#Compiling_the_userspace_utilities

Signature · 4 lines
Hugo Mills             | "There's a Martian war machine outside -- they want
hugo@... carfax.org.uk | to talk to you about a cure for the common cold."
http://carfax.org.uk/  |
PGP: 65E74AC0          |                           Stephen Franklin, Babylon 5
#2 lore raw
Quoted 15 lines · Hugo Mills
Quoted 8 lines · Nishant Agrawal

Hi,

I am new to btrfs and trying to learn it.

I have download btrfs-progs code from the git repository but not able to compile it.

Can someone help me with the steps to compile this user space programs?

There's a bunch of prerequisites you need to install. The wiki
documentation at [1], [2] may be of assistance. If you're still having problems after that, it'd be handy to know how things are going wrong for you, rather than "not able to compile".

Quoted 4 lines

Hugo.

[1] https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories#Dependencies
[2] https://btrfs.wiki.kernel.org/index.php/Getting_started#Compiling_the_userspace_utilities

The general build info should be in the INSTALL file at least. Right not it's not entirely useful. (Hint for an easy patch.)