日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > linux >内容正文

linux

linux编译lame,linux 下安装lame以及tritonus-mp3enc

發布時間:2023/12/16 linux 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 linux编译lame,linux 下安装lame以及tritonus-mp3enc 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

下載?tritonus-mp3enc,根據其中的readme.txt進行安裝。

Installation of the mp3 encoder plugin on Linux/i386

----------------------------------------------------

1. Copy tritonus_mp3.jar, and tritonus_share.jar in

the Extension Directory (see below).

2. Copy liblametritonus.so in the Binary Extension

Directory.

3. Download LAME via CVS:

cvs -d:pserver:anonymous@cvs.lame.sourceforge.net:/cvsroot/lame login

(Password empty)

cvs -z3 -d:pserver:anonymous@cvs.lame.sourceforge.net:/cvsroot/lame co lame

This creates the directory "lame".

4. Installation of LAME:

Go in the "lame" directory and issue "./configure --enable-shared"

and "make".

As root, invoke "make install". This copies the lame library to

/usr/local/lib. You may need to include /usr/local/lib to

/etc/ld.so.conf and then run "ldconfig"

Linux directories

-----------------

You can find out the installation directory of the JDK by issuing

"which java". I get the follwing result:

/usr/local/java2/bin/java

which means that JDK home is /usr/local/java2. The existence of

the "jre" directory in JDK home usually means that you have installed

the JDK (rather than JRE).

Extension Directory:

For JDK: jre/lib/ext in JDK home,

e.g. /usr/local/java2/jre/lib/ext

For JRE: lib/ext in JRE home,

e.g. /usr/local/jre1.3.0_02/lib/ext

Alternatively, you may also place the jars in the classpath.

Then you can place them where ever you want:

export CLASSPATH=tritonus_share.jar:tritonus_mp3.jar:$CLASSPATH

Binary Extension Directory:

For JDK: jre/lib/i386 in JDK home,

e.g. ls /usr/local/java2/jre/lib/i386

For JRE: bin in JRE home,

e.g. ls /usr/local/jre1.3.0_02/lib/i386

二、Lame

可以使用configure,make,make install來編譯和安裝lame,要注意的是在執行configure命令時可能報錯為:bad interpreter: No such file or directory,那么主要原因在于,configure的格式不是unix,很有可能是DOS方式,可以通過Vi的set ff?命令查看腳本格式還可以使用set ff=unix命令來修改configure格式。要注意的第二點是在執行以上三個命令時需要使用gc編譯器。安裝文成后我們會在/usr/local/lib 下看到lame的相關文件。之后按如下方法去做You may need to include /usr/local/lib to?? /etc/ld.so.conf and then run "ldconfig"。這樣你的lame基本上就安裝完成了。

三、相關參考

總結

以上是生活随笔為你收集整理的linux编译lame,linux 下安装lame以及tritonus-mp3enc的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。