LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-05-2007, 02:44 AM   #1
prapatbu
LQ Newbie
 
Registered: Jul 2007
Posts: 7

Rep: Reputation: 0
oscf2 on slackware-12.0


Who use ocfs2 on slackware-12.0? Advice me to use it.
I try compile ocfs2-tools-1.2.6.tar.gz on slackware-12.0 but it error.
 
Old 08-05-2007, 03:39 AM   #2
agentc0re
Member
 
Registered: Apr 2007
Location: SLC, UTAH
Distribution: Slackware
Posts: 200

Rep: Reputation: 34
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.
 
Old 08-05-2007, 10:20 AM   #3
prapatbu
LQ Newbie
 
Registered: Jul 2007
Posts: 7

Original Poster
Rep: Reputation: 0
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

Thank you very much
 
Old 08-05-2007, 10:22 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
For one thing, it appears that you need to install glib2.
 
Old 08-05-2007, 10:39 AM   #5
prapatbu
LQ Newbie
 
Registered: Jul 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thank you Nylex.I install full packages of slackware-12.0.
when i use command ls /var/log/packages/glib*.
it return

/var/log/packages/glib-1.2.10-i486-3 /var/log/packages/glibc-profile-2.5-i486-4
/var/log/packages/glib2-2.12.12-i486-1 /var/log/packages/glibc-solibs-2.5-i486-4
/var/log/packages/glibc-2.5-i486-4 /var/log/packages/glibc-zoneinfo-2.5-noarch-4
/var/log/packages/glibc-i18n-2.5-noarch-4

thank you very much.
 
Old 08-06-2007, 11:48 PM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
That's odd :/. Another thing that it can't find is this "compile_et" program.
 
Old 08-07-2007, 02:41 AM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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.
 
Old 08-15-2007, 01:28 PM   #8
henca
Member
 
Registered: Aug 2007
Location: Linköping, Sweden
Distribution: Slackware
Posts: 959

Rep: Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648Reputation: 648
Quote:
Originally Posted by prapatbu View Post
/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld: cannot find -lglib-2.0
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.

regards Henrik
 
  


Reply



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
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:14 AM.

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