SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i don't use it or know what it is but i will give you some advice.
you say you are receiving errors? what errors? you need to post the relevant so that we may help you in your problems.
cut and paste your compile errors would be a start.
Thank you agentc0re. This is step i do.
1)Install packages pycairo,pygobject and pygtk(download from
linuxpackages.net).
2)tar -zxvf ocfs2-tools-1.2.6.tar.gz.
3)cd ocfs2-tools-1.2.6
4)./configue
5)./make
make -C libo2dlm
make[1]: Entering directory `/home/admins/root/ocfs2-tools-1.2.6/libo2dlm'
compile_et o2dlm_err.et
make[1]: compile_et: Command not found
make[1]: *** [o2dlm_err.h] Error 127
make[1]: Leaving directory `/home/admins/root/ocfs2-tools-1.2.6/libo2dlm'
make: *** [libo2dlm] Error 2
6)Install packages krb5(download from slacky.eu).
7)Repeat ./configure and ./make 2> /tmp/e
it not complete
8)vi /tmp/e
+ gawk -f /usr/share/et/et_h.awk outfile=o2dlm_err.h o2dlm_err.et
+ gawk -f /usr/share/et/et_c.awk outfile=o2dlm_err.c o2dlm_err.et
/usr/bin/ar: creating libo2dlm.a
+ gawk -f /usr/share/et/et_h.awk outfile=o2cb_err.h o2cb_err.et
+ gawk -f /usr/share/et/et_c.awk outfile=o2cb_err.c o2cb_err.et
/usr/bin/ar: creating libo2cb.a
+ gawk -f /usr/share/et/et_h.awk outfile=ocfs2_err.h ocfs2_err.et
+ gawk -f /usr/share/et/et_c.awk outfile=ocfs2_err.c ocfs2_err.et
alloc.c: In function 'ocfs2_init_inode':
alloc.c:143: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
alloc.c: In function 'ocfs2_init_eb':
alloc.c:184: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
bitmap.c: In function 'ocfs2_bitmap_merge_region':
bitmap.c:374: warning: pointer targets in assignment differ in signedness
bitmap.c:375: warning: pointer targets in assignment differ in signedness
chainalloc.c: In function 'ocfs2_init_group_desc':
chainalloc.c:489: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
fileio.c: In function 'ocfs2_file_read':
fileio.c:158: warning: pointer targets in passing argument 5 of 'ocfs2_extent_map_get_blocks' differ in signedness
fileio.c: In function 'ocfs2_file_write':
fileio.c:221: warning: pointer targets in passing argument 5 of 'ocfs2_extent_map_get_blocks' differ in signedness
truncate.c: In function 'truncate_iterate':
truncate.c:44: warning: 'len' may be used uninitialized in this function
/usr/bin/ar: creating libocfs2.a
fsck.c: In function 'print_label':
fsck.c:312: warning: pointer targets in initialization differ in signedness
pass2.c: In function 'pass2_dir_block_iterate':
pass2.c:678: warning: pointer targets in passing argument 4 of 'fix_dirent_lengths' differ in signedness
pass2.c:694: warning: pointer targets in passing argument 6 of 'fix_dirent_dots' differ in signedness
pass2.c:700: warning: pointer targets in passing argument 5 of 'fix_dirent_name' differ in signedness
pass2.c:704: warning: pointer targets in passing argument 5 of 'fix_dirent_inode' differ in signedness
pass2.c:709: warning: pointer targets in passing argument 5 of 'fix_dirent_filetype' differ in signedness
pass2.c:716: warning: pointer targets in passing argument 5 of 'fix_dirent_linkage' differ in signedness
pass2.c:723: warning: pointer targets in passing argument 5 of 'fix_dirent_dups' differ in signedness
pass4.c: In function 'o2fsck_pass4':
pass4.c:222: warning: 'blkno' may be used uninitialized in this function
mkfs.c: In function 'initialize_alloc_group':
mkfs.c:1248: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
mkfs.c: In function 'format_superblock':
mkfs.c:1725: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
mkfs.c:1762: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
mkfs.c: In function 'format_file':
mkfs.c:1812: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
mkfs.c: In function 'write_bitmap_data':
mkfs.c:1943: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mkfs.c:1943: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mkfs.c:1943: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
mkfs.c:1943: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mkfs.c:1943: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mkfs.c:1943: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
mkfs.c: In function 'format_leading_space':
mkfs.c:2017: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
mkfs.c:2018: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
mkfs.c:2022: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
mkfs.c:2023: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
mkfs.c: In function 'generate_uuid':
mkfs.c:2070: warning: pointer targets in passing argument 1 of 'uuid_generate' differ in signedness
tunefs.c: In function 'get_options':
tunefs.c:389: warning: pointer targets in passing argument 1 of 'uuid_generate' differ in signedness
tunefs.c: In function 'validate_chain_group':
tunefs.c:708: warning: pointer targets in passing argument 2 of 'get_total_free_bits' differ in signedness
tunefs.c: In function 'update_volume_label':
tunefs.c:888: warning: pointer targets in passing argument 1 of '__builtin_strncpy' differ in signedness
tunefs.c: In function 'main':
tunefs.c:1407: warning: pointer targets in passing argument 1 of 'uuid_unparse' differ in signedness
commands.c: In function 'do_stat':
commands.c:938: warning: pointer targets in passing argument 2 of 'dump_fast_symlink' differ in signedness
commands.c: In function 'do_open':
commands.c:350: warning: 'blksize' may be used uninitialized in this function
dump.c: In function 'dump_super_block':
dump.c:53: warning: dereferencing type-punned pointer will break strict-aliasing rules
dump.c: In function 'dump_inode':
dump.c:215: warning: dereferencing type-punned pointer will break strict-aliasing rules
dump.c:217: warning: dereferencing type-punned pointer will break strict-aliasing rules
dump.c:219: warning: dereferencing type-punned pointer will break strict-aliasing rules
dump.c:221: warning: dereferencing type-punned pointer will break strict-aliasing rules
jconfig.c: In function 'j_config_add_stanza':
jconfig.c:1089: warning: ignoring return value of 'g_list_append', declared with attribute warn_unused_result
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld: cannot find -lglib-2.0
collect2: ld returned 1 exit status
make[1]: *** [o2cb_ctl] Error 1
make: *** [o2cb_ctl] Error 2
compile_et (error table compiler) is part of the e2fsprogs package and is explicitly removed by the official SlackBuild package. Rebuild e2fsprogs without deleting the compile_et program and you'll have it. Be sure to use both the 'make install' and 'make install-libs' rules as the second one installs compile_et.
You do have the library libglib-2.0.so installed on your system, but only the dynamic .so file, not the static .a file. By default ocfs2-tools wants to build a static library. This behaviour can be changed by giving the following switch to configure:
--enable-dynamic-ctl=yes
With this setting your binary will be dynamically linked against the library file in /usr/lib. The drawback of this is that the binary will not be useful before the /usr partition is mounted. This might be a concern for many other file system utilities, but it will probably not be a concern for ocfs2 file systems. I suppose that you first mount your ordinary file systems from fstab and later starts ocfs2 file systems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.