20楼#
发布于:2016-08-26 11:23
|
|
21楼#
发布于:2016-08-26 11:19
gcc -m32 -march=i686 -I/home/fireflyoo/PKGBUILD/yong/src/yong/llib -I/home/fireflyoo/PKGBUILD/yong/src/yong/im -I/home/fireflyoo/PKGBUILD/yong/src/yong/im/IMdkit -DCFG_XIM_IBUS `pkg-config --cflags ibus-1.0` -DCFG_XIM_FBTERM -I/home/fireflyoo/PKGBUILD/yong/src/yong/im/fbterm -DL_CALL_GLIB_SERVER -Wall -g -O2 -fms-extensions -fno-strict-aliasing -pipe -I/home/fireflyoo/PKGBUILD/yong/src/yong/include -I/home/fireflyoo/PKGBUILD/yong/src/yong/common `pkg-config --cflags gtk+-3.0` -L/home/fireflyoo/PKGBUILD/yong/src/yong/llib/l32 -Wl,-rpath,'$ORIGIN' -Wl,--hash-style=sysv -m32 -L/home/fireflyoo/PKGBUILD/yong/src/yong/im/IMdkit/l32 main.o im.o bihua.o common.o s2t.o nl.o english.o dict.o keyboard.o mapfile.o aes.o book.o keytool.o keydesc.o ui.o xim-ibus.o fbterm.o keycode.o select.o layout.o translate.o ybus.o ybus-xim.o ybus-lcall.o lcall.o menu.o history.o replace.o ybus-wayland.o -o ./yong -ll -ll -ldl -lm -lXimd -lX11 `pkg-config --libs gtk+-3.0` /usr/bin/ld: 找不到 -lXimd collect2: 错误:ld 返回 1 ==> 错误: 在 build() 中发生一个错误。 正在放弃...卡在这一步,怎么继续下去... |
|
22楼#
发布于:2016-08-25 20:14
|
|
23楼#
发布于:2016-08-25 15:34
cd gbk
node build.js l32 gcc -m32 -march=i686 -fPIC -I./llib -Wall -g -O2 -fms-extensions -fno-strict-aliasing -pipe -I./include -I./common -c gbk.c -o gbk.o gcc: 错误:gbk.c:没有那个文件或目录 gcc: 致命错误:没有输入文件 编译中断。 ==> 错误: 在 build() 中发生一个错误。 正在放弃...llib这个目录编译通过 gbk这个目录编译不了.. |
|
24楼#
发布于:2016-08-24 16:00
fireflyoo:# Maintainer: firef <use_my_id at gmail dot com>很明显啊,你用的gcc没有编译64位程序功能。你是在32位系统上编译的么? 我的开发环境中,是能用同一个gcc编译32位和64位版本的,也会同时编译windows相关的代码。 建议逐个编译,比如: cd mb node build.js l32 cd - ... cd im node build.js l32-gtk3 cd - cd config node build.js l32-gtk3 cd - |
|
25楼#
发布于:2016-08-24 15:50
# Maintainer: firef <use_my_id at gmail dot com> pkgname=yong pkgver=2.4.0 pkgrel=1 pkgdesc="Tiny Small Chinese Input Method" arch=('i686' 'x86_64') url="https://github.com/dgod/yong" license=('GPL') makedepends=('git' 'nodejs' 'gcc') #provides=("yong=$pkgver") depends=('pango') #install=yong.install source=("git+https://github.com/dgod/yong.git" "git+https://github.com/dgod/build.js.git") md5sums=('SKIP' 'SKIP') buildjs="build.js/build.js" pkgver() { cd "$srcdir/$pkgname/install" awk '/%define +version/{print $3}' yong.spec | sed 's|-|.|g' } build() { mkdir -p $srcdir/$pkgname/llib/{l32,l64} cd "$srcdir/$pkgname/" node "$srcdir/$buildjs" -f "$srcdir/$pkgname/build.txt" l32 } package() { mkdir -p $pkgdir node "$srcdir/$buildjs" -f "$srcdir/$pkgname/install/build.txt" l32 } .. gcc -m64 -fpic -Wall -pipe -g -O2 -c larray.c -o l64/larray.o larray.c:1:0: 对不起,尚未实现:未编译入对 64 位模式的支持 #include "ltypes.h" ==> 错误: 在 build() 中发生一个错误。 正在放弃... 编译环境archlinux..编译失败 |
|
26楼#
发布于:2016-08-19 10:29
fireflyoo:同问怎么编译..用什么东西编译..最好在README里面给出编译流程 https://github.com/dgod/build.js |
|
27楼#
发布于:2016-08-19 10:12
同问怎么编译..用什么东西编译..最好在README里面给出编译流程
build.js是什么..google不出来啊.. |
|
28楼#
发布于:2016-08-16 13:21
|
|
29楼#
发布于:2016-08-16 13:00
开源啦,一万个赞!
编译系统用的是 build.js? github 上面的代码好像不能直接编译通过哦。在 README 中给出编译流程最好啦。 |
|