On 06/24/2012 11:13 AM, E. Liddell wrote:
Hmmm. As I understand it, potential directory schemes for 64-bit installs break down like this: 64-bit libs may go in /lib64 or /lib. 32-bit libs may go in /lib32 or /lib. So a given distro will use /lib64 and /lib, or /lib and /lib32, or /lib64 and /lib32 (often with /lib as a symlink to /lib64), or I suppose we could have a pseudo-32-bit case where everything is jumbled together in /lib, although that could get messy.
Anyway, that means that /lib64 should always be the correct directory if it exists, otherwise we need to use /lib as a fallback if there is no /lib64. That should also work for 32-bit or similar setups that have only /lib.
However, by my understanding, that means that above fragment should work (it's overriding results for /lib with results for /lib64 if the latter exists. I think.) So either I'm misunderstanding, or the error is somewhere else.
PERFECT Logic!
I think the breakdown here is that the logic in qca-tls is NOT working correctly. Here is the build output I get:
TDE Build Started: Jun 23 00:14:24
Building on host Archangel - Adjusting source file to 'bldtde.conf.aa' sourcing config file 'bldtde.conf.aa'
Using Qt = tqt3
tqt3 tqtinterface arts dbus-tqt dbus-1-tqt tqca-tls Found: tqca-tls, i=5 /home/david/tde/pbf/PKGBUILD-tde-tqca-tls Found updating tde-tqca-tls/PKGBUILD updating PKGBUILD md5sum -> e75d4d3c30d2b053eeccb7b551d63c9a deleting build dir from prior build copying pbpkg dir to build dir. copying dependencies-tqca-tls.tar.gz -> /dat_e/bld/tde-tqca-tls changing into build directory '/dat_e/bld/tde-tqca-tls' issuing build command 'sudo makechrootpkg -r /dat_e/ch47' ==> Making package: tde-tqca-tls 14.0.0_dev-1 (Sat Jun 23 05:14:24 UTC 2012) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving Sources... -> Found dependencies-tqca-tls.tar.gz -> Found tqca-tls.patch ==> Validating source files with md5sums... dependencies-tqca-tls.tar.gz ... Passed ==> Extracting Sources... -> Extracting dependencies-tqca-tls.tar.gz with bsdtar ==> Starting build()... ==> Setting PATH and Trinity Environment variables ==> QTDIR: /opt/tqt3, TDEDIR: /opt/trinity ==> Starting configure... Configuring qca-tls ... Verifying TQt 3.x Multithreaded (MT) build environment ... fail
There was an error compiling 'conf'. Be sure you have a proper TQt 3.x Multithreaded (MT) build environment set up.
==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /dat_e/ch47/david/build makepkg --> FAILED, saving logs to '/home/david/tde/err/bld/dependencies/tqca-tls'
The looking at the conf.log file, I have this as the precise failure:
g++ -c -pipe -Wall -W -O2 -D_REENTRANT -DX11_INC='"/usr/X11R6/include"' -DX11_LIBDIR='"/usr/X11R6/lib64"' -DX11_LIB='"-lXext -lX11 -lm"' -DCC='"gcc"' -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/opt/tqt3/mkspecs/default -I. -I'/usr/include/tqt' -I/opt/tqt3/include -I/usr/X11R6/include -o conf.o conf.cpp g++ -Wl,-rpath,/opt/tqt3/lib64 -o conf conf.o -L/opt/tqt3/lib64 -L/usr/X11R6/lib64 -ltqt-mt -lXext -lX11 -lm -lpthread
So somewhere something is not getting the proper directory set to allow TQt to be found. How can I hack ./configure to force it to find TQt in the proper location?