On Aug 14, 2007, at 3:11 AM, Jean-Marc Lasgouttes wrote:

Anders Ekberg <[EMAIL PROTECTED]> writes:

I have the same as Bennett:
/* Define to `int' if <sys/types.h> doesn't define. */
#define uid_t int

We found out that this is related to a string of errors in config.log,
but still have no  idea of why.

Noting in another thread that Jean-Marc was successful with the following configure line:

configure --prefix=/Users/jmarc/Desktop/LyX.app --without-x --with- qt4-dir=~/src/qt/build --with-included-gettext --disable-pch -- disable-shared --enable-static

I decided to try playing around with settings to see if I could get things to work for me. It turns out that the culprit for me was -- without-aiksaurus: leaving everything else in my configure line the same but removing that option (and opting for a static build) enables me to configure without any warnings, and compilation succeeds (with a working LyX.app), though I did get a string of the following warnings:

cc1plus: warning: ././pch.h.gch: not used because `PIC' not defined

(Does that mean I *should* disable pch, as Jean-Marc does?)

The configure line I was able to use was:

./configure --prefix=/Applications/LyX-devel.app --with-version- suffix=-1.6 --with-qt4-dir=/Users/bennett/lyx/qt-4.3-install/ -- without-aspell --without-pspell --without-x --with-included-gettext -- disable-stdlib-debug --disable-pch --disable-shared --enable-static -- enable-optimization=-Os

Bennett

Reply via email to