Re: [dev] Openoffice build woes - Ubuntu

2010-06-07 Thread Mathias Bauer

On 07.06.2010 07:31, Aditya Manthramurthy wrote:


Entering /home/aditya/Code/ooo/ooo-try/instsetoo_native/util

dmake: makefile.mk: line 216: Error: -- Missing targets or attributes in
rule

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

Reason(s):


Attention: if you fix the errors in above module(s) you may prolongue
your the build issuing command:

build --all:instsetoo_native


===

Line 216 in instsetoo_native/util/makefile.mk has something to do with
jre, and I am building without Java support. Is that the problem?


Without a closer analysis, that's possible. I hope that someone else can 
comment on that. Perhaps you can comment out everything containing 
withjre as a workaround?


BTW: did you notice the

--enable-gnome^Cfs

in your command line for configure? Is that a CP error in the mail or 
did you use it that way?


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Openoffice build woes - Ubuntu

2010-06-07 Thread Christian Lohmaier
Hi *,

my 0,02€

On Sun, Jun 6, 2010 at 1:32 AM, Aditya Manthramurthy
aditya@gmail.com wrote:

Man, your configure line is a monster

 ./configure --disable-binfilter --disable-crashdump
 --with-lang=en-US cs de nl ja

en-US is always built, no need to specify it. And of course you need
to quote the list
--with-lang=cs de nl ja

 --with-use-shell=bash --without-gpc --without-agg

-without-agg and later: --with-system-agg. Make up your mind.

 --disable-epm

Don't want installsets in deb-format? Your choice.

 --with-openldap --with-build-version=3.2.0 --without-fonts
 --with-system-jpeg --with-system-libxml --with-system-mozilla

--with-system-mozilla and later --with-system-mozilla=libxul redundant.

Besides: All that --with-system switches: Why not use
--with-system-libs and --with-system-headers instead? Wouls make it
more readable.

  [...] --disable-fontooo
obsolete, no such switch anymore anyway... Similar for others

 [...] --with-distro=Debian --with-additional-sections=CalcRowLimit,OOXMLExport

No such switches in vanilla OOo. Similar with others.

 --disable-mono --without-java --with-system-agg --with-system-altlinuxhyph

Why disable java? You won't be able to use xslt filters, free-search
in Help won't work, etc.

 [...]
 ./bootstrap

 This worked though it took some time downloading binaries
 (http://hg.services.openoffice.org/binaries/).

Only downloaded once, given that you won't rm -rf the ext_sources
directory (If you want to store them in a different location, set
TARFILE_LOCATION environment variable)

 Next:
 -
 source  LinuxX86-64Env.Set.sh
 cd instsetoo_native/  build --all

If you got a multiprocessor system: Take advantage of parallel build
using -Pbuild# -- -Pdmake#

 [...]

Actual problem was answered by Mathias already

ciao
Chrisitan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Openoffice build woes - Ubuntu

2010-06-07 Thread Aditya Manthramurthy

Hi,

On Monday 07 June 2010 03:54 PM, Christian Lohmaier wrote:

Hi *,

my 0,02€

On Sun, Jun 6, 2010 at 1:32 AM, Aditya Manthramurthy
aditya@gmail.com  wrote:

Man, your configure line is a monster
Yes it is. I got it from a user on IRC (janneke) who told me that this 
line worked for Ubuntu 10.04 (it still has not worked for me yet!) 
Thanks for all your suggestions. I have cleaned up my configure line, so 
that it looks like this now:


./configure --disable-binfilter --disable-crashdump  
--with-use-shell=bash --without-java --without-gpc  --with-openldap 
--with-build-version=3.2.0 --without-fonts 
--with-unix-wrapper=ooffice3.2 --enable-evolution2 --enable-dbus 
--with-alloc=system --with-vba-package-format=builtin --enable-cairo=yes 
--enable-gtk --without-myspell-dicts --enable-gnome-vfs 
--enable-crypt-link --enable-pam-link --with-dynamic-xinerama 
--enable-xsltproc --with-linker-hash-style=both 
--with-gcc-speedup=ccache --with-git --with-git-managed --enable-symbols 
--disable-mono --disable-kde --disable-kde4  
--with-mingwin=/usr/bin/i586-mingw32msvc-g++ --with-system-libs 
--with-system-headers  --without-system-lucene --without-system-saxon 
--without-system-agg --without-system-lpsolve --without-system-mythes


Any suggestions? lucene, saxon, agg, lpsolve, mythes all won't accept 
the system libraries for some reason, so they are all with a 
--without-system- prefix above.


It is building right now. But I somehow feel pessimistic :-(


--disable-epm


Don't want installsets in deb-format? Your choice.

I don't understand what this means. Can you please explain?


--disable-mono --without-java --with-system-agg --with-system-altlinuxhyph


Why disable java? You won't be able to use xslt filters, free-search
in Help won't work, etc.



When I try to build with java, the configure system wants a file called 
saxon.jar, which I have in my distro from the libsaxon-java package but 
it's not the right version because the configure script exits with this 
error:


checking if saxon works... no
configure: error: saxontest could not be compiled, non-functional saxon jar

I am not sure how I can fix this, so I've disabled java itself for now.

I'd like a configure line for Ubuntu 10.04 Lucid that actually worked 
for someone. Also, Mathias Bauer's suggestion did not work for me. 
Commenting out the withjre from that makefile also failed. Any help is 
appreciated!


--
Aditya.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Openoffice build woes - Ubuntu

2010-06-07 Thread Björn Michaelsen
Am Mon, 07 Jun 2010 19:05:12 +0530
schrieb Aditya Manthramurthy aditya@gmail.com:

 /configure --disable-binfilter --disable-crashdump  
 --with-use-shell=bash --without-java --without-gpc  --with-openldap 
 --with-build-version=3.2.0 --without-fonts 
 --with-unix-wrapper=ooffice3.2 --enable-evolution2 --enable-dbus 
 --with-alloc=system --with-vba-package-format=builtin
 --enable-cairo=yes --enable-gtk --without-myspell-dicts
 --enable-gnome-vfs --enable-crypt-link --enable-pam-link
 --with-dynamic-xinerama --enable-xsltproc
 --with-linker-hash-style=both --with-gcc-speedup=ccache --with-git
 --with-git-managed --enable-symbols --disable-mono --disable-kde
 --disable-kde4 --with-mingwin=/usr/bin/i586-mingw32msvc-g++
 --with-system-libs --with-system-headers  --without-system-lucene
 --without-system-saxon --without-system-agg --without-system-lpsolve
 --without-system-mythes
 
 Any suggestions? lucene, saxon, agg, lpsolve, mythes all won't accept 
 the system libraries for some reason, so they are all with a 
 --without-system- prefix above.
 
 It is building right now. But I somehow feel pessimistic :-(
Well, for starters a simple configure like:

./configure --disable-binfilter --disable-mozilla --without-junit \
 --with-use-shell=bash

should do on pretty much every linux disto. It might build more stuff
than you need (because it does not use your system libs), but it is a
lot saver (because it uses the stuff in the office repositories). I
would suggest to start with that and if only if that works to go and try
the more fancy configure switches, if needed.

see also:
http://cedric.bosdonnat.free.fr/wordpress/?p=637cpage=1
http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide

Best Regards,

Bjoern

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Openoffice build woes - Ubuntu

2010-06-07 Thread Mathias Bauer

On 06/07/2010 03:35 PM, Aditya Manthramurthy wrote:


I'd like a configure line for Ubuntu 10.04 Lucid that actually worked
for someone. Also, Mathias Bauer's suggestion did not work for me.
Commenting out the withjre from that makefile also failed. Any help is
appreciated!


If you don't insist on using everything from system - my configure line 
for Ubuntu is just


--with-use-shell=bash
--disable-build-mozilla

and it works if I have installed the following packages before:

g++ bison flex libarchive-zip-perl libcups2-dev libpam0g-dev 
sun-java6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev 
libxrandr-dev patch libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit4


AFAIK building with system libs also works on Ubuntu, but I never tried 
it myself. Your configure cmd line is *much* too big, probably because 
it was created from someone who uses the ooo-build system. Especially on 
Ubuntu the vanilla build seems to work better.


Regards,
Mathias

--
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to nospamfor...@gmx.de.
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] Openoffice build woes - Ubuntu

2010-06-06 Thread Mathias Bauer

Hi,

your problem is --enable-layout. This is still experimental. If you 
don't need it, don't use it. If you reconfigure your OOo build system 
without that switch, you don't need to rebuild anything. toolkit is 
the first module that uses that switch. Just remove the output tree in 
that module and proceed with the build.


Regards,
Mathias

On 06.06.2010 07:32, Aditya Manthramurthy wrote:

Hello,

I have been trying to build OOo on Ubuntu from source. I have tried both
Ubuntu 10.04 (Lucid) and Ubuntu 9.10 (Karmic). I have tried both
DEV300_m80 and DEV300_m79 in each of them! I am trying to use system
libraries mostly. I still keep getting a error while building toolkit.
Please help me!

The Ubuntu platforms were both fresh installs (one of them in a VM). I
did a sudo apt-get build-dep openoffice.org and then:

Configure command:
--

./configure --disable-binfilter --disable-crashdump --with-lang=en-US cs
de nl ja --with-use-shell=bash --without-gpc --without-agg --disable-epm
--with-openldap --with-build-version=3.2.0 --without-fonts
--with-system-jpeg --with-system-libxml --with-system-mozilla
--with-system-python --with-system-stdlibs --with-system-zlib
--with-system-poppler --with-unix-wrapper=ooffice3.2 --enable-evolution2
--enable-dbus --with-alloc=system --with-vba-package-format=builtin
--enable-cairo=yes --enable-gtk --without-myspell-dicts
--disable-fontooo --with-system-expat --with-system-odbc-headers
--with-system-curl --with-system-sane-header
--with-system-xrender-headers --enable-gnome-vfs --with-system-db
--enable-crypt-link --enable-pam-link --with-dynamic-xinerama
--enable-xsltproc --disable-access --with-linker-hash-style=both
--with-distro=Debian --with-additional-sections=CalcRowLimit,OOXMLExport
--enable-layout --disable-mediawiki --with-gcc-speedup=ccache --with-git
--with-git-managed --enable-symbols --disable-strip
--with-icecream-bindir=/usr/lib/icecc/bin --disable-mono --without-java
--with-system-agg --with-system-altlinuxhyph
--with-system-apache-commons --with-system-beanshell --with-system-boost
--with-system-cairo --with-system-dicts --with-system-hsqldb
--with-system-hunspell --with-system-libwpd --with-system-libwpg
--with-system-libwps --with-system-libxslt --without-system-lpsolve
--without-system-mythes --with-system-neon --with-system-openssl
--with-system-redland --with-system-sablot --with-system-vigra
--with-system-xmlsec --with-system-mozilla=libxul --disable-kde
--disable-kde4

I am unable to get configure to work with system lpsolve libs or with
system mythes libs (so they are disabled in the configure command). The
above configure command worked with only a warning about restricted
features because java is disabled.

Bootstrap:
-
./bootstrap

This worked though it took some time downloading binaries
(http://hg.services.openoffice.org/binaries/).

Next:
-
source LinuxX86-64Env.Set.sh
cd instsetoo_native/  build --all

The build works for quite sometime until it starts compiling toolkit:

=
Building module toolkit
=

Entering /home/aditya/Code/dev300-base/toolkit/inc

mkout -- version: 1.8

Entering /home/aditya/Code/dev300-base/toolkit/source/layout/vcl

Making: all_layout-vcl.dpslo
Compiling: toolkit/source/layout/vcl/wrapper.cxx
Compiling: toolkit/source/layout/vcl/wbutton.cxx
Compiling: toolkit/source/layout/vcl/wcontainer.cxx
Compiling: toolkit/source/layout/vcl/wfield.cxx
Making: layout-vcl.lib
Making: all_layout-vcl.dpslo

Entering /home/aditya/Code/dev300-base/toolkit/source/awt

Making: all_awt.dpslo
Making: awt.dpr
Making: awt.awt.dprr
Compiling: toolkit/source/awt/vclxaccessiblecomponent.cxx
Compiling: toolkit/source/awt/vclxbitmap.cxx
Compiling: toolkit/source/awt/vclxcontainer.cxx
Compiling: toolkit/source/awt/vclxdevice.cxx
Compiling: toolkit/source/awt/vclxfont.cxx
Compiling: toolkit/source/awt/vclxgraphics.cxx
Compiling: toolkit/source/awt/vclxmenu.cxx
Compiling: toolkit/source/awt/vclxpointer.cxx
Compiling: toolkit/source/awt/vclxprinter.cxx
Compiling: toolkit/source/awt/vclxregion.cxx
Compiling: toolkit/source/awt/vclxsystemdependentwindow.cxx
Compiling: toolkit/source/awt/vclxtoolkit.cxx
Compiling: toolkit/source/awt/vclxtopwindow.cxx
Compiling: toolkit/source/awt/vclxwindow.cxx
Compiling: toolkit/source/awt/vclxwindow1.cxx
Compiling: toolkit/source/awt/vclxwindows.cxx
Compiling: toolkit/source/awt/vclxspinbutton.cxx
Compiling: toolkit/source/awt/xsimpleanimation.cxx
Compiling: toolkit/source/awt/xthrobber.cxx
Compiling: toolkit/source/awt/asynccallback.cxx
Compiling: toolkit/source/awt/vclxbutton.cxx
Compiling: toolkit/source/awt/vclxdialog.cxx
Compiling: toolkit/source/awt/vclxfixedline.cxx
Compiling: toolkit/source/awt/vclxplugin.cxx
Compiling: toolkit/source/awt/vclxscroller.cxx
Compiling: toolkit/source/awt/vclxsplitter.cxx
Compiling: toolkit/source/awt/vclxtabcontrol.cxx
Compiling: toolkit/source/awt/vclxtabpage.cxx
Making: awt.lib

Re: [dev] Openoffice build woes - Ubuntu

2010-06-06 Thread Aditya Manthramurthy

Hi,

On Sunday 06 June 2010 04:27 PM, Mathias Bauer wrote:

Hi,

your problem is --enable-layout. This is still experimental. If you 
don't need it, don't use it. If you reconfigure your OOo build system 
without that switch, you don't need to rebuild anything. toolkit is 
the first module that uses that switch. Just remove the output tree in 
that module and proceed with the build.




Thanks for the help. Removing that option got rid of the error in the 
toolkit module. But the build again gives an error, this time in the 
module instsetoo_native.


The configure command used is as follows:

./configure --disable-binfilter --disable-crashdump --with-lang=en-US  
--with-use-shell=bash --without-gpc --without-agg --disable-epm 
--with-openldap --with-build-version=3.2.0 --without-fonts 
--with-system-jpeg --with-system-libxml --with-system-mozilla 
--with-system-python --with-system-stdlibs --with-system-zlib 
--with-system-poppler --with-unix-wrapper=ooffice3.2 --enable-evolution2 
--enable-dbus --with-alloc=system --with-vba-package-format=builtin 
--enable-cairo=yes --enable-gtk --without-myspell-dicts 
--disable-fontooo --with-system-expat --with-system-odbc-headers 
--with-system-curl --with-system-sane-header 
--with-system-xrender-headers --enable-gnome^Cfs --with-system-db 
--enable-crypt-link --enable-pam-link --with-dynamic-xinerama 
--enable-xsltproc --disable-access --with-linker-hash-style=both 
--with-distro=Debian 
--with-additional-sections=CalcRowLimit,OOXMLExport  --disable-mediawiki 
--with-gcc-speedup=ccache --with-git --with-git-managed --enable-symbols 
--disable-strip --disable-mono --without-java --with-system-agg 
--with-system-altlinuxhyph --with-system-apache-commons 
--with-system-beanshell --with-system-boost --with-system-cairo 
--with-system-dicts --with-system-hsqldb --with-system-hunspell 
--with-system-libwpd --with-system-libwpg --with-system-libwps 
--with-system-libxslt --without-system-lpsolve --without-system-mythes 
--with-system-neon --with-system-openssl --with-system-redland 
--with-system-sablot --with-system-vigra --with-system-xmlsec 
--with-system-mozilla=libxul --disable-kde --disable-kde4




Build log:




=
Building module instsetoo_native
=

Entering 
/home/aditya/Code/ooo/ooo-try/instsetoo_native/inc_openoffice/windows/msi_languages


mkout -- version: 1.8

Entering /home/aditya/Code/ooo/ooo-try/instsetoo_native/inc_openoffice/unix


Entering /home/aditya/Code/ooo/ooo-try/instsetoo_native/util

dmake:  makefile.mk:  line 216:  Error: -- Missing targets or attributes 
in rule


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

Reason(s):


Attention: if you fix the errors in above module(s) you may prolongue 
your the build issuing command:


build --all:instsetoo_native


===

Line 216 in instsetoo_native/util/makefile.mk has something to do with 
jre, and I am building without Java support. Is that the problem?


Thanks in advance!
--Aditya.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] Openoffice build woes - Ubuntu

2010-06-05 Thread Aditya Manthramurthy

Hello,

I have been trying to build OOo on Ubuntu from source. I have tried both 
Ubuntu 10.04 (Lucid) and Ubuntu 9.10 (Karmic). I have tried both 
DEV300_m80 and DEV300_m79 in each of them! I am trying to use system 
libraries mostly. I still keep getting a error while building toolkit. 
Please help me!


The Ubuntu platforms were both fresh installs (one of them in a VM). I 
did a sudo apt-get build-dep openoffice.org and then:


Configure command:
--

./configure --disable-binfilter --disable-crashdump --with-lang=en-US cs 
de nl ja --with-use-shell=bash --without-gpc --without-agg --disable-epm 
--with-openldap --with-build-version=3.2.0 --without-fonts 
--with-system-jpeg --with-system-libxml --with-system-mozilla 
--with-system-python --with-system-stdlibs --with-system-zlib 
--with-system-poppler --with-unix-wrapper=ooffice3.2 --enable-evolution2 
--enable-dbus --with-alloc=system --with-vba-package-format=builtin 
--enable-cairo=yes --enable-gtk --without-myspell-dicts 
--disable-fontooo --with-system-expat --with-system-odbc-headers 
--with-system-curl --with-system-sane-header 
--with-system-xrender-headers --enable-gnome-vfs --with-system-db 
--enable-crypt-link --enable-pam-link --with-dynamic-xinerama 
--enable-xsltproc --disable-access --with-linker-hash-style=both 
--with-distro=Debian --with-additional-sections=CalcRowLimit,OOXMLExport 
--enable-layout --disable-mediawiki --with-gcc-speedup=ccache --with-git 
--with-git-managed --enable-symbols --disable-strip 
--with-icecream-bindir=/usr/lib/icecc/bin --disable-mono --without-java 
--with-system-agg --with-system-altlinuxhyph 
--with-system-apache-commons --with-system-beanshell --with-system-boost 
--with-system-cairo --with-system-dicts --with-system-hsqldb 
--with-system-hunspell --with-system-libwpd --with-system-libwpg 
--with-system-libwps --with-system-libxslt --without-system-lpsolve 
--without-system-mythes --with-system-neon --with-system-openssl 
--with-system-redland --with-system-sablot --with-system-vigra 
--with-system-xmlsec --with-system-mozilla=libxul --disable-kde 
--disable-kde4


I am unable to get configure to work with system lpsolve libs or with 
system mythes libs (so they are disabled in the configure command). The 
above configure command worked with only a warning about restricted 
features because java is disabled.


Bootstrap:
-
./bootstrap

This worked though it took some time downloading binaries 
(http://hg.services.openoffice.org/binaries/).


Next:
-
source  LinuxX86-64Env.Set.sh
cd instsetoo_native/  build --all

The build works for quite sometime until it starts compiling toolkit:

=
Building module toolkit
=

Entering /home/aditya/Code/dev300-base/toolkit/inc

mkout -- version: 1.8

Entering /home/aditya/Code/dev300-base/toolkit/source/layout/vcl

Making:all_layout-vcl.dpslo
Compiling: toolkit/source/layout/vcl/wrapper.cxx
Compiling: toolkit/source/layout/vcl/wbutton.cxx
Compiling: toolkit/source/layout/vcl/wcontainer.cxx
Compiling: toolkit/source/layout/vcl/wfield.cxx
Making:layout-vcl.lib
Making:all_layout-vcl.dpslo

Entering /home/aditya/Code/dev300-base/toolkit/source/awt

Making:all_awt.dpslo
Making:awt.dpr
Making:awt.awt.dprr
Compiling: toolkit/source/awt/vclxaccessiblecomponent.cxx
Compiling: toolkit/source/awt/vclxbitmap.cxx
Compiling: toolkit/source/awt/vclxcontainer.cxx
Compiling: toolkit/source/awt/vclxdevice.cxx
Compiling: toolkit/source/awt/vclxfont.cxx
Compiling: toolkit/source/awt/vclxgraphics.cxx
Compiling: toolkit/source/awt/vclxmenu.cxx
Compiling: toolkit/source/awt/vclxpointer.cxx
Compiling: toolkit/source/awt/vclxprinter.cxx
Compiling: toolkit/source/awt/vclxregion.cxx
Compiling: toolkit/source/awt/vclxsystemdependentwindow.cxx
Compiling: toolkit/source/awt/vclxtoolkit.cxx
Compiling: toolkit/source/awt/vclxtopwindow.cxx
Compiling: toolkit/source/awt/vclxwindow.cxx
Compiling: toolkit/source/awt/vclxwindow1.cxx
Compiling: toolkit/source/awt/vclxwindows.cxx
Compiling: toolkit/source/awt/vclxspinbutton.cxx
Compiling: toolkit/source/awt/xsimpleanimation.cxx
Compiling: toolkit/source/awt/xthrobber.cxx
Compiling: toolkit/source/awt/asynccallback.cxx
Compiling: toolkit/source/awt/vclxbutton.cxx
Compiling: toolkit/source/awt/vclxdialog.cxx
Compiling: toolkit/source/awt/vclxfixedline.cxx
Compiling: toolkit/source/awt/vclxplugin.cxx
Compiling: toolkit/source/awt/vclxscroller.cxx
Compiling: toolkit/source/awt/vclxsplitter.cxx
Compiling: toolkit/source/awt/vclxtabcontrol.cxx
Compiling: toolkit/source/awt/vclxtabpage.cxx
Making:awt.lib
../../unxlngx6.pro/misc/toolkit/source/awt/localize.sdf
touch ../../unxlngx6.pro/misc/toolkit/source/awt/localize.sdf
Making:xthrobber.src

TransEx 3.1 Copyright 2000, 2010 Oracle and/or its affiliates. All 
Rights Reserved.

=

Processing File xthrobber.src ...