|
发表于 2008-2-2 14:42:40
|
显示全部楼层
and also some coding problem:
-----------------------------------------------------------
In file included from scim-python.cpp:26:
scim-python.h:31:18: error: scim.h: No such file or directory
scim-python.cpp:232:21: error: gtk/gtk.h: No such file or directory
scim-python.cpp:233:23: error: pygobject.h: No such file or directory
In file included from scim-python.h:37,
from scim-python.cpp:26:
scim-python-engine.h:31: error: 'scim' is not a namespace-name
scim-python-engine.h:31: error: expected namespace-name before ';' token
scim-python-engine.h:36: error: expected class-name before '{' token
scim-python-engine.h:41: error: 'Connection' does not name a type
scim-python-engine.h:47: error: expected ',' or '...' before '&' token
scim-python-engine.h:48: error: ISO C++ forbids declaration of 'String' with no type
scim-python-engine.h:52: error: expected ',' or '...' before '&' token
scim-python-engine.h:52: error: ISO C++ forbids declaration of 'KeyEvent' with no type
scim-python-engine.h:61: error: expected ',' or '...' before '&' token
scim-python-engine.h:61: error: ISO C++ forbids declaration of 'String' with no type
scim-python-engine.h:62: error: expected ',' or '...' before '&' token
scim-python-engine.h:62: error: ISO C++ forbids declaration of 'String' with no type
scim-python-engine.h:66: error: expected ',' or '...' before '&' token
scim-python-engine.h:66: error: ISO C++ forbids declaration of 'ConfigPointer' with no type
scim-python-engine.h:112: error: ISO C++ forbids declaration of 'IMEngineInstanceBase' with no type
scim-python-engine.h:112: error: expected ';' before '*' token
In file included from scim-python.h:38,
from scim-python.cpp:26:
scim-python-factory.h:32: error: 'scim' is not a namespace-name
scim-python-factory.h:32: error: expected namespace-name before ';' token
scim-python-factory.h:36: error: expected class-name before '{' token
scim-python-factory.h:40: error: 'Connection' does not name a type
scim-python-factory.h:47: error: 'String' does not name a type
scim-python-factory.h:48: error: 'WideString' does not name a type
scim-python-factory.h:49: error: 'WideString' does not name a type
scim-python-factory.h:50: error: 'String' does not name a type
scim-python-factory.h:51: error: 'String' does not name a type
scim-python-factory.h:52: error: 'WideString' does not name a type
scim-python-factory.h:53: error: 'WideString' does not name a type
scim-python-factory.h:54: error: 'WideString' does not name a type
scim-python-factory.h:55: error: expected ',' or '...' before '&' token
scim-python-factory.h:55: error: ISO C++ forbids declaration of 'String' with no type
scim-python-factory.h:56: error: expected ',' or '...' before '&' token
scim-python-factory.h:56: error: ISO C++ forbids declaration of 'String' with no type
scim-python-factory.h:57: error: 'IMEngineInstancePointer' does not name a type
scim-python-factory.h:60: error: expected ',' or '...' before '&' token
scim-python-factory.h:60: error: ISO C++ forbids declaration of 'ConfigPointer' with no type
scim-python-factory.h:76: error: ISO C++ forbids declaration of 'IMEngineFactoryBase' with no type
scim-python-factory.h:76: error: expected ';' before '*' token
In file included from scim-python.h:39,
from scim-python.cpp:26:
scim-python-helper.h:32: error: 'scim' is not a namespace-name
scim-python-helper.h:32: error: expected namespace-name before ';' token
scim-python-helper.h:36: error: expected class-name before '{' token
scim-python-helper.h:69: error: ISO C++ forbids declaration of 'HelperAgent' with no type
scim-python-helper.h:69: error: expected ';' before '*' token
In file included from scim-python.h:40,
from scim-python.cpp:26:
scim-python-config.h:30: error: 'scim' is not a namespace-name
scim-python-config.h:30: error: expected namespace-name before ';' token
scim-python-config.h:33: error: expected ',' or '...' before '&' token
scim-python-config.h:33: error: ISO C++ forbids declaration of 'ConfigPointer' with no type
scim-python-config.h:34: error: expected initializer before '&' token
In file included from scim-python.h:41,
from scim-python.cpp:26:
scim-python-event.h:30: error: 'scim' is not a namespace-name
scim-python-event.h:30: error: expected namespace-name before ';' token
scim-python-event.h:33: error: expected ',' or '...' before '&' token
scim-python-event.h:33: error: ISO C++ forbids declaration of 'KeyEvent' with no type
In file included from scim-python.h:42,
from scim-python.cpp:26:
scim-python-property.h:30: error: 'scim' is not a namespace-name
scim-python-property.h:30: error: expected namespace-name before ';' token
scim-python-property.h:32: error: expected constructor, destructor, or type conversion before '&' token
In file included from scim-python.h:43,
from scim-python.cpp:26:
scim-python-attribute.h:31: error: 'scim' is not a namespace-name
scim-python-attribute.h:31: error: expected namespace-name before ';' token
scim-python-attribute.h:34: error: 'Attribute' does not name a type
scim-python-attribute.h:36: error: 'AttributeList' does not name a type
In file included from scim-python.h:44,
from scim-python.cpp:26:
scim-python-lookup-table.h:31: error: 'scim' is not a namespace-name
scim-python-lookup-table.h:31: error: expected namespace-name before ';' token
scim-python-lookup-table.h:34: error: expected class-name before '{' token
scim-python-lookup-table.h:40: error: expected unqualified-id before '<' token
scim-python-lookup-table.h:40: error: expected ',' or '...' before '<' token
scim-python-lookup-table.h:40: error: 'PyLookupTable:yLookupTable(PyLookupTableObject*, unsigned int)' cannot be overloaded
scim-python-lookup-table.h:39: error: with 'PyLookupTable:yLookupTable(PyLookupTableObject*, unsigned int)'
scim-python.cpp:29: error: 'scim' is not a namespace-name
scim-python.cpp:29: error: expected namespace-name before ';' token
scim-python.cpp:32: error: expected initializer before '<' token
scim-python.cpp:33: error: expected initializer before '<' token
scim-python.cpp: In function 'void scim_module_init()':
scim-python.cpp:134: warning: deprecated conversion from string constant to 'char*'
scim-python.cpp: In function 'void scim_module_exit()':
scim-python.cpp:176: error: '_factorys' was not declared in this scope
scim-python.cpp: At global scope:
scim-python.cpp:184: error: expected ',' or '...' before '&' token
scim-python.cpp:184: error: ISO C++ forbids declaration of 'ConfigPointer' with no type
scim-python.cpp: In function 'unsigned int scim_imengine_module_init(int)':
scim-python.cpp:191: error: 'config' was not declared in this scope
scim-python.cpp:196: warning: deprecated conversion from string constant to 'char*'
scim-python.cpp:196: warning: deprecated conversion from string constant to 'char*'
scim-python.cpp:211: error: 'IMEngineFactoryPointer' was not declared in this scope
scim-python.cpp:211: error: expected `;' before 'p'
scim-python.cpp:212: error: '_factorys' was not declared in this scope
scim-python.cpp:212: error: 'p' was not declared in this scope
scim-python.cpp: At global scope:
scim-python.cpp:219: error: 'IMEngineFactoryPointer' does not name a type
scim-python.cpp:235: error: expected constructor, destructor, or type conversion before '*' token
make[3]: *** [_scim_la-scim-python.lo] Error 1
make[3]: Leaving directory `/home/alone/pkg/scim-python/src/scim-python-svn-build/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/alone/pkg/scim-python/src/scim-python-svn-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alone/pkg/scim-python/src/scim-python-svn-build'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
-----------------------------------------------------------
anyone knows how to add the scim.h to the system's lib searching path?
thanks, |
|