Dne st 9. září 2015 Michele Calgaro napsal(a):
On 2015/09/09 07:09 AM, Jerry Nettrouer II
wrote:
I seem to be having a problem getting tdebase to
compile on Slackware
14.1. - I did a git update to the latest head Monday.
[ 26%] Building CXX object
kcontrol/hwmanager/CMakeFiles/kcm_hwmanager-module.dir/hwmanager_skel.cpp
.o cd /tmp/tdebase.build/kcontrol/hwmanager&& /usr/local/bin/c++
-DHAVE_CONFIG_H -Dkcm_hwmanager_module_EXPORTS -O2 -fPIC
-fvisibility=hidden -fvisibility-inlines-hidden -DQT_NO_ASCII_CAST
-DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
-DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -I/opt/trinity/include
-I/usr/include/tqt -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT
-include tqt.h -fPIC -I/tmp/tdebase/kcontrol/hwmanager
-I/tmp/tdebase.build/kcontrol/hwmanager -I/tmp/tdebase.build
-I/opt/trinity/include -I/usr/include/tqt -o
CMakeFiles/kcm_hwmanager-module.dir/hwmanager_skel.cpp.o -c
/tmp/tdebase.build/kcontrol/hwmanager/hwmanager_skel.cpp Linking CXX
shared module kcm_hwmanager.so cd /tmp/tdebase.build/kcontrol/hwmanager
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/kcm_hwmanager-module.dir/link.txt --verbose=1
/usr/local/bin/c++ -fPIC -O2 -fPIC -fvisibility=hidden
-fvisibility-inlines-hidden -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT
-D_REENTRANT -include tqt.h -I/opt/trinity/include -I/usr/include/tqt
-DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
-Wl,--no-undefined -shared -Wl,-soname,kcm_hwmanager.so -o
kcm_hwmanager.so CMakeFiles/kcm_hwmanager-module.dir/hwmanager.cpp.o
CMakeFiles/kcm_hwmanager-module.dir/deviceiconview.cpp.o
CMakeFiles/kcm_hwmanager-module.dir/devicepropsdlg.cpp.o
CMakeFiles/kcm_hwmanager-module.dir/devicepropsdlgbase.cpp.o
CMakeFiles/kcm_hwmanager-module.dir/hwmanagerbase.cpp.o
CMakeFiles/kcm_hwmanager-module.dir/cryptpassworddlg.cpp.o
CMakeFiles/kcm_hwmanager-module.dir/cryptpassworddlgbase.cpp.o
CMakeFiles/kcm_hwmanager-module.dir/hwmanager_skel.cpp.o
-L/opt/trinity/lib64 /opt/trinity/lib64/libtdeio.so.14.0.0
/opt/trinity/lib64/libtdeui.so.14.0.0 -lfreetype -lfontconfig -lXext
/opt/trinity/lib64/libtdesu.so.14.0.0
/opt/trinity/lib64/libtdewalletclient.so.1.0.1
/opt/trinity/lib64/libtdecore.so.14.0.0
/opt/trinity/lib64/libDCOP.so.14.0.0
/opt/trinity/lib64/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc
/usr/local/lib64/libz.so -lidn -lXcomposite -lICE -lSM -lgamin-1 -lutil
-lacl -lattr -Wl,-rpath,/opt/trinity/lib64:/usr/local/lib64: make[2]:
Leaving directory `/tmp/tdebase.build' /usr/bin/cmake -E
cmake_progress_report /tmp/tdebase.build/CMakeFiles 12 [ 26%] Built
target kcm_hwmanager-module make[1]: Leaving directory
`/tmp/tdebase.build' make: *** [all] Error 2 There was an error trying to
build tdebase. EXIT_CODE: 1
/opt/trinity/include/tdestoragedevice.h:160:2: error: expected identifier
before numeric constant /opt/trinity/include/tdestoragedevice.h:160:2:
error: expected ‘}’ before numeric constant
/opt/trinity/include/tdestoragedevice.h:160:2: error: expected
unqualified-id before numeric constant
/opt/trinity/include/tdestoragedevice.h:167:1: error: expected
declaration before ‘}’ token
CMake Warning:
========================================================================
tdebase is a required package and must be installed before continuing.
/opt/trinity/include/tdestoragedevice.h
namespace TDELUKSResult { enum TDELUKSResult { Invalid =
0x00000000, Success = 0x00000001,<- tdestoragedevice.h:160:2
LUKSNotSupported = 0x00000002, LUKSNotFound = 0x00000003,
InvalidKeyslot = 0x00000004, KeyslotOpFailed = 0x00000005, Other =
0x80000000 }; };<- tdestoragedevice.h:167:1
Any help would be appreciated ;-)
Hi Jerry,
due to lack of time I don't have a chance to look at the code right now,
but there have been some updates in the last few days to tdelibs and
tdebase (especially the part about cryptography and LUKS support). Maybe
you could have incurred in a temporary FTBFS. I would suggest to try to
update again from git in one or two days and retry. Sometimes it just
solves the problem ;-)
Anyhow that "‘}’" sounds pretty weird. I would also suggest you check
tdestoragedevice.h with a hex editor to see if there is some strange
character encoding.
If the problem persists, please let us know.
Cheers
Michele
Besides, it may be advisable to build a stable release - tagged R14.0.1 or
r14.0.x branch - instead of development branch 'master'.