Closed GoogleCodeExporter closed 9 years ago
As you can see:
-- package 'lua>=5.1' not found
-- package 'lua<=5.1.99' not found
-- package 'sqlite3' not found
-- package 'gtk+-2.0' not found
-- package 'gdk-2.0' not found
Try to install these packages first:
liblua5.1-0-dev, liblua5.1-socket2, libsqlite3-dev, build-essential,
libgtk2.0-dev
Original comment by arcpp.zju@gmail.com
on 1 Mar 2010 at 3:14
谢谢你回复,我的电脑上装了lua,是5.1.4版本,怎么还提示下
面的错误
-- package 'lua>=5.1' not found
-- package 'lua<=5.1.99' not found
Original comment by lxn...@gmail.com
on 1 Mar 2010 at 3:29
You should install 'liblua5.1-0-dev', not 'lua5.1'
Original comment by arcpp.zju@gmail.com
on 1 Mar 2010 at 3:34
装了呀
Original comment by lxn...@gmail.com
on 1 Mar 2010 at 3:35
According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=498416
You can change 'lua' in src/CMakeLists.txt to 'lua-5.1' and try again.
If it doesn't work, try 'lua5.1'.
If either 'lua5.1' or 'lua-5.1' works, please let me know which one.
Original comment by arcpp.zju@gmail.com
on 1 Mar 2010 at 4:02
Original comment by arcpp.zju@gmail.com
on 1 Mar 2010 at 4:06
在debian下测试过么?
# ./build.sh
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- checking for modules
'ibus-1.0>=1.2.0;ibus-1.0<=1.2.98;lua5.1>=5.1;lua5.1<=5.1.99;glib-2.0>=2.22;gthr
ead-2.0>=2.22;dbus-1>=1.2;sqlite3;gtk+-2.0;gdk-2.0'
-- found ibus-1.0, version 1.2.0.20091215
-- found ibus-1.0, version 1.2.0.20091215
-- found lua5.1, version 5.1.4
-- found lua5.1, version 5.1.4
-- found glib-2.0, version 2.22.3
-- found gthread-2.0, version 2.22.3
-- found dbus-1, version 1.2.16
-- found sqlite3, version 3.6.16
-- found gtk+-2.0, version 2.18.3
-- found gdk-2.0, version 2.18.3
-- Configuring done
-- Generating done
-- Build files have been written to:
/usr/local/src/ibus-sogoupycc-0.1.1.20100228/build
Scanning dependencies of target ibus-sogoupycc
[ 14%] Building CXX object bin/CMakeFiles/ibus-sogoupycc.dir/PinyinUtility.cpp.o
[ 28%] Building CXX object bin/CMakeFiles/ibus-sogoupycc.dir/LuaBinding.cpp.o
[ 42%] Building CXX object
bin/CMakeFiles/ibus-sogoupycc.dir/PinyinDatabase.cpp.o
[ 57%] Building CXX object
bin/CMakeFiles/ibus-sogoupycc.dir/PinyinCloudClient.cpp.o
[ 71%] Building CXX object bin/CMakeFiles/ibus-sogoupycc.dir/engine.cpp.o
/usr/local/src/ibus-sogoupycc-0.1.1.20100228/src/engine.cpp: In function ‘void
engineInit(IBusSgpyccEngine*)’:
/usr/local/src/ibus-sogoupycc-0.1.1.20100228/src/engine.cpp:318: error:
‘ibus_lookup_table_set_orientation’ was not declared in this scope
make[2]: *** [bin/CMakeFiles/ibus-sogoupycc.dir/engine.cpp.o] 错误 1
make[1]: *** [bin/CMakeFiles/ibus-sogoupycc.dir/all] 错误 2
make: *** [all] 错误 2
Original comment by lxn...@gmail.com
on 1 Mar 2010 at 4:22
ibus version 1.2.0.20100111 should work.
I will update 'ibus-1.0>=1.2.0' to 'ibus-1.0>=1.2.0.20100111'.
Original comment by arcpp.zju@gmail.com
on 1 Mar 2010 at 4:58
svn r69 should fix this.
'lua5.1', 'lua-5.1', 'lua' pkg-config names are recognized.
Original comment by arcpp.zju@gmail.com
on 1 Mar 2010 at 5:33
Original issue reported on code.google.com by
lxn...@gmail.com
on 1 Mar 2010 at 1:58