来人帮忙看一下,救救,关于编译安装的问题

Totem,mplayer,sopcast,realplayer,bmp
sgsagdfa
帖子: 22
注册时间: 2009-10-01 12:43

来人帮忙看一下,救救,关于编译安装的问题

#1

帖子 sgsagdfa » 2009-10-01 13:17

谁能帮我看看错误,关于Mplayer安装的,编译安装。
说实话,我编译安装不不熟,以前都是apt-get,或者找Deb包的。
昨天装php编译不成功,想用个小软件试试,装了mplayer。
貌似我哪个软件也编译不了。
真懂得来帮我看看,网上能找到的方法我都试了,看到的什么编译环境我几乎都安了,下面帖出来,从config开始
sgsagdfa
帖子: 22
注册时间: 2009-10-01 12:43

Re: 来人帮忙看一下,救救,关于编译安装的问题

#2

帖子 sgsagdfa » 2009-10-01 13:19

这个论坛可能是不允许写太多字,我分别在下面发出来,从config开始。

Detected operating system: Linux
Detected host architecture: i386
Checking for cc version ... 4.3.3, ok
Checking for host cc ... cc
Checking for cross compilation ... no
Checking for CPU vendor ... GenuineIntel (6:28:2)
Checking for CPU type ... Intel(R) Atom(TM) CPU N270 @ 1.60GHz
Checking for kernel support of mmx ... yes
Checking for kernel support of mmxext ... yes
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of cmov ... yes
Checking for mtrr support ... yes
Checking for GCC & CPU optimization abilities ... native
Checking for assembler support of -pipe option ... yes
Checking for compiler support of named assembler arguments ... yes
Checking for assembler (as ) ... ok
Checking for .align is a power of two ... no
Checking for Linux kernel version ... 2.6.28-15-generic, ok
Checking for -lposix ... no
Checking for -lm ... yes
Checking for langinfo ... yes
Checking for language ... using en (man pages: en )
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for __builtin_expect ... yes
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for mkstemp ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes
Checking for inet_pton() ... yes (using )
Checking for network ... yes
Checking for inttypes.h (required) ... yes
Checking for int_fastXY_t in inttypes.h ... yes
Checking for word size ... 32
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for w32threads ... no (using pthread instead)
Checking for rpath ... no
Checking for iconv ... yes
Checking for soundcard.h ... yes (sys/soundcard.h)
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for termcap ... no
Checking for termios ... yes (sys/termios.h)
Checking for shm ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for swab() ... yes
Checking for POSIX select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for setenv() ... yes
Checking for sys/sysinfo.h ... yes
Checking for pkg-config ... yes
Checking for Samba support (libsmbclient) ... no
Checking for tdfxfb ... no
Checking for s3fb ... no
Checking for tdfxvid ... no
Checking for xvr100 ... no
Checking for tga ... yes
Checking for md5sum support ... yes
Checking for bl ... no
Checking for DirectFB ... no
Checking for X11 headers presence ... no (check if the dev(el) packages are installed)
Checking for X11 ... no (check if the dev(el) packages are installed)
Checking for DPMS ... no
Checking for Xv ... no
Checking for XvMC ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... no
Checking for XF86keysym ... no
Checking for DGA ... no
Checking for 3dfx ... no
Checking for OpenGL ... no
Checking for VIDIX ... yes (internal)
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... no
Checking for CACA ... no
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no
Checking for DVB HEAD ... yes
Checking for zr ... no
Checking for PNG support ... no
Checking for JPEG support ... no
Checking for PNM support ... yes
Checking for GIF support ... no
Checking for VESA support ... no
Checking for SDL ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for IVTV TV-Out ... yes
Checking for V4L2 MPEG Decoder ... yes
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for Polyp ... no
Checking for JACK ... no
Checking for OpenAL ... no
Checking for ALSA audio ... no
Checking for Sun audio ... no
Checking for VCD support ... yes
Checking for dvdread ... yes (internal)
Checking for internal libdvdcss ... yes
Checking for cdparanoia ... no
Checking for libcdio ... no
Checking for bitmap font support ... yes
Checking for freetype >= 2.0.9 ... no
Checking for fontconfig ... no (freetype support needed)
Checking for SSA/ASS support ... no (FreeType support needed)
Checking for fribidi with charsets ... no
Checking for ENCA ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for liblzo2 support ... no
Checking for mad support ... no
Checking for Twolame ... no
Checking for Toolame ... no
Checking for OggVorbis support ... yes (internal Tremor)
Checking for libspeex (version >= 1.1 required) ... no
Checking for OggTheora support ... no
Checking for internal mp3lib support ... yes
Checking for internal liba52 support ... yes
Checking for libdca support ... no
Checking for internal libmpeg2 support ... yes
Checking for libmpcdec (musepack, version >= 1.2.1 required) ... no
Checking for FAAC (AAC encoder) support ... no (in libavcodec: )
Checking for FAAD2 (AAC) support ... yes (internal floating-point)
Checking for LADSPA plugin support ... no
Checking for Win32 codecs ... yes (using /usr/local/lib/codecs)
Checking for XAnim codecs ... yes (using /usr/local/lib/codecs)
Checking for RealPlayer codecs ... yes (using /usr/local/lib/codecs)
Checking for QuickTime codecs ... yes
Checking for Nemesi Streaming Media libraries ... no
Checking for LIVE555 Streaming Media libraries ... no
Checking for FFmpeg libavutil ... yes (static)
Checking for FFmpeg libavcodec ... yes (static)
Checking for FFmpeg libavformat ... yes (static)
Checking for FFmpeg libpostproc ... yes (static)
Checking for libamr narrowband ... no
Checking for libamr wideband ... no
Checking for libdv-0.9.5+ ... no
Checking for XviD ... no
Checking for x264 ... no (in libavcodec: no)
Checking for libnut ... no
Checking for libmp3lame (for mencoder) ... no
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for Video 4 Linux TV interface ... yes
Checking for Video 4 Linux 2 TV interface ... yes
Checking for TV teletext interface ... no
Checking for Radio interface ... no
Checking for Capture for Radio interface ... no
Checking for Video 4 Linux 2 Radio interface ... no
Checking for Video 4 Linux Radio interface ... no
Checking for Video 4 Linux 2 MPEG PVR interface ... yes
Checking for audio select() ... yes
Checking for ftp ... yes
Checking for vstream client ... no
Checking for byte order ... little-endian
Checking for OSD menu ... no
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... no
Checking for automatic gdb attach ... no
Checking for compiler support for noexecstack ... yes
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Checking for color console output ... no
Checking for DVD support (libdvdnav) ... no
Creating config.mak
Creating config.h
sgsagdfa
帖子: 22
注册时间: 2009-10-01 12:43

Re: 来人帮忙看一下,救救,关于编译安装的问题

#3

帖子 sgsagdfa » 2009-10-01 13:20

Config files successfully generated by ./configure !

Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Config direct.: /usr/local/etc/mplayer

Byte order: little-endian
Optimizing for: native

Languages:
Messages/GUI: en
Manual pages: en

Enabled optional drivers:
Input: ftp pvr tv-v4l2 tv-v4l tv libdvdcss(internal) dvdread(internal) vcd dvb network
Codecs: libavcodec qtx real xanim win32 faad2 libmpeg2 liba52 mp3lib tremor(internal)
Audio output: oss v4l2 ivtv mpegpes(dvb)
Video output: v4l2 ivtv pnm mpegpes(dvb) fbdev cvidix md5sum tga
Audio filters:
Disabled optional drivers:
Input: dvdnav vstream radio tv-teletext live555 nemesi cddb cdda smb
Codecs: x264 xvid libdv libamr_wb libamr_nb faac musepack libdca libtheora speex toolame twolame libmad liblzo gif
Audio output: sun alsa openal jack polyp esd arts dxr2 nas sdl
Video output: dxr3 dxr2 sdl vesa gif89a jpeg png zr zr2 svga caca aa ggi xmga mga xvidix winvidix opengl 3dfx dga xvmc xv x11 dfbmga directfb bl xvr100 tdfx_vid s3fb tdfxfb
Audio filters: ladspa

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)

Check configure.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).

NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-gui and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
sgsagdfa
帖子: 22
注册时间: 2009-10-01 12:43

Re: 来人帮忙看一下,救救,关于编译安装的问题

#4

帖子 sgsagdfa » 2009-10-01 13:21

Config files successfully generated by ./configure !

Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Config direct.: /usr/local/etc/mplayer

Byte order: little-endian
Optimizing for: native

Languages:
Messages/GUI: en
Manual pages: en

Enabled optional drivers:
Input: ftp pvr tv-v4l2 tv-v4l tv libdvdcss(internal) dvdread(internal) vcd dvb network
Codecs: libavcodec qtx real xanim win32 faad2 libmpeg2 liba52 mp3lib tremor(internal)
Audio output: oss v4l2 ivtv mpegpes(dvb)
Video output: v4l2 ivtv pnm mpegpes(dvb) fbdev cvidix md5sum tga
Audio filters:
Disabled optional drivers:
Input: dvdnav vstream radio tv-teletext live555 nemesi cddb cdda smb
Codecs: x264 xvid libdv libamr_wb libamr_nb faac musepack libdca libtheora speex toolame twolame libmad liblzo gif
Audio output: sun alsa openal jack polyp esd arts dxr2 nas sdl
Video output: dxr3 dxr2 sdl vesa gif89a jpeg png zr zr2 svga caca aa ggi xmga mga xvidix winvidix opengl 3dfx dga xvmc xv x11 dfbmga directfb bl xvr100 tdfx_vid s3fb tdfxfb
Audio filters: ladspa

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
compile *** DO NOT REPORT BUGS if you tweak these files ***
sgsagdfa
帖子: 22
注册时间: 2009-10-01 12:43

Re: 来人帮忙看一下,救救,关于编译安装的问题

#5

帖子 sgsagdfa » 2009-10-01 13:21

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)

Check configure.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).

NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-gui and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.
sgsagdfa
帖子: 22
注册时间: 2009-10-01 12:43

Re: 来人帮忙看一下,救救,关于编译安装的问题

#6

帖子 sgsagdfa » 2009-10-01 13:22

以上是./configure出来的内容,下面我接着make

./version.sh `cc -dumpversion`
cc -I./libavcodec -I./libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I. -I./libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -c -o mplayer.o mplayer.c
mplayer.c: In function 'parse_cfgfiles':
mplayer.c:815: warning: ignoring return value of 'write', declared with attribute warn_unused_result
mplayer.c: In function 'main':
mplayer.c:2503: warning: format not a string literal and no format arguments
mplayer.c: At top level:
libvo/font_load.h:97: warning: 'render_one_glyph' defined but not used
libvo/font_load.h:98: warning: 'kerning' defined but not used
cc -I./libavcodec -I./libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I. -I./libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -c -o vobsub.o vobsub.c
make -C libvo libvo.a
make[1]: Entering directory `/home/lucifer/MPlayer-1.0rc2/libvo'
cc -I../libavcodec -I../libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -c -o vo_ivtv.o vo_ivtv.c
vo_ivtv.c: In function 'ivtv_reset':
vo_ivtv.c:79: error: storage size of 'sd' isn't known
vo_ivtv.c:80: error: storage size of 'sd1' isn't known
vo_ivtv.c:84: error: 'IVTV_STOP_FL_HIDE_FRAME' undeclared (first use in this function)
vo_ivtv.c:84: error: (Each undeclared identifier is reported only once
vo_ivtv.c:84: error: for each function it appears in.)
vo_ivtv.c:87: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this function)
vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this function)
vo_ivtv.c:80: warning: unused variable 'sd1'
vo_ivtv.c:79: warning: unused variable 'sd'
make[1]: *** [vo_ivtv.o] Error 1
make[1]: Leaving directory `/home/lucifer/MPlayer-1.0rc2/libvo'
make: *** [libvo/libvo.a] 错误 2
sgsagdfa
帖子: 22
注册时间: 2009-10-01 12:43

Re: 来人帮忙看一下,救救,关于编译安装的问题

#7

帖子 sgsagdfa » 2009-10-01 13:32

出错在哪里???有人帮忙么?在线等。
说apt-get的就不必了,省省吧,那个我会。我现在就是想熟悉下编译安装。

对了,刚刚打字又出现无法输入字体的事情了,我指的不是输入法,是英文字母都无法输入,键盘似乎失去响应,摁什么都不出字,经常出现这种情况,忍无可忍了,重启就好。键盘肯定没问题,双系统,xp里一直正常。谁有相同的情况?
还有个怪事,我Ubuntu经常没声音,怎么弄都不行。常常是进入系统没有动静,按网上的方法几乎试遍了,没结果。重启后莫名奇妙自己就好了,不知道是什么怪事。不过好在我用Ubuntu也就是学习,也用不着它娱乐。有没有声音无所谓了。
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: 来人帮忙看一下,救救,关于编译安装的问题

#8

帖子 wangdu2002 » 2009-10-01 13:37

某很少编译程序,不过看你的编译过程,可能缺少的东东比较多。也可能源码本身有些问题。 :em06
先看看源码包里的安装说明,readme或install之类的文档,应该会有需要哪些依赖的要求的。估计你是少了很多的开发库和头文件。
配置时的安装目录,如果在Ubuntu下,选择目录usr为佳。./configure --prefix=/usr 后面还可以跟其他编译参数。

顺便说下,不需要不断重复发贴。因为来U坛狂发广告的太多,所以发贴子有审核的。贴子字符数是有限制,不超过60000就行。 :em02
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
头像
ubuntu_fang
帖子: 694
注册时间: 2009-06-05 18:13
联系:

Re: 来人帮忙看一下,救救,关于编译安装的问题

#9

帖子 ubuntu_fang » 2009-10-01 13:39

缺少库文件编译文件确实很头疼,建议楼主使用deb包,安装吧!如果要自己编译,就把编译环境所需的库文件全部安装了!!
==========================
我的博客地址:http://blog.163.com/fanglinyong_81
这里记录了我学习使用ubuntu中遇到的诸多问题,希望整理出来,供网友参考,也希望各位能提出不同的解决方法!

==========================
system:ubuntu9.04
firefox3.5.2
CPU:AMD Sempron(tm) 2500+
DDR:1G

==========================
sgsagdfa
帖子: 22
注册时间: 2009-10-01 12:43

Re: 来人帮忙看一下,救救,关于编译安装的问题

#10

帖子 sgsagdfa » 2009-10-01 14:15

谢楼上回答,只是谢你帮我顶帖子,apt我可以的,我就是不知道编译出岔在哪里,想找人帮我看看。因为安PHP也没过,最后apt安装的,很郁闷。
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: 来人帮忙看一下,救救,关于编译安装的问题

#11

帖子 wangdu2002 » 2009-10-01 14:20

你用的什么输入法,某用Fcitx的,一直很稳定。只要机器硬件兼容没问题,驱动正常,Ubuntu还是比较稳定的。 :em09
楼主还是要E文再加强下,可以直接看E文文档。你的源码可以直接从源里拽的,源里的版本老些,但应该容易编译些。 :em06
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
sgsagdfa
帖子: 22
注册时间: 2009-10-01 12:43

Re: 来人帮忙看一下,救救,关于编译安装的问题

#12

帖子 sgsagdfa » 2009-10-01 15:07

wangdu2002 写了:你用的什么输入法,某用Fcitx的,一直很稳定。只要机器硬件兼容没问题,驱动正常,Ubuntu还是比较稳定的。 :em09
楼主还是要E文再加强下,可以直接看E文文档。你的源码可以直接从源里拽的,源里的版本老些,但应该容易编译些。 :em06
哦,我的输入法就是自带的,scim。
源里版本老,所以我想自己编译,用新的,而且上面有人说我的源码有问题,应该不是,源码官网下的,我有个习惯就是什么软件都要找官网下,呵呵,Windows下养成的习惯。
sgsagdfa
帖子: 22
注册时间: 2009-10-01 12:43

Re: 来人帮忙看一下,救救,关于编译安装的问题

#13

帖子 sgsagdfa » 2009-10-01 15:09

wangdu2002 写了:某很少编译程序,不过看你的编译过程,可能缺少的东东比较多。也可能源码本身有些问题。 :em06
先看看源码包里的安装说明,readme或install之类的文档,应该会有需要哪些依赖的要求的。估计你是少了很多的开发库和头文件。
配置时的安装目录,如果在Ubuntu下,选择目录usr为佳。./configure --prefix=/usr 后面还可以跟其他编译参数。

顺便说下,不需要不断重复发贴。因为来U坛狂发广告的太多,所以发贴子有审核的。贴子字符数是有限制,不超过60000就行。 :em02

不是故意要重复发帖的,只因这个论坛 太难用了,发出的帖子查看时显示主题找不到,我以为没发成功呢,所以分成几段发下试试。
头像
atang
帖子: 359
注册时间: 2009-05-11 20:11

Re: 来人帮忙看一下,救救,关于编译安装的问题

#14

帖子 atang » 2009-10-01 15:11

要先安装编译 mplayer的工具:

代码: 全选

sudo apt-get build-dep mplayer
再不行就把下面这些自动编译所必须的工具都装上:

代码: 全选

sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms
清除已删除包的残馀配置文件: dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P
删除所有当前不在使用的内核: sudo aptitude purge ~ilinux-image-.*\(\!`uname -r`\)
ubuntu不再发送免费光盘,来这儿下载吧
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: 来人帮忙看一下,救救,关于编译安装的问题

#15

帖子 wangdu2002 » 2009-10-01 15:15

不是故意要重复发帖的,只因这个论坛 太难用了,发出的帖子查看时显示主题找不到,我以为没发成功呢,所以分成几段发下试试。
不是论坛难用----但偶然抽筋难免,发了贴子,可以等几分钟再瞧瞧看,审核是需要一点时间的。总得看下贴子内容,以及有没有包含广告链接才行。 :em09
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
回复