Folks,

Anyone have a clue about this? I compiled the qt4.3 sources from TrollTech successfully. The qt4.3 files are under /usr/local/QT4 and look correct. Permissions are OK. I am compiling as root. I moved the *.la libraries out of the QT4 tree.

I downloaded the lyx 1.5rc2 sources. I followed the INSTALL.MacOSX instructions carefully. My LDFLAGS are LDFLAGS=-framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz -framework Cocoa

My command line to configure is (all on one line, of course):
./configure --prefix=/Users/ojohns/Desktop/LyX.app --with-version- suffix=-1.5 --without-x --with-frontend=qt4 --with-qt4-dir=/usr/local/ QT4 --with-included-gettext --enable-optimization=-Os

Here's the problem: The lyx configure does not find my qt libraries. As configure runs, I see:

checking for QT4_CORE... checking for QT4_FRONTEND... checking for Qt 4 library name... failed
checking for moc-qt4... no
checking for moc... /usr/local/QT4//bin/moc
checking for uic-qt4... no
checking for uic... /usr/local/QT4//bin/uic

And then at the end of the configure run, I see:

Configuration
  Host type:                      powerpc-apple-darwin8.10.0
Special build flags: assertions pch concept-checks warnings use-ispell
  C   Compiler:                   gcc
  C   Compiler LyX flags:
  C   Compiler flags:             -Wextra -Wall   -g -Os
  C++ Compiler:                   g++ (4.0.1)
  C++ Compiler LyX flags:
  C++ Compiler flags:             -Wextra -Wall   -g -Os
  Linker flags:
Linker user flags: -framework Carbon -framework OpenGL -framework AGL -framework QuickTime -lz -framework Cocoa
  Qt 4 Frontend:
      Qt 4 version:
  Packaging:                      macosx
LyX binary dir: /Users/ojohns/Desktop/LyX.app/ Contents/MacOS LyX files dir: /Users/ojohns/Desktop/LyX.app/ Contents/Resources

**** The following problems have been detected by configure.
**** Please check the messages below before running 'make'.
**** (see the section 'Problems' in the INSTALL file)

** qt 4 library not found !



System is a PowerBook 12", running OSX 10.4.10. I am compiling pure PPC files, no Intel or Universal. I tried running make and ignoring the error, but that resulted in a faulty app with no lyx binary. So, it seems really to be missing the libraries.

Any hints will be appreciated.
Thanks,

Oliver Johns



Reply via email to