You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by acrux <ac...@libero.it> on 2012/05/17 00:20:57 UTC

sw module error building on linux ppc64

hi,
i'm unable to build aoo-3.4.0 from sources on linux ppc64 (crux ppc 64bit).
I always get this error on sw module... here the log:
http://cruxppc.org/~acrux/sw.log

I also tried  using external cppunit-1.12.1 (with-system-cppunit) and 
adding -mminimal-toc -fno-optimize-sibling-calls flags

My configure:
./configure --prefix=/usr \
                --with-alloc=system \
                --with-build-version="cruxppc-2.7-ppc64" \
                --with-vendor="CRUX PPC" \
                --disable-online-update \
                --with-dmake-url=dmake-4.12.tar.bz2 \
                --enable-cairo \
                --disable-dbus \
                --enable-presenter-console \
                --enable-minimizer \
                --with-system-libs \
                --without-system-redland \
                --without-system-jars \
                --with-system-cppunit \
                --without-junit \
                --without-system-icu \
                --without-system-boost \
                --disable-mozilla \
                --disable-epm \
                --disable-pam \
                --with-jdk-home=/usr/lib/jvm/java-1.6.0-openjdk.ppc64 \
                --with-package-format=native \
                --without-system-libwpd \
                --without-system-poppler \
                --without-system-mythes \
                --disable-Xaw \
                --disable-gnome-vfs \
                --disable-gconf \
                --enable-wiki-publisher \
                --disable-pdfimport \
                --disable-binfilter \
                --disable-fetch-external \
                --with-external-tar=$SRC/external \
                --enable-category-b \
                --disable-beanshell \
                --without-system-hunspell \
                --without-system-saxon \
                --without-system-graphite \
                --enable-bundled-dictionaries \
                --without-system-hyphen

my build system is CRUX PPC 2.7 (64bit) powerpc64 
linux-3.4.0-rc7, binutils-2.21, gcc-4.5.3, glibc-2.12.2
and openjdk icedtea6-1.11.2 and external source from here:
http://svn.apache.org/repos/asf/incubator/ooo/tags/AOO340/ext_sources/


cheers,
--nico
-- 
acrux <ac...@libero.it>

Re: how export write to Macromedia Flash swf format?

Posted by Joost Andrae <Jo...@gmx.de>.
Hi,

in Impress you can select /file/export. Within the filter selection box 
you can choose "swf".

Am 17.05.2012 04:00, schrieb Liu Da Li:
> It seems that there doesn't exist such filter in Openoffice,export write to
> flash.
>
> 2012/5/17 jianlizhao<ji...@hotmail.com>
>
>> OpenOffice.org can export draw and Impress to Macromedia Flash swf format,
>> how export write  to Macromedia Flash swf format?
>>
>>
>

Kind regards, Joost


Re: how export write to Macromedia Flash swf format?

Posted by Louis Suárez-Potts <lu...@gmail.com>.
On 2012-05-16, at 22:13 , jianlizhao wrote:

> Whether there are 3rd party extension with OpenOffice.org, that can  export
> write to Macromedia Flash swf format

I believe that prior to OOo 3 (but maybe another milestone) OOo had Flash export. Certainly, I used it, and it was not via extension. I believe that the advent of 3.0, with all its changes, made Flash export history.

However, this is intriguing as a new option, as quite possibly Adobe, which also maintains an Apache project(s), as well as some key personnel (and quite a few other open source efforts), might be interested in such an extension. "Interest" would mean something like helping to create the thing and also popularizing its existence and use in order to expand its own market—and implicitly, ours.

-louis
> 
> 
> 
> -----邮件原件-----
> 发件人: Liu Da Li [mailto:wawalovo@gmail.com] 
> 发送时间: 2012年5月17日 10:00
> 收件人: ooo-dev@incubator.apache.org
> 主题: Re: how export write to Macromedia Flash swf format?
> 
> It seems that there doesn't exist such filter in Openoffice,export write to
> flash.
> 
> 2012/5/17 jianlizhao <ji...@hotmail.com>
> 
>> OpenOffice.org can export draw and Impress to Macromedia Flash swf format,
>> how export write  to Macromedia Flash swf format?
>> 
>> 
> 


how export write to Macromedia Flash swf format?

Posted by jianlizhao <ji...@hotmail.com>.
Whether there are 3rd party extension with OpenOffice.org, that can  export
write to Macromedia Flash swf format



-----邮件原件-----
发件人: Liu Da Li [mailto:wawalovo@gmail.com] 
发送时间: 2012年5月17日 10:00
收件人: ooo-dev@incubator.apache.org
主题: Re: how export write to Macromedia Flash swf format?

It seems that there doesn't exist such filter in Openoffice,export write to
flash.

2012/5/17 jianlizhao <ji...@hotmail.com>

> OpenOffice.org can export draw and Impress to Macromedia Flash swf format,
> how export write  to Macromedia Flash swf format?
>
>


Re: how export write to Macromedia Flash swf format?

Posted by Liu Da Li <wa...@gmail.com>.
It seems that there doesn't exist such filter in Openoffice,export write to
flash.

2012/5/17 jianlizhao <ji...@hotmail.com>

> OpenOffice.org can export draw and Impress to Macromedia Flash swf format,
> how export write  to Macromedia Flash swf format?
>
>

how export write to Macromedia Flash swf format?

Posted by jianlizhao <ji...@hotmail.com>.
OpenOffice.org can export draw and Impress to Macromedia Flash swf format,
how export write  to Macromedia Flash swf format? 


Re: sw module error building on linux ppc64

Posted by Ariel Constenla-Haile <ar...@apache.org>.
On Wed, May 16, 2012 at 09:13:42PM -0300, Ariel Constenla-Haile wrote:
> Hi Nico,
> 
> On Thu, May 17, 2012 at 12:20:57AM +0200, acrux wrote:
> > 
> > hi,
> > i'm unable to build aoo-3.4.0 from sources on linux ppc64 (crux ppc 64bit).
> > I always get this error on sw module... here the log:
> > http://cruxppc.org/~acrux/sw.log
> > 
> > I also tried  using external cppunit-1.12.1 (with-system-cppunit) and 
> > adding -mminimal-toc -fno-optimize-sibling-calls flags
> 
> searching for "sibling call optimization to does not allow automatic
> multiple TOCs" shows this is a common error in your arch., and is solved
> by adding -mminimal-toc to the compiler flags, just like the output
> suggests. How did you add that flag? Your log misses the important part:
> 
> 
> [ build CXX ] sw/source/core/access/acchypertextdata
> 
> 
> Please re compile that file:
> 
> 
> cd trunk/main/sw
> touch source/core/access/acchypertextdata.cxx
> make -r
> 
> 
> and check that -mminimal-toc is [in] the flags when compiling
> sw/source/core/access/acchypertextdata.cxx

https://bugzilla.mozilla.org/show_bug.cgi?id=412220 also suggests adding
-mno-fp-in-toc -mno-sum-in-toc


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: sw module error building on linux ppc64

Posted by acrux <ac...@libero.it>.
On Sun, 20 May 2012 01:43:37 -0300
Ariel Constenla-Haile <ar...@apache.org> wrote:

_omissis__
> 
> I didn't notice we have CFLAGSCXX+=-mminimal-toc in solenv/inc/unxlngppc64.mk
> This is then an issue with the new build environment based on GNU Make.
> Can you test if the attached patch works?
> 
> 


yes, it works fine.

cheers,
--nico
-- 
acrux <ac...@libero.it>

Re: sw module error building on linux ppc64

Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi Nico,

On Sun, May 20, 2012 at 05:45:21AM +0200, acrux wrote:
> I've now performed a successfully linux build on both ppc and ppc64.
> http://cruxppc.org/viewvc/opt/branches/2.7/openoffice/

Congratulations! :)

> 
> I hope that 3.4.1 release could also fix these points:
> 1) --disable-online-update configure feature should not break the build
> process ;

Fixed with http://svn.apache.org/viewvc?view=revision&revision=1340619

> 2) there is a nice -DPOWERPC (defined in
> main/solenv/inc/unxlngppc64.mk) that could be used to solve the
> - -mminimal-toc -fno-optimize-siblig-calls cxxflags issue on ppc64.

I didn't notice we have CFLAGSCXX+=-mminimal-toc in solenv/inc/unxlngppc64.mk
This is then an issue with the new build environment based on GNU Make.
Can you test if the attached patch works?


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: sw module error building on linux ppc64

Posted by acrux <ac...@libero.it>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 18 May 2012 18:55:49 -0300
Ariel Constenla-Haile <ar...@apache.org> wrote:

> 
> Hi Nico,
> 
> On Fri, May 18, 2012 at 07:01:48PM +0200, acrux wrote:
> > Anyway, now i need to understand why i get this one:
> > ERROR: File not found: upden-US.res
> 
> This resource file is built in the main/extensions module, from
> extensions/source/update/check/*.src 
> 
> You should find it in extensions/unxlngppc64.pro/bin/upden-US.res. If
> not, rebuild that module and deliver it. If you still don't find it,
> then there is an error, and it is not being built at all (may be
> ENABLE_ONLINE_UPDATE isn't set to YES? Please look in
> LinuxPPC64Env.Set.sh if it is set to YES).
> 
> 

hi Ariel,
yep, you really know your code! I was obliged to enable online update
altough is useless for a source based distro. 

I've now performed a successfully linux build on both ppc and ppc64.
http://cruxppc.org/viewvc/opt/branches/2.7/openoffice/

I hope that 3.4.1 release could also fix these points:
1) --disable-online-update configure feature should not break the build
process ;
2) there is a nice -DPOWERPC (defined in
main/solenv/inc/unxlngppc64.mk) that could be used to solve the
- -mminimal-toc -fno-optimize-siblig-calls cxxflags issue on ppc64.


cheers,
- --nico
- -- 
GNU/Linux on Power Architecture
CRUX PPC - http://cruxppc.org/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)

iEYEARECAAYFAk+4aNQACgkQxq34tDeO7LgnjwCeLlj/hvqHJJotUIAGusxb6Sgf
2SIAniisGXX9B865LGUnf7xdx/A7BsEv
=5WdG
-----END PGP SIGNATURE-----

Re: sw module error building on linux ppc64

Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi Nico,

On Fri, May 18, 2012 at 07:01:48PM +0200, acrux wrote:
> Anyway, now i need to understand why i get this one:
> ERROR: File not found: upden-US.res

This resource file is built in the main/extensions module, from
extensions/source/update/check/*.src 

You should find it in extensions/unxlngppc64.pro/bin/upden-US.res. If
not, rebuild that module and deliver it. If you still don't find it,
then there is an error, and it is not being built at all (may be
ENABLE_ONLINE_UPDATE isn't set to YES? Please look in
LinuxPPC64Env.Set.sh if it is set to YES).


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: sw module error building on linux ppc64

Posted by acrux <ac...@libero.it>.
On Thu, 17 May 2012 14:43:57 -0300
Ariel Constenla-Haile <ar...@apache.org> wrote:

_omissis__
> > And still no succes also adding -mno-fp-in-toc -mno-sum-in-toc CXXFLAGS
> 
> AFAIK our gbuild environment will not recognize it, you should add them
> to the gb_CXXFLAGS
> 
> 

hallo Ariel,
thanks a lot for your support. It was a mistake of mine proper adding CXXFLAGS...
Asap, i'll try a native build on ppc (32bit) too. 
Indeed it fixes my build error:

root@radio:/mnt/EXT/aoo# cat ppc64-cxxflags.patch
--- a/solenv/gbuild/platform/linux.mk   2012-05-18 03:31:50.338498189 +0200
+++ b/solenv/gbuild/platform/linux.mk   2012-05-18 04:35:34.238439552 +0200
@@ -83,6 +83,8 @@
        -pipe \

 gb_CXXFLAGS := \
+       -fno-optimize-sibling-calls \
+       -mminimal-toc \
        -Wall \
        -Wendif-labels \
        -Wextra \


Anyway, now i need to understand why i get this one:
ERROR: File not found: upden-US.res

here from build log:
[...]
... creating log file log_AOO340_en-US.log
Fri May 18 18:39:15 2012 (00:04 min.)
... reading include pathes ...
... analyzing script: /mnt/EXT/aoo/work/src/aoo-3.4.0/main/solver/340/unxlngppc64.pro/bin/setup_osl.ins ...
... analyzing directories ...
... analyzing files ...
... analyzing scpactions ...
... analyzing shortcuts ...
... analyzing unix links ...
... analyzing profile ...
... analyzing profileitems ...
... analyzing modules ...
------------------------------------
... languages en-US ...
... reading include pathes ...
... analyzing script: /mnt/EXT/aoo/work/src/aoo-3.4.0/main/solver/340/unxlngppc64.pro/bin/setup_osl.ins ...
... analyzing directories ...
... analyzing files ...
... analyzing scpactions ...
... analyzing shortcuts ...
... analyzing unix links ...
... analyzing profile ...
... analyzing profileitems ...
... analyzing modules ...
------------------------------------
... languages en-US ...

**************************************************
ERROR: ERROR: Missing files
in function: remove_Files_Without_Sourcedirectory
**************************************************

**************************************************
ERROR: Saved logfile: /mnt/EXT/aoo/work/src/aoo-3.4.0/main/instsetoo_native/unxlngppc64.pro/OpenOffice/native/logging/en-US/log_AOO340_en-US.log
**************************************************
... analyzing files ...
preparing 0 extension blobs for language en-US:
preparing 0 bundled extensions for language en-US:

ERROR: The following files could not be found:
ERROR: File not found: upden-US.res
... cleaning the output tree ...
... removing directory /tmp/ooopackaging/i_83161337359151 ...
Fri May 18 18:39:17 2012 (00:06 min.)
dmake:  Error code 255, while making 'openoffice_en-US.native'

1 module(s):
        instsetoo_native
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /mnt/EXT/aoo/work/src/aoo-3.4.0/main/instsetoo_native/util

When you have fixed the errors in that module you can resume the build by running:

        build --from instsetoo_native
[...]




cheers,
--nico
-- 
acrux <ac...@libero.it>

Re: sw module error building on linux ppc64

Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi Nico,

On Thu, May 17, 2012 at 05:07:31PM +0200, acrux wrote:
> > > hi,
> > > i'm unable to build aoo-3.4.0 from sources on linux ppc64 (crux ppc 64bit).
> > > I always get this error on sw module... here the log:
> > > http://cruxppc.org/~acrux/sw.log
> > > 
> > > I also tried  using external cppunit-1.12.1 (with-system-cppunit) and 
> > > adding -mminimal-toc -fno-optimize-sibling-calls flags
> > 
> > searching for "sibling call optimization to does not allow automatic
> > multiple TOCs" shows this is a common error in your arch., and is solved
> > by adding -mminimal-toc to the compiler flags, just like the output
> > suggests. How did you add that flag? Your log misses the important part:
> > 
> > 
> 
> hallo Ariel,
> 
> i did something like this:
> 
> --- a/main/solenv/gbuild/platform/linux.mk
> +++ b/main/solenv/gbuild/platform/linux.mk
> @@ -253,7 +253,7 @@
>  # Library class
> 
>  gb_Library_DEFS :=
> -gb_Library_TARGETTYPEFLAGS := -shared -Wl,-z,noexecstack
> +gb_Library_TARGETTYPEFLAGS := -shared -mno-fp-in-toc -mno-sum-in-toc -fno-optimize-sibling-calls -mminimal-toc -Wl,-z,noexecstack
>  gb_Library_SYSPRE := lib
>  gb_Library_UNOVERPRE := $(gb_Library_SYSPRE)uno_
>  gb_Library_PLAINEXT := .so
> 

If I understood clearly, all fixes to this issue add these flags to the
CFLAGS/CXXFLAGS, that is, to the compiler flags, not the linker.
So you should add them to gb_CXXFLAGS and then re-compile the object files
(not only re-link the library).


cd sw/
make -r clean
make -r


> 
> 
> > [ build CXX ] sw/source/core/access/acchypertextdata

That was why I was telling to recompile the file. The way you added the
flags, they are added to the linker command.


> > Please re compile that file:
> > 
> > 
> > cd trunk/main/sw
> > touch source/core/access/acchypertextdata.cxx
> > make -r
> > 
> > 
> > and check that -mminimal-toc is the flags whem compiling
> > sw/source/core/access/acchypertextdata.cxx
> > 
> 
> from trunk? It seems to be always the same file from tag/sAOO340

just use the same sources you are using right now.


> And still no succes also adding -mno-fp-in-toc -mno-sum-in-toc CXXFLAGS

AFAIK our gbuild environment will not recognize it, you should add them
to the gb_CXXFLAGS


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina

Re: sw module error building on linux ppc64

Posted by acrux <ac...@libero.it>.
On Wed, 16 May 2012 21:13:42 -0300
Ariel Constenla-Haile <ar...@apache.org> wrote:

> Hi Nico,
> 
> On Thu, May 17, 2012 at 12:20:57AM +0200, acrux wrote:
> > 
> > hi,
> > i'm unable to build aoo-3.4.0 from sources on linux ppc64 (crux ppc 64bit).
> > I always get this error on sw module... here the log:
> > http://cruxppc.org/~acrux/sw.log
> > 
> > I also tried  using external cppunit-1.12.1 (with-system-cppunit) and 
> > adding -mminimal-toc -fno-optimize-sibling-calls flags
> 
> searching for "sibling call optimization to does not allow automatic
> multiple TOCs" shows this is a common error in your arch., and is solved
> by adding -mminimal-toc to the compiler flags, just like the output
> suggests. How did you add that flag? Your log misses the important part:
> 
> 

hallo Ariel,

i did something like this:

--- a/main/solenv/gbuild/platform/linux.mk
+++ b/main/solenv/gbuild/platform/linux.mk
@@ -253,7 +253,7 @@
 # Library class

 gb_Library_DEFS :=
-gb_Library_TARGETTYPEFLAGS := -shared -Wl,-z,noexecstack
+gb_Library_TARGETTYPEFLAGS := -shared -mno-fp-in-toc -mno-sum-in-toc -fno-optimize-sibling-calls -mminimal-toc -Wl,-z,noexecstack
 gb_Library_SYSPRE := lib
 gb_Library_UNOVERPRE := $(gb_Library_SYSPRE)uno_
 gb_Library_PLAINEXT := .so



> [ build CXX ] sw/source/core/access/acchypertextdata
> 
> 
> Please re compile that file:
> 
> 
> cd trunk/main/sw
> touch source/core/access/acchypertextdata.cxx
> make -r
> 
> 
> and check that -mminimal-toc is the flags whem compiling
> sw/source/core/access/acchypertextdata.cxx
> 

from trunk? It seems to be always the same file from tag/sAOO340

And still no succes also adding -mno-fp-in-toc -mno-sum-in-toc CXXFLAGS
Btw, I never experienced that kind of problem building old releases:
http://cruxppc.org/viewvc/opt/branches/2.7/openoffice/


--nico
-- 
acrux <ac...@libero.it>

Re: sw module error building on linux ppc64

Posted by Ariel Constenla-Haile <ar...@apache.org>.
Hi Nico,

On Thu, May 17, 2012 at 12:20:57AM +0200, acrux wrote:
> 
> hi,
> i'm unable to build aoo-3.4.0 from sources on linux ppc64 (crux ppc 64bit).
> I always get this error on sw module... here the log:
> http://cruxppc.org/~acrux/sw.log
> 
> I also tried  using external cppunit-1.12.1 (with-system-cppunit) and 
> adding -mminimal-toc -fno-optimize-sibling-calls flags

searching for "sibling call optimization to does not allow automatic
multiple TOCs" shows this is a common error in your arch., and is solved
by adding -mminimal-toc to the compiler flags, just like the output
suggests. How did you add that flag? Your log misses the important part:


[ build CXX ] sw/source/core/access/acchypertextdata


Please re compile that file:


cd trunk/main/sw
touch source/core/access/acchypertextdata.cxx
make -r


and check that -mminimal-toc is the flags whem compiling
sw/source/core/access/acchypertextdata.cxx


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina