[问题]Gnash的安装问题 老是装不上请教一下

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

[问题]Gnash的安装问题 老是装不上请教一下

#1

帖子 Nakedpig » 2006-08-09 19:27

解压之后执行./confingure之后如下:
nakedpig@ubuntu:/usr$ cd /usr/gnash-0.7.1/
nakedpig@ubuntu:/usr/gnash-0.7.1$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
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 whether make sets $(MAKE)... (cached) yes
checking for pkg-config... yes
checking for kde-config... not found
configure: kde-config not found
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for style of include used by make... GNU
checking for g++... g++
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 g++ accepts -g... yes
checking dependency style of g++... gcc3
checking if C++ programs can be compiled... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... yes
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking for poll in -lpoll... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 8
checking for char *... yes
checking size of char *... 8
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 8
checking for unsigned long... yes
checking size of unsigned long... 8
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
not using lib directory suffix
checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
nakedpig@ubuntu:/usr/gnash-0.7.1$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
nakedpig@ubuntu:/usr/gnash-0.7.1$
怎么解决啊?是不是显示no的都要安装吗?check for X指的是什么?
头像
sigma
帖子: 439
注册时间: 2006-06-01 22:45
来自: Fujian

#2

帖子 sigma » 2006-08-10 13:41

sudo apt-get install x-window-system-dev
然后./configure
还有就是configure出错的话,是不能make的

要是还有问题,你继续把错误提示贴出来吧
被时间羁绊,被邪恶包围……空气稀薄
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#3

帖子 Nakedpig » 2006-08-10 20:01

sigma 写了:sudo apt-get install x-window-system-dev
然后./configure
还有就是configure出错的话,是不能make的

要是还有问题,你继续把错误提示贴出来吧
nakedpig@ubuntu:~$ sudo apt-get install x-window-system-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法找到软件包 x-window-system-dev
nakedpig@ubuntu:~$
在新立德里面只有x-dev的包
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#4

帖子 Nakedpig » 2006-08-10 20:15

不apt-get install x-window-system-dev
尝试nakedpig@ubuntu:~/gnash-0.7.1$ ./configure --x-includes=/usr/include/X11
出现下面提示
check ^^^^^^^^(和上面的同就不写了,下面的是不同的问题)
not using lib directory suffix
checking for X... libraries /usr/X11R6/lib, headers /usr/include/X11
checking for IceConnectionNumber in -lICE... no
checking for libXext... no
configure: error: We need a working libXext to proceed. Since configure
can't find it itself, we stop here assuming that make wouldn't find
them either.
头像
sigma
帖子: 439
注册时间: 2006-06-01 22:45
来自: Fujian

#5

帖子 sigma » 2006-08-12 18:09

那就找一下有没有和这个libXext相关的包啊,没有就装上啊
被时间羁绊,被邪恶包围……空气稀薄
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#6

帖子 Nakedpig » 2006-08-13 4:05

能找的包都装了,机子变得慢了但是还是装不上make之后就不行了。显示什么nothing to so with……
头像
sigma
帖子: 439
注册时间: 2006-06-01 22:45
来自: Fujian

#7

帖子 sigma » 2006-08-13 15:14

./configure通过了吗?
被时间羁绊,被邪恶包围……空气稀薄
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#8

帖子 Nakedpig » 2006-08-14 0:35

能make应该算是通过了吧
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#9

帖子 Nakedpig » 2006-08-14 0:41

运行make之后…………(很乱的东西就不贴了)
make[3]: Leaving directory `/usr/gnash-0.7.1/plugin'
make[2]: Leaving directory `/usr/gnash-0.7.1/plugin'
make[2]: Entering directory `/usr/gnash-0.7.1'
make[2]: Leaving directory `/usr/gnash-0.7.1'
make[1]: Leaving directory `/usr/gnash-0.7.1'
nakedpig@ubuntu:/usr/gnash-0.7.1$ make install
Making install in libbase
make[1]: Entering directory `/usr/gnash-0.7.1/libbase'
make[2]: Entering directory `/usr/gnash-0.7.1/libbase'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c -p 'libgnashbase.la' '/usr/local/lib/libgnashbase.la'
/usr/bin/install -c -p .libs/libgnashbase.so.0.0.0 /usr/local/lib/libgnashbase.so.0.0.0
/usr/bin/install: cannot remove `/usr/local/lib/libgnashbase.so.0.0.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] 错误 1
make[2]: Leaving directory `/usr/gnash-0.7.1/libbase'
make[1]: *** [install-am] 错误 2
make[1]: Leaving directory `/usr/gnash-0.7.1/libbase'
make: *** [install-recursive] 错误 1
nakedpig@ubuntu:/usr/gnash-0.7.1$
为什么有个permission denied?
这样算是安装上了吗?不是吧上网还是有很多框框啊显示不了flash
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#10

帖子 Nakedpig » 2006-08-14 0:52

/usr/local/bin下面多了一些gnash的文件,但是不知到能不能用。打开网页是显示不了flash的
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#11

帖子 Nakedpig » 2006-08-14 0:58

看来是装上了但是问题多多,firefox上没有它的插件功能。
打开一般的swf文件时候停在开始画面就没下文了
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#12

帖子 Nakedpig » 2006-08-14 2:03

把原来的生成的文件删掉,重新安装如下:
nakedpig@ubuntu:/usr/gnash-0.7.1$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... yes
checking for kde-config... not found
configure: kde-config not found
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for style of include used by make... GNU
checking for g++... g++
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 g++ accepts -g... yes
checking dependency style of g++... gcc3
checking if C++ programs can be compiled... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 for strlcat... no
checking if strlcat needs custom prototype... yes - in libkdefakes
checking for strlcpy... no
checking if strlcpy needs custom prototype... yes - in libkdefakes
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... yes
checking for dnet_ntoa in -ldnet... yes
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking for poll in -lpoll... no
checking Carbon/Carbon.h usability... no
checking Carbon/Carbon.h presence... no
checking for Carbon/Carbon.h... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking for res_init... yes
checking if res_init needs custom prototype... no
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 8
checking for char *... yes
checking size of char *... 8
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for size_t... yes
checking size of size_t... 8
checking for unsigned long... yes
checking size of unsigned long... 8
checking sizeof size_t == sizeof unsigned long... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for vsnprintf... yes
checking for snprintf... yes
not using lib directory suffix
checking for X... libraries /usr/X11R6/lib, headers .
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes...
checking for zlib header... /usr/include
checking for zlib library... /usr/lib64
checking for libpng... -lpng -L/usr/lib64 -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... libraries /usr/share/qt3/lib, headers /usr/share/qt3/include using -mt
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... configure: no KDE headers installed.
configure: no KDE libraries installed.
configure: I can't find the KDE designer plugins.
will be installed in /usr/local
checking for KDE paths... defaults
checking for xml2-config... /usr/bin/xml2-config
checking for libxml2... yes
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 ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c -p
checking for library file name specifics... no
checking for mallinfo... yes
checking for X... libraries /usr/X11R6/lib, headers .
checking for gethostbyname... yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking dejagnu.h usability... yes
checking dejagnu.h presence... yes
checking for dejagnu.h... yes
checking for XmuCvtStringToOrientation in -lXmu... yes
checking for XInput_find_display in -lXi... yes
checking for XDisableAccessControl in -lX11... yes
checking for shm_unlink in -lrt... yes
checking for shm_open... yes
checking for strcasecmp... yes
checking for stricmp... no
checking for vsnprintf... (cached) yes
checking for finite... yes
checking for isfinite... no
checking for sysconf... yes
checking for shmget... yes
checking for shmat... (cached) yes
checking for mmap... yes
checking for gettimeofday... yes
checking winsock.h usability... no
checking winsock.h presence... no
checking for winsock.h... no
checking for socket... yes
checking for CreateFileMappingA... no
checking how to run the C++ preprocessor... g++ -E
checking ext/hash_map usability... yes
checking ext/hash_map presence... yes
checking for ext/hash_map... yes
(cached) checking for zlib header... /usr/include
checking for zlib library... (cached) checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_mem_init in -ljpeg... yes
checking for png.h header in specified directory... no
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_check_sig in -lpng... yes
checking for ming-config... no
checking for doxygen... /usr/bin/doxygen
checking ogg.h usability... no
checking ogg.h presence... no
checking for ogg.h... no
checking for libogg header... checking for ogg_sync_init in -logg... yes
checking for the SDL Version... checking for SDL header... /usr/include/SDL
checking for sdl library... checking for SDL_Init in -lSDL... yes
checking for SDL_mixer header... /usr/include/SDL
checking for sdl_mixer library... checking for Mix_Linked_Version in -lSDL_mixer... yes
checking for Mix_Linked_Version in -lSDL_mixer-1.2... no
checking for SDL_mixer library... checking for the Gstreamer Version... 0.10
checking gst/gst.h usability... no
checking gst/gst.h presence... no
checking for gst/gst.h... no
checking for libgstreamer header... checking for gst_plugin_init in -lgstreamer-0.10... no
checking for libgstreamer library... checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for glBegin in -lGL... yes
checking for the Gtk GL Extensions Version... 1.0
checking gtk/gtkgl.h usability... no
checking gtk/gtkgl.h presence... no
checking for gtk/gtkgl.h... no
checking for libglext header... checking for gtk_gl_init in -lgtkglext-x11-1.0... yes
checking for the Gtk Version... checking gtk/gtk.h usability... no
checking gtk/gtk.h presence... no
checking for gtk/gtk.h... no
checking for libgtk2 header... yes
checking for gtk_init in -lgtk-x11-2.0... yes
checking for fltk.h header in specified directory... no
checking fltk/FL_API.h usability... no
checking fltk/FL_API.h presence... no
checking for fltk/FL_API.h... no
checking for libfltk header... checking for fl_xmap in -lfltk... yes
checking for xft.h header in specified directory... no
checking Xft/Xft.h usability... no
checking Xft/Xft.h presence... no
checking for Xft/Xft.h... no
checking for libxft header... checking for XftGlyphRender in -lXft... yes
checking cairo/cairo.h usability... no
checking cairo/cairo.h presence... no
checking for cairo/cairo.h... no
checking for Cairo header... yes
checking for cairo_status in -lcairo... yes
checking for the Glib Version... 2.0
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking for libglib header... yes
checking for g_io_channel_init in -lglib-2.0... yes
checking for the Pango Version... 1.0
checking pango/pango.h usability... no
checking pango/pango.h presence... no
checking for pango/pango.h... no
checking for libpango header... yes
checking for pango_engine_shape_class_init in -lpango-1.0... no
checking for libpango library... checking for the Atk Version... 1.0
checking atk/atkgl.h usability... no
checking atk/atkgl.h presence... no
checking for atk/atkgl.h... no
checking for libatk header... yes
checking for atk_focus_tracker_init in -latk-1.0... yes
checking for pthread.h... no
checking for libpthread header... yes
checking for pthread_kill in -lpthread... yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libbase/Makefile
config.status: creating libgeometry/Makefile
config.status: creating server/Makefile
config.status: creating libamf/Makefile
config.status: creating backend/Makefile
config.status: creating utilities/Makefile
config.status: creating doc/Makefile
config.status: creating doc/C/Makefile
config.status: creating doc/Doxyfile
config.status: creating testsuite/Makefile
config.status: creating testsuite/actionscript.all/Makefile
config.status: creating plugin/Makefile
config.status: creating plugin/klash/Makefile
config.status: creating config.h
config.status: executing depfiles commands

Configurable options are:
Intel 810 LOD bias hack disabled (default). Use --enable-i810-lod-bias to enable.
MP3 (libmad) support disabled (default). Use --enable-mp3 to enable
POSIX Threads support enabled (default)
Web server support disabled (default)
DMalloc support disabled (default). Use --enable-dmalloc to enable.
XML and XMLSocket enabled (default). Use --disble-xml to disable.
Firefox plugin enabled (default). Use --disble-plugin to disable.
Konqueror plugin disabled (default). Use --enable-klash to enable.
GNOME help disabled (default). Use --enable-ghelp to enable.
Unit testing support enabled (default)

Configured paths for x86_64-unknown-linux-gnu are:
DocBook document processing disabled (default)
XML flags are: -I/usr/include/libxml2
XML libs are: -L/usr/lib -lxml2 -lz -lm
PNG flags are: default include path
PNG libs are: -lpng
JPEG flags are: default include path
JPEG libs are: -ljpeg
OGG flags are: default include path
OGG libs are: -logg
Opengl flags are: default include path
Opengl libs are: -lGL -lGLU
GtkGlext flags are: -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include
GtkGLext libs are: -lgtkglext-x11-1.0 -lgdkglext-x11-1.0
Gtk2 flags are: -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
Gtk2 libs are: -lgtk-x11-2.0 -lgdk-x11-2.0
Pango flags are: -I/usr/include/pango-1.0
Pango libs are: -L/usr/lib64 -lpango-1.0
Glib flags are: -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
Glib libs are: -lglib-2.0
Cairo flags are: -I/usr/include/cairo
Cairo libs are: -lcairo
Atk flags are: -I/usr/include/atk-1.0
Atk libs are: -latk-1.0
Fltk flags are: default include path
Fltk libs are: -lfltk -lfltk_gl
Xft flags are: -I/usr/include/X11
Xft libs are: -lXft
SDL flags are: -I/usr/include/SDL
SDL libs are: -lSDL
SDL_Mixer flags are: -I/usr/include/SDL
SDL_Mixer libs are: -L/usr/lib64 -lSDL_mixer
Gstreamer flags are: -I/usr/include/gstreamer-0.10
Gstreamer libs are: -L/usr/lib64 -lgstreamer
Plugin will be installed in /home/nakedpig/.firefox/plugins
POSIX Threads flags are: -I/usr/include
POSIX Threads lib is: -lpthread
nakedpig@ubuntu:/usr/gnash-0.7.1$
待续…………
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#13

帖子 Nakedpig » 2006-08-14 2:27

make之后输出一大堆东西,中间有这样几句
gtksup.h:57: 警告: ‘glconfig’ 已初始化,却又被声明为 ‘extern’
gtksup.h:58: 警告: ‘glcontext’ 已初始化,却又被声明为 ‘extern’
gnash.cpp: In function ‘int main(int, char**)’:
gnash.cpp:202: 警告: ‘drawing_area’ may be used uninitialized in this function
gnash.cpp: At global scope:
gnash.cpp:93: 警告: ‘s_antialiased’ 定义后未使用


警告而已,我继续make,结果

nakedpig@ubuntu:/usr/gnash-0.7.1$ make install
Making install in libbase
make[1]: Entering directory `/usr/gnash-0.7.1/libbase'
make[2]: Entering directory `/usr/gnash-0.7.1/libbase'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c -p 'libgnashbase.la' '/usr/local/lib/libgnashbase.la'
/usr/bin/install -c -p .libs/libgnashbase.so.0.0.0 /usr/local/lib/libgnashbase.so.0.0.0
/usr/bin/install: cannot create regular file `/usr/local/lib/libgnashbase.so.0.0.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] 错误 1
make[2]: Leaving directory `/usr/gnash-0.7.1/libbase'
make[1]: *** [install-am] 错误 2
make[1]: Leaving directory `/usr/gnash-0.7.1/libbase'
make: *** [install-recursive] 错误 1

/usr/local下什么都没生成,看来不成功

尝试sudo
nakedpig@ubuntu:/usr/gnash-0.7.1$ sudo make install
Password:
Making install in libbase
make[1]: Entering directory `/usr/gnash-0.7.1/libbase'
make[2]: Entering directory `/usr/gnash-0.7.1/libbase'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c -p 'libgnashbase.la' '/usr/local/lib/libgnashbase.la'
/usr/bin/install -c -p .libs/libgnashbase.so.0.0.0 /usr/local/lib/libgnashbase.so.0.0.0
(cd /usr/local/lib && { ln -s -f libgnashbase.so.0.0.0 libgnashbase.so.0 || { rm -f libgnashbase.so.0 && ln -s libgnashbase.so.0.0.0 libgnashbase.so.0; }; })
(cd /usr/local/lib && { ln -s -f libgnashbase.so.0.0.0 libgnashbase.so || { rm -f libgnashbase.so && ln -s libgnashbase.so.0.0.0 libgnashbase.so; }; })
/usr/bin/install -c -p .libs/libgnashbase.lai /usr/local/lib/libgnashbase.la
/usr/bin/install -c -p .libs/libgnashbase.a /usr/local/lib/libgnashbase.a
ranlib /usr/local/lib/libgnashbase.a
chmod 644 /usr/local/lib/libgnashbase.a
PATH="$PATH:/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

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/gnash-0.7.1/libbase'
make[1]: Leaving directory `/usr/gnash-0.7.1/libbase'
Making install in libgeometry
make[1]: Entering directory `/usr/gnash-0.7.1/libgeometry'
make[2]: Entering directory `/usr/gnash-0.7.1/libgeometry'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c -p 'libgnashgeo.la' '/usr/local/lib/libgnashgeo.la'
libtool: install: warning: relinking `libgnashgeo.la'
(cd /usr/gnash-0.7.1/libgeometry; /bin/sh ../libtool --tag=CXX --mode=relink g++ -g -O2 -Wall -I/usr/include/SDL -I.. -I. -I.. -I../libbase -I/usr/include -I/usr/include/SDL -g -O2 -Wall -o libgnashgeo.la -rpath /usr/local/lib axial_box.lo bsp.lo collision.lo cull.lo geometry.lo kd_tree_dynamic.lo kd_tree_packed.lo tqt.lo -L../libbase -lgnashbase -lSDL_mixer -lrt -lX11 -lXi -lXmu )
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.0.3/crtbeginS.o .libs/axial_box.o .libs/bsp.o .libs/collision.o .libs/cull.o .libs/geometry.o .libs/kd_tree_dynamic.o .libs/kd_tree_packed.o .libs/tqt.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lgnashbase -L/usr/lib -lSDL_mixer -lrt -lX11 -lXi -lXmu -L/usr/lib/gcc/x86_64-linux-gnu/4.0.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64 -L/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.0.3/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64/crtn.o -Wl,-soname -Wl,libgnashgeo.so.0 -o .libs/libgnashgeo.so.0.0.0
/usr/bin/install -c -p .libs/libgnashgeo.so.0.0.0T /usr/local/lib/libgnashgeo.so.0.0.0
(cd /usr/local/lib && { ln -s -f libgnashgeo.so.0.0.0 libgnashgeo.so.0 || { rm -f libgnashgeo.so.0 && ln -s libgnashgeo.so.0.0.0 libgnashgeo.so.0; }; })
(cd /usr/local/lib && { ln -s -f libgnashgeo.so.0.0.0 libgnashgeo.so || { rm -f libgnashgeo.so && ln -s libgnashgeo.so.0.0.0 libgnashgeo.so; }; })
/usr/bin/install -c -p .libs/libgnashgeo.lai /usr/local/lib/libgnashgeo.la
/usr/bin/install -c -p .libs/libgnashgeo.a /usr/local/lib/libgnashgeo.a
ranlib /usr/local/lib/libgnashgeo.a
chmod 644 /usr/local/lib/libgnashgeo.a
PATH="$PATH:/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

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/gnash-0.7.1/libgeometry'
make[1]: Leaving directory `/usr/gnash-0.7.1/libgeometry'
Making install in server
make[1]: Entering directory `/usr/gnash-0.7.1/server'
make[2]: Entering directory `/usr/gnash-0.7.1/server'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c -p 'libgnashserver.la' '/usr/local/lib/libgnashserver.la'
/usr/bin/install -c -p .libs/libgnashserver.so.0.0.0 /usr/local/lib/libgnashserver.so.0.0.0
(cd /usr/local/lib && { ln -s -f libgnashserver.so.0.0.0 libgnashserver.so.0 || { rm -f libgnashserver.so.0 && ln -s libgnashserver.so.0.0.0 libgnashserver.so.0; }; })
(cd /usr/local/lib && { ln -s -f libgnashserver.so.0.0.0 libgnashserver.so || { rm -f libgnashserver.so && ln -s libgnashserver.so.0.0.0 libgnashserver.so; }; })
/usr/bin/install -c -p .libs/libgnashserver.lai /usr/local/lib/libgnashserver.la/usr/bin/install -c -p .libs/libgnashserver.a /usr/local/lib/libgnashserver.a
ranlib /usr/local/lib/libgnashserver.a
chmod 644 /usr/local/lib/libgnashserver.a
PATH="$PATH:/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

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ../libtool --mode=install /usr/bin/install -c -p 'libgnashasobjs.la' '/usr/local/lib/libgnashasobjs.la'
/usr/bin/install -c -p .libs/libgnashasobjs.so.0.0.0 /usr/local/lib/libgnashasobjs.so.0.0.0
(cd /usr/local/lib && { ln -s -f libgnashasobjs.so.0.0.0 libgnashasobjs.so.0 || { rm -f libgnashasobjs.so.0 && ln -s libgnashasobjs.so.0.0.0 libgnashasobjs.so.0; }; })
(cd /usr/local/lib && { ln -s -f libgnashasobjs.so.0.0.0 libgnashasobjs.so || { rm -f libgnashasobjs.so && ln -s libgnashasobjs.so.0.0.0 libgnashasobjs.so; }; })
/usr/bin/install -c -p .libs/libgnashasobjs.lai /usr/local/lib/libgnashasobjs.la/usr/bin/install -c -p .libs/libgnashasobjs.a /usr/local/lib/libgnashasobjs.a
ranlib /usr/local/lib/libgnashasobjs.a
chmod 644 /usr/local/lib/libgnashasobjs.a
PATH="$PATH:/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

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/gnash-0.7.1/server'
make[1]: Leaving directory `/usr/gnash-0.7.1/server'
Making install in backend
make[1]: Entering directory `/usr/gnash-0.7.1/backend'
make[2]: Entering directory `/usr/gnash-0.7.1/backend'
test -z "/usr/local/lib" || mkdir -p -- "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c -p 'libgnashbackend.la' '/usr/local/lib/libgnashbackend.la'
/usr/bin/install -c -p .libs/libgnashbackend.so.0.0.0 /usr/local/lib/libgnashbackend.so.0.0.0
(cd /usr/local/lib && { ln -s -f libgnashbackend.so.0.0.0 libgnashbackend.so.0 || { rm -f libgnashbackend.so.0 && ln -s libgnashbackend.so.0.0.0 libgnashbackend.so.0; }; })
(cd /usr/local/lib && { ln -s -f libgnashbackend.so.0.0.0 libgnashbackend.so || { rm -f libgnashbackend.so && ln -s libgnashbackend.so.0.0.0 libgnashbackend.so; }; })
/usr/bin/install -c -p .libs/libgnashbackend.lai /usr/local/lib/libgnashbackend.la
/usr/bin/install -c -p .libs/libgnashbackend.a /usr/local/lib/libgnashbackend.a
ranlib /usr/local/lib/libgnashbackend.a
chmod 644 /usr/local/lib/libgnashbackend.a
PATH="$PATH:/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

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/bin" || mkdir -p -- "/usr/local/bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c -p 'gnash' '/usr/local/bin/gnash'
/usr/bin/install -c -p .libs/gnash /usr/local/bin/gnash
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/gnash-0.7.1/backend'
make[1]: Leaving directory `/usr/gnash-0.7.1/backend'
Making install in utilities
make[1]: Entering directory `/usr/gnash-0.7.1/utilities'
make[2]: Entering directory `/usr/gnash-0.7.1/utilities'
test -z "/usr/local/bin" || mkdir -p -- "/usr/local/bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c -p 'gparser' '/usr/local/bin/gparser'
/usr/bin/install -c -p .libs/gparser /usr/local/bin/gparser
/bin/sh ../libtool --mode=install /usr/bin/install -c -p 'gprocessor' '/usr/local/bin/gprocessor'
/usr/bin/install -c -p .libs/gprocessor /usr/local/bin/gprocessor
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/gnash-0.7.1/utilities'
make[1]: Leaving directory `/usr/gnash-0.7.1/utilities'
Making install in plugin
make[1]: Entering directory `/usr/gnash-0.7.1/plugin'
make[2]: Entering directory `/usr/gnash-0.7.1/plugin'
make[3]: Entering directory `/usr/gnash-0.7.1/plugin'
make[3]: Nothing to be done for `install-exec-am'.
test -d "/home/nakedpig/.firefox/plugins" || /bin/sh ../mkinstalldirs "/home/nakedpig/.firefox/plugins"
/bin/sh ../libtool --mode=install /usr/bin/install -c -p libgnashplugin.la "/home/nakedpig/.firefox/plugins/libgnashplugin.la"
libtool: install: warning: relinking `libgnashplugin.la'
(cd /usr/gnash-0.7.1/plugin; /bin/sh ../libtool --tag=CXX --mode=relink g++ -I.. -I. -I../libbase -I../backend -I../libgeometry -I../server -I./mozilla-sdk -I./mozilla-sdk/include -I/usr/include/libxml2 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/SDL -I/usr/include/SDL -I. -g -O2 -Wall -L/usr/X11R6/lib -lX11 -lXi -lXmu -lSDL -L/usr/lib64 -lSDL_mixer -lGL -lGLU -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -L/usr/lib64 -lpango-1.0 -lcairo -latk-1.0 -lglib-2.0 -L/usr/lib -lxml2 -lz -lm -ljpeg -lpng -logg -o libgnashplugin.la -rpath /home/nakedpig/.firefox/plugins -module -avoid-version -no-undefined -L/home/nakedpig/.firefox/plugins plugin.lo npn_gate.lo npp_gate.lo np_entry.lo -L/usr/X11R6/lib -lX11 -lXi -lXmu -lSDL -L/usr/lib64 -lSDL_mixer -lGL -lGLU -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -L/usr/lib64 -lpango-1.0 -lcairo -latk-1.0 -lglib-2.0 -L/usr/lib -lxml2 -lz -lm -ljpeg -lpng -logg ../backend/libgnashbackend.la ../server/libgnashasobjs.la ../server/libgnashserver.la ../libgeometry/libgnashgeo.la ../libbase/libgnashbase.la -lSDL_mixer -lrt -lX11 -lXi -lXmu )
g++ -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.0.3/crtbeginS.o .libs/plugin.o .libs/npn_gate.o .libs/npp_gate.o .libs/np_entry.o -Wl,--rpath -Wl,/usr/local/lib -L/usr/X11R6/lib -L/usr/lib64 -L/usr/lib -L/home/nakedpig/.firefox/plugins -lSDL -lGL -lGLU -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpango-1.0 -lcairo -latk-1.0 -lglib-2.0 -lxml2 -lz -ljpeg -lpng -logg -L/usr/local/lib -lgnashbackend -lgnashasobjs -lgnashserver -lgnashgeo -lgnashbase -lSDL_mixer -lrt -lX11 -lXi -lXmu -L/usr/lib/gcc/x86_64-linux-gnu/4.0.3 -L/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64 -L/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/4.0.3/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64/crtn.o -Wl,-soname -Wl,libgnashplugin.so -o .libs/libgnashplugin.so
/usr/bin/install -c -p .libs/libgnashplugin.soT /home/nakedpig/.firefox/plugins/libgnashplugin.so
/usr/bin/install -c -p .libs/libgnashplugin.lai /home/nakedpig/.firefox/plugins/libgnashplugin.la
/usr/bin/install -c -p .libs/libgnashplugin.a /home/nakedpig/.firefox/plugins/libgnashplugin.a
ranlib /home/nakedpig/.firefox/plugins/libgnashplugin.a
chmod 644 /home/nakedpig/.firefox/plugins/libgnashplugin.a
PATH="$PATH:/sbin" ldconfig -n /home/nakedpig/.firefox/plugins
----------------------------------------------------------------------
Libraries have been installed in:
/home/nakedpig/.firefox/plugins

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

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
rm -f /home/nakedpig/.firefox/plugins/libgnashplugin.*a
make[3]: Leaving directory `/usr/gnash-0.7.1/plugin'
make[2]: Leaving directory `/usr/gnash-0.7.1/plugin'
make[1]: Leaving directory `/usr/gnash-0.7.1/plugin'
make[1]: Entering directory `/usr/gnash-0.7.1'
make[2]: Entering directory `/usr/gnash-0.7.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/gnash-0.7.1'
make[1]: Leaving directory `/usr/gnash-0.7.1'
nakedpig@ubuntu:/usr/gnash-0.7.1$

gnash装上了,但是还…………和原来一样的问题
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#14

帖子 oneleaf » 2006-08-14 9:19

sudo make install
Nakedpig
帖子: 154
注册时间: 2006-06-28 21:53

#15

帖子 Nakedpig » 2006-08-14 19:27

oneleaf 写了:sudo make install
就是用sudo make install装上了但是问题是装了之后播放flash只停留在第一帧上面,鼠标对flash按钮不起作用.
我想原因可能在于出现的那几个"警告"上面,但是不知道怎么解决.有谁知道解决方法吗?
还有我用的是gnome,有关kde的包应该不用装了吧?
回复