磯部 和広
k-iso****@rozet*****
2012年 5月 17日 (木) 12:24:36 JST
いつもお世話になっております。 ありがとうございます! 今は別件で忙しいので、来週あたりに追試して見ます。 まずはお礼まで。 (2012/05/17 10:16), warp.****@gmail***** wrote: > はじめまして。 > > groonga見つけて3日くらいの若葉マークですが、 > CentOS6.2 でrpmbuild までは出来ましたよ。 > ソース+make は何かと面倒なので・・・ > > [root @ host SPECS]# diff -rup mysql.spec.org mysql.spec > --- mysql.spec.org 2012-02-04 08:09:10.000000000 +0900 > +++ mysql.spec 2012-05-11 11:55:54.194144128 +0900 > @@ -1,6 +1,6 @@ > Name: mysql > Version: 5.1.61 > -Release: 1%{?dist}.1 > +Release: 1.el6_2.1 > Summary: MySQL client programs and shared libraries > Group: Applications/Databases > URL: http://www.mysql.com > @@ -9,7 +9,7 @@ URL: http://www.mysql.com > License: GPLv2 with exceptions > > # Regression tests take a long time, you can skip 'em with this > -%{!?runselftest:%global runselftest 1} > +%{!?runselftest:%global runselftest 0} > > # Upstream has a mirror redirector for downloads, so the URL is hard to > # represent statically. You can get the tarball by following a link from > @@ -240,7 +240,9 @@ export CFLAGS CXXFLAGS > --enable-local-infile \ > --enable-largefile \ > --enable-thread-safe-client \ > - --disable-dependency-tracking > + --disable-dependency-tracking \ > + --with-archive-storage-engine \ > + --with-federated-storage-engine > > gcc $CFLAGS $LDFLAGS -o > scriptstub "-DLIBDIR=\"%{_libdir}/mysql\"" %{SOURCE4} > > @@ -252,6 +254,10 @@ make %{?_smp_mflags} > mkdir libmysqld/work > cd libmysqld/work > ar -x ../libmysqld.a > + > +# multiple definitions error - breaks build??? > +rm -f ha_federated.o libfederated*string.o > + > gcc $CFLAGS $LDFLAGS -shared -Wl,-soname,libmysqld.so.0 -o > libmysqld.so.0.0.1 \ > *.o \ > -lpthread -lcrypt -lnsl -lssl -lcrypto -lz -lrt -lstdc++ -lm -lc > > > 参考: > http://bugs.mysql.com/bug.php?id=48960 > > 外してたらごめんなさい。 > > > 磯部 和広 <k-iso****@rozet*****>: >> もし自分に時間と技術があれば、CentOS6.2用のrpmを作って公開したいぐらいで >> す・・・ >> ※以前別件でrpmの自作にチャレンジした際は、SRPMのスペックファイルの作成あ >> たりで躓きまして、 > _______________________________________________ > groonga-dev mailing list > groon****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/groonga-dev >