By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 396 - KDevelop builds fail
Summary: KDevelop builds fail
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdesdk (show other bugs)
Version: 3.5.12 [Trinity]
Hardware: All Linux
: P5 enhancement
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2010-12-20 12:58 CST by John A. Sullivan III
Modified: 2013-08-17 13:55 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John A. Sullivan III 2010-12-20 12:58:38 CST
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
Comment 1 Darrell 2013-05-22 22:00:11 CDT
Is this report still valid?
Comment 2 Darrell 2013-08-17 13:55:26 CDT
There has been many patches to Trinity regarding automake version support. Closing due to lack of response and age.