On 09/10/2015 06:13 PM, Jerry Nettrouer II wrote:
On 09/09/2015 10:57 AM, Slávek Banko wrote:
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'.

I'm not sure if I'm missing something with the source-tar-balls but many of them only have a fraction of their source code. For example the 14.0.1 release tar-ball of tqt3 found @ http://tde-mirror.yosemite.net/trinity/releases/R14.0.1/dependencies/tqt3-R14.0.1.tar.bz2 only has the doc files in the tar-ball.  Thus - I usually just do a git of the entire repository, when I want to do a major update, and if a compile is broken, I just commit that project back to a previous commit.  Which fixed the problem.
Never mine the tqt3 tar ball seems to be complete now ... when I tried to downloaded it like a week or so ago it only contained the doc files.