Asterisk Inst/Asterisk Now
AsteriskInst/AsteriskNow ¶* bootloader À» mbr ¿¡ ÀÚµ¿¼³Ä¡ÇÔ.
[c5-media] name=CentOS-$releasever - Media baseurl=file:///mnt/sda7/CentOS5.3/CentOS/ gpgcheck=0 enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
[root@localhost SPECS]# rpmbuild -bp --target i386 asterisk14.spec Building target platforms: i386 Building for target i386 error: Failed build dependencies: ncurses-devel is needed by asterisk14-1.4.24-2_centos5.i386 alsa-lib-devel is needed by asterisk14-1.4.24-2_centos5.i386 lm_sensors-devel is needed by asterisk14-1.4.24-2_centos5.i386 net-snmp-devel is needed by asterisk14-1.4.24-2_centos5.i386 postgresql-devel is needed by asterisk14-1.4.24-2_centos5.i386 freetds-devel is needed by asterisk14-1.4.24-2_centos5.i386 libpri-devel is needed by asterisk14-1.4.24-2_centos5.i386 libtonezone-devel is needed by asterisk14-1.4.24-2_centos5.i386 dahdi-linux-devel is needed by asterisk14-1.4.24-2_centos5.i386 mISDNuser-devel is needed by asterisk14-1.4.24-2_centos5.i386 mISDN-devel is needed by asterisk14-1.4.24-2_centos5.i386 curl-devel is needed by asterisk14-1.4.24-2_centos5.i386 libvorbis-devel is needed by asterisk14-1.4.24-2_centos5.i386 libogg-devel is needed by asterisk14-1.4.24-2_centos5.i386 speex-devel is needed by asterisk14-1.4.24-2_centos5.i386 unixODBC-devel is needed by asterisk14-1.4.24-2_centos5.i386 libc-client-devel is needed by asterisk14-1.4.24-2_centos5.i386 * http://packages.asterisk.org/centos/5/current/i386/RPMS/
[root@localhost SPECS]# rpm -qa | grep nss nss-3.12.2.0-4.el5.centos* yum --disablerepo=\* --enablerepo=c5-media install curl-devel
[root@localhost SPECS]# rpm -qa | grep curl curl-7.15.5-2.1.el5_3.4 * yum --disablerepo=\* --enablerepo=c5-media install freetds-devel
rpmbuild ¶* build
RPM build errors: File not found: /var/tmp/asterisk14-1.4.24-root/usr/lib/asterisk/modules/codec_speex.so File not found: /var/tmp/asterisk14-1.4.24-root/usr/lib/asterisk/modules/cdr_odbc.so File not found: /var/tmp/asterisk14-1.4.24-root/usr/lib/asterisk/modules/func_odbc.so File not found: /var/tmp/asterisk14-1.4.24-root/usr/lib/asterisk/modules/res_config_odbc.so File not found: /var/tmp/asterisk14-1.4.24-root/usr/lib/asterisk/modules/res_odbc.so File not found: /var/tmp/asterisk14-1.4.24-root/usr/lib/asterisk/modules/app_voicemail_odbcstorage.so * rpmbuild -bi asterisk14.spec
[root@localhost lib]# rpm -qa | grep speex speex-devel-1.0.5-4.el5_1.1 speex-1.0.5-4.el5_1.1 [root@localhost asterisk14-1.4.24]# cd /usr/lib [root@localhost lib]# ls | grep speex libspeex.a libspeex.so libspeex.so.1 libspeex.so.1.3.0 * /usr/lib/asterisk/modules ¹Ø¿¡ codec_speex.so °¡ ¾øÀ½.
* subpackage
# Conditional tests for desired features. # # Read: true if _with_ssl is defined, false if not defined. %if %{?_with_ssl:1}%{!?_with_ssl:0} ... %endif * rpmbuild --without speex --without odbc --without voicemail_odbcstorage -ba asterisk14.spec
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/asterisk14-1.4.24-root error: Installed (but unpackaged) file(s) found: /usr/lib/asterisk/modules/app_directory_odbcstorage.so RPM build errors: Installed (but unpackaged) file(s) found: /usr/lib/asterisk/modules/app_directory_odbcstorage.so
[root@localhost i386]# pwd /usr/src/redhat/RPMS/i386 [root@localhost i386]# ls asterisk14-1.4.24-2_centos5.i386.rpm asterisk14-alsa-1.4.24-2_centos5.i386.rpm asterisk14-configs-1.4.24-2_centos5.i386.rpm asterisk14-core-1.4.24-2_centos5.i386.rpm asterisk14-curl-1.4.24-2_centos5.i386.rpm asterisk14-dahdi-1.4.24-2_centos5.i386.rpm asterisk14-debuginfo-1.4.24-2_centos5.i386.rpm asterisk14-devel-1.4.24-2_centos5.i386.rpm asterisk14-doc-1.4.24-2_centos5.i386.rpm asterisk14-misdn-1.4.24-2_centos5.i386.rpm asterisk14-ogg-1.4.24-2_centos5.i386.rpm asterisk14-pgsql-1.4.24-2_centos5.i386.rpm asterisk14-snmp-1.4.24-2_centos5.i386.rpm asterisk14-tds-1.4.24-2_centos5.i386.rpm asterisk14-voicemail-1.4.24-2_centos5.i386.rpm asterisk14-voicemail-imapstorage-1.4.24-2_centos5.i386.rpm [root@localhost SRPMS]# ls asterisk14-1.4.24-2_centos5.src.rpm queue ¶* mysql
Patch4: voicemail-splitopts-imapstorage.patch Patch5: mysql.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root %patch2 -p0 %patch5 -p0
make[1]: Leaving directory `/usr/src/redhat/BUILD/asterisk14-1.4.24/utils' error: Bad exit status from /var/tmp/rpm-tmp.41075 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.41075 (%build)
subversion ¶* yum --disablerepo=\* --enablerepo=c5-media install mod_dav_svn
<Location /repos> ... SVNParentPath /var/www/svn ... AuthName "Authorization Realm" AuthUserFile /svn-auth-conf .... </Location> Forbidden You don't have permission to access /repos on this server. <Location /repos> ... SVNPath /var/www/svn/repos .... </Location> Revision 0: /
* make local file repository
[root@localhost Desktop]# rpm -ivh nautilussvn-0.12-3.beta1.2.noarch.rpm ¿À·ù: Failed dependencies: nautilus-python is needed by nautilussvn-0.12-3.beta1.2.noarch pygobject is needed by nautilussvn-0.12-3.beta1.2.noarch pysvn is needed by nautilussvn-0.12-3.beta1.2.noarch python-configobj is needed by nautilussvn-0.12-3.beta1.2.noarch * root@localhost nautilussvn-0.12# python setup.py install
[root@localhost nautilussvn-0.12]# nautilussvn Traceback (most recent call last): File "/usr/bin/nautilussvn", line 27, in ? from nautilussvn.lib.helper import launch_ui_window File "/usr/lib/python2.4/site-packages/nautilussvn/lib/__init__.py", line 23, in ? from nautilussvn.lib.log import Log File "/usr/lib/python2.4/site-packages/nautilussvn/lib/log.py", line 48, in ? from nautilussvn.lib.settings import SettingsManager, get_home_folder File "/usr/lib/python2.4/site-packages/nautilussvn/lib/settings.py", line 32, in ? import configobj ImportError: No module named configobj * rpm -ivh python-configobj-4.4.0-2.noarch.rpm
[root@localhost nautilussvn-0.12]# nautilussvn usage: nautilussvn <module> [path1] [path2] ... Available Modules ------------------ about, add, blame, checkout, cleanup, commit, create, delete, export, ignore, import, lock, log, merge, properties, relocate, rename, resolve, revert, settings, switch, unlock, update, updateto nautilussvn ¶* install
|
The Tree of Learning bears the noblest fruit, but noble fruit tastes bad. |