Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Morgan Kelly
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)


This is a problem in building with Mandrake linux that was not present with 
lyx-1.3.0pre2 but appeared with 1.3.0.

Instead of commenting out a lot of lines in the configure script, you need to 
set more options telling it exactly where all the qt things live 

./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3 
--with-qt-includes=/usr/lib/qt3/include --with-qt-libraries=/usr/lib/qt3/lib 

Everything should then work fine. I hope this helps

Morgan


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 09:24 am, Morgan Kelly 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)

 This is a problem in building with Mandrake linux that was not present with
 lyx-1.3.0pre2 but appeared with 1.3.0.

 Instead of commenting out a lot of lines in the configure script, you need
 to set more options telling it exactly where all the qt things live

 ./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3
 --with-qt-includes=/usr/lib/qt3/include
 --with-qt-libraries=/usr/lib/qt3/lib

Thanks!  I tried again using your recommended additional switches but the 
build STILL fails with:

checking for moc... /usr/lib/qt3//bin/moc
checking for uic... /usr/lib/qt3//bin/uic
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.58102 (%build)

The script is still looking for something in the wrong place  (I have ALL the 
required qt3 libs/includes needed to build any qt-based app, nothing is 
missing).  I have looked through the config.log and config.status files.  
Nothing in either to indicate any problems/missing elements.


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 09:51:52AM -0500, Praedor Atrebates wrote:

 required qt3 libs/includes needed to build any qt-based app, nothing is 
 missing).  I have looked through the config.log and config.status files.  
 Nothing in either to indicate any problems/missing elements.

Do you seriously expect help when you can't even be bothered to make
your config.log accessible, describe where the libraries/headers are
located on your system, etc. ?

john
 


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Jean-Marc Lasgouttes
 Praedor == Praedor Atrebates [EMAIL PROTECTED] writes:

Praedor Thanks! I tried again using your recommended additional
Praedor switches but the build STILL fails with:

Praedor checking for moc... /usr/lib/qt3//bin/moc checking for uic...
Praedor /usr/lib/qt3//bin/uic checking for Qt library name... failed
Praedor configure: error: Cannot compile a simple Qt executable.
Praedor Check you have the right $QTDIR ! error: Bad exit status from
Praedor /var/tmp/rpm-tmp.58102 (%build)

Praedor The script is still looking for something in the wrong place
Praedor (I have ALL the required qt3 libs/includes needed to build
Praedor any qt-based app, nothing is missing). I have looked through
Praedor the config.log and config.status files. Nothing in either to
Praedor indicate any problems/missing elements.

So, can we see you config.log? There has to be something interesting
at the place where it says Cannot compile a simple Qt executable.

JMarc


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:00 am, Jean-Marc Lasgouttes wrote:
  Praedor == Praedor Atrebates [EMAIL PROTECTED] writes:

 Praedor Thanks! I tried again using your recommended additional
 Praedor switches but the build STILL fails with:
[...]
 So, can we see you config.log? There has to be something interesting
 at the place where it says Cannot compile a simple Qt executable.

Well, the config.log that currently exists literally contains NOTHING about 
Cannot compile a simple...  I'm dead serious.  I am re-running configure 
again to see if something shows up this time.  When I have that, I will send 
it.

praedor


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
OK, I found entries in the latest config.log refering to the qt compile fail.  
It is looking for qt2 libs/includes?!  Surely this isn't a qt2-based 
frontend?  I have specifically pointed it at /usr/lib/qt3 by setting 
QTDIR=/usr/lib/qt3 and using the configure switches specifically telling it 
to go to /usr/lib/qt3/includes and /usr/lib/qt3/libs for all the qt devel 
files.  

Here are the offending config.log entries:

configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt2 5
/usr/bin/ld: cannot find -lqt2
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt 5
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt-mt 5
/tmp/cc4TX2WQ.o: In function `main':
/tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char 
const *)'
/tmp/cc4TX2WQ.o(.text+0x29): undefined reference to `QString::shared_null'
/tmp/cc4TX2WQ.o(.text+0x31): undefined reference to `QString::shared_null'
/tmp/cc4TX2WQ.o(.text+0x3f): undefined reference to 
`QStringData::deleteSelf(void)'
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11850: result: failed
configure:11853: error: Cannot compile a simple Qt executable. Check you have 
the right $QTDIR !


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:22:12AM -0500, Praedor Atrebates wrote:

 -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
 -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
 -L/usr/X11R6/lib -lX11  -lqt-mt 5
 /tmp/cc4TX2WQ.o: In function `main':
 /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char const *)'

You must use a compiler version that matches the one that compiled your
Qt library.

If you had just given us your config.log in the first place you would
have saved everyone a lot of time.

john


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:25 am, John Levon wrote:
 On Thu, Mar 20, 2003 at 10:22:12AM -0500, Praedor Atrebates wrote:
  -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
  -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
  -L/usr/X11R6/lib -lX11  -lqt-mt 5
  /tmp/cc4TX2WQ.o: In function `main':
  /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to
  `QString::QString(char const *)'

 You must use a compiler version that matches the one that compiled your
 Qt library.

 If you had just given us your config.log in the first place you would
 have saved everyone a lot of time.

What information in the log fragment above indicates a problem with the 
compiler version?  

praedor


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:35:29AM -0500, Praedor Atrebates wrote:

 What information in the log fragment above indicates a problem with the 
 compiler version?  

   -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
   -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
   -L/usr/X11R6/lib -lX11  -lqt-mt 5
   /tmp/cc4TX2WQ.o: In function `main':
   /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char const 
   *)'
  


That.

john


Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Milos Komarcevic
I had the same problem rebuilding on the latest Red Hat beta.

The XFree86-devel (and its deps) were missing.

Regards,
Milos


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:38 am, John Levon wrote:
 On Thu, Mar 20, 2003 at 10:35:29AM -0500, Praedor Atrebates wrote:
  What information in the log fragment above indicates a problem with the
  compiler version?
 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
-L/usr/X11R6/lib -lX11  -lqt-mt 5
/tmp/cc4TX2WQ.o: In function `main':
/tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char 
const *)'
 
 

 That.

OK, thank you.  However, changing my compiler hasn't helped.  This is Mandrake 9.0.  
The qt3
libs installed are the stock rpms (qt-3.0.5).  Since the default compiler on a stock 
9.0 install is set
to gcc-3.2, I would assume that the qt3 rpms were built with gcc-3.2.  I WAS using 
2.96 (because 3.2
will not successfully compile the 2.4.19 and 2.4.2* kernels with XFS support (at 
least).  In any case,
I have only 2 options: 2.96 or 3.2.  Switching to 3.2 and trying to rebuild the rpm 
again still fails 
as before.  

praedor


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Morgan Kelly
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)


This is a problem in building with Mandrake linux that was not present with 
lyx-1.3.0pre2 but appeared with 1.3.0.

Instead of commenting out a lot of lines in the configure script, you need to 
set more options telling it exactly where all the qt things live 

./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3 
--with-qt-includes=/usr/lib/qt3/include --with-qt-libraries=/usr/lib/qt3/lib 

Everything should then work fine. I hope this helps

Morgan


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 09:24 am, Morgan Kelly 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)

 This is a problem in building with Mandrake linux that was not present with
 lyx-1.3.0pre2 but appeared with 1.3.0.

 Instead of commenting out a lot of lines in the configure script, you need
 to set more options telling it exactly where all the qt things live

 ./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3
 --with-qt-includes=/usr/lib/qt3/include
 --with-qt-libraries=/usr/lib/qt3/lib

Thanks!  I tried again using your recommended additional switches but the 
build STILL fails with:

checking for moc... /usr/lib/qt3//bin/moc
checking for uic... /usr/lib/qt3//bin/uic
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.58102 (%build)

The script is still looking for something in the wrong place  (I have ALL the 
required qt3 libs/includes needed to build any qt-based app, nothing is 
missing).  I have looked through the config.log and config.status files.  
Nothing in either to indicate any problems/missing elements.


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 09:51:52AM -0500, Praedor Atrebates wrote:

 required qt3 libs/includes needed to build any qt-based app, nothing is 
 missing).  I have looked through the config.log and config.status files.  
 Nothing in either to indicate any problems/missing elements.

Do you seriously expect help when you can't even be bothered to make
your config.log accessible, describe where the libraries/headers are
located on your system, etc. ?

john
 


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Jean-Marc Lasgouttes
 Praedor == Praedor Atrebates [EMAIL PROTECTED] writes:

Praedor Thanks! I tried again using your recommended additional
Praedor switches but the build STILL fails with:

Praedor checking for moc... /usr/lib/qt3//bin/moc checking for uic...
Praedor /usr/lib/qt3//bin/uic checking for Qt library name... failed
Praedor configure: error: Cannot compile a simple Qt executable.
Praedor Check you have the right $QTDIR ! error: Bad exit status from
Praedor /var/tmp/rpm-tmp.58102 (%build)

Praedor The script is still looking for something in the wrong place
Praedor (I have ALL the required qt3 libs/includes needed to build
Praedor any qt-based app, nothing is missing). I have looked through
Praedor the config.log and config.status files. Nothing in either to
Praedor indicate any problems/missing elements.

So, can we see you config.log? There has to be something interesting
at the place where it says Cannot compile a simple Qt executable.

JMarc


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:00 am, Jean-Marc Lasgouttes wrote:
  Praedor == Praedor Atrebates [EMAIL PROTECTED] writes:

 Praedor Thanks! I tried again using your recommended additional
 Praedor switches but the build STILL fails with:
[...]
 So, can we see you config.log? There has to be something interesting
 at the place where it says Cannot compile a simple Qt executable.

Well, the config.log that currently exists literally contains NOTHING about 
Cannot compile a simple...  I'm dead serious.  I am re-running configure 
again to see if something shows up this time.  When I have that, I will send 
it.

praedor


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
OK, I found entries in the latest config.log refering to the qt compile fail.  
It is looking for qt2 libs/includes?!  Surely this isn't a qt2-based 
frontend?  I have specifically pointed it at /usr/lib/qt3 by setting 
QTDIR=/usr/lib/qt3 and using the configure switches specifically telling it 
to go to /usr/lib/qt3/includes and /usr/lib/qt3/libs for all the qt devel 
files.  

Here are the offending config.log entries:

configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt2 5
/usr/bin/ld: cannot find -lqt2
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt 5
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt-mt 5
/tmp/cc4TX2WQ.o: In function `main':
/tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char 
const *)'
/tmp/cc4TX2WQ.o(.text+0x29): undefined reference to `QString::shared_null'
/tmp/cc4TX2WQ.o(.text+0x31): undefined reference to `QString::shared_null'
/tmp/cc4TX2WQ.o(.text+0x3f): undefined reference to 
`QStringData::deleteSelf(void)'
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 configure
#include confdefs.h

#include qglobal.h
#include qstring.h

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern C
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s(mangle_failure);
#if (QT_VERSION  221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11850: result: failed
configure:11853: error: Cannot compile a simple Qt executable. Check you have 
the right $QTDIR !


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:22:12AM -0500, Praedor Atrebates wrote:

 -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
 -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
 -L/usr/X11R6/lib -lX11  -lqt-mt 5
 /tmp/cc4TX2WQ.o: In function `main':
 /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char const *)'

You must use a compiler version that matches the one that compiled your
Qt library.

If you had just given us your config.log in the first place you would
have saved everyone a lot of time.

john


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:25 am, John Levon wrote:
 On Thu, Mar 20, 2003 at 10:22:12AM -0500, Praedor Atrebates wrote:
  -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
  -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
  -L/usr/X11R6/lib -lX11  -lqt-mt 5
  /tmp/cc4TX2WQ.o: In function `main':
  /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to
  `QString::QString(char const *)'

 You must use a compiler version that matches the one that compiled your
 Qt library.

 If you had just given us your config.log in the first place you would
 have saved everyone a lot of time.

What information in the log fragment above indicates a problem with the 
compiler version?  

praedor


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:35:29AM -0500, Praedor Atrebates wrote:

 What information in the log fragment above indicates a problem with the 
 compiler version?  

   -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
   -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
   -L/usr/X11R6/lib -lX11  -lqt-mt 5
   /tmp/cc4TX2WQ.o: In function `main':
   /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char const 
   *)'
  


That.

john


Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Milos Komarcevic
I had the same problem rebuilding on the latest Red Hat beta.

The XFree86-devel (and its deps) were missing.

Regards,
Milos


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:38 am, John Levon wrote:
 On Thu, Mar 20, 2003 at 10:35:29AM -0500, Praedor Atrebates wrote:
  What information in the log fragment above indicates a problem with the
  compiler version?
 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
-L/usr/X11R6/lib -lX11  -lqt-mt 5
/tmp/cc4TX2WQ.o: In function `main':
/tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char 
const *)'
 
 

 That.

OK, thank you.  However, changing my compiler hasn't helped.  This is Mandrake 9.0.  
The qt3
libs installed are the stock rpms (qt-3.0.5).  Since the default compiler on a stock 
9.0 install is set
to gcc-3.2, I would assume that the qt3 rpms were built with gcc-3.2.  I WAS using 
2.96 (because 3.2
will not successfully compile the 2.4.19 and 2.4.2* kernels with XFS support (at 
least).  In any case,
I have only 2 options: 2.96 or 3.2.  Switching to 3.2 and trying to rebuild the rpm 
again still fails 
as before.  

praedor


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Morgan Kelly
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)
>

This is a problem in building with Mandrake linux that was not present with 
lyx-1.3.0pre2 but appeared with 1.3.0.

Instead of commenting out a lot of lines in the configure script, you need to 
set more options telling it exactly where all the qt things live 

./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3 
--with-qt-includes=/usr/lib/qt3/include --with-qt-libraries=/usr/lib/qt3/lib 

Everything should then work fine. I hope this helps

Morgan


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 09:24 am, Morgan Kelly 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)
>
> This is a problem in building with Mandrake linux that was not present with
> lyx-1.3.0pre2 but appeared with 1.3.0.
>
> Instead of commenting out a lot of lines in the configure script, you need
> to set more options telling it exactly where all the qt things live
>
> ./configure --with-frontend=qt --with-qt-dir=/usr/lib/qt3
> --with-qt-includes=/usr/lib/qt3/include
> --with-qt-libraries=/usr/lib/qt3/lib

Thanks!  I tried again using your recommended additional switches but the 
build STILL fails with:

checking for moc... /usr/lib/qt3//bin/moc
checking for uic... /usr/lib/qt3//bin/uic
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.58102 (%build)

The script is still looking for something in the wrong place  (I have ALL the 
required qt3 libs/includes needed to build any qt-based app, nothing is 
missing).  I have looked through the config.log and config.status files.  
Nothing in either to indicate any problems/missing elements.


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 09:51:52AM -0500, Praedor Atrebates wrote:

> required qt3 libs/includes needed to build any qt-based app, nothing is 
> missing).  I have looked through the config.log and config.status files.  
> Nothing in either to indicate any problems/missing elements.

Do you seriously expect help when you can't even be bothered to make
your config.log accessible, describe where the libraries/headers are
located on your system, etc. ?

john
 


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Jean-Marc Lasgouttes
> "Praedor" == Praedor Atrebates <[EMAIL PROTECTED]> writes:

Praedor> Thanks! I tried again using your recommended additional
Praedor> switches but the build STILL fails with:

Praedor> checking for moc... /usr/lib/qt3//bin/moc checking for uic...
Praedor> /usr/lib/qt3//bin/uic checking for Qt library name... failed
Praedor> configure: error: Cannot compile a simple Qt executable.
Praedor> Check you have the right $QTDIR ! error: Bad exit status from
Praedor> /var/tmp/rpm-tmp.58102 (%build)

Praedor> The script is still looking for something in the wrong place
Praedor> (I have ALL the required qt3 libs/includes needed to build
Praedor> any qt-based app, nothing is missing). I have looked through
Praedor> the config.log and config.status files. Nothing in either to
Praedor> indicate any problems/missing elements.

So, can we see you config.log? There has to be something interesting
at the place where it says "Cannot compile a simple Qt executable".

JMarc


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:00 am, Jean-Marc Lasgouttes wrote:
> > "Praedor" == Praedor Atrebates <[EMAIL PROTECTED]> writes:
>
> Praedor> Thanks! I tried again using your recommended additional
> Praedor> switches but the build STILL fails with:
[...]
> So, can we see you config.log? There has to be something interesting
> at the place where it says "Cannot compile a simple Qt executable".

Well, the config.log that currently exists literally contains NOTHING about 
"Cannot compile a simple..."  I'm dead serious.  I am re-running configure 
again to see if something shows up this time.  When I have that, I will send 
it.

praedor


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
OK, I found entries in the latest config.log refering to the qt compile fail.  
It is looking for qt2 libs/includes?!  Surely this isn't a qt2-based 
frontend?  I have specifically pointed it at /usr/lib/qt3 by setting 
QTDIR=/usr/lib/qt3 and using the configure switches specifically telling it 
to go to /usr/lib/qt3/includes and /usr/lib/qt3/libs for all the qt devel 
files.  

Here are the offending config.log entries:

configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt2 >&5
/usr/bin/ld: cannot find -lqt2
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 "configure"
#include "confdefs.h"

#include 
#include 

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s("mangle_failure");
#if (QT_VERSION < 221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt >&5
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 "configure"
#include "confdefs.h"

#include 
#include 

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s("mangle_failure");
#if (QT_VERSION < 221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11820: g++ -o conftest -O -fno-exceptions -ftemplate-depth-30 
-Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
-isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
-L/usr/X11R6/lib -lX11  -lqt-mt >&5
/tmp/cc4TX2WQ.o: In function `main':
/tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char 
const *)'
/tmp/cc4TX2WQ.o(.text+0x29): undefined reference to `QString::shared_null'
/tmp/cc4TX2WQ.o(.text+0x31): undefined reference to `QString::shared_null'
/tmp/cc4TX2WQ.o(.text+0x3f): undefined reference to 
`QStringData::deleteSelf(void)'
collect2: ld returned 1 exit status
configure:11823: $? = 1
configure: failed program was:
#line 11793 "configure"
#include "confdefs.h"

#include 
#include 

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
 extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{

QString s("mangle_failure");
#if (QT_VERSION < 221)
break_me_(\\);
#endif

  ;
  return 0;
}
configure:11850: result: failed
configure:11853: error: Cannot compile a simple Qt executable. Check you have 
the right $QTDIR !


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:22:12AM -0500, Praedor Atrebates wrote:

> -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib  
> -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm   
> -L/usr/X11R6/lib -lX11  -lqt-mt >&5
> /tmp/cc4TX2WQ.o: In function `main':
> /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char const *)'

You must use a compiler version that matches the one that compiled your
Qt library.

If you had just given us your config.log in the first place you would
have saved everyone a lot of time.

john


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:25 am, John Levon wrote:
> On Thu, Mar 20, 2003 at 10:22:12AM -0500, Praedor Atrebates wrote:
> > -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
> > -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
> > -L/usr/X11R6/lib -lX11  -lqt-mt >&5
> > /tmp/cc4TX2WQ.o: In function `main':
> > /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to
> > `QString::QString(char const *)'
>
> You must use a compiler version that matches the one that compiled your
> Qt library.
>
> If you had just given us your config.log in the first place you would
> have saved everyone a lot of time.

What information in the log fragment above indicates a problem with the 
compiler version?  

praedor


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread John Levon
On Thu, Mar 20, 2003 at 10:35:29AM -0500, Praedor Atrebates wrote:

> What information in the log fragment above indicates a problem with the 
> compiler version?  

> > > -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
> > > -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
> > > -L/usr/X11R6/lib -lX11  -lqt-mt >&5
> > > /tmp/cc4TX2WQ.o: In function `main':
> > > /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char const 
> > > *)'
  


That.

john


Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Milos Komarcevic
I had the same problem rebuilding on the latest Red Hat beta.

The XFree86-devel (and its deps) were missing.

Regards,
Milos


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-20 Thread Praedor Atrebates
On Thursday 20 March 2003 10:38 am, John Levon wrote:
> On Thu, Mar 20, 2003 at 10:35:29AM -0500, Praedor Atrebates wrote:
> > What information in the log fragment above indicates a problem with the
> > compiler version?
> >
> > > > -Wno-non-template-friend -I/usr/lib/qt3//include -L/usr/lib/qt3//lib
> > > > -isystem /usr/X11R6/include  conftest.cc  -lSM -lICE -lc -lm
> > > > -L/usr/X11R6/lib -lX11  -lqt-mt >&5
> > > > /tmp/cc4TX2WQ.o: In function `main':
> > > > /tmp/cc4TX2WQ.o(.text+0x11): undefined reference to `QString::QString(char 
> > > > const *)'
> 
> 
>
> That.

OK, thank you.  However, changing my compiler hasn't helped.  This is Mandrake 9.0.  
The qt3
libs installed are the stock rpms (qt-3.0.5).  Since the default compiler on a stock 
9.0 install is set
to gcc-3.2, I would assume that the qt3 rpms were built with gcc-3.2.  I WAS using 
2.96 (because 3.2
will not successfully compile the 2.4.19 and 2.4.2* kernels with XFS support (at 
least).  In any case,
I have only 2 options: 2.96 or 3.2.  Switching to 3.2 and trying to rebuild the rpm 
again still fails 
as before.  

praedor


Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread Praedor Atrebates
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This is inevitable, it seems, whether I try the qt version or the xforms 
version.  Inspite of the fact that I have xforms installed and qt3 devel libs 
installed, the src rpm for lyx never builds on my Mandrake system.  

Mandrake doesn't use QTDIR.  It is dispensed with and is generally unneeded.  
Nonetheless I created QTDIR=/usr/lib/qt3 in an attempt to satisfy the rpm for 
building.  It fails:

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 
see no option to turn it off that way so...

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

iD8DBQE+eKzFaKr9sJYeTxgRAvHqAKCjy3mx18Z0aevk066m7lk8JWLkMQCdHS0D
bbKwPVqab156zW49DkUz8Vg=
=Gu75
-END PGP SIGNATURE-


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread John Levon
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.

john


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread Praedor Atrebates
-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-


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread John Levon
On Wed, Mar 19, 2003 at 03:36:27PM -0500, Praedor Atrebates wrote:

 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 

This is all entirely wrong.

 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's impossible to say what's happening without seeing config.log

john


Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread Praedor Atrebates
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This is inevitable, it seems, whether I try the qt version or the xforms 
version.  Inspite of the fact that I have xforms installed and qt3 devel libs 
installed, the src rpm for lyx never builds on my Mandrake system.  

Mandrake doesn't use QTDIR.  It is dispensed with and is generally unneeded.  
Nonetheless I created QTDIR=/usr/lib/qt3 in an attempt to satisfy the rpm for 
building.  It fails:

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 
see no option to turn it off that way so...

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

iD8DBQE+eKzFaKr9sJYeTxgRAvHqAKCjy3mx18Z0aevk066m7lk8JWLkMQCdHS0D
bbKwPVqab156zW49DkUz8Vg=
=Gu75
-END PGP SIGNATURE-


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread John Levon
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.

john


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread Praedor Atrebates
-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-


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread John Levon
On Wed, Mar 19, 2003 at 03:36:27PM -0500, Praedor Atrebates wrote:

 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 

This is all entirely wrong.

 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's impossible to say what's happening without seeing config.log

john


Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread Praedor Atrebates
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This is inevitable, it seems, whether I try the qt version or the xforms 
version.  Inspite of the fact that I have xforms installed and qt3 devel libs 
installed, the src rpm for lyx never builds on my Mandrake system.  

Mandrake doesn't use QTDIR.  It is dispensed with and is generally unneeded.  
Nonetheless I created QTDIR=/usr/lib/qt3 in an attempt to satisfy the rpm for 
building.  It fails:

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 
see no option to turn it off that way so...

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

iD8DBQE+eKzFaKr9sJYeTxgRAvHqAKCjy3mx18Z0aevk066m7lk8JWLkMQCdHS0D
bbKwPVqab156zW49DkUz8Vg=
=Gu75
-END PGP SIGNATURE-


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread John Levon
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.

john


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread Praedor Atrebates
-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-


Re: Cannot build lyx-1.3.1qt src rpm

2003-03-19 Thread John Levon
On Wed, Mar 19, 2003 at 03:36:27PM -0500, Praedor Atrebates wrote:

> 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 

This is all entirely wrong.

> 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's impossible to say what's happening without seeing config.log

john