On 25 apr 2007, at 20.32, Bob Lounsbury wrote:

On 4/24/07 4:00 PM, "Anders Ekberg" <[EMAIL PROTECTED]> wrote:

Bob Lounsbury
Tue, 24 Apr 2007 14:51:04 -0700

On 4/24/07 3:36 PM, "Anders Ekberg" <[EMAIL PROTECTED]> wrote:

On 24 apr 2007, at 16.56, Bennett Helm wrote:

 Anders: can you try this and, if successful, report on PPC
performance?)

Compiled fine (didn't try the patch, but the "manual" approach) with
QT4.3 snapshot (20070422) and a current svn version of LyX (rev
17952).
Text and floats seem snappier to me in a reasonably large document
(some 30 pp with figures). Typing in LyX-notes are still slow, but
seem faster than with 4.2.3. Dialogues (e.g. Preferences are rather
slow (I see a "beach ball" for a short time on my machine), but I
don't think slower than before.
A strange thing is that the running text is in sans-serif (the
document is a Koma-script article, so the headers are expected to be
in sans-serif), but I don't know if that is my configuration, qt or
LyX. Setting to Times New Roman in the preferences gives the
expected
appearance, whereas specifying Times gives a sans-serif font.
I posted a copy at http://www.charmec.chalmers.se/temp/
LyX15_QT43PPC.zip if someone likes to play around (slow internet-
connection here, so it won't be fully uploaded until about midnight
CET).

/Anders

Anders,

Could you post your ./configure commands for Qt and LyX. I would
like to try
and compile as you've done, probably tomorrow. Although on my old
iBook it
will take around 20hrs.

I tried to compile LyX1.5.0beta2 with Qt4.3.0 and the ./configure was
successful and found the qt4 directory follwing Bennett's and Jean-
Marc's
suggestions. However, the make command gave some error messages and
then
after make install LyX did not work.

I think I would rather start from scratch with the latest qt snapshot,
hopefully following what you did and what Bennett recommended and
it will
work.

Thanks for everyone's input,
Bob Lounsbury

I did:

export PKG_CONFIG_PATH=/Users/anek/LyX_dev/QT43/lib/pkgconfig/

export LDFLAGS="-framework Carbon -framework OpenGL -framework AGL -
framework QuickTime -lz -framework Cocoa"

./autogen.sh

./configure --prefix=/Users/anek/LyX_dev/nightly/LyX_QT43.app --
disable-concept-checks --with-version-suffix=-1.5 --with-qt4-dir=/
Users/anek/LyX_dev/QT43 --enable-optimization=-Os --without-x --with-
included-gettext --with-frontend=qt4 --disable-stdlib-debug

make

make install-strip

(replace to your paths)

/Anders

I haven't compiled the latest qt4.3 snapshot, but using a previous snapshot
I get the following error after running "make" on LyX1.5.0beta2:

make[7]: *** [libqt4.la] Bus error
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

The install.macosx instructed to delete all .la files from the qt4/lib
folder. It seems that "make" may require libqt4.la?

Any ideas?
Thanks,
Bob Lounsbury

The libqt4.la is not in the QT-package, but in src/frontends/qt4/ in the lyx-source, so that is probably not the problem. If you updated svn recently it's shaky due to renaming. Try to refresh like this:
svn up
make distclean
export PKG_CONFIG_PATH=/Users/anek/LyX_dev/QT43/lib/pkgconfig/
export LDFLAGS="-framework Carbon -framework OpenGL -framework AGL - framework QuickTime -lz -framework Cocoa"
./autogen.sh
./configure --prefix=/Users/anek/LyX_dev/nightly/LyX2007-04-25.app -- disable-concept-checks --with-version-suffix=-1.5 --with-qt4-dir=/ Users/anek/LyX_dev/QT43 --enable-optimization=-Os --without-x --with- included-gettext --with-frontend=qt4 --disable-stdlib-debug (REPLACE WITH YOUR PATHS)

A new feature from Jean-Marc assures that you don't have to copy your LyX.app (which doesn't exist anymore) to (in my case) ../nightly/ LyX2007-04-25.app . Instead do:
cd development/MacOSX/
make install
cd ../..
make
make install-strip

I hope I remembered correctly and that it works for you.

/Anders

Reply via email to