编译安装 MPlayer SVN-r29832-snapshot-4.4.1 通过
星期日, 十一月 8, 2009, 08:28 AM
最近换上了UBUNTU 9.10,许多软件都要全新安装,mplayer也不例外.
下载mplayer最新的 snapshot版本,解压.
我的 configure:
configuration: --prefix=/usr/local/mplayer --enable-gui --enable-radio --enable-radio-capture --enable-wii --language-doc=zh_CN --language-man=zh_CN --language-msg=zh_CN --language=zh_CN
缺依赖就 apt-get.
值得注意的是:mplayer编译 --enable-gui 需要 gtk+ 库的支持.
下载gtk+最新版本 2.19.0的源码編译,需要依赖glib,pango,cairo,atk等
(一定要先cairo后pango,否则编译gtk+时会找不到cairo).
而在 built glib 的时候,又需要gettext.
当make gettext 的时候,如果和我一样,用的是GCC4.4.1 这样的较新的版本,会报一个传递参数数量不匹配的错,要注意修改.
附我安装gtk+组件的 configure:
It was created by gtk+ configure 2.19.0, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure --prefix=/usr/local/gtk+
It was created by glib configure 2.22.2, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure
It was created by pango configure 1.26.0, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ./configure
It was created by configure, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure
当然,这一切都可以通过 apt-get 获得.
[ ] ( 2867 次浏览 ) 永久链接 ( 3 / 2929 )
编译安装VLC media player 1.0.3 通过
星期六, 十一月 7, 2009, 02:35 PM
本以为有过一次成功安装的经历,这次 应该不是什么问题,可是我错了,它整整花费了我半个下午.
我的 configure:
./configure '--prefix=/usr/local/vlc' '--enable-optimize-memory' '--enable-coverage' '--enable-release' '--enable-switcher' '--enable-dvdread' '--enable-cddax' '--enable-vcdx' '--enable-wma-fixed' '--enable-real' '--enable-realrtsp' '--enable-flac' '--enable-snapshot' '--enable-cyberlink' '--disable-lua' '--disable-shout' '--disable-live555' '--disable-zvbi' '--disable-gme' '--disable-mtp'
个人认为:vlc是这个世界上最缺依赖的软件,我起码 apt-get 了不下 30次.
为了方便以后编译,现把某位前辈提供的vlc 依赖列表贴出来:
autotools-dev 20080123.2 Update infrastructure for config.{guess,sub}
comerr-dev 2.1-1.41.4-1ubuntu1 common error description library - headers a
dpkg-dev 1.14.24ubuntu1 Debian package development tools
e2fslibs-dev 1.41.4-1ubuntu1 ext2 filesystem libraries - headers and stat
ethtool 6+20080913-1 display or change Ethernet device settings
inputattach 1.23-0ubuntu2 utility to attach serial devices to the inpu
ladspa-sdk 1.1-6 sample tools for linux-audio-dev plugin arch
liba52-0.7.4-dev 0.7.4-11ubuntu1 library for decoding ATSC A/52 streams (deve
libaa1-dev 1.4p5-37build1 ascii art library, development kit
libasm-dev 0.131-4 libasm development libraries and header file
libasound2-dev 1.0.18-1ubuntu9 shared library for ALSA applications. Develo
libass-dev 0.9.5-2 development files for libass
libatk1.0-dev 1.26.0-0ubuntu2 Development files for the ATK accessibility
libaudio-dev 1.9.1-5 Network Audio System - development files
libaudiofile-dev 0.2.6-7ubuntu1 Open-source version of SGI's audiofile libra
libavahi-client-dev 0.6.23-4ubuntu4 Development files for the Avahi client libra
libavahi-common-dev 0.6.23-4ubuntu4 Development files for the Avahi common libra
libavc1394-0 0.5.3-1build1 control IEEE 1394 audio/video devices
libavc1394-dev 0.5.3-1build1 control IEEE 1394 audio/video devices (devel
libavcodec-dev 3:0.svn20090303-1ubuntu6 development files for libavcodec
libavdevice52 3:0.svn20090303-1ubuntu6 ffmpeg device handling library
libavformat-dev 3:0.svn20090303-1ubuntu6 development files for libavformat
libavutil-dev 3:0.svn20090303-1ubuntu6 development files for libavutil
libblkid1 1.41.4-1ubuntu1 block device id library
libc6-dev 2.9-4ubuntu6 GNU C Library: Development Libraries and Hea
libcaca-dev 0.99.beta16-1 development files for libcaca
libcairo2-dev 1.8.6-1ubuntu2 Development files for the Cairo 2D graphics
libcdio-dev 0.78.2+dfsg1-3 library to read and control CD-ROM (developm
libcups2-dev 1.3.9-17ubuntu3.2 Common UNIX Printing System(tm) - developmen
libcupsys2-dev 1.3.9-17ubuntu3.2 Common UNIX Printing System (transitional pa
libdbus-1-dev 1.2.12-0ubuntu2.1 simple interprocess messaging system (develo
libdbus-glib-1-dev 0.80-3 simple interprocess messaging system (GLib i
libdc1394-22-dev 2.0.2-1 high level programming interface for IEEE139
libdca-dev 0.0.5-0.1 a free DTS Coherent Acoustics decoder
libdevmapper1.02.1 2:1.02.27-4ubuntu5 The Linux Kernel Device Mapper userspace lib
libdirac-dev 1.0.2-0ubuntu1 general purpose video codec - development fi
libdirectfb-dev 1.0.1-11ubuntu1 direct frame buffer graphics library - devel
libdmx-dev 1:1.0.2-3 X11 Distributed Multihead extension library
libdv4-dev 1.0.0-1ubuntu2 software library for DV format digital video
libdvbpsi4-dev 0.1.5-3.1 development files for libdvbpsi4
libdvdnav-dev 4.1.3-3 DVD navigation library (development)
libdvdread-dev 4.1.3-4ubuntu2 library for reading DVDs (development)
libebml-dev 0.7.7-3.1 access library for the EBML format
libelf-dev 0.131-4 libelf1 development libraries and header fil
libenca-dev 1.9-6 Extremely Naive Charset Analyser - developme
libesd0-dev 0.2.40-0ubuntu3 Enlightened Sound Daemon - Development files
libexpat1-dev 2.0.1-4 XML parsing C library - development kit
libfaac-dev 1.26-0.1ubuntu2 an AAC audio encoder - devel files
libfaad-dev 2.6.1-3.1 freeware Advanced Audio Decoder - developmen
libfftw3-dev 3.1.2-3.1ubuntu1 library for computing Fast Fourier Transform
libflac-dev 1.2.1-1.2 Free Lossless Audio Codec - C development li
libfontconfig1-dev 2.6.0-1ubuntu12 generic font configuration library - develop
libfontenc-dev 1:1.0.4-3 X11 font encoding library (development heade
libfreetype6-dev 2.3.9-4ubuntu0.1 FreeType 2 font engine, development files
libfribidi-dev 0.10.9-1 Development files for FreeBidi library
libfs-dev 2:1.0.1-1 X11 Font Services library (development heade
libgcrypt11-dev 1.4.1-2ubuntu1 LGPL Crypto library - development files
libggi2-dev 1:2.2.2-3ubuntu1 General Graphics Interface development packa
libgif-dev 4.1.6-6 library for GIF images (development)
libgii1-dev 1:1.0.2-4 General Input Interface development package
libgl1-mesa-dev 7.4-0ubuntu3.1 A free implementation of the OpenGL API -- G
libglib2.0-dev 2.20.1-0ubuntu2 Development files for the GLib library
libglide2-dev 2002.04.10-18ubuntu1 graphics library for 3Dfx Voodoo based cards
libglu1-mesa-dev 7.4-0ubuntu3.1 The OpenGL utility library -- development fi
libgnutls-dev 2.4.2-6ubuntu0.1 the GNU TLS library - development files
libgpg-error-dev 1.4-2ubuntu7 library for common error values and messages
libgsm1-dev 1.0.12-1 Development libraries for a GSM speech compr
libgtk2.0-dev 2.16.1-0ubuntu2 Development files for the GTK+ library
libhal-dev 0.5.12~rc1+git20090403-0ubuntu4 Hardware Abstraction Layer - development fil
libice-dev 2:1.0.4-1 X11 Inter-Client Exchange library (developme
libid3tag0-dev 0.15.1b-10 ID3 tag reading library from the MAD project
libilmbase-dev 1.0.1-2+nmu2 development files for IlmBase
libimlib2-dev 1.4.2-4ubuntu1 Imlib2 development files
libiso9660-dev 0.78.2+dfsg1-3 library to work with ISO9660 filesystems (de
libjack-dev 0.116.1-3ubuntu3 JACK Audio Connection Kit (development files
libjpeg62-dev 6b-14 Development files for the IJG JPEG library
libkrb5-dev 1.6.dfsg.4~beta1-5ubuntu2 Headers and development libraries for MIT Ke
liblcms1-dev 1.18.dfsg-0ubuntu1 Color management library (Development header
liblircclient-dev 0.8.4a-0ubuntu5 infra-red remote control support - client li
liblivemedia-dev 2008.07.25-2 multimedia RTSP streaming library
libltdl7-dev 2.2.6a-1ubuntu1 A system independent dlopen wrapper for GNU
liblua5.1-0-dev 5.1.4-2 Simple, extensible, embeddable programming l
liblzo-dev 1.08-3 data compression library (old version) (deve
libmad0-dev 0.15.1b-4 MPEG audio decoder development library
libmatroska-dev 0.8.1-1.1 extensible open standard audio/video contain
libmjpegtools-dev 1:1.9.0-0.0ubuntu3 MJPEG video capture/editting/playback MPEG e
libmng-dev 1.0.9-1 M-N-G library (Development headers)
libmodplug-dev 1:0.8.4-3ubuntu1.1 development files for mod music based on Mod
libmozjs-dev 1.8.1.18+nobinonly.b308.cvs20090331t155113-0ubuntu0.8.10.1 Development files for the Mozilla SpiderMonk
libmp3lame-dev 3.98-0.0 LAME Ain't an MP3 Encoder
libmpcdec-dev 1.2.2-1build1 Musepack (MPC) format library [development f
libmpeg2-4-dev 0.4.1-3 libmpeg2 development libraries and headers
libncurses5-dev 5.7+20090207-1ubuntu1 developer's libraries and docs for ncurses
libncursesw5-dev 5.7+20090207-1ubuntu1 developer's libraries for ncursesw
libnotify-dev 0.4.5-0ubuntu1 sends desktop notifications to a notificatio
libnspr4-dev 4.7.5-0ubuntu0.9.04.1 Development files for the NetScape Portable
libnss3-dev 3.12.3.1-0ubuntu0.9.04.1 Development files for the Network Security S
libogg-dev 1.1.3-4build1 Ogg Bitstream Library Development
liboil0.3-dev 0.3.15-1ubuntu3 Library of Optimized Inner Loops (developmen
libopenal-dev 1:1.4.272-2 Software implementation of the OpenAL API (d
libopenexr-dev 1.6.1-3ubuntu1 development files for the OpenEXR image libr
libopenjpeg-dev 1.3+dfsg-3 development files for libopenjpeg2, a JPEG 2
libpango1.0-dev 1.24.1-0ubuntu1 Development files for the Pango
libpciaccess-dev 0.10.5-1 Generic PCI access library for X - developme
libpixman-1-dev 0.13.2-1 pixel-manipulation library for X and cairo (
libpng12-dev 1.2.27-2ubuntu2 PNG library - development
libpopt-dev 1.14-4 lib for parsing cmdline parameters - develop
libpostproc-dev 3:0.svn20090303-1ubuntu6 development files for libpostproc
libpq-dev 8.3.7-1 header files for libpq5 (PostgreSQL library)
libpthread-stubs0-dev 0.1-2 pthread stubs not provided by native libc, d
libpulse-dev 1:0.9.14-0ubuntu20.2 PulseAudio client development headers and li
libqt3-mt-dev 3:3.3.8-b-5ubuntu1 Qt development files (Threaded)
libqt4-dev 4.5.0-0ubuntu4.1 Qt 4 development files
libqt4-opengl-dev 4.5.0-0ubuntu4.1 Qt 4 OpenGL library development files
libquicktime-dev 2:1.1.0+debian-1build1 library for reading and writing Quicktime fi
libraw1394-dev 1.3.0-4ubuntu1 library for direct access to IEEE 1394 bus -
libreadline5-dev 5.2-4 GNU readline and history libraries, developm
libschroedinger-dev 1.0.5-1 library for encoding/decoding of Dirac video
libsdl-image1.2-dev 1.2.6-3 development files for SDL 1.2 image loading
libsdl1.2-dev 1.2.13-4ubuntu3 Simple DirectMedia Layer development files
libshout3-dev 2.2.2-5 MP3/Ogg Vorbis broadcast streaming library (
libslang2-dev 2.1.3-3ubuntu3 The S-Lang programming library, development
libsm-dev 2:1.1.0-1 X11 Session Management library (development
libsmbclient-dev 2:3.3.2-1ubuntu3.1 development files for libsmbclient
libsndfile1-dev 1.0.17-4ubuntu1 Library for reading/writing audio files
libspeex-dev 1.2~rc1-1 The Speex codec library development files
libsqlite0-dev 2.8.17-4build1 SQLite development files
libssl-dev 0.9.8g-15ubuntu3.2 SSL development libraries, header files and
libstdc++6-4.3-dev 4.3.3-5ubuntu4 The GNU Standard C++ Library v3 (development
libsvga1-dev 1:1.4.3-27 console SVGA display development libraries a
libswscale-dev 3:0.svn20090303-1ubuntu6 development files for libswscale
libsysfs-dev 2.1.0-5 interface library to sysfs - development fil
libtag1-dev 1.5-3 TagLib Audio Meta-Data Library [development]
libtar-dev 1.2.11-5ubuntu1 C library for manipulating tar archives
libtasn1-3-dev 1.5-1 Manage ASN.1 structures (development)
libtheora-dev 1.0-2 The Theora Video Compression Codec (developm
libtiff4-dev 3.8.2-11ubuntu0.9.04.3 Tag Image File Format library (TIFF), develo
libtwolame-dev 0.3.12-1 MPEG Audio Layer 2 encoder (development file
libv4l-dev 0.5.8-1 Collection of video4linux support libraries
libvcdinfo-dev 0.7.23-4ubuntu1 library to extract information from VideoCD
libvorbis-dev 1.2.0.dfsg-3.1ubuntu0.9.04.1 The Vorbis General Audio Compression Codec (
libwxbase2.6-dev 2.6.3.2.2-3ubuntu4 wxBase library (development) - non-GUI suppo
libwxgtk2.6-dev 2.6.3.2.2-3ubuntu4 wxWidgets Cross-platform C++ GUI toolkit (GT
libx11-dev 2:1.1.99.2-1ubuntu2 X11 client-side library (development headers
libx264-dev 1:0.svn20081230-0.0ubuntu1 development files for libx264
libxau-dev 1:1.0.4-1 X11 authorisation library (development heade
libxaw7-dev 2:1.0.5-1 X11 Athena Widget library (development heade
libxcb-render-util0-dev 0.2.1+git1-1 utility libraries for X C Binding -- render-
libxcb-render0-dev 1.1.93-0ubuntu3.1 X C Binding, render extension, development f
libxcb1-dev 1.1.93-0ubuntu3.1 X C Binding, development files
libxcomposite-dev 1:0.4.0-3 X11 Composite extension library (development
libxcursor-dev 1:1.1.9-1 X cursor management library (development fil
libxdamage-dev 1:1.1.1-4 X11 damaged region extension library (develo
libxdmcp-dev 1:1.0.2-3 X11 authorisation library (development heade
libxevie-dev 1:1.0.2-3 X11 EvIE extension library (development head
libxext-dev 2:1.0.99.1-0ubuntu3 X11 miscellaneous extensions library (develo
libxfixes-dev 1:4.0.3-2 X11 miscellaneous 'fixes' extension library
libxfont-dev 1:1.3.3-1ubuntu1 X11 font rasterisation library (development
libxft-dev 2.1.13-3ubuntu1 FreeType-based font drawing library for X (d
libxi-dev 2:1.2.0-1ubuntu1.1 X11 Input extension library (development hea
libxinerama-dev 2:1.0.3-2 X11 Xinerama extension library (development
libxkbfile-dev 1:1.0.5-1ubuntu2 X11 keyboard file manipulation library (deve
libxkbui-dev 1:1.0.2-3 X11 keyboard UI presentation library (develo
libxml2-dev 2.6.32.dfsg-5ubuntu4.2 Development files for the GNOME XML library
libxmu-dev 2:1.0.4-1 X11 miscellaneous utility library (developme
libxmuu-dev 2:1.0.4-1 X11 miscellaneous micro-utility library (dev
libxosd-dev 2.2.14-1.7 X On-Screen Display library - development
libxpm-dev 1:3.5.7-1 X11 pixmap library (development headers)
libxrandr-dev 2:1.3.0-1build1 X11 RandR extension library (development hea
libxrender-dev 1:0.9.4-2 X Rendering Extension client library (develo
libxres-dev 2:1.0.3-1 X11 Resource extension library (development
libxss-dev 1:1.1.3-1 X11 Screen Saver extension library (developm
libxt-dev 1:1.0.5-3ubuntu1 X11 toolkit intrinsics library (development
libxtrap-dev 2:1.0.0-5build1 X11 event trapping extension library (develo
libxtst-dev 2:1.0.3-1ubuntu2 X11 Record extension library (development he
libxul-dev 1.8.1.18+nobinonly.b308.cvs20090331t155113-0ubuntu0.8.10.1 Development files for the Gecko engine libra
libxv-dev 2:1.0.4-1 X11 Video extension library (development hea
libxvidcore4-dev 2:1.1.2-0.1ubuntu3 High quality ISO MPEG4 codec library -- deve
libxvmc-dev 2:1.0.4-2ubuntu1 X11 Video extension library (development hea
libxxf86dga-dev 2:1.0.2-1 X11 Direct Graphics Access extension library
libxxf86misc-dev 1:1.0.1-3 X11 XFree86 miscellaneous extension library
libxxf86vm-dev 1:1.0.2-1 X11 XFree86 video mode extension library (de
linux-libc-dev 2.6.28-15.49 Linux Kernel Headers for development
makedev 2.3.1-88 creates device files in /dev
mdetect 0.5.2.1ubuntu4 mouse device autodetection tool
mesa-common-dev 7.4-0ubuntu3.1 Developer documentation for Mesa
portaudio19-dev 19+svn20071207-0ubuntu7 Portable audio I/O - development files
qt3-dev-tools 3:3.3.8-b-5ubuntu1 Qt3 development tools
qt4-dev-tools 4.5.0-0ubuntu4.1 Qt 4 development tools
udev 141-1.2 rule-based device node and kernel event mana
uuid-dev 1.2-1.41.4-1ubuntu1 universally unique id library - headers and
x11proto-bigreqs-dev 1:1.0.2-5build1 X11 Big Requests extension wire protocol
x11proto-composite-dev 1:0.4-2 X11 Composite extension wire protocol
x11proto-core-dev 7.0.14-2 X11 core wire protocol and auxiliary headers
x11proto-damage-dev 1:1.1.0-2build1 X11 Damage extension wire protocol
x11proto-dmx-dev 1:2.2.2-5build1 X11 Distributed Multihead X extension wire p
x11proto-dri2-dev 1.99.3-1 X11 DRI2 extension wire protocol
x11proto-evie-dev 1:1.0.2-5ubuntu1 X11 Event Interception extension wire protoc
x11proto-fixes-dev 1:4.0-3 X11 Fixes extension wire protocol
x11proto-fontcache-dev 0.1.2-5ubuntu1 X11 font cache extension wire protocol
x11proto-fonts-dev 2.0.2-6ubuntu1 X11 font extension wire protocol
x11proto-gl-dev 1.4.9-2 X11 OpenGL extension wire protocol
x11proto-input-dev 1.5.0-1ubuntu1 X11 Input extension wire protocol
x11proto-kb-dev 1.0.3-3ubuntu1 X11 XKB extension wire protocol
x11proto-randr-dev 1.3.0-1 X11 RandR extension wire protocol
x11proto-record-dev 1.13.2-5ubuntu1 X11 Record extension wire protocol
x11proto-render-dev 2:0.9.3-2 X11 Render extension wire protocol
x11proto-resource-dev 1.0.2-5ubuntu1 X11 Resource extension wire protocol
x11proto-scrnsaver-dev 1.1.0.0-2 X11 Screen Saver extension wire protocol
x11proto-trap-dev 3.4.3-6ubuntu1 X11 Trap extension wire protocol
x11proto-video-dev 2.2.2-5ubuntu1 X11 Video extension wire protocol
x11proto-xcmisc-dev 1.1.2-5build1 X11 XC-Miscellaneous extension wire protocol
x11proto-xext-dev 7.0.4-1 X11 various extension wire protocol
x11proto-xf86bigfont-dev 1.1.2-5ubuntu1 X11 Big Fonts extension wire protocol
x11proto-xf86dga-dev 2.0.3-1 X11 Direct Graphics Access extension wire pr
x11proto-xf86dri-dev 2.0.4-1 X11 DRI extension wire protocol
x11proto-xf86misc-dev 0.9.2-5ubuntu1 X11 XFree86-Miscellaneous extension wire pro
x11proto-xf86vidmode-dev 2.2.2-5ubuntu1 X11 Video Mode extension wire protocol
x11proto-xinerama-dev 1.1.2-5ubuntu1 X11 Xinerama extension wire protocol
xinput 1.4.0-1 Runtime configuration and test of XInput dev
xlibmesa-gl-dev 1:7.4~5ubuntu18 transitional package for Debian etch
xorg-dev 1:7.4~5ubuntu18 the X.Org X Window System development librar
xserver-xorg-dev 2:1.6.0-0ubuntu14 Xorg X server - development files
xserver-xorg-input-evdev 1:2.1.1-1ubuntu4 X.Org X server -- evdev input driver
xserver-xorg-video-fbdev 1:0.4.0-3 X.Org X server -- fbdev display driver
xtrans-dev 1.2.3-1 X transport library (development files)
zlib1g-dev 1:1.2.3.3.dfsg-12ubuntu2 compression library - development
碰到编译不通过或者make出错,请对照日志文件,对应上面的列表一一排错.
不要以为,configure 通过就ok了,其实不然,一定要是 0 error 0 warn 才可以.
[ ] ( 2739 次浏览 ) 永久链接 ( 3 / 2704 )
星期日, 十月 25, 2009, 03:07 AM
本来我的服务器上默认安装的是1.0.21,不过最近pureftpd发布了新版本,还是决定升级下.
于是马上下载了源码包:
http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.24.tar.bz2
我的configure:
$ ./configure --prefix=/usr/local/pureftpd --with-sysquotas --with-altlog --with-puredb --with-extauth --with-cookie --with-throttling --with-ratios --with-quotas --with-welcomemsg --with-virtualhosts --with-virtualchroot --with-diraliases --with-peruserlimits --with-everything --with-language=simplified-chinese --with-mysql (因为我用的是和mysql绑定).
make, make install 都很顺利.
完了之后,把安装目录下的pureftpd-mysql.conf 和 configuration-file文件夹下的
pure-ftpd.conf 复制到 /etc 下面.
再把 configuration-file文件夹下 pure-config.pl 复制到 /sbin下,操作配置,启动即可.
[ ] ( 1998 次浏览 ) 永久链接 ( 3 / 2874 )
<< <上一页 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 下一页> >>