-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 19 March 2003 12:54 pm, John Levon wrote:
> On Wed, Mar 19, 2003 at 12:45:41PM -0500, Praedor Atrebates wrote:
> > checking for Qt library name... failed
> > configure: error: Cannot compile a simple Qt executable. Check you have
> > the right $QTDIR !
> > error: Bad exit status from /var/tmp/rpm-tmp.46146 (%build)
> >
> > What lines in the configure script do I comment out to prevent this check
> > from occuring and killing the build process?  Looking over the configure
> > options I
>
> You can't turn it off, that makes no sense (how would you build ?).
> Instead, look at config.log, and see what you did wrong in your setup.

Thanks, I'll give it a shot but there is nothing "wrong" with my setup.  I can 
build qt apps, kde apps, etc. without problem...just not lyx-qt (or lyx 
xforms for that matter - but I CAN build other xforms apps).  The "problem" 
seems to be based on assumptions made by the configure script on what the 
system should be like (like Redhat's broken system?).  It assumes there MUST 
be an environment variable called QTDIR set which is not necessarily true 
except, perhaps, on the developer's system.  I just wanted to be able to 
disable the check on qt that the configure script is doing and let the system 
just make the qt app like it can with every other qt app I've tried that 
doesn't make similar assumptions.

In the meantime, I commented out all the lines in the configure script in 
which the qt lib version is determined, created a new entry directly setting 
qt_cv_libname=Qt3 and let it go from there.  It builds and the binary works.  
It would appear that the gatekeeper in configure is not critical and needs to 
have a switch settable by the builder.  It would allow for a simple sidestep 
of an erroneous check (for my system - any Mandrake system) and still get a 
working binary.

praedor



praedor
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+eNTMaKr9sJYeTxgRAg6mAJ47PpdZ2AeUsuJIRDWSoKHV/PMhIwCeIcXC
4t3cpvTCarw3v+RTFIajzWY=
=p2C/
-----END PGP SIGNATURE-----

Reply via email to