nelsonchung@nelsonchung-laptop:~/Src/lxde$ cd lxmenu-data
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ ls
AUTHORS ChangeLog COPYING INSTALL Makefile.am po rename.py
autogen.sh configure.in desktop-directories layout NEWS README TODO
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ ./autogen.sh
+ [ x != x ]
+ aclocal
+ AUTOMAKE=automake-1.10 intltoolize -c --automake --force
+ automake-1.10 --add-missing --copy --include-deps
configure.in:3: installing `./install-sh'
configure.in:3: installing `./missing'
+ autoconf
+ cp -f /usr/share/automake-1.10/mkinstalldirs .
+ rm -rf autom4te.cache
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ ls
aclocal.m4 ChangeLog COPYING install-sh intltool-update.in Makefile.in NEWS rename.py
AUTHORS configure desktop-directories intltool-extract.in layout missing po TODO
autogen.sh configure.in INSTALL intltool-merge.in Makefile.am mkinstalldirs README
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ ./configure
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 for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 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 >= 0.40.0... 0.40.6 found
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.0
checking for XML::Parser... ok
configure: creating ./config.status
config.status: creating Makefile
config.status: creating layout/Makefile
config.status: creating desktop-directories/Makefile
config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ sudo make
Making all in po
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
Making all in layout
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
Making all in desktop-directories
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-audio-video.directory.in lxde-audio-video.directory
Generating and caching the translation database
NOTICE: ../po/hr.po is not in UTF-8 but iso-8859-2, converting...
Merging translations into lxde-audio-video.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-development.directory.in lxde-development.directory
Found cached translation database
Merging translations into lxde-development.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-education.directory.in lxde-education.directory
Found cached translation database
Merging translations into lxde-education.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-game.directory.in lxde-game.directory
Found cached translation database
Merging translations into lxde-game.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-graphics.directory.in lxde-graphics.directory
Found cached translation database
Merging translations into lxde-graphics.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-hardware.directory.in lxde-hardware.directory
Found cached translation database
Merging translations into lxde-hardware.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-internet-and-network.directory.in lxde-internet-and-network.directory
Found cached translation database
Merging translations into lxde-internet-and-network.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-look-and-feel.directory.in lxde-look-and-feel.directory
Found cached translation database
Merging translations into lxde-look-and-feel.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-menu-applications.directory.in lxde-menu-applications.directory
Found cached translation database
Merging translations into lxde-menu-applications.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-menu-system.directory.in lxde-menu-system.directory
Found cached translation database
Merging translations into lxde-menu-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-network.directory.in lxde-network.directory
Found cached translation database
Merging translations into lxde-network.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-office.directory.in lxde-office.directory
Found cached translation database
Merging translations into lxde-office.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-other.directory.in lxde-other.directory
Found cached translation database
Merging translations into lxde-other.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-personal.directory.in lxde-personal.directory
Found cached translation database
Merging translations into lxde-personal.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-settings.directory.in lxde-settings.directory
Found cached translation database
Merging translations into lxde-settings.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-settings-system.directory.in lxde-settings-system.directory
Found cached translation database
Merging translations into lxde-settings-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-system.directory.in lxde-system.directory
Found cached translation database
Merging translations into lxde-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-system-tools.directory.in lxde-system-tools.directory
Found cached translation database
Merging translations into lxde-system-tools.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-utility-accessibility.directory.in lxde-utility-accessibility.directory
Found cached translation database
Merging translations into lxde-utility-accessibility.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-utility.directory.in lxde-utility.directory
Found cached translation database
Merging translations into lxde-utility.directory.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data'
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ sudo make
Making all in po
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
Making all in layout
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
Making all in desktop-directories
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-audio-video.directory.in lxde-audio-video.directory
Generating and caching the translation database
NOTICE: ../po/hr.po is not in UTF-8 but iso-8859-2, converting...
Merging translations into lxde-audio-video.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-development.directory.in lxde-development.directory
Found cached translation database
Merging translations into lxde-development.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-education.directory.in lxde-education.directory
Found cached translation database
Merging translations into lxde-education.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-game.directory.in lxde-game.directory
Found cached translation database
Merging translations into lxde-game.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-graphics.directory.in lxde-graphics.directory
Found cached translation database
Merging translations into lxde-graphics.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-hardware.directory.in lxde-hardware.directory
Found cached translation database
Merging translations into lxde-hardware.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-internet-and-network.directory.in lxde-internet-and-network.directory
Found cached translation database
Merging translations into lxde-internet-and-network.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-look-and-feel.directory.in lxde-look-and-feel.directory
Found cached translation database
Merging translations into lxde-look-and-feel.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-menu-applications.directory.in lxde-menu-applications.directory
Found cached translation database
Merging translations into lxde-menu-applications.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-menu-system.directory.in lxde-menu-system.directory
Found cached translation database
Merging translations into lxde-menu-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-network.directory.in lxde-network.directory
Found cached translation database
Merging translations into lxde-network.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-office.directory.in lxde-office.directory
Found cached translation database
Merging translations into lxde-office.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-other.directory.in lxde-other.directory
Found cached translation database
Merging translations into lxde-other.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-personal.directory.in lxde-personal.directory
Found cached translation database
Merging translations into lxde-personal.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-settings.directory.in lxde-settings.directory
Found cached translation database
Merging translations into lxde-settings.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-settings-system.directory.in lxde-settings-system.directory
Found cached translation database
Merging translations into lxde-settings-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-system.directory.in lxde-system.directory
Found cached translation database
Merging translations into lxde-system.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-system-tools.directory.in lxde-system-tools.directory
Found cached translation database
Merging translations into lxde-system-tools.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-utility-accessibility.directory.in lxde-utility-accessibility.directory
Found cached translation database
Merging translations into lxde-utility-accessibility.directory.
LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po lxde-utility.directory.in lxde-utility.directory
Found cached translation database
Merging translations into lxde-utility.directory.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data'
nelsonchung@nelsonchung-laptop:~/Src/lxde/lxmenu-data$ sudo make install
Making install in po
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/po'
Making install in layout
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/etc/xdg/menus" || /bin/mkdir -p "/usr/local/etc/xdg/menus"
/usr/bin/install -c -m 644 'lxde-applications.menu' '/usr/local/etc/xdg/menus/lxde-applications.menu'
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/layout'
Making install in desktop-directories
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/desktop-directories" || /bin/mkdir -p "/usr/local/share/desktop-directories"
/usr/bin/install -c -m 644 'lxde-audio-video.directory' '/usr/local/share/desktop-directories/lxde-audio-video.directory'
/usr/bin/install -c -m 644 'lxde-development.directory' '/usr/local/share/desktop-directories/lxde-development.directory'
/usr/bin/install -c -m 644 'lxde-education.directory' '/usr/local/share/desktop-directories/lxde-education.directory'
/usr/bin/install -c -m 644 'lxde-game.directory' '/usr/local/share/desktop-directories/lxde-game.directory'
/usr/bin/install -c -m 644 'lxde-graphics.directory' '/usr/local/share/desktop-directories/lxde-graphics.directory'
/usr/bin/install -c -m 644 'lxde-hardware.directory' '/usr/local/share/desktop-directories/lxde-hardware.directory'
/usr/bin/install -c -m 644 'lxde-internet-and-network.directory' '/usr/local/share/desktop-directories/lxde-internet-and-network.directory'
/usr/bin/install -c -m 644 'lxde-look-and-feel.directory' '/usr/local/share/desktop-directories/lxde-look-and-feel.directory'
/usr/bin/install -c -m 644 'lxde-menu-applications.directory' '/usr/local/share/desktop-directories/lxde-menu-applications.directory'
/usr/bin/install -c -m 644 'lxde-menu-system.directory' '/usr/local/share/desktop-directories/lxde-menu-system.directory'
/usr/bin/install -c -m 644 'lxde-network.directory' '/usr/local/share/desktop-directories/lxde-network.directory'
/usr/bin/install -c -m 644 'lxde-office.directory' '/usr/local/share/desktop-directories/lxde-office.directory'
/usr/bin/install -c -m 644 'lxde-other.directory' '/usr/local/share/desktop-directories/lxde-other.directory'
/usr/bin/install -c -m 644 'lxde-personal.directory' '/usr/local/share/desktop-directories/lxde-personal.directory'
/usr/bin/install -c -m 644 'lxde-settings.directory' '/usr/local/share/desktop-directories/lxde-settings.directory'
/usr/bin/install -c -m 644 'lxde-settings-system.directory' '/usr/local/share/desktop-directories/lxde-settings-system.directory'
/usr/bin/install -c -m 644 'lxde-system.directory' '/usr/local/share/desktop-directories/lxde-system.directory'
/usr/bin/install -c -m 644 'lxde-system-tools.directory' '/usr/local/share/desktop-directories/lxde-system-tools.directory'
/usr/bin/install -c -m 644 'lxde-utility-accessibility.directory' '/usr/local/share/desktop-directories/lxde-utility-accessibility.directory'
/usr/bin/install -c -m 644 'lxde-utility.directory' '/usr/local/share/desktop-directories/lxde-utility.directory'
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data/desktop-directories'
make[1]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/lxmenu-data'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/lxmenu-data'
2009年6月6日 星期六
How to compile LXDE - menu-cache
nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ ./autogen.sh
+ [ x != x ]
+ aclocal
+ autoheader
+ AUTOMAKE=automake-1.10 libtoolize -c --automake --force
+ automake-1.10 --add-missing --copy --include-deps
configure.in:12: installing `./compile'
configure.in:15: installing `./config.guess'
configure.in:15: installing `./config.sub'
configure.in:5: installing `./install-sh'
configure.in:5: installing `./missing'
libmenu-cache/Makefile.am: installing `./depcomp'
+ autoconf
+ cp -f /usr/share/automake-1.10/mkinstalldirs .
+ rm -rf autom4te.cache
nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ ./configure
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 whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... 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 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 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 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... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmenu-cache/Makefile
config.status: creating libmenu-cache/libmenu-cache.pc
config.status: creating libmenu-cache/libmenu-cache-uninstalled.pc
config.status: creating menu-cache-gen/Makefile
config.status: creating menu-cache-daemon/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ make
make all-recursive
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
Making all in libmenu-cache
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Werror-implicit-function-declaration -DMENUCACHE_LIBEXECDIR="\"/usr/local/libexec\"" -g -O2 -MT menu-cache.lo -MD -MP -MF .deps/menu-cache.Tpo -c -o menu-cache.lo menu-cache.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Werror-implicit-function-declaration -DMENUCACHE_LIBEXECDIR=\"/usr/local/libexec\" -g -O2 -MT menu-cache.lo -MD -MP -MF .deps/menu-cache.Tpo -c menu-cache.c -fPIC -DPIC -o .libs/menu-cache.o
menu-cache.c: In function 「read_all_known_des」:
menu-cache.c:279: 警告: 永遠不相容的指標類型賦值
menu-cache.c: In function 「menu_cache_new」:
menu-cache.c:328: 警告: 傳遞參數 2 (屬於 「read_all_known_des」)時在不相容的指標類型間轉換
menu-cache.c: In function 「menu_cache_unref」:
menu-cache.c:363: 警告: 傳遞參數 1 (屬於 「menu_cache_item_unref」)時在不相容的指標類型間轉換
menu-cache.c: In function 「menu_cache_reload」:
menu-cache.c:462: 警告: 傳遞參數 2 (屬於 「read_all_known_des」)時在不相容的指標類型間轉換
menu-cache.c:469: 警告: 傳遞參數 1 (屬於 「menu_cache_item_unref」)時在不相容的指標類型間轉換
menu-cache.c: In function 「menu_cache_item_unref」:
menu-cache.c:511: 警告: 比較不相關的指標時缺少類型轉換
menu-cache.c:517: 警告: 比較不相關的指標時缺少類型轉換
menu-cache.c: In function 「menu_cache_get_dir_from_path」:
menu-cache.c:643: 警告: 永遠不相容的指標類型賦值
menu-cache.c: In function 「menu_cache_dir_make_path」:
menu-cache.c:657: 警告: 傳遞參數 1 (屬於 「menu_cache_item_get_id」)時在不相容的指標類型間轉換
menu-cache.c: In function 「get_socket_name」:
menu-cache.c:666: 警告: 初始化丟棄了指標目的類型的限定
menu-cache.c: In function 「register_menu_to_server」:
menu-cache.c:859: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cache.c: In function 「unregister_menu_from_server」:
menu-cache.c:890: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cache.c: In function 「list_app_in_dir」:
menu-cache.c:925: 警告: 傳遞參數 1 (屬於 「list_app_in_dir」)時在不相容的指標類型間轉換
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Werror-implicit-function-declaration -DMENUCACHE_LIBEXECDIR=\"/usr/local/libexec\" -g -O2 -MT menu-cache.lo -MD -MP -MF .deps/menu-cache.Tpo -c menu-cache.c -o menu-cache.o >/dev/null 2>&1
mv -f .deps/menu-cache.Tpo .deps/menu-cache.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -export-symbols-regex menu_cache -o libmenu-cache.la -rpath /usr/local/lib menu-cache.lo -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
libtool: link: /usr/bin/nm -B .libs/menu-cache.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libmenu-cache.exp
libtool: link: /bin/grep -E -e "menu_cache" ".libs/libmenu-cache.exp" > ".libs/libmenu-cache.expT"
libtool: link: mv -f ".libs/libmenu-cache.expT" ".libs/libmenu-cache.exp"
libtool: link: echo "{ global:" > .libs/libmenu-cache.ver
libtool: link: cat .libs/libmenu-cache.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libmenu-cache.ver
libtool: link: echo "local: *; };" >> .libs/libmenu-cache.ver
libtool: link: gcc -shared .libs/menu-cache.o /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -Wl,-soname -Wl,libmenu-cache.so.0 -Wl,-version-script -Wl,.libs/libmenu-cache.ver -o .libs/libmenu-cache.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libmenu-cache.so.0" && ln -s "libmenu-cache.so.0.0.0" "libmenu-cache.so.0")
libtool: link: (cd ".libs" && rm -f "libmenu-cache.so" && ln -s "libmenu-cache.so.0.0.0" "libmenu-cache.so")
libtool: link: ar cru .libs/libmenu-cache.a menu-cache.o
libtool: link: ranlib .libs/libmenu-cache.a
libtool: link: ( cd ".libs" && rm -f "libmenu-cache.la" && ln -s "../libmenu-cache.la" "libmenu-cache.la" )
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
Making all in menu-cache-gen
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-cache-gen.o -MD -MP -MF .deps/menu-cache-gen.Tpo -c -o menu-cache-gen.o menu-cache-gen.c
menu-cache-gen.c: In function 「write_entry」:
menu-cache-gen.c:147: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c:151: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c:183: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c: In function 「write_dir」:
menu-cache-gen.c:223: 警告: 傳遞引數 1(屬於 「g_free」)丟棄了指標目的類型的限定
menu-cache-gen.c:228: 警告: 傳遞引數 1(屬於 「g_free」)丟棄了指標目的類型的限定
menu-cache-gen.c: In function 「main」:
menu-cache-gen.c:314: 警告: 格式字串不是一個字面字串而且沒有待格式化的引數
menu-cache-gen.c:386: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c:424: 警告: 傳遞參數 2 (屬於 「g_hash_table_foreach」)時在不相容的指標類型間轉換
mv -f .deps/menu-cache-gen.Tpo .deps/menu-cache-gen.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT canonicalize.o -MD -MP -MF .deps/canonicalize.Tpo -c -o canonicalize.o canonicalize.c
mv -f .deps/canonicalize.Tpo .deps/canonicalize.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT desktop-entries.o -MD -MP -MF .deps/desktop-entries.Tpo -c -o desktop-entries.o desktop-entries.c
mv -f .deps/desktop-entries.Tpo .deps/desktop-entries.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT entry-directories.o -MD -MP -MF .deps/entry-directories.Tpo -c -o entry-directories.o entry-directories.c
mv -f .deps/entry-directories.Tpo .deps/entry-directories.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT gmenu-tree.o -MD -MP -MF .deps/gmenu-tree.Tpo -c -o gmenu-tree.o gmenu-tree.c
mv -f .deps/gmenu-tree.Tpo .deps/gmenu-tree.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-layout.o -MD -MP -MF .deps/menu-layout.Tpo -c -o menu-layout.o menu-layout.c
mv -f .deps/menu-layout.Tpo .deps/menu-layout.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-monitor.o -MD -MP -MF .deps/menu-monitor.Tpo -c -o menu-monitor.o menu-monitor.c
mv -f .deps/menu-monitor.Tpo .deps/menu-monitor.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-util.o -MD -MP -MF .deps/menu-util.Tpo -c -o menu-util.o menu-util.c
mv -f .deps/menu-util.Tpo .deps/menu-util.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -o menu-cache-gen menu-cache-gen.o canonicalize.o desktop-entries.o entry-directories.o gmenu-tree.o menu-layout.o menu-monitor.o menu-util.o ../libmenu-cache/libmenu-cache.la -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
libtool: link: gcc -g -O2 -o .libs/menu-cache-gen menu-cache-gen.o canonicalize.o desktop-entries.o entry-directories.o gmenu-tree.o menu-layout.o menu-monitor.o menu-util.o ../libmenu-cache/.libs/libmenu-cache.so /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
Making all in menu-cache-daemon
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -DMENUCACHE_LIBEXECDIR="\"/usr/local/libexec\"" -Werror-implicit-function-declaration -g -O2 -MT menu-cached.o -MD -MP -MF .deps/menu-cached.Tpo -c -o menu-cached.o menu-cached.c
menu-cached.c: In function 「pre_exec」:
menu-cached.c:156: 警告: 永遠不相容的指標類型初始化
menu-cached.c: In function 「regenerate_cache」:
menu-cached.c:176: 警告: 永遠不相容的指標類型初始化
menu-cached.c:177: 警告: 永遠不相容的指標類型初始化
menu-cached.c:178: 警告: 永遠不相容的指標類型初始化
menu-cached.c:179: 警告: 永遠不相容的指標類型初始化
menu-cached.c:181: 警告: 永遠不相容的指標類型賦值
menu-cached.c:182: 警告: 永遠不相容的指標類型賦值
menu-cached.c:183: 警告: 永遠不相容的指標類型賦值
menu-cached.c:189: 警告: 傳遞參數 2 (屬於 「g_spawn_sync」)時在不相容的指標類型間轉換
menu-cached.c: In function 「delayed_reload」:
menu-cached.c:259: 警告: 傳遞參數 3 (屬於 「g_signal_connect_data」)時在不相容的指標類型間轉換
menu-cached.c:274: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cached.c: In function 「cache_file_is_updated」:
menu-cached.c:469: 警告: 永遠不相容的指標類型賦值
menu-cached.c: In function 「get_socket_name」:
menu-cached.c:481: 警告: 初始化丟棄了指標目的類型的限定
menu-cached.c: In function 「create_socket」:
menu-cached.c:507: 警告: 格式字串引數太少
menu-cached.c: In function 「on_client_data_in」:
menu-cached.c:585: 警告: 傳遞參數 3 (屬於 「cache_file_is_updated」)時在不相容的指標類型間轉換
menu-cached.c:611: 警告: 傳遞參數 3 (屬於 「g_signal_connect_data」)時在不相容的指標類型間轉換
menu-cached.c:630: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cached.c:632: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
mv -f .deps/menu-cached.Tpo .deps/menu-cached.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -o menu-cached menu-cached.o -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
libtool: link: gcc -g -O2 -o menu-cached menu-cached.o /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'
nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ make install
Making install in libmenu-cache
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libmenu-cache.la' '/usr/local/lib/libmenu-cache.la'
libtool: install: /usr/bin/install -c .libs/libmenu-cache.so.0.0.0 /usr/local/lib/libmenu-cache.so.0.0.0
/usr/bin/install: cannot create regular file `/usr/local/lib/libmenu-cache.so.0.0.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make: *** [install-recursive] Error 1
nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ sudo make install
[sudo] password for nelsonchung:
Making install in libmenu-cache
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libmenu-cache.la' '/usr/local/lib/libmenu-cache.la'
libtool: install: /usr/bin/install -c .libs/libmenu-cache.so.0.0.0 /usr/local/lib/libmenu-cache.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libmenu-cache.so.0.0.0 libmenu-cache.so.0 || { rm -f libmenu-cache.so.0 && ln -s libmenu-cache.so.0.0.0 libmenu-cache.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libmenu-cache.so.0.0.0 libmenu-cache.so || { rm -f libmenu-cache.so && ln -s libmenu-cache.so.0.0.0 libmenu-cache.so; }; })
libtool: install: /usr/bin/install -c .libs/libmenu-cache.lai /usr/local/lib/libmenu-cache.la
libtool: install: /usr/bin/install -c .libs/libmenu-cache.a /usr/local/lib/libmenu-cache.a
libtool: install: chmod 644 /usr/local/lib/libmenu-cache.a
libtool: install: ranlib /usr/local/lib/libmenu-cache.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include/menu-cache" || /bin/mkdir -p "/usr/local/include/menu-cache"
/usr/bin/install -c -m 644 'menu-cache.h' '/usr/local/include/menu-cache/menu-cache.h'
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libmenu-cache.pc' '/usr/local/lib/pkgconfig/libmenu-cache.pc'
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
Making install in menu-cache-gen
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
test -z "/usr/local/libexec" || /bin/mkdir -p "/usr/local/libexec"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'menu-cache-gen' '/usr/local/libexec/menu-cache-gen'
libtool: install: /usr/bin/install -c .libs/menu-cache-gen /usr/local/libexec/menu-cache-gen
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
Making install in menu-cache-daemon
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
test -z "/usr/local/libexec" || /bin/mkdir -p "/usr/local/libexec"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'menu-cached' '/usr/local/libexec/menu-cached'
libtool: install: /usr/bin/install -c menu-cached /usr/local/libexec/menu-cached
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'
+ [ x != x ]
+ aclocal
+ autoheader
+ AUTOMAKE=automake-1.10 libtoolize -c --automake --force
+ automake-1.10 --add-missing --copy --include-deps
configure.in:12: installing `./compile'
configure.in:15: installing `./config.guess'
configure.in:15: installing `./config.sub'
configure.in:5: installing `./install-sh'
configure.in:5: installing `./missing'
libmenu-cache/Makefile.am: installing `./depcomp'
+ autoconf
+ cp -f /usr/share/automake-1.10/mkinstalldirs .
+ rm -rf autom4te.cache
nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ ./configure
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 whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... 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 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 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 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... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmenu-cache/Makefile
config.status: creating libmenu-cache/libmenu-cache.pc
config.status: creating libmenu-cache/libmenu-cache-uninstalled.pc
config.status: creating menu-cache-gen/Makefile
config.status: creating menu-cache-daemon/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ make
make all-recursive
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
Making all in libmenu-cache
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Werror-implicit-function-declaration -DMENUCACHE_LIBEXECDIR="\"/usr/local/libexec\"" -g -O2 -MT menu-cache.lo -MD -MP -MF .deps/menu-cache.Tpo -c -o menu-cache.lo menu-cache.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Werror-implicit-function-declaration -DMENUCACHE_LIBEXECDIR=\"/usr/local/libexec\" -g -O2 -MT menu-cache.lo -MD -MP -MF .deps/menu-cache.Tpo -c menu-cache.c -fPIC -DPIC -o .libs/menu-cache.o
menu-cache.c: In function 「read_all_known_des」:
menu-cache.c:279: 警告: 永遠不相容的指標類型賦值
menu-cache.c: In function 「menu_cache_new」:
menu-cache.c:328: 警告: 傳遞參數 2 (屬於 「read_all_known_des」)時在不相容的指標類型間轉換
menu-cache.c: In function 「menu_cache_unref」:
menu-cache.c:363: 警告: 傳遞參數 1 (屬於 「menu_cache_item_unref」)時在不相容的指標類型間轉換
menu-cache.c: In function 「menu_cache_reload」:
menu-cache.c:462: 警告: 傳遞參數 2 (屬於 「read_all_known_des」)時在不相容的指標類型間轉換
menu-cache.c:469: 警告: 傳遞參數 1 (屬於 「menu_cache_item_unref」)時在不相容的指標類型間轉換
menu-cache.c: In function 「menu_cache_item_unref」:
menu-cache.c:511: 警告: 比較不相關的指標時缺少類型轉換
menu-cache.c:517: 警告: 比較不相關的指標時缺少類型轉換
menu-cache.c: In function 「menu_cache_get_dir_from_path」:
menu-cache.c:643: 警告: 永遠不相容的指標類型賦值
menu-cache.c: In function 「menu_cache_dir_make_path」:
menu-cache.c:657: 警告: 傳遞參數 1 (屬於 「menu_cache_item_get_id」)時在不相容的指標類型間轉換
menu-cache.c: In function 「get_socket_name」:
menu-cache.c:666: 警告: 初始化丟棄了指標目的類型的限定
menu-cache.c: In function 「register_menu_to_server」:
menu-cache.c:859: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cache.c: In function 「unregister_menu_from_server」:
menu-cache.c:890: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cache.c: In function 「list_app_in_dir」:
menu-cache.c:925: 警告: 傳遞參數 1 (屬於 「list_app_in_dir」)時在不相容的指標類型間轉換
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Werror-implicit-function-declaration -DMENUCACHE_LIBEXECDIR=\"/usr/local/libexec\" -g -O2 -MT menu-cache.lo -MD -MP -MF .deps/menu-cache.Tpo -c menu-cache.c -o menu-cache.o >/dev/null 2>&1
mv -f .deps/menu-cache.Tpo .deps/menu-cache.Plo
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -export-symbols-regex menu_cache -o libmenu-cache.la -rpath /usr/local/lib menu-cache.lo -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
libtool: link: /usr/bin/nm -B .libs/menu-cache.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort | uniq > .libs/libmenu-cache.exp
libtool: link: /bin/grep -E -e "menu_cache" ".libs/libmenu-cache.exp" > ".libs/libmenu-cache.expT"
libtool: link: mv -f ".libs/libmenu-cache.expT" ".libs/libmenu-cache.exp"
libtool: link: echo "{ global:" > .libs/libmenu-cache.ver
libtool: link: cat .libs/libmenu-cache.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libmenu-cache.ver
libtool: link: echo "local: *; };" >> .libs/libmenu-cache.ver
libtool: link: gcc -shared .libs/menu-cache.o /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -Wl,-soname -Wl,libmenu-cache.so.0 -Wl,-version-script -Wl,.libs/libmenu-cache.ver -o .libs/libmenu-cache.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libmenu-cache.so.0" && ln -s "libmenu-cache.so.0.0.0" "libmenu-cache.so.0")
libtool: link: (cd ".libs" && rm -f "libmenu-cache.so" && ln -s "libmenu-cache.so.0.0.0" "libmenu-cache.so")
libtool: link: ar cru .libs/libmenu-cache.a menu-cache.o
libtool: link: ranlib .libs/libmenu-cache.a
libtool: link: ( cd ".libs" && rm -f "libmenu-cache.la" && ln -s "../libmenu-cache.la" "libmenu-cache.la" )
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
Making all in menu-cache-gen
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-cache-gen.o -MD -MP -MF .deps/menu-cache-gen.Tpo -c -o menu-cache-gen.o menu-cache-gen.c
menu-cache-gen.c: In function 「write_entry」:
menu-cache-gen.c:147: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c:151: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c:183: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c: In function 「write_dir」:
menu-cache-gen.c:223: 警告: 傳遞引數 1(屬於 「g_free」)丟棄了指標目的類型的限定
menu-cache-gen.c:228: 警告: 傳遞引數 1(屬於 「g_free」)丟棄了指標目的類型的限定
menu-cache-gen.c: In function 「main」:
menu-cache-gen.c:314: 警告: 格式字串不是一個字面字串而且沒有待格式化的引數
menu-cache-gen.c:386: 警告: 賦值丟棄了指標目的類型的限定
menu-cache-gen.c:424: 警告: 傳遞參數 2 (屬於 「g_hash_table_foreach」)時在不相容的指標類型間轉換
mv -f .deps/menu-cache-gen.Tpo .deps/menu-cache-gen.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT canonicalize.o -MD -MP -MF .deps/canonicalize.Tpo -c -o canonicalize.o canonicalize.c
mv -f .deps/canonicalize.Tpo .deps/canonicalize.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT desktop-entries.o -MD -MP -MF .deps/desktop-entries.Tpo -c -o desktop-entries.o desktop-entries.c
mv -f .deps/desktop-entries.Tpo .deps/desktop-entries.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT entry-directories.o -MD -MP -MF .deps/entry-directories.Tpo -c -o entry-directories.o entry-directories.c
mv -f .deps/entry-directories.Tpo .deps/entry-directories.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT gmenu-tree.o -MD -MP -MF .deps/gmenu-tree.Tpo -c -o gmenu-tree.o gmenu-tree.c
mv -f .deps/gmenu-tree.Tpo .deps/gmenu-tree.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-layout.o -MD -MP -MF .deps/menu-layout.Tpo -c -o menu-layout.o menu-layout.c
mv -f .deps/menu-layout.Tpo .deps/menu-layout.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-monitor.o -MD -MP -MF .deps/menu-monitor.Tpo -c -o menu-monitor.o menu-monitor.c
mv -f .deps/menu-monitor.Tpo .deps/menu-monitor.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -DGMENU_I_KNOW_THIS_IS_UNSTABLE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -Werror-implicit-function-declaration -g -O2 -MT menu-util.o -MD -MP -MF .deps/menu-util.Tpo -c -o menu-util.o menu-util.c
mv -f .deps/menu-util.Tpo .deps/menu-util.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -o menu-cache-gen menu-cache-gen.o canonicalize.o desktop-entries.o entry-directories.o gmenu-tree.o menu-layout.o menu-monitor.o menu-util.o ../libmenu-cache/libmenu-cache.la -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
libtool: link: gcc -g -O2 -o .libs/menu-cache-gen menu-cache-gen.o canonicalize.o desktop-entries.o entry-directories.o gmenu-tree.o menu-layout.o menu-monitor.o menu-util.o ../libmenu-cache/.libs/libmenu-cache.so /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
Making all in menu-cache-daemon
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
gcc -DHAVE_CONFIG_H -I. -I.. -I../libmenu-cache -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_ENABLE_DEBUG -DMENUCACHE_LIBEXECDIR="\"/usr/local/libexec\"" -Werror-implicit-function-declaration -g -O2 -MT menu-cached.o -MD -MP -MF .deps/menu-cached.Tpo -c -o menu-cached.o menu-cached.c
menu-cached.c: In function 「pre_exec」:
menu-cached.c:156: 警告: 永遠不相容的指標類型初始化
menu-cached.c: In function 「regenerate_cache」:
menu-cached.c:176: 警告: 永遠不相容的指標類型初始化
menu-cached.c:177: 警告: 永遠不相容的指標類型初始化
menu-cached.c:178: 警告: 永遠不相容的指標類型初始化
menu-cached.c:179: 警告: 永遠不相容的指標類型初始化
menu-cached.c:181: 警告: 永遠不相容的指標類型賦值
menu-cached.c:182: 警告: 永遠不相容的指標類型賦值
menu-cached.c:183: 警告: 永遠不相容的指標類型賦值
menu-cached.c:189: 警告: 傳遞參數 2 (屬於 「g_spawn_sync」)時在不相容的指標類型間轉換
menu-cached.c: In function 「delayed_reload」:
menu-cached.c:259: 警告: 傳遞參數 3 (屬於 「g_signal_connect_data」)時在不相容的指標類型間轉換
menu-cached.c:274: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cached.c: In function 「cache_file_is_updated」:
menu-cached.c:469: 警告: 永遠不相容的指標類型賦值
menu-cached.c: In function 「get_socket_name」:
menu-cached.c:481: 警告: 初始化丟棄了指標目的類型的限定
menu-cached.c: In function 「create_socket」:
menu-cached.c:507: 警告: 格式字串引數太少
menu-cached.c: In function 「on_client_data_in」:
menu-cached.c:585: 警告: 傳遞參數 3 (屬於 「cache_file_is_updated」)時在不相容的指標類型間轉換
menu-cached.c:611: 警告: 傳遞參數 3 (屬於 「g_signal_connect_data」)時在不相容的指標類型間轉換
menu-cached.c:630: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
menu-cached.c:632: 警告: 忽略宣告有 warn_unused_result 屬性的 「write」 的回傳值
mv -f .deps/menu-cached.Tpo .deps/menu-cached.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -no-undefined -o menu-cached menu-cached.o -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
libtool: link: gcc -g -O2 -o menu-cached menu-cached.o /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'
nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ make install
Making install in libmenu-cache
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libmenu-cache.la' '/usr/local/lib/libmenu-cache.la'
libtool: install: /usr/bin/install -c .libs/libmenu-cache.so.0.0.0 /usr/local/lib/libmenu-cache.so.0.0.0
/usr/bin/install: cannot create regular file `/usr/local/lib/libmenu-cache.so.0.0.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make: *** [install-recursive] Error 1
nelsonchung@nelsonchung-laptop:~/Src/lxde/menu-cache$ sudo make install
[sudo] password for nelsonchung:
Making install in libmenu-cache
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'libmenu-cache.la' '/usr/local/lib/libmenu-cache.la'
libtool: install: /usr/bin/install -c .libs/libmenu-cache.so.0.0.0 /usr/local/lib/libmenu-cache.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libmenu-cache.so.0.0.0 libmenu-cache.so.0 || { rm -f libmenu-cache.so.0 && ln -s libmenu-cache.so.0.0.0 libmenu-cache.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libmenu-cache.so.0.0.0 libmenu-cache.so || { rm -f libmenu-cache.so && ln -s libmenu-cache.so.0.0.0 libmenu-cache.so; }; })
libtool: install: /usr/bin/install -c .libs/libmenu-cache.lai /usr/local/lib/libmenu-cache.la
libtool: install: /usr/bin/install -c .libs/libmenu-cache.a /usr/local/lib/libmenu-cache.a
libtool: install: chmod 644 /usr/local/lib/libmenu-cache.a
libtool: install: ranlib /usr/local/lib/libmenu-cache.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/include/menu-cache" || /bin/mkdir -p "/usr/local/include/menu-cache"
/usr/bin/install -c -m 644 'menu-cache.h' '/usr/local/include/menu-cache/menu-cache.h'
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
/usr/bin/install -c -m 644 'libmenu-cache.pc' '/usr/local/lib/pkgconfig/libmenu-cache.pc'
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/libmenu-cache'
Making install in menu-cache-gen
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
test -z "/usr/local/libexec" || /bin/mkdir -p "/usr/local/libexec"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'menu-cache-gen' '/usr/local/libexec/menu-cache-gen'
libtool: install: /usr/bin/install -c .libs/menu-cache-gen /usr/local/libexec/menu-cache-gen
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-gen'
Making install in menu-cache-daemon
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
test -z "/usr/local/libexec" || /bin/mkdir -p "/usr/local/libexec"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'menu-cached' '/usr/local/libexec/menu-cached'
libtool: install: /usr/bin/install -c menu-cached /usr/local/libexec/menu-cached
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache/menu-cache-daemon'
make[1]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
make[2]: Entering directory `/home/nelsonchung/Src/lxde/menu-cache'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'
make[1]: Leaving directory `/home/nelsonchung/Src/lxde/menu-cache'
透過Facebook分享
2009年6月2日 星期二
2009年5月31日 星期日
啟動network manager(n-applet) under LXDE
系統有三個檔案
/usr/share/applications/nm-connection-editor.desktop
/usr/share/app-install/desktop/nm-applet.desktop
and
/etc/xdg/autostart/nm-applet.desktop
經過比較
發現
參數為
Exec=nm-applet --sm-disable
就可以
參數為
Exec=nm-connection-editor
則是呼叫網路連線編輯器出來
So, /usr/share/app-install/desktop/nm-applet.desktop and
/etc/xdg/autostart/nm-applet.desktop
都可以
Then,
cd
cd .config
mkdir autostart
cp /etc/xdg/autostart/nm-applet.desktop .
sudo leafpad nm-applet.desktop
在OnlyShowIn加上LXDE
[Desktop Entry]
Name=Network Manager
Comment=Control your network connections
Icon=nm-device-wireless
Exec=nm-applet --sm-disable
Terminal=false
Type=Application;Network;
OnlyShowIn=GNOME;XFCE;LXDE;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=NetworkManager
X-GNOME-Bugzilla-Component=general
X-GNOME-Autostart-enabled=true
X-Ubuntu-Gettext-Domain=nm-applet
這是由於 此參數決定在哪個桌面環境
network manager會被執行到
所以加上LXDE
就可以在LXDE桌面環境被啟動
也可以參考此篇
Reference:
http://wiki.lxde.org/en/LXSession
/usr/share/applications/nm-connection-editor.desktop
/usr/share/app-install/desktop/nm-applet.desktop
and
/etc/xdg/autostart/nm-applet.desktop
經過比較
發現
參數為
Exec=nm-applet --sm-disable
就可以
參數為
Exec=nm-connection-editor
則是呼叫網路連線編輯器出來
So, /usr/share/app-install/desktop/nm-applet.desktop and
/etc/xdg/autostart/nm-applet.desktop
都可以
Then,
cd
cd .config
mkdir autostart
cp /etc/xdg/autostart/nm-applet.desktop .
sudo leafpad nm-applet.desktop
在OnlyShowIn加上LXDE
[Desktop Entry]
Name=Network Manager
Comment=Control your network connections
Icon=nm-device-wireless
Exec=nm-applet --sm-disable
Terminal=false
Type=Application;Network;
OnlyShowIn=GNOME;XFCE;LXDE;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=NetworkManager
X-GNOME-Bugzilla-Component=general
X-GNOME-Autostart-enabled=true
X-Ubuntu-Gettext-Domain=nm-applet
這是由於 此參數決定在哪個桌面環境
network manager會被執行到
所以加上LXDE
就可以在LXDE桌面環境被啟動
也可以參考此篇
自動執行 程式 在系統(其實應該是說桌面系統)起來之後
Reference:
http://wiki.lxde.org/en/LXSession
透過Facebook分享
nelsonchung@nelsonchung-laptop:~$ sudo apt-get install build-essential
[sudo] password for nelsonchung:
正在讀取套件清單... 完成
正在重建相依關係
正在讀取狀態資料... 完成
下列的額外套件將被安裝:
dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
建議套件:nelsonchung@nelsonchung-laptop:~$ sudo apt-get install build-essential
[sudo] password for nelsonchung:
正在讀取套件清單... 完成
正在重建相依關係
正在讀取狀態資料... 完成
下列的額外套件將被安裝:
dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
建議套件:
debian-keyring g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg
libstdc++6-4.3-doc
下列【新】套件將會被安裝:
build-essential dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
升級 0 個,新安裝 5 個,移除 0 個,有 0 個未被升級。
需要下載 6170kB 的套件檔。
此操作完成之後,會多佔用 21.2MB 的磁碟空間。
是否繼續進行 [Y/n]?y
debian-keyring g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg
libstdc++6-4.3-doc
下列【新】套件將會被安裝:
build-essential dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
升級 0 個,新安裝 5 個,移除 0 個,有 0 個未被升級。
需要下載 6170kB 的套件檔。
此操作完成之後,會多佔用 21.2MB 的磁碟空間。
是否繼續進行 [Y/n]?y
是否繼續進行 [Y/n]?y
下載:1 http://tw.archive.ubuntu.com jaunty/main libstdc++6-4.3-dev 4.3.3-5ubuntu4 [1356kB]
下載:2 http://tw.archive.ubuntu.com jaunty/main g++-4.3 4.3.3-5ubuntu4 [4162kB]
下載:3 http://tw.archive.ubuntu.com jaunty/main g++ 4:4.3.3-1ubuntu1 [1438B]
下載:4 http://tw.archive.ubuntu.com jaunty/main dpkg-dev 1.14.24ubuntu1 [643kB]
下載:5 http://tw.archive.ubuntu.com jaunty/main build-essential 11.4 [7172B]
取得 6170kB 用了 1min 43s (59.4kB/s)
選中了曾被取消選擇的套件 libstdc++6-4.3-dev。
(正在讀取資料庫 ... 系統目前總共安裝有 113953 個檔案和目錄。)
正在解壓縮 libstdc++6-4.3-dev (從 .../libstdc++6-4.3-dev_4.3.3-5ubuntu4_i386.deb) ...
選中了曾被取消選擇的套件 g++-4.3。
正在解壓縮 g++-4.3 (從 .../g++-4.3_4.3.3-5ubuntu4_i386.deb) ...
選中了曾被取消選擇的套件 g++。
正在解壓縮 g++ (從 .../g++_4%3a4.3.3-1ubuntu1_i386.deb) ...
選中了曾被取消選擇的套件 dpkg-dev。
正在解壓縮 dpkg-dev (從 .../dpkg-dev_1.14.24ubuntu1_all.deb) ...
選中了曾被取消選擇的套件 build-essential。
正在解壓縮 build-essential (從 .../build-essential_11.4_i386.deb) ...
Processing triggers for man-db ...
正在設定 dpkg-dev (1.14.24ubuntu1) ...
正在設定 libstdc++6-4.3-dev (4.3.3-5ubuntu4) ...
正在設定 g++-4.3 (4.3.3-5ubuntu4) ...
正在設定 g++ (4:4.3.3-1ubuntu1) ...
正在設定 build-essential (11.4) ...
紀錄
在ubuntu 9.04 remix上安裝的版本
[sudo] password for nelsonchung:
正在讀取套件清單... 完成
正在重建相依關係
正在讀取狀態資料... 完成
下列的額外套件將被安裝:
dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
建議套件:nelsonchung@nelsonchung-laptop:~$ sudo apt-get install build-essential
[sudo] password for nelsonchung:
正在讀取套件清單... 完成
正在重建相依關係
正在讀取狀態資料... 完成
下列的額外套件將被安裝:
dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
建議套件:
debian-keyring g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg
libstdc++6-4.3-doc
下列【新】套件將會被安裝:
build-essential dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
升級 0 個,新安裝 5 個,移除 0 個,有 0 個未被升級。
需要下載 6170kB 的套件檔。
此操作完成之後,會多佔用 21.2MB 的磁碟空間。
是否繼續進行 [Y/n]?y
debian-keyring g++-multilib g++-4.3-multilib gcc-4.3-doc libstdc++6-4.3-dbg
libstdc++6-4.3-doc
下列【新】套件將會被安裝:
build-essential dpkg-dev g++ g++-4.3 libstdc++6-4.3-dev
升級 0 個,新安裝 5 個,移除 0 個,有 0 個未被升級。
需要下載 6170kB 的套件檔。
此操作完成之後,會多佔用 21.2MB 的磁碟空間。
是否繼續進行 [Y/n]?y
是否繼續進行 [Y/n]?y
下載:1 http://tw.archive.ubuntu.com jaunty/main libstdc++6-4.3-dev 4.3.3-5ubuntu4 [1356kB]
下載:2 http://tw.archive.ubuntu.com jaunty/main g++-4.3 4.3.3-5ubuntu4 [4162kB]
下載:3 http://tw.archive.ubuntu.com jaunty/main g++ 4:4.3.3-1ubuntu1 [1438B]
下載:4 http://tw.archive.ubuntu.com jaunty/main dpkg-dev 1.14.24ubuntu1 [643kB]
下載:5 http://tw.archive.ubuntu.com jaunty/main build-essential 11.4 [7172B]
取得 6170kB 用了 1min 43s (59.4kB/s)
選中了曾被取消選擇的套件 libstdc++6-4.3-dev。
(正在讀取資料庫 ... 系統目前總共安裝有 113953 個檔案和目錄。)
正在解壓縮 libstdc++6-4.3-dev (從 .../libstdc++6-4.3-dev_4.3.3-5ubuntu4_i386.deb) ...
選中了曾被取消選擇的套件 g++-4.3。
正在解壓縮 g++-4.3 (從 .../g++-4.3_4.3.3-5ubuntu4_i386.deb) ...
選中了曾被取消選擇的套件 g++。
正在解壓縮 g++ (從 .../g++_4%3a4.3.3-1ubuntu1_i386.deb) ...
選中了曾被取消選擇的套件 dpkg-dev。
正在解壓縮 dpkg-dev (從 .../dpkg-dev_1.14.24ubuntu1_all.deb) ...
選中了曾被取消選擇的套件 build-essential。
正在解壓縮 build-essential (從 .../build-essential_11.4_i386.deb) ...
Processing triggers for man-db ...
正在設定 dpkg-dev (1.14.24ubuntu1) ...
正在設定 libstdc++6-4.3-dev (4.3.3-5ubuntu4) ...
正在設定 g++-4.3 (4.3.3-5ubuntu4) ...
正在設定 g++ (4:4.3.3-1ubuntu1) ...
正在設定 build-essential (11.4) ...
紀錄
在ubuntu 9.04 remix上安裝的版本
透過Facebook分享
訂閱:
文章 (Atom)