LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2009, 11:25 AM   #1
paulclark
LQ Newbie
 
Registered: Dec 2006
Posts: 18

Rep: Reputation: 0
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
 
Old 02-21-2009, 11:41 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Those are all provided by libXrender, IIRC. Make sure you have the latest libXrender installed.
 
Old 02-21-2009, 12:46 PM   #3
paulclark
LQ Newbie
 
Registered: Dec 2006
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 02-21-2009, 02:37 PM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
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.
 
Old 02-21-2009, 03:38 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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
 
Old 02-22-2009, 05:52 AM   #6
paulclark
LQ Newbie
 
Registered: Dec 2006
Posts: 18

Original Poster
Rep: Reputation: 0
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
 
Old 02-22-2009, 11:16 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
or export the include file from ./configure
run
Code:
./configure --help
for the instructions
 
Old 02-22-2009, 11:17 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
or export the include file from ./configure
run
Code:
./configure --help
for the instructions
 
Old 02-22-2009, 11:57 AM   #9
paulclark
LQ Newbie
 
Registered: Dec 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Do you mean I should look at ./configure --help in Openoffice or libXrender?
 
Old 02-22-2009, 12:23 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
your problem is with Openoffice so...
 
Old 02-24-2009, 05:58 PM   #11
paulclark
LQ Newbie
 
Registered: Dec 2006
Posts: 18

Original Poster
Rep: Reputation: 0
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"?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openoffice 1.1.4 make error while compiling flash? behmjoe Linux - Software 0 04-29-2005 05:35 PM
Building project jvmaccess error in compiling OpenOffice subirbp Debian 0 11-23-2004 05:05 AM
error compiling openoffice 1.1.3 on morphix subirbp Debian 0 11-21-2004 02:04 AM
error compiling openoffice on morphix subirbp Debian 0 11-05-2004 03:57 AM
compiling openoffice busbarn Slackware 8 10-25-2004 12:54 PM


All times are GMT -5. The time now is 10:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration