QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: 再见情人

gnome @ magic linux

[复制链接]
 楼主| 发表于 2005-8-28 11:46:59 | 显示全部楼层
lonestar老大,你到magiclinux区发个帖吧,鼓励大家安装,发现问题或者依赖的问题也可以尽快解决
回复

使用道具 举报

发表于 2005-8-28 17:56:41 | 显示全部楼层
我用了一下 -5 的 g-v-m,还是有问题。安装你制作的 rpm 后,执行 gnome-volume-properties,屏幕报告:

Could not load the main interface

Please make sure that the volume manager is properly installed

终端上报告:

(gnome-volume-properties:31666): libglade-WARNING **: could not find glade file '/usr/local/share/gnome-volume-manager/gnome-volume-properties.glade'

不知怎的它跑去 /usr/local/ 目录下找他的界面文件了,而这个文件应该在 /usr 下面。

我再次看了一下 spec,发现里面没有做 ./configure,我又加了一行:

  %prep
  %setup -q
+%configure

然后我自己试着编译了一个,可以运行。请你也再次试试!
回复

使用道具 举报

 楼主| 发表于 2005-8-28 23:31:38 | 显示全部楼层
这回总算可以了,请lone老大再试试看,我已经反复实验,打了一些patch,如果这次还有问题,我估计就没辄了,,除非升级pmount了呵呵,版本为6
回复

使用道具 举报

发表于 2005-8-29 09:58:59 | 显示全部楼层
呵呵,我看见你换用了 [email protected] 的 spec。和 redhat 的 spec 一样,他们的问题是总是多出很多不必要的东西。而且从长远来看,我也倾向于我们维护自己的 spec 文件,而不是简单地照搬别人的。另外它有几个不太恰当的依赖性,它依赖于 gthumb 和 gnome-media。一个磁盘卷管理器依赖于一个图片查看器,这是不太合理的。

不过无所谓了,能工作就好。我运行了一下似乎没什么问题,只有一个问题是,我们怎么让 g-v-m 能随着 session 一起启动起来?现在都是要手动打一下才会有的。

另外,我今天制作了一个虚拟包,gnome-core,放到了 apt 上。没有安装过 gnome 的人只要打一下 apt-get install gnome-core,就会将整个 gnome 安装进来。大家都来测试一下吧!
回复

使用道具 举报

 楼主| 发表于 2005-8-29 12:57:11 | 显示全部楼层
我昨天刚开始传的是一个自己写的patch,重新打包的1.2.2.6但是运行g-v-m提示
(gnome-volume-manager:11412): WARNING **: manager.c/487: failed to exec /usr/bin/pmount-hal %: 无法执行子进程 “/usr/bin/pmount-hal %h” ( 没有那个文件或目录),如果不加%h,就会找不到udi,这个弄了半天没搞定。
我后来试了一下 [email protected] 的 spec,决定先换一下,暂时能工作就好,至于依赖问题,这个很好办,把没用的source和pacth去掉,修改一下spec。随session起动的问题,设置一下就好,我看看有没有办法安装后就可以运行
我会继续跟进g-v-m的包
回复

使用道具 举报

发表于 2005-8-29 19:26:44 | 显示全部楼层
我现在不太明白了,你没有加 pmount 的参数,它怎么可能能和 pmount 配合工作呢?

pmount 肯定是要坚持的,你的错误讯息应该还是没有配好所致吧。我争取去借一个移动设备来,可以帮你测一把
回复

使用道具 举报

发表于 2005-8-29 20:30:30 | 显示全部楼层
我刚才看了一下,1.2.2 的 g-v-m 并没有 --with-mount-command 这个开关,只有 1.3 的才有。建议直接上 1.3.2 吧
回复

使用道具 举报

 楼主| 发表于 2005-8-29 20:33:34 | 显示全部楼层
好,上,呵呵,我先试试看
回复

使用道具 举报

 楼主| 发表于 2005-8-30 14:28:45 | 显示全部楼层
dbus,hal没有升级的话,解决不了1.3
回复

使用道具 举报

 楼主| 发表于 2005-8-30 19:07:07 | 显示全部楼层
我修改了configure, configure.in默认可以
gnome-volume-manager has been configured as follows:

        Submount support:    disabled
        Mount command:       /usr/bin/pmount-hal %h
        Unmount command:     /usr/bin/pumount %d

        Nautilus:            /usr/bin/nautilus
但是make的时候
manager.o(.text+0xa1e): In function `gvm_run_command':
/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:547: undefined reference to `libhal_free_string'
manager.o(.text+0xa2a):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:548: undefined reference to `libhal_free_string'
manager.o(.text+0xc6d):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:515: undefined reference to `libhal_device_query_capability'
manager.o(.text+0xcb7):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:516: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0xcf: In function `gvm_udi_is_camera':
/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:614: undefined reference to `libhal_device_query_capability'
manager.o(.text+0xd22):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:617: undefined reference to `libhal_device_get_property_bool'
manager.o(.text+0xed: In function `gvm_check_photos':
/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:713: undefined reference to `libhal_device_add_capability'
manager.o(.text+0x1025): In function `hal_device_added':
/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1152: undefined reference to `libhal_device_query_capability'
manager.o(.text+0x104d):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1154: undefined reference to `libhal_device_get_property_bool'
manager.o(.text+0x107b):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1159: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x10b2):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1174: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x1106):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1214: undefined reference to `libhal_free_string'
manager.o(.text+0x1111):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1215: undefined reference to `libhal_free_string'
manager.o(.text+0x1119):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1216: undefined reference to `libhal_free_string'
manager.o(.text+0x11c4):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:673: undefined reference to `libhal_device_query_capability'
manager.o(.text+0x1216):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:754: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x123e):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:762: undefined reference to `libhal_free_string'
manager.o(.text+0x1265):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1166: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x12dc):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1183: undefined reference to `libhal_device_get_property_bool'
manager.o(.text+0x133e):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1098: undefined reference to `libhal_device_property_exists'
manager.o(.text+0x1362):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1098: undefined reference to `libhal_device_get_property_bool'
manager.o(.text+0x138:/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1108: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x13dd):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1041: undefined reference to `libhal_device_get_property_bool'
manager.o(.text+0x1403):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1042: undefined reference to `libhal_device_get_property_bool'
manager.o(.text+0x142:/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1043: undefined reference to `libhal_device_get_property_bool'
manager.o(.text+0x144b):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1044: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x146f):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1045: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x14a:/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1076: undefined reference to `libhal_free_string'
manager.o(.text+0x14b3):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1077: undefined reference to `libhal_free_string'
manager.o(.text+0x14be):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:762: undefined reference to `libhal_free_string'
manager.o(.text+0x171d):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1019: undefined reference to `libhal_device_get_property_bool'
manager.o(.text+0x1760):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:933: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x17ba):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:967: undefined reference to `libhal_free_string'
manager.o(.text+0x17c6):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:968: undefined reference to `libhal_free_string'
manager.o(.text+0x19fe): In function `hal_property_modified':
/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1279: undefined reference to `libhal_device_get_property_bool'
manager.o(.text+0x1b47):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:839: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x1b73):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:846: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x1bcd):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:638: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x1bf9):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:645: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x1c5c):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:659: undefined reference to `libhal_free_string'
manager.o(.text+0x1c67):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:660: undefined reference to `libhal_free_string'
manager.o(.text+0x1d1b):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:880: undefined reference to `libhal_free_string'
manager.o(.text+0x1d26):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:881: undefined reference to `libhal_free_string'
manager.o(.text+0x215d): In function `unmount_all':
/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1500: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x21ac):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1504: undefined reference to `libhal_free_string'
manager.o(.text+0x2473): In function `main':
/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1372: undefined reference to `libhal_ctx_new'
manager.o(.text+0x2737):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1354: undefined reference to `libhal_ctx_set_dbus_connection'
manager.o(.text+0x274:/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1384: undefined reference to `libhal_ctx_set_device_added'
manager.o(.text+0x2759):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1385: undefined reference to `libhal_ctx_set_device_removed'
manager.o(.text+0x276a):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1386: undefined reference to `libhal_ctx_set_device_new_capability'
manager.o(.text+0x277b):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1387: undefined reference to `libhal_ctx_set_device_lost_capability'
manager.o(.text+0x278c):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1388: undefined reference to `libhal_ctx_set_device_property_modified'
manager.o(.text+0x279d):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1389: undefined reference to `libhal_ctx_set_device_condition'
manager.o(.text+0x27a9):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1391: undefined reference to `libhal_device_property_watch_all'
manager.o(.text+0x27b9):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1398: undefined reference to `libhal_ctx_init'
manager.o(.text+0x280:/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1416: undefined reference to `libhal_ctx_free'
manager.o(.text+0x2903):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1411: undefined reference to `libhal_get_all_devices'
manager.o(.text+0x2913):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1420: undefined reference to `libhal_free_string_array'
manager.o(.text+0x2947):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1443: undefined reference to `libhal_find_device_by_capability'
manager.o(.text+0x298f):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1454: undefined reference to `libhal_device_property_exists'
manager.o(.text+0x29ad):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1480: undefined reference to `libhal_free_string_array'
manager.o(.text+0x29ff):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1415: undefined reference to `libhal_ctx_shutdown'
manager.o(.text+0x2a4f):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1454: undefined reference to `libhal_device_get_property_bool'
manager.o(.text+0x2a72):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1459: undefined reference to `libhal_device_property_exists'
manager.o(.text+0x2a95):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1461: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x2abd):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1472: undefined reference to `libhal_free_string'
manager.o(.text+0x2b11):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1466: undefined reference to `libhal_free_string'
manager.o(.text+0x2b30):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1469: undefined reference to `libhal_device_get_property_string'
manager.o(.text+0x2bdc):/root/Desktop/gnome-volume-manager-1.3.2/src/manager.c:1472: undefined reference to `libhal_free_string'
collect2: ld returned 1 exit status
make[2]: *** [gnome-volume-manager] 错误 1
make[2]: Leaving directory `/root/Desktop/gnome-volume-manager-1.3.2/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/root/Desktop/gnome-volume-manager-1.3.2'
make: *** [all] 错误 2
估计还得修改manager.c
回复

使用道具 举报

发表于 2005-8-31 00:00:09 | 显示全部楼层
看来此题无解了?
回复

使用道具 举报

 楼主| 发表于 2005-9-1 12:54:55 | 显示全部楼层
我试了很多遍,hal版本太低,解决不了,我把congfigure,configure.in,  manager.c, properties.c都改了,已经能够安装及打包,但是还是有点问题,hal版本低,不太好办,pmount到没什么问题,修改congfigure,configure.in,  manager.c, properties.c需要大量的核对配置工作,所以到现在才回老大的帖
回复

使用道具 举报

发表于 2005-9-1 15:10:48 | 显示全部楼层
啊哈,这些天我也没闲着。debian 里面很早(大约在 g-v-m 1.0.x 时期)就已经使用了 pmount,所以我去那儿搞来了一个补丁,稍加修改后打在了 g-v-m 1.2.2 上。

补过的 g-v-m 可以和 pmount 配合工作了,插入usbdisk 时会自动 mount,也可以访问里面的内容。可是奇怪的是 mount 后,桌面上没有出现新卷的图标,“计算机”里面也没有,以至于我没法 umount 它。

我把补丁附上来,再见兄请玩一玩;)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
回复

使用道具 举报

 楼主| 发表于 2005-9-1 16:08:15 | 显示全部楼层
我的就是这个问题,呵呵,就是无法卸载,可以自动打开文件夹,就是没有图标,我还以为是hal的问题呢
回复

使用道具 举报

 楼主| 发表于 2005-9-1 20:16:34 | 显示全部楼层
老大,真的是该恭喜阿,我现在上传了打了你的patch的g-v-m以及加了补丁的gnome-vfs2版本号为2,请查收,目前在我这里运行良好,我自己打那个1.3.2也可以运行了,不过还是传了1.2.2-7,因为我的那个修改后只能装在/usr/local,否则有问题重新configure都没用
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-22 08:45 , Processed in 0.090186 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表