| Summary: | KDevelop builds fail | ||
|---|---|---|---|
| Product: | TDE | Reporter: | John A. Sullivan III <jsullivan> |
| Component: | tdesdk | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | bugwatch, darrella |
| Priority: | P5 | ||
| Version: | 3.5.12 [Trinity] | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
Is this report still valid? There has been many patches to Trinity regarding automake version support. Closing due to lack of response and age. |
If I try to build a project using KDevelop 3.5.4 on Trinity 3.5.12 running on Lenny, it fails with an error about needing automake 1.6.1 or newer. The current automake with Lenny is 1.11.1. I'm not sure this is a KDevelop bug and where the primary problem is. The immediate problem is that something produced a cvs.sh script in the admin directory with very poor version control logic. I do not know what creates that script for a KDevelop project and I did not find any kind of template. The original version checking logic in the bash script is: AUTOMAKE_STRING=`$AUTOMAKE --version | head -n 1` case $AUTOMAKE_STRING in automake*1.5d* | automake*1.5* | automake*1.5-* ) echo "*** YOU'RE USING $AUTOMAKE_STRING." echo "*** KDE requires automake 1.6.1 or newer" exit 1 ;; automake*1.6.* | automake*1.7* | automake*1.10d* | automake*1.10* | automake*1.10-*) : ;; "" ) echo "*** AUTOMAKE NOT FOUND!." echo "*** KDE requires automake 1.6.1 or newer" exit 1 ;; unsermake* ) : echo "*** YOU'RE USING UNSERMAKE." echo "*** GOOD LUCK!! :)" ;; * ) echo "*** YOU'RE USING $AUTOMAKE_STRING." echo "*** KDE requires automake 1.6" exit 1 ;; esac I replaced it with: AMVERMAJ=1 AMVERMIN=0 AUTOMAKE_STRING=`$AUTOMAKE --version | head -n 1` case $AUTOMAKE_STRING in automake* ) AMVERMIN=${AUTOMAKE_STRING##* } AMVERMAJ=${AMVERMIN%%.*} AMVERMIN=$(echo ${AMVERMIN} | sed 's/[0-9][0-9]*\.\([0-9][0-9]*\)[a-z,\.]*.*/\1/') if [ ${AMVERMAJ} -eq 1 -a ${AMVERMIN} -lt 6 ] || [ ${AMVERMAJ} -lt 1 ];then echo "*** YOU'RE USING $AUTOMAKE_STRING." echo "*** KDE requires automake 1.6.1 or newer" exit 1 fi ;; "" ) echo "*** AUTOMAKE NOT FOUND!." echo "*** KDE requires automake 1.6.1 or newer" exit 1 ;; unsermake* ) : echo "*** YOU'RE USING UNSERMAKE." echo "*** GOOD LUCK!! :)" ;; * ) echo "*** YOU'RE USING $AUTOMAKE_STRING." echo "*** KDE requires automake 1.6.1 or newer" exit 1 ;; esac