[ooo-build] libpixmap proble using --enable-cairo and --without-system-cairo

Petr Mladek pmladek at suse.cz
Tue Dec 22 02:24:48 PST 2009


On Monday 21 December 2009, Kálmán „KAMI” Szalai wrote:
> Hi Friends of OOo,
>
> I just created a build with Cairo enabled based on ooo-build-3.2.0.1 /
> OOO320M8 and I found when I enable cairo without system cairo, the build
> breaks on Linux 32 (Ubuntu 9.10) because it creates static
> (libpixman-1.a) library instead of dynamic.
>
> instsetoo_native module:
> "
> ... languages en-US ...
> ... analyzing files ...
> ERROR: The following files could not be found:
> ERROR: File not found: libpixman-1.so.0
> ... cleaning the output tree ...
> "
>
> I saw the note in makefile.mk:
> # Note: we are building static pixman library to avoid linking problems.
> # However, for Unix dynamic library must be used (especially due to
> 64bit issues)
>
> And:
> # use static lib to avoid linking problems with older system pixman libs
> CONFIGURE_FLAGS=--enable-static=yes --enable-shared=no
>
> Is it a real problem this time? I am asking it because this library
> static building breaks the packaing.

Could you please try the attached patch?

It mentions libpixman for the installer only when the dynamic library is 
built. The condition
.IF "$(OS)" !="WNT" && "$(GUIBASE)" !="aqua" && "$(CPUNAME)" =="X86_64"
is based on the conditions in cairo/pixman/makefile.mk. It seems that the 
static library is used in all other conditions.


Best Regards,
Petr

PS: Sigh, I have created the diff yeasterday, was interrupted and forgot to 
send it :-(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file_library_ooo.scp.diff
Type: text/x-diff
Size: 558 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/ooo-build/attachments/20091222/e596ba95/attachment.diff 


More information about the ooo-build mailing list