在ubuntu10.10下怎么安装gnome-globalmenu全局菜单?(已解决)

桌面秀,不同桌面、不同风格。
头像
drvicar
帖子: 1285
注册时间: 2007-12-17 18:07
来自: 西安

Re: 在ubuntu10.10下怎么安装gnome-globalmenu全局菜单?(已解决)

#16

帖子 drvicar »

全局菜单?什么概念,搜下去!
头像
红世之徒
帖子: 70
注册时间: 2010-04-30 19:13

Re: 在ubuntu10.10下怎么安装gnome-globalmenu全局菜单?(已解决)

#17

帖子 红世之徒 »

zyh120982943 写了:到底是怎么解决的啊???楼上的方法我都试了,还是没有解决问题,还是和搂主的问题贴一样啊!!!求救啊!!怎么解决。我是菜鸟
按上面各位提供的方法一步一步编译,应该没问题的,我已经用过两次了
头像
adsl
帖子: 61
注册时间: 2010-04-05 16:43
来自: 山东临沂
联系:

Re: 在ubuntu10.10下怎么安装gnome-globalmenu全局菜单?(已解决)

#18

帖子 adsl »

留下脚印,有空回家试试
http://shop100148913.taobao.com/ 欢迎光临偶滴小店
xtz1990
帖子: 452
注册时间: 2010-06-03 22:51

Re: 在ubuntu10.10下怎么安装gnome-globalmenu全局菜单?

#19

帖子 xtz1990 »

jiyuyan 写了:1、准备编译工具
sudo apt-get install build-essential flex bison gnome-common libglib2.0-dev
sudo apt-get install gtk-doc-tools autoconf2.13 automake1.9 libgtk2.0-dev libdbus-glib-1-dev libwnck-dev libpanel-applet2-dev
2、编译安装Vala
1)到这里下载Vala的最新版本ftp.acc.umu.se/pub/GNOME/sources/vala/
2)解压下载到的压缩包,并在解压得到的文件夹内打开终端
3)运行./configure命令
4)运行make命令
5)运行sudo make install命令
3、编译安装Global-Menu
1)到这里下载最新版本的globalmenu:code.google.com/p/gnome2-globalmenu/downloads/list
2)解压下载到的压缩包,并在解压得到的文件夹内打开终端
3)运行./configure --prefix=/usr --sysconfdir=/etc --disable-tests --without-xfce4-panel命令
4)运行make命令
5)运行sudo make install命令
4、在用户目录下建立.gnomerc文件
gedit ~/.gnomerc编辑文件 export GTK_MODULES=globalmenu-gnome
5、登出或者重启X
然后在面板上添加:全局菜单小程序
这样就可以设置属性,调整标题长度了。估计稳定性也会好些。
在第3步,编译安装Global-Menu时出错了,显示信息为:
god@god-L510:~/下载/gnome-globalmenu-0.7.10$ ./configure --prefix=/usr --sysconfdir=/etc --disable-tests --without-xfce4-panel
configure: WARNING: unrecognized options: --disable-tests
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for bash... /bin/bash
checking if dolt supports this host... yes, replacing libtool
Using config source xml:merged:/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking for gconftool-2... /usr/bin/gconftool-2
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking whether NLS is requested... yes
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.10.1
checking for XML::Parser... ok
checking for valac... /usr/local/bin/valac
checking valac is at least version 0.7.7... /usr/local/bin/valac: error while loading shared libraries: libvala-0.12.so.0: cannot open shared object file: No such file or directory
yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for GTK... yes
checking for WNCK... yes
checking for GMENU... configure: error: Package requirements (libgnome-menu >= 2.16.0) were not met:

No package 'libgnome-menu' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GMENU_CFLAGS
and GMENU_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

god@god-L510:~/下载/gnome-globalmenu-0.7.10$

请问怎么解决?谢谢!
xtz1990
帖子: 452
注册时间: 2010-06-03 22:51

Re: 在ubuntu10.10下怎么安装gnome-globalmenu全局菜单?(已解决)

#20

帖子 xtz1990 »

怎么没人来回答啊?
xtz1990
帖子: 452
注册时间: 2010-06-03 22:51

Re: 在ubuntu10.10下怎么安装gnome-globalmenu全局菜单?(已解决)

#21

帖子 xtz1990 »

通过自己的摸索 解决了
mlf1989319
帖子: 72
注册时间: 2011-04-06 23:36

Re: 在ubuntu10.10下怎么安装gnome-globalmenu全局菜单?(已解决)

#22

帖子 mlf1989319 »

教育网一直不能添加源安装 谢谢8楼的朋友
头像
laohuamao
帖子: 23
注册时间: 2011-03-20 19:19

Re: 在ubuntu10.10下怎么安装gnome-globalmenu全局菜单?(已解决)

#23

帖子 laohuamao »

xtz1990 写了:通过自己的摸索 解决了

你是怎么摸索的,我也是到了这步就不行了的,请指教
ubuntu10.04.3 ing
头像
evilaqua
帖子: 170
注册时间: 2007-09-13 14:06

Re: 在ubuntu10.10下怎么安装gnome-globalmenu全局菜单?

#24

帖子 evilaqua »

mayue617 写了:如果不想编译的话 可以试试ubuntu里源里自带的程序"Indicator Applet Appmenu"

代码: 全选

sudo apt-get install appmenu-gtk indicator-appmenu indicator-applet-appmenu
我就用这个呢
我的为什么不行,我一开始用的是163的源,然后提示E: 未发现软件包 indicator-applet-appmenu

于是我又换了系统默认的主国服务器及主服务器,都是一样的提示~
回复