Page 1 of 1

關於clanbomber?

Posted: Fri Jun 20, 2003 12:33 am
by breaking
突然想玩clanbomber這個遊戲,用emerge -s找不到,
於是從http://prdownloads.sourceforge.net/clan ... z?download
抓下clanbomber-1.02a.tar.gz後,想自行裝上去

結果出現訊息如下

Code: Select all

make[3]: Entering directory `/root/source/clanbomber/clanbomber-1.02a/clanbomber'
g++ -DHAVE_CONFIG_H -I. -I. -I..     -O6 -c Disease_Fast.cpp
In file included from Disease_Fast.cpp:19:
ClanBomber.h:105: friend declaration requires class-key, i.e. `friend struct 
   Debug'
make[3]: *** [Disease_Fast.o] Error 1
make[3]: Leaving directory `/root/source/clanbomber/clanbomber-1.02a/clanbomber'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/source/clanbomber/clanbomber-1.02a/clanbomber'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/source/clanbomber/clanbomber-1.02a'
make: *** [all-recursive-am] Error 2
想問問有人在gentoo上裝好clanbomber麼?

順便問問這問題該如何解決呢?

Posted: Fri Jun 20, 2003 10:45 am
by 【Palatis】
看來你得去改他原始碼了.

Posted: Fri Jun 20, 2003 4:37 pm
by breaking
【Palatis】 wrote:看來你得去改他原始碼了.
嘿嘿....我找到方法囉

http://http.us.debian.org/debian/pool/m ... rig.tar.gz
http://http.us.debian.org/debian/pool/m ... -5.diff.gz
先抓下以上這兩個

Code: Select all

> tar zxvf clanbomber_1.02a.orig.tar.gz
> gunzip clanbomber_1.02a-5.diff.gz
> cp clanbomber_1.02a-5.diff clanbomber-1.02a.orig
> patch -p1 < clanbomber_1.02a-5.diff
> ./configure
> make
> make install
然後,就有clanbomber可玩囉.... :D

p.s.沒想到這樣也可以....ㄏㄏ