LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Little error (not harmful) exists in tcl.SlackBuild (source slackbuilds for Tcl) (http://www.linuxquestions.org/questions/slackware-14/little-error-not-harmful-exists-in-tcl-slackbuild-source-slackbuilds-for-tcl-4175444973/)

blancamolinos 01-10-2013 06:33 AM

Little error (not harmful) exists in tcl.SlackBuild (source slackbuilds for Tcl)
 
Hello, I think there is a little error in the slackbuild for tcl (tcl.SlackBuilds in directory sources) in Slackware-13.0, Slackware-13.1, Slackware-13.37 and Slackware-14.0. The little error is in the variable CONFARGS="--enable-64bits" that is used in the configure script:

if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
CONFARGS="--enable-64bit"
elif [ "$ARCH" = "s390" ]; then
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
CONFARGS="--enable-64bit"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
CONFARGS=""
elif [ "$ARCH" = "arm" ]; then
SLKCFLAGS="-O2 -march=armv4 -mtune=xscale"
LIBDIRSUFFIX=""
CONFARGS=""
elif [ "$ARCH" = "armel" ]; then
SLKCFLAGS="-O2 -march=armv4t"
LIBDIRSUFFIX=""
CONFARGS=""
fi

The variable CONFARG with value "--enable-64bits" only must be define for the x86_64 architecture (ARCH=x86_64).
The error is not harmful because the configure script discarded the --enable-64bit option because it find nonsense.


Manuel Blanca

Linux.tar.gz 01-13-2013 10:12 AM

You should mail this to the maintainer.

blancamolinos 01-13-2013 10:49 AM

Thank you for your suggestion but i thought Slackware maintainers read this forum priodically.

Linux.tar.gz 01-14-2013 05:46 AM

Well, the mail is more straightforward.


All times are GMT -5. The time now is 02:54 AM.