trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2019

tdevelop & libtool error: a dirty solution

From: "Dr. Nikolaus Klepp" <office@...>
Date: Sun, 3 Feb 2019 14:54:26 +0100
Hi all!

Hope this helps others that try to get started with tdevelop:

As written some time ago I was not able to build any project with tdevelop due to a mismatch of "libtool": The one that is created ftom tdevelop does not match the one that is needed for devuan. I just found out, that is sufficient to replace "libtool" (that one that is created by configure) with a symlink to the installed libtool and the the project compiles perfect.

Now this is a dirty hack to get things working for all tde projects that are created by tdevelop:

cd /opt/trinity/share/apps/kdevappwizard/template-common
tar xzf admin.tar.gz
cat << XXX >> admin/configure.in.bot.end
rm libtool
ln -s $(which libtool) .
XXX
tar czf admin.tar.gz admin
rm -R admin

Now there is another "configure.in.bot.end" template for kde which is most likely to suffer from the same problem, but as I am not interested in kde I did not check.

Nik










--- /tmp/configure.in.bot.end	2019-02-03 14:02:56.102558045 +0100
+++ /opt/trinity/share/apps/kapptemplate/admin/configure.in.bot.end	2019-02-03 14:04:08.746918269 +0100
@@ -43,3 +43,11 @@
   echo "Good - your configure finished. Start make now"
   echo ""
 fi
+
+rm libtool
+cat << XXX > libtool
+#!/bin/env libtool 
+XXX
+chmod a+x libtool
+
+



-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...