tagai doesn't build on openSuse 12.1
Bug #1015476 reported by
lanig
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Tagaini Jisho |
New
|
Undecided
|
Unassigned |
Bug Description
Error message :
/usr/lib/
/usr/lib/
/lib/libpthread
collect2: ld returned 1 exit status
It seems it fails to on opensuse openbuild system.
Best regards.
Alain
To post a comment you must log in.
I think the following patch will do the trick. could you try it?
diff --git a/src/sqlite/ CMakeLists. txt b/src/sqlite/ CMakeLists. txt CMakeLists. txt CMakeLists. txt DONT_USE_ QTGUI TRUE) ${QT_USE_ FILE})
index daeaf18..10b014c 100644
--- a/src/sqlite/
+++ b/src/sqlite/
@@ -1,6 +1,8 @@
set(QT_
include(
+find_package( Threads) MIN_VERSION "3007004") BLACKLIST "3007007;3007008") DOWNLOAD_ VERSION "3071100") (-DSQLITE_ ENABLE_ FTS3 -DSQLITE_ ENABLE_ FTS3_PARENTHESI S -DSQLITE_E
+
set(SQLITE_
set(SQLITE_
set(SQLITE_
@@ -86,10 +88,11 @@ add_definitions
if(SHARED_ SQLITE_ LIBRARY)
add_library( tagaini_ sqlite SHARED ${tagainijisho_ sqlite_ SRCS} ${tagainijisho_ sqlite_ MOC_SRCS} ) link_libraries( tagaini_ sqlite ${QT_LIBRARIES} ${extra_ link_flags} ) link_libraries( tagaini_ sqlite ${QT_LIBRARIES} ${extra_link_flags} ${CMAKE_ THREAD_ LIBS_INIT} )
install( TARGETS tagaini_sqlite BUNDLE DESTINATION . COMPONENT Runtime LIBRARY DESTINATION lib COMPONENT Runtime)
add_library( tagaini_ sqlite STATIC ${tagainijisho_ sqlite_ SRCS} ${tagainijisho_ sqlite_ MOC_SRCS} ) link_libraries( tagaini_ sqlite ${CMAKE_ THREAD_ LIBS_INIT} )
target_ link_libraries( tagaini_ sqlite sqlite3)
- target_
+ target_
else()
+ target_
endif()
if(NOT EMBED_SQLITE)
If it does not work, please attach the full compilation log, with the "VERBOSE=1" environment variable declared so I can see what is exactly called.
Btw, we are not using launchpad anymore - future issues should be reported to https:/ /github. com/Gnurou/ tagainijisho/ issues