Lyx 1.5.2, OSX 10.3.9, PowerPC G4

In an effort to investigate the odd behaviour of the binary version
(reported on users list) I have been unsuccessfully trying to compile
lyx 1.5.2. Points to note:

The config.h file is badly wrong. The following were not defined:
setenv, putenv, popen, pclose, mkdir, getpid, mktemp, open, close.
Defining them allowed the code in support to compile but I suspect
there is no chance that everything else is defined correctly.

Make then fails in qt4/ui as follows (snipped early bit):

Making all in frontends
make  all-recursive
Making all in controllers
make  all-recursive
Making all in tests
make  all-am
make[8]: Nothing to be done for `all-am'.
make[7]: Nothing to be done for `all-am'.
Making all in qt4
make  all-recursive
Making all in ui
make  all-am
make[8]: Nothing to be done for `all-am'.
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++
-DHAVE_CONFIG_H -I. -I../../../src  -DQT_CLEAN_NAMESPACE
-DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS  -I../../../src
-I../../../src/frontends -I../../../images -DQT_SHARED
-I/usr/local/Trolltech/Qt-4.3.2/include
-I/usr/local/Trolltech/Qt-4.3.2/include/QtCore
-I/usr/local/Trolltech/Qt-4.3.2/include/QtGui   -I../../../boost
-I../../../src/frontends/controllers -I/usr/X11R6/include  -O2 -MT
GuiApplication.lo -MD -MP -MF .deps/GuiApplication.Tpo -c -o
GuiApplication.lo GuiApplication.cpp
 g++ -DHAVE_CONFIG_H -I. -I../../../src -DQT_CLEAN_NAMESPACE
-DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src
-I../../../src/frontends -I../../../images -DQT_SHARED
-I/usr/local/Trolltech/Qt-4.3.2/include
-I/usr/local/Trolltech/Qt-4.3.2/include/QtCore
-I/usr/local/Trolltech/Qt-4.3.2/include/QtGui -I../../../boost
-I../../../src/frontends/controllers -I/usr/X11R6/include -O2 -MT
GuiApplication.lo -MD -MP -MF .deps/GuiApplication.Tpo -c
GuiApplication.cpp -o GuiApplication.o
In file included from ../../../boost/boost/type_traits/is_arithmetic.hpp:13,
                 from ../../../boost/boost/type_traits/is_enum.hpp:15,
                 from ../../../boost/boost/type_traits/composite_traits.hpp:17,
                 from ../../../boost/boost/function/function_base.hpp:21,
                 from ../../../boost/boost/function/detail/prologue.hpp:16,
                 from ../../../boost/boost/function.hpp:22,
                 from ../../../src/frontends/Application.h:14,
                 from GuiApplication.h:22,
                 from GuiApplication.cpp:15:
../../../boost/boost/type_traits/is_float.hpp:21: warning: use of `long double'
   type; its size may change in a future release
../../../boost/boost/type_traits/is_float.hpp:21: warning: (Long double usage
   is reported only once for each file.
../../../boost/boost/type_traits/is_float.hpp:21: warning: To disable this
   warning, use -Wno-long-double.)
../../../boost/boost/checked_delete.hpp: In function `void
   boost::checked_delete(T*) [with T = lyx::frontend::MenuTranslator]':
GuiApplication.cpp:77:   instantiated from
`boost::scoped_ptr<T>::~scoped_ptr() [with T =
lyx::frontend::MenuTranslator]'
GuiApplication.cpp:77:   instantiated from
`boost::scoped_ptr<T>::~scoped_ptr() [with T =
lyx::frontend::MenuTranslator]'
GuiApplication.cpp:97:   instantiated from here
../../../boost/boost/checked_delete.hpp:32: error: invalid application of `
   sizeof' to an incomplete type
../../../boost/boost/checked_delete.hpp:32: error: creating array with size
   zero (`-1')
../../../boost/boost/checked_delete.hpp:33: error: invalid application of `
   sizeof' to an incomplete type
../../../boost/boost/checked_delete.hpp:33: error: creating array with size
   zero (`-1')
../../../boost/boost/checked_delete.hpp:30: warning: `x' has incomplete type
GuiApplication.h:39: warning: forward declaration of `struct
   lyx::frontend::MenuTranslator'
make[7]: *** [GuiApplication.lo] Error 1
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
bolt:~/pub/lyx-1.5.2 andy$

Reply via email to