Greetings

I am new to compiling openoffice from source code.  I  am attempting to 
compile openoffice-3.0.1,  The host machine has an AMD64 processor,  1GBtyte 
RAM  and runs  64-bit linux (clfs) -kernel-2.6.27.7, glibc-2.7, gcc-4.3.2

I have kde-4.2.1  and two versions of qt:-qt-4.5.0 and qt-3.3.8 installed.  I 
have (--enable-kde    --disable-kdeab   ) in the openoffice-3.0.1  configure 
script.  The latter fails if QTDIR is set as /opt/qt-4.5.0  but succeeds if 
set to /opt/qt-3.3.8  though kde-4.2.1    uses qt-4.5.0! and KDEDIR is set 
at /opt/kde-4.2.1  I also tried  ---enable-kde4  instead of --enable-kde in 
the configure script but if failed.     The compilation  of openoffice-3.0.1 
fails as shown below

###########

making .dpslo
~/003Build/OOO300_m15/vcl/unx/kde
making .dpslo
------------------------------
Making: ../../unxlngx6.pro/slo/kdedata.obj
g++  -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing 
-Wuninitialized   -fvisibility=hidden -I/opt/qt-3.3.8b/include 
-I/opt/kde-4.2.1/include -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT -I.  
-I../../unxlngx6.pro/inc/kdeplug -I../inc -I../../inc/pch -I../../inc 
-I../../unx/inc -I../../unxlngx6.pro/inc -I. 
-I~/003Build/OOO300_m15/solver/300/unxlngx6.pro/inc/stl 
-I~/003Build/OOO300_m15/solver/300/unxlngx6.pro/inc/external 
-I~/003Build/OOO300_m15/solver/300/unxlngx6.pro/inc 
-I~/003Build/OOO300_m15/solenv/unxlngx6/inc -I~/003Build/OOO300_m15/solenv/inc 
-I~/003Build/OOO300_m15/res 
-I~/003Build/OOO300_m15/solver/300/unxlngx6.pro/inc/stl 
-I~/003Build/OOO300_m15/solenv/inc/Xp31 -I/opt/jdk/jdk/include 
-I/opt/jdk/jdk/include/linux -I/opt/jdk/jdk/include/native_threads/include 
-I/usr/X11R7.4/include  
-I~/003Build/OOO300_m15/solver/300/unxlngx6.pro/inc/offuh -I. -I../../res -I. 
-pipe  -Wno-ctor-dtor-privacy -fno-use-cxa-atexit -fvisibility-inlines-hidden 
-Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     
-Wno-non-virtual-dtor  -Wno-shadow  -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 
-DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT 
-DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 
-DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 
-DGXX_INCLUDE_PATH=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../include/c++/4.3.2
 -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE 
-DCUI -DSOLAR_JAVA -DUSE_BUILTIN_RASTERIZER  -DVCL_DLLIMPLEMENTATION 
-DUSE_RANDR -DSHAREDLIB -D_DLL_   -fno-exceptions -DEXCEPTIONS_OFF  -o 
../../unxlngx6.pro/slo/kdedata.o 
~/003Build/OOO300_m15/vcl/unx/kde/kdedata.cxx 
In file included from /opt/kde-4.2.1/include/kdecore_export.h:24,
                 from /opt/kde-4.2.1/include/kaboutdata.h:26,
                 from ../inc/kde_headers.h:74,
                 from ~/003Build/OOO300_m15/vcl/unx/kde/kdedata.cxx:35:
/opt/kde-4.2.1/include/kdemacros.h:162:29: error: QtCore/qglobal.h: No such 
file or directory
In file included from /opt/kde-4.2.1/include/klocale.h:26,
                 from /opt/kde-4.2.1/include/kaboutdata.h:27,
                 from ../inc/kde_headers.h:74,
..........
.........
~/OOO300_m15/vcl/unx/kde/kdedata.cxx:180: error: 'disableAutoDcopRegistration' 
is not a member of 'KApplication'
/opt/kde-4.2.1/include/ksharedptr.h: In 
destructor 'KSharedPtr<T>::~KSharedPtr() [with T = KSharedConfig]':
/opt/kde-4.2.1/include/klocale.h:90:   instantiated from here
/opt/kde-4.2.1/include/ksharedptr.h:84: error: 'class KSharedConfig' has no 
member named 'ref'
dmake:  Error code 1, while making '../../unxlngx6.pro/slo/kdedata.obj'

ERROR: Error 65280 occurred while making ~/003Build/OOO300_m15/vcl/unx/kde
rmdir /tmp/7238
dmake:  Error code 1, while making 'build_instsetoo_native'

######
questions:
a) does openoffice-3.0.1  compiles with qt-4.5.0 support 
b) does openoffice-3.0.1 compiles with kde-4.2.1

if the answer to either  or  both the above is "no",   or indeed yes  to both 
I would be grateful for advice.


yours sincerely
lux-integ

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to