On 4/25/07 8:35 PM, "Bennett Helm" <[EMAIL PROTECTED]> wrote:

> On Apr 25, 2007, at 7:56 PM, Bob Lounsbury wrote:
> 
>>>> 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.
> 
> Actually LyX generates it, and that's the one you need. (The point of
> deleting the libqt4.la that is created by Qt is to not confuse LyX.)
> 
>>> 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/
> 
> Actually, we don't need to specify PKG_CONFIG_PATH anymore.
> 
>>> 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
>> 
>> I did an 'svn up' and searched for libqt4 on my computer and there
>> is still
>> no such file. I prefer to use the latest releases for LyX (to
>> ensure that I
>> can modify documents on any platform with the latest release
>> installed),
>> hence I downloaded the beta2 source and I'm trying to compile it.
>> Not sure
>> what I'm missing here, since I was able to compile beta2 with
>> qt4.2.3. Is
>> there some other package I need installed, like the development
>> package of
>> gettext or something which may have info on 'libqt4'?
> 
> Try what Anders suggests: it should work. (LyX needs to find libqt4.a
> in your Qt-4/lib directory, but that's what pkg-config is supposed to
> find. If LyX configures properly, you should be all set.)
> 
> Bennett

That's just it. LyX did ./configure properly. The error was from the 'make'
command. Also, I don't see a libqt4.a file in either qt4.2.3 or qt4.3.0 but
I've already compiled LyX with qt4.2.3 successfully.

Anyways, I'm compiling the latest qt4.3snapshot and I've run a 'make clean'
and 'make distclean' from within the lyx-1.5.0beta2 source file. So, once qt
compiles (sometime tomorrow) I will follow Anders guide and report any
successes or failures.

Would there be any interpolation issues between LyX1.5svn on a mac and
LyX1.5beta2 on Windows?

Thanks for the input,
Bob Lounsbury


Reply via email to