LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 869|回复: 1

用ABS编译D4X错误.

[复制链接]
发表于 2005-3-25 02:23:21 | 显示全部楼层 |阅读模式
我的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?
我没有试过自己手动编译的方法,不知会怎么样,应该是一样的吧.
发表于 2005-3-25 10:49:37 | 显示全部楼层
嗯。我也编译不过去。错误信息一样。

直接pacman -S downloaderx吧。反正我看你也没添加什么特殊的东西。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表