Error compiling Openoffice
I am trying to compile Openoffice but have the following compile error.
--------------------------------------------------------------------------- /home/paul/t/OOG680_m9/canvas/source/cairo/cairo_cairo.cxx: In member function 'cairo::Surface* cairo::Surface::getSimilar(cairo::Content, int, int)': /home/paul/t/OOG680_m9/canvas/source/cairo/cairo_cairo.cxx:202: error: 'PictStandardA8' was not declared in this scope /home/paul/t/OOG680_m9/canvas/source/cairo/cairo_cairo.cxx:205: error: 'PictStandardRGB24' was not declared in this scope /home/paul/t/OOG680_m9/canvas/source/cairo/cairo_cairo.cxx:209: error: 'PictStandardARGB32' was not declared in this scope /home/paul/t/OOG680_m9/canvas/source/cairo/cairo_cairo.cxx:213: error: 'XRenderFindStandardFormat' was not declared in this scope dmake: Error code 1, while making '../../unxlngi6.pro/slo/cairo_cairo.obj' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /home/paul/t/OOG680_m9/canvas/source/cairo dmake: Error code 1, while making 'build_instsetoo_native' --------------------------------------------------------------------------- I have installed Cairo but suspect some other dependency is missing but dont know what? Paul Clark |
Those are all provided by libXrender, IIRC. Make sure you have the latest libXrender installed.
|
In /usr/lib I have
libXrender.a libXrender.la libXrender.so libXrender.so.1 libXrender.so.1.3.0 along with the rest of the X-libraries? Paul Clark |
I'm assuming you are using a pre-compiled distribution (don't know, because you don't have it listed). When using a pre-compiled distro, you also need to explicitly install the development files. These are packages that have the same name, but are suffixed with -dev or -devel. Use you package manager to find the development files package for libXrender.
|
you need to install the header files for "libXrender" .ether build libXrender from the source or install the libXrender-dev,or libXrender-devel for your distro.
and why not install the prebuilt openoffice , from openoffice web site OR the ones already made for YOUR distro ( whatever it is ) on fedora it is -- yum install openoffice -- are you using a distro that has app get or yum |
I have been following the "Linux From Scratch" and "Beyond Linux From Scratch" books. So have installed everything from source.
I have now compiled libXrender again and installed it. I notice during the "make install":- /usr/bin/install -c -m 644 '../include/X11/extensions/Xrender.h' '/usr/include/X11/extensions/Xrender.h' So is my problem that this "header" file is not found during the Openoffice compile? I will fall back to installing the binary if I cannot make this work. But as everything else is from source and Openoffice is the last thing I need I don't want to throw in the towel just yet. Paul Clark |
or export the include file from ./configure
run Code:
./configure --help |
or export the include file from ./configure
run Code:
./configure --help |
Do you mean I should look at ./configure --help in Openoffice or libXrender?
|
your problem is with Openoffice so...
|
I was a bit confused over what "export the include file from ./configure" means but
after the pointer you gave I found and used the option "--with-system-xrender-headers" and the compile has now worked thank you. Does that mean that this switch "exports the include"? |
All times are GMT -5. The time now is 09:55 AM. |