Hi, I downloaded the following packages and decompressed them.
OOo_3.1.1_src_core.tar.bz2 OOo_3.1.1_src_system.tar.bz2 ./configure --prefix=/home/pengy/utility/linux --with-use-shell=bash ./bootstrap; source LinuxX86-64Env.Set.sh; make -j6 But, I end up with the following error. Can somebody let me know what the problem is? I have cups.h at /home/pengy/utility/linux/include/cups/cups.h. I am wondering how to fix the problem? Regards, Peng ------------------------------ Making: ../../unxlngx6.pro/slo/cupsmgr.obj g++ -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing -Wuninitialized -I. -I../../unxlngx6.pro/inc/printer -I../inc -I../../inc/pch -I../../inc -I../../unx/inc -I../../unxlngx6.pro/inc -I. -I/home/pengy/download/linux/openoffice/OOO310_m19/solver/310/unxlngx6.pro/inc/stl -I/home/pengy/download/linux/openoffice/OOO310_m19/solver/310/unxlngx6.pro/inc/external -I/home/pengy/download/linux/openoffice/OOO310_m19/solver/310/unxlngx6.pro/inc -I/home/pengy/download/linux/openoffice/OOO310_m19/solenv/unxlngx6/inc -I/home/pengy/download/linux/openoffice/OOO310_m19/solenv/inc -I/home/pengy/download/linux/openoffice/OOO310_m19/res -I/home/pengy/download/linux/openoffice/OOO310_m19/solver/310/unxlngx6.pro/inc/stl -I/home/pengy/download/linux/openoffice/OOO310_m19/solenv/inc/Xp31 -I/home/pengy/utility/linux/opt/jdk1.6.0_16/include -I/home/pengy/utility/linux/opt/jdk1.6.0_16/include/linux -I/home/pengy/utility/linux/opt/jdk1.6.0_16/include/native_threads/include -I/usr/include -I/home/pengy/download/linux/openoffice/OOO310_m19/solver/310/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 -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=/home/pengy/utility/linux/opt/gcc-4.3.4/lib/gcc/x86_64-unknown-linux-gnu/4.3.4/../../../../include/c++/4.3.4 -DSUPD=310 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DENABLE_CUPS -DSHAREDLIB -D_DLL_ -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON -o ../../unxlngx6.pro/slo/cupsmgr.o /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:35:23: error: cups/cups.h: No such file or directory /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:36:22: error: cups/ppd.h: No such file or directory /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:72: error: 'cups_option_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:73: error: 'cups_dest_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:74: error: 'cups_dest_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:75: error: 'cups_dest_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:77: error: 'ppd_file_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:77: error: 'cups_option_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:78: error: 'cups_option_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:79: error: 'cups_option_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:80: error: ISO C++ forbids declaration of 'ppd_file_t' with no type /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:80: error: expected ';' before '*' token /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:81: error: 'ppd_file_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:86: error: 'cups_option_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:95: error: 'cups_dest_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:98: error: 'cups_dest_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:101: error: 'cups_dest_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:108: error: 'cups_option_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:113: error: 'ppd_file_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:113: error: 'cups_option_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:116: error: 'cups_option_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:119: error: 'cups_option_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:122: error: ISO C++ forbids declaration of 'ppd_file_t' with no type /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:122: error: expected ';' before '*' token /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:125: error: expected `;' before 'void' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:125: error: 'ppd_file_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:140: error: 'cups_option_t' has not been declared /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx: In constructor 'psp::CUPSWrapper::CUPSWrapper()': /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:186: error: expected primary-expression before 'int' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:186: error: expected `)' before 'int' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:188: error: expected primary-expression before 'int' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:188: error: expected `)' before 'int' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:190: error: expected primary-expression before 'void' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:190: error: expected `)' before 'void' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:192: error: expected primary-expression before 'void' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:192: error: expected `)' before 'void' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:196: error: expected primary-expression before 'int' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:196: error: expected `)' before 'int' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:198: error: expected primary-expression before 'int' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:198: error: expected `)' before 'int' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:200: error: expected primary-expression before 'void' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:200: error: expected `)' before 'void' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:202: error: 'm_pppdOpenFile' was not declared in this scope /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:202: error: 'ppd_file_t' was not declared in this scope /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:202: error: expected primary-expression before ')' token /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:202: error: expected primary-expression before 'const' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:203: error: expected `;' before 'loadSymbol' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:204: error: expected primary-expression before 'void' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:204: error: expected `)' before 'void' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:214: error: expected primary-expression before 'const' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:214: error: expected `)' before 'const' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx: In destructor 'virtual psp::CUPSManager::~CUPSManager()': /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:424: error: 'cups_dest_t' was not declared in this scope /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:424: error: expected primary-expression before ')' token /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx: In member function 'void psp::CUPSManager::runDests()': /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:450: error: 'cups_dest_t' was not declared in this scope /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:450: error: 'pDests' was not declared in this scope /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx: In member function 'virtual void psp::CUPSManager::initialize()': /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:534: error: 'cups_dest_t' was not declared in this scope /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:534: error: 'pDest' was not declared in this scope /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:534: error: expected primary-expression before ')' token /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:534: error: expected `)' before 'm_pDests' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:552: error: expected primary-expression before ')' token /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:552: error: expected `)' before 'm_pDests' /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx: At global scope: /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:630: error: variable or field 'updatePrinterContextInfo' declared void /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:630: error: 'ppd_group_t' was not declared in this scope /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:630: error: 'pPPDGroup' was not declared in this scope /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:630: error: expected primary-expression before '&' token /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer/cupsmgr.cxx:630: error: 'rContext' was not declared in this scope dmake: Error code 1, while making '../../unxlngx6.pro/slo/cupsmgr.obj' ERROR: Error 65280 occurred while making /home/pengy/download/linux/openoffice/OOO310_m19/psprint/source/printer rmdir /tmp/5758 make: *** [all] Error 1 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org