新しいblogに移行しました

新ブログ "All Yout Bugs Are Belong To Ass" に移行しました!

2008-04-15

[Linux]CentOS5のopenssl-develでちょっとハマった

吉野家コピペ風に。

そんな事より1よ、ちょいと聞いてくれよ。スレとあんま関係ないけどさ。
昨日、近所のCentOS5にCrypt::SSLeayをつっこんだんです。CentOS5。
そしたらなんかMakefile.PLが

========================================================================
No installed SSL libraries found in any of the following places.
/local
/local/ssl
/opt/ssl
/usr
/usr/local
/usr/local/ssl
/usr/local/openssl
You will have to either specify a directory location at the following
prompt, or rerun the Makefile.PL program and use the --lib switch
to specify the path. If the path in question is considered standard
on your platform, please consider filing a bug report in order to
have it taken into account in a subsequent version of Crypt::SSLeay.

Which SSL install path do you want to use?


とか言ってインストールできないんです。
で、よく見たらなんかopensslのライブラリの場所がわからない、とか書いてあるんです。
もうね、アホかと。馬鹿かと。
お前らな、無償如きで普段使ってないCentOS使ってんじゃねーよ、ボケが。
無償だよ、無償。
なんか親子連れとかもいるし。一家4人でCentOSか。おめでてーな。
よーしパパnamazuをソースからビルドしちゃうぞー、とか言ってるの。もう見てらんない。
お前らな、openssl-develパッケージつっこんでやるからCrypt::SSLeay使わせろと。

# yum -y install openssl-devel

CentOSってのはな、もっと殺伐としてるべきなんだよ。
ググる気の無い奴といつ喧嘩が始まってもおかしくない、
刺すか刺されるか、そんな雰囲気がいいんじゃねーか。OS議論好きは、すっこんでろ。
で、やっとyumを実行できたかと思ったら、yumの奴が、

Transaction Check Error:
file /etc/krb5.conf from install of krb5-libs-1.6.1-17.el5_1.1 conflicts with file from package krb5-libs-1.5-17
file /usr/kerberos/man/man5/krb5.conf.5.gz from install of krb5-libs-1.6.1-17.el5_1.1 conflicts with file from package krb5-workstation-1.5-17
file /usr/share/man/man1/asn1parse.1ssl.gz from install of openssl-0.9.8b-8.3.el5_0.2 conflicts with file from package openssl-0.9.8b-8.3.el5
file /usr/share/man/man1/nseq.1ssl.gz from install of openssl-0.9.8b-8.3.el5_0.2 conflicts with file from package openssl-0.9.8b-8.3.el5
file /usr/share/man/man1/ocsp.1ssl.gz from install of openssl-0.9.8b-8.3.el5_0.2 conflicts with file from package openssl-0.9.8b-8.3.el5
file /usr/share/man/man1/smime.1ssl.gz from install of openssl-0.9.8b-8.3.el5_0.2 conflicts with file from package openssl-0.9.8b-8.3.el5
file /usr/share/man/man8/avcstat.8.gz from install of libselinux-1.33.4-4.el5 conflicts with file from package libselinux-1.33.4-2.el5
file /usr/share/man/man8/getenforce.8.gz from install of libselinux-1.33.4-4.el5 conflicts with file from package libselinux-1.33.4-2.el5
file /usr/share/man/man8/getsebool.8.gz from install of libselinux-1.33.4-4.el5 conflicts with file from package libselinux-1.33.4-2.el5
file /usr/share/man/man8/matchpathcon.8.gz from install of libselinux-1.33.4-4.el5 conflicts with file from package libselinux-1.33.4-2.el5
file /usr/share/man/man8/selinuxenabled.8.gz from install of libselinux-1.33.4-4.el5 conflicts with file from package libselinux-1.33.4-2.el5
file /usr/share/man/man8/setenforce.8.gz from install of libselinux-1.33.4-4.el5 conflicts with file from package libselinux-1.33.4-2.el5
file /usr/share/man/man8/togglesebool.8.gz from install of libselinux-1.33.4-4.el5 conflicts with file from package libselinux-1.33.4-2.el5

とか言ってるんです。
そこでまたぶち切れですよ。
あのな、依存パッケージの手動解決なんてきょうび流行んねーんだよ。ボケが。
得意げな顔して何が、conflicts、だ。
お前は本当に依存関係の解決をしたいのかと問いたい。問い詰めたい。小1時間問い詰めたい。
お前、conflictsって言いたいだけちゃうんかと。
CentOS通の俺から言わせてもらえば今、CentOS通の間での最新流行はやっぱり、
yum -y upgrade、これだね。

yum -y upgrade openssl libselinux krb5-libs

これが通のアップグレードのしかた。
yum -y upgradeってのは、このコマンドだけで、依存パッケージまで勝手にインストールやらアップグレードしてくれる。そん代わり細かいコンパイルオプションの指定が出来ない。これ。
で、それに指定するパッケージがopenssl libselinux krb5-libs。これ最強。
しかもこれを頼むと次からyum -y install openssl-develが出来るという、一石二鳥。
素人にもお薦めできる。
まあこのネタがわからないお前らは、平文で通信してなさいってこった。

0 件のコメント: