KDE TechBase
  • User page
  • Discussion
  • Edit
  • History
KDE TechBase is a Wiki - You can help! Please contribute! Questions?
Please ask development related questions in the KDE Community Forum.

User:Tstaerk

Revision as of 10:37, 14 June 2009 by Tstaerk (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
  • Talk:Development/Tutorials/D-Bus/Introduction
  • http://cia.vc/stats/author/tstaerk


Contents

  • 1 Current problem
    • 1.1 Why is libkutils not installed in /usr/lib64?
  • 2 What I have done
  • 3 KnowHow
  • 4 Wiki2mindMap
    • 4.1 Download all pages
  • 5 Eclipse as IDE

[edit] Current problem

I cannot install kdepimlibs from trunk, I get the error message

/root/svn/kdepimlibs/kpimutils/linklocator.cpp:65: undefined reference to `KEmoticons::KEmoticons()'

make VERBOSE delivers the failed command:

cd /root/svn/kdepimlibs/kpimutils && /usr/bin/cmake -E cmake_link_script CMakeFiles/kpimutils.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -g3 -fno-inline -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc  -shared -Wl,-soname,libkpimutils.so.4 -o ../lib/libkpimutils.so.4.2.0 CMakeFiles/kpimutils.dir/kpimutils_automoc.o CMakeFiles/kpimutils.dir/email.o CMakeFiles/kpimutils.dir/linklocator.o CMakeFiles/kpimutils.dir/spellingfilter.o CMakeFiles/kpimutils.dir/kfileio.o -L/root/svn/kdepimlibs/lib -lkdecore -lQtSvg -lQtGui -lkdeui -lkutils ../lib/libkmime.so.4.2.0 -lQtDBus -lQtCore -lpthread -lkdecore -Wl,-rpath,/root/svn/kdepimlibs/lib 

These commands deliver the same error message. Emoticons are defined in libkutils.so. libkutils.so is missing for me in /usr/lib64, but available in /usr/lib. I can fix the compile command by adding

-L/usr/lib to the command

I can fix the make by doing

cp /usr/lib/libkutils.so /usr/lib64

[edit] Why is libkutils not installed in /usr/lib64?

[edit] What I have done

  • Getting Started/Build/KDE4
  • http://wiki.kde.org/tiki-index.php?page=ProgrammingTutorial%2Fdbus

[edit] KnowHow

make a non-debug-release => cmake -DCMAKE_BUILD_TYPE=Release . && make && make install

On suse, install into /usr/lib64 instead of /usr/lib => libsuffix, see http://bugs.scribus.net/view.php?id=6010

[edit] Wiki2mindMap

Here's how I draw a mindmap of this wiki:

[edit] Download all pages

wget http://developernew.kde.org/Special:Allpages
cat >spider<<EOF
#!/usr/bin/perl
require HTML::LinkExtor;
\$p = HTML::LinkExtor->new(\&parse, "");
sub parse {
    my(\$tag, %links) = @_;
    my (\$att, \$url) = @{[%links]};
    print "\$url\n";
}
\$p->parse_file(\$ARGV[0]);
EOF
chmod 777 spider
./spider Special\:Allpages | \
grep "^/" | \
grep -v ":" | \
grep -v "?" | \
while read a
  do wget "http://developernew.kde.org$a"
done
for file in $(ls --ignore="*:*")
do ./spider $file | \
  grep "^/" | \
  grep -v ":" | \
  grep -v "?" | \
  grep -v "Main_Page" | \
  grep -v "Getting_Started$" | \
  grep -v "/Contribute$" | \
  grep -v "^/Projects$" | \
  grep -v "^/Development$" | \
  grep -v "^/Policies$" | \
  grep -v "^/Projects$" | \
  grep -v "^/Projects/NamingTheWiki$" | \
  grep -v "^/Schedules$" | \
  grep -v "^/favicon.ico$" | \
  grep -v "/opensearch_desc.php$" | \
  grep -v "^/$" | \
  grep -v ".png$" | \
  grep -v "^/Development/Tutorials$" | \
  sed "s;^/.*/;;" | \
  while read file2
  do echo "\"$file\" -> \"$file2\"" 
  done
done >datei
echo "# to create a ps file use 'dot -Tps -o graph.ps graph.dot' (dot it part of the graphviz package)" > graph.dot
echo "digraph \"Wikimap\" { " >> graph.dot
cat datei >>graph.dot
echo "}" >> graph.dot

dot -Tps -o graph.ps graph.dot

[edit] Eclipse as IDE

  • http://javathreads.de/2008/07/subversion-unter-eclipse-ganymede-konfigurieren/
  • http://nienhueser.de/blog/?p=19
Retrieved from "http://techbase.kde.org/User:Tstaerk"

Navigation

  • Home
  • Help
  • Recent changes

Sections

  • Getting started
  • Development
  • Schedules
  • Policies
  • Contribute
  • Projects

Toolbox

  • What links here
  • Related changes
  • User contributions
  • Special pages
  • Printable version
  • Permanent link

Personal tools

  • 38.107.191.98
  • Talk for this IP
  • Log in / create account
  • Login with OpenID
Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal