Anno domini 2024 Tue, 28 May 23:45:22 -0500
J Leslie Turriff via tde-devels scripsit:
I thought I would get started with TDE programming,
so I'm following the
steps in the Wiki Development section, "Qt Designer and KDevelop 3.0 for
Beginners". I followed the steps for creating the HelloWorld program
substituting TDevelop for KDevelop, and all went well until the Project Build
step, which failed, producing this output:
| cd '/home/development/TDEupdAlt/debug' &&
WANT_AUTOCONF_2_5="1"
WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" gmake
-k
| gmake all-recursive
| gmake[1]: Entering directory '/home/development/TDEupdAlt/debug'
| Making all in doc
| gmake[2]: Entering directory '/home/development/TDEupdAlt/debug/doc'
| Making all in .
| gmake[3]: Entering directory '/home/development/TDEupdAlt/debug/doc'
| gmake[3]: Nothing to be done for 'all-am'.
| gmake[3]: Leaving directory '/home/development/TDEupdAlt/debug/doc'
| Making all in en
| gmake[3]: Entering directory '/home/development/TDEupdAlt/debug/doc/en'
| /opt/trinity/bin/meinproc --check --cache
index.cache.bz2 /home/development/TDEupdAlt/doc/en/index.docbook
| gmake[3]: Leaving directory '/home/development/TDEupdAlt/debug/doc/en'
| gmake[2]: Leaving directory '/home/development/TDEupdAlt/debug/doc'
| Making all in po
| gmake[2]: Entering directory '/home/development/TDEupdAlt/debug/po'
| gmake[2]: Nothing to be done for 'all'.
| gmake[2]: Leaving directory '/home/development/TDEupdAlt/debug/po'
| Making all in src
| gmake[2]: Entering directory '/home/development/TDEupdAlt/debug/src'
|
g++ -DHAVE_CONFIG_H -I. -I/home/development/TDEupdAlt/src -I.. -I/opt/trinity/include/tde
-I/usr/include/tqt3 -I. -include
tqt.h -DTQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -D_DEFAULT_SOURCE
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -O0
-g3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -I/usr/include/tqt -MT
main.o -MD -MP -MF .deps/main.Tpo -c -o
main.o /home/development/TDEupdAlt/src/main.cpp
| mv -f .deps/main.Tpo .deps/main.Po
| /usr/bin/tmoc /home/development/TDEupdAlt/src/tdeupdalt.h -o tdeupdalt.moc
|
g++ -DHAVE_CONFIG_H -I. -I/home/development/TDEupdAlt/src -I.. -I/opt/trinity/include/tde
-I/usr/include/tqt3 -I. -include
tqt.h -DTQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -D_DEFAULT_SOURCE
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -O0
-g3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -I/usr/include/tqt -MT
tdeupdalt.o -MD -MP -MF .deps/tdeupdalt.Tpo -c -o
tdeupdalt.o /home/development/TDEupdAlt/src/tdeupdalt.cpp
| mv -f .deps/tdeupdalt.Tpo .deps/tdeupdalt.Po
| /bin/sh ../libtool --tag=CXX --mode=link
g++ -Wno-long-long -Wundef -D_DEFAULT_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
-Wpointer-arith -fno-builtin -g3 -fno-inline -O0 -g3 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -I/usr/include/tqt -R /opt/trinity/lib64 -R /opt/trinity/lib64 -R /usr/lib64
-R /usr/lib64 -L/opt/trinity/lib64 -L/usr/lib64 -ltqt-mt -lz -lpng -lz -lm -lXext -lX11
-lSM -lICE -ltqt -lpthread -ltdecore -ltdeui -ltdeparts -o
tdeupdalt main.o tdeupdalt.o -ltdeui
| ../libtool: line 1300: func_opt_split: command not found
| libtool: Version mismatch error. This is libtool 2.2.6b
Debian-2.2.6b-2ubuntu1, but the
| libtool: definition of this LT_INIT comes from libtool 2.4.6.
| libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b
Debian-2.2.6b-2ubuntu1
| libtool: and run autoconf again.
| gmake[2]: Leaving directory '/home/development/TDEupdAlt/debug/src'
| gmake[2]: *** [Makefile:629: tdeupdalt] Error 63
| gmake[2]: Target 'all' not remade because of errors.
| gmake[2]: Entering directory '/home/development/TDEupdAlt/debug'
| gmake[2]: Leaving directory '/home/development/TDEupdAlt/debug'
| gmake[1]: Leaving directory '/home/development/TDEupdAlt/debug'
| gmake[1]: *** [Makefile:582: all-recursive] Error 1
| gmake: *** [Makefile:500: all] Error 2
| *** Exited with status: 2 ***
All went well until libtool was invoked, and I have to suppose that TDevelop
is (or thinks it is) using embedded libraries? because 1) I'm running on
openSUSE, not Debian ubuntu, and 2) my current installed libtool is
|@17:51:37 root@pinto
| wd=~
| ● rpm -q libtool
| libtool-2.4.6-150000.3.6.2.x86_64
| rc=0
Am I going to have to download TDevelop and compile it on my system?
Leslie
Welcome to the club. I dropped tdevelop and use kate + Makefile, which works quite nice. I
think you could reuse the template applications to get started. But I don't make GUI
applications any more, all stuff is moved to webinterface or tui+http/telnet-server -->
my stuff is more barebones than it used to be :)
Nik
--
Please do not email me anything that you are not comfortable also sharing with the NSA,
CIA ...