I am trying to build ORBit2 as a dependency for GConf and then google-chrome. This is a multilib system and I want 32 bit chrome. Both my 64 bit and compat32 packages are all current as of today per
ftp://slackware.mirrors.tds.net/pub/slackware/. I have edited the Slackbuild as follows:
Code:
PRGNAM=ORBit2
VERSION=${VERSION:-2.14.18} ### edited for VERSION
ARCH=${ARCH:-x86_64} ### edited for ARCH
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="" ### edited per Eric's instructions
fi
The build fails each time with:
Code:
/usr/lib64/gcc/x86_64-slackware-linux/4.4.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-slackware-linux/4.4.3/../../../libIDL-2.so when searching for -lIDL-2
/usr/lib64/gcc/x86_64-slackware-linux/4.4.3/../../../../x86_64-slackware-linux/bin/ld: skipping incompatible /usr/lib64/libIDL-2.so when searching for -lIDL-2
/usr/lib64/gcc/x86_64-slackware-linux/4.4.3/../../../../x86_64-slackware-linux/bin/ld: cannot find -lIDL-2
collect2: ld returned 1 exit status
make[3]: *** [orbit-idl-2] Error 1
make[3]: Leaving directory `/tmp/SBo/ORBit2-2.14.18/src/idl-compiler'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/ORBit2-2.14.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/ORBit2-2.14.18'
make: *** [all] Error 2
I am using the newest version of ORBit2 as the above indicates, but this is just to see if the newer package would build. The X.X.17 version failed with the same output.
I have run:
Code:
. /etc/profile.d/32dev.sh
I've had no problems building this package with current in a pure 64 bit environment.