On 02/15/2014 02:16 PM, Darrell Anderson wrote:
Standard
build.
libtdeldap:
msg "Beginning build of package: $pkgname ..."
cd ${srcdir}
## Set up environment
msg "Setting PATH, Trinity Environment variables"
# Source the QT and TDE profile
[ "$QTDIR" = "" ] && . /etc/profile.d/tqt3.sh # or
qt3.sh
[ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh # or
tde.sh
## Generate config files and update with autoreconf
cd "${srcdir}/${pkgname#*-}"
msg "Copying system libtool files...."
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
cp /usr/share/libtool/config/ltmain.sh ./admin
msg "Running make -f admin/Makefile.common ...."
make -f admin/Makefile.common
## configure
msg "Configuring - ${pkgname}..."
# CXXFLAGS="${CXXFLAGS} -L${QTDIR}/lib -L${TDEDIR}/lib -
L${TDEDIR}/lib/trinity" \
./configure \
--prefix=${TDEDIR} \
--with-qt-dir=${QTDIR} \
--with-qt-includes=${QTDIR}/include \
--with-qt-libraries=${QTDIR}/lib \
--with-extra-includes="/usr/include/tqt:/usr/include/tqt/Qt" \
--with-extra-libs="${TDEDIR}/lib:${TDEDIR}/lib/trinity" \
--sysconfdir=${TDEDIR}/etc \
--localstatedir=/var
msg "Starting make..."
make $NUMJOBS
Exact same build for:
kcmldap
kcmldapcontroller
kcmldapmanager
I can't get the packages to build. There is no such directory as
$(KDE_INCLUDES)/tde. Or $(KDE_INCLUDES)/trinity.
Darrell
Huh 'KDE_INCLUDES', 'KDE_INCLUDES/trinity' ??
I couldn't find those either, but 'TDE_...' can be found. I'm trying to
figure
out where you train has fallen off the track. Here is my total environment setup:
15:01 valhalla:/etc/profile.d> cat trinity.sh
export TDEDIR=/opt/trinity
export TDEDIRS=$TDEDIR
export PATH=$PATH:$TDEDIR/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$TDEDIR/lib/pkgconfig
if [ ! -z $XDG_DATA_DIRS ]; then
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$TDEDIR/share
else
export XDG_DATA_DIRS=$TDEDIR/share
fi
if [ ! -z $XDG_CONFIG_DIRS ]; then
export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:$TDEDIR/etc/xdg
else
export XDG_CONFIG_DIRS=$TDEDIR/etc/xdg
fi15:02 valhalla:/etc/profile.d> cat tqt3.sh
export QTDIR=/opt/tqt3
export TQTDIR=/opt/tqt3
export QT_XFT=true
export PATH+=:/opt/tqt3/bin
export PKG_CONFIG_PATH+=:/opt/tqt3/pkgconfig
15:02 valhalla:/etc/ld.so.conf.d> cat tqt3.conf
/opt/tqt3/lib
15:02 valhalla:/etc/ld.so.conf.d> cat trinity.conf
/opt/trinity/lib
/opt/trinity/lib/trinity
15:06 valhalla:/etc/ld.so.conf.d> set | grep TDE
TDEDIR=/opt/trinity
TDEDIRS=/opt/trinity
TDEHOME=/home/david/.trinity
TDEROOTHOME=/root/.trinity
TDE_FULL_SESSION=true
TDE_MULTIHEAD=false
TDE_SESSION_UID=1000
Where are you getting 'KDE_...' anything in your build attempt? Make it
'TDE_...'
--
David C. Rankin, J.D.,P.E.