|
我的PKGBUILD
pkgname=d4x
pkgver=2.5.0final
pkgrel=1
pkgdesc="Downloader for X"
url="http://www.krasu.ru"
depends=('GTK+ >=2.0.6')
makedepends=()
source=($pkgname-$pkgver.tar.gz)
md5sums=()
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg install
}
错误如下:
lod.cc:130: error: conflicting declaration 'struct GtkCellRendererProgress'
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:41: error: 'GtkCellRendererProgress' has a previous declaration as `typedef struct _GtkCellRendererProgress GtkCellRendererProgress'
lod.cc:136: error: conflicting declaration 'struct GtkCellRendererProgressClass'
/usr/include/gtk-2.0/gtk/gtkcellrendererprogress.h:42: error: 'GtkCellRendererProgressClass' has a previous declaration as `typedef struct _GtkCellRendererProgressClass GtkCellRendererProgressClass'
lod.cc: In function `void gtk_cell_renderer_progress_set_property(GObject*, guint, const GValue*, GParamSpec*)':
lod.cc:178: error: 'struct _GtkCellRendererProgress' has no member named 'percent'
lod.cc:181: error: 'struct _GtkCellRendererProgress' has no member named 'dwn'
lod.cc: In function `void gtk_cell_renderer_progress_render(GtkCellRenderer*, GdkWindow*, GtkWidget*, GdkRectangle*, GdkRectangle*, GdkRectangle*, GtkCellRendererState)':
lod.cc:198: error: 'struct _GtkCellRendererProgress' has no member named 'percent'
lod.cc:226: error: 'struct _GtkCellRendererProgress' has no member named 'dwn'
另外看下这个:
http://www.krasu.ru/soft/chuchel ... p;forummessage=1652
似乎是D4X的BUG?
我没有试过自己手动编译的方法,不知会怎么样,应该是一样的吧. |
|