[Libreoffice] Fw: Re: [tdf-discuss] LibreOffice 3.3.3 binaries for Solaris SPARC and Solaris X86

Karl Behler karl.behler at ipp.mpg.de
Thu Jun 30 07:47:01 PDT 2011


So you convinced me to give it a trial, but it fails after a few minutes.

First trial from git .............................................
******************************************************************
What I did so far:

made ~/.../LibreOffice/3331 for my project

cd ~/.../LibreOffice/3331
mkdir startfromgit
cd startfromgit/
git clone git://anongit.freedesktop.org/libreoffice/bootstrap
cd bootstrap/
./autogen.sh --prefix=/opt --with-distro=Solaris --with-max-jobs=3 
--with-num-cpus=2

Can't find distro option set: distro-configs/Solaris.conf
This is not necessarily a problem.
Distros with distro option sets are:
         LibreOfficeAndroid
         LibreOfficeDragonFly
         LibreOfficeLinux
         LibreOfficeMacOSX
         LibreOfficeOpenBSD
         LibreOfficeWin32
         LibreOfficeWin64
         LibreOfficeiOS
         OxygenOfficeLinux
         OxygenOfficeWin32
running ./configure with '--prefix=/opt' '--with-max-jobs=3' 
'--with-num-cpus=2'
********************************************************************
*
*   Running LibreOffice build configuration.
*
********************************************************************

checking build system type... i386-pc-solaris2.10
checking host system type... i386-pc-solaris2.10
checking target system type... i386-pc-solaris2.10
checking for grep that handles long lines and -e... /usr/gnu/bin/grep
checking for egrep... /usr/gnu/bin/grep -E
checking for gawk... gawk
checking for gawk... /usr/gnu/bin/gawk
checking for sed... /bin/sed
checking for bash... /bin/bash
checking for GNU or BSD tar... gtar
checking for gtar... /usr/gnu/bin/gtar
checking the Solaris operating system release... ok (10)
checking the processor type... ok (i386)
checking gcc home... /usr/gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc... /usr/gnu/bin/gcc
checking the GNU C compiler version... checked (gcc 4.5.1)
checking gcc linker... configure: error: failed (not GNU ld). Use GNU ld 
instead of Sun ld on Solaris
2.63user 0.82sys 0:06.86 50.4%

So why is gld not found? (see below!)

Looking for gcc and gld on my system shows both are available but in 
different locations. (In fact I would prefer to build with Solaris 
Compilers and Solaris tools.)

19) where gcc
/usr/gnu/bin/gcc
20) gcc --version
gcc (GCC) 4.5.1
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is 
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.

21) where gld
/opt/csw/bin/gld
22) gld --version
GNU ld (GNU Binutils) 2.20.1.20100303
Copyright 2009 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later 
version.
This program has absolutely no warranty.

Following files have been created by autogen up to the error.
I include config.log for your information.

-rw-r--r--   1 kcb      e2dv           0 Jun 30 13:19 ChangeLog
-rw-r--r--   1 kcb      e2dv       14807 Jun 30 13:19 aclocal.m4
-rwxr-xr-x   1 kcb      e2dv      920381 Jun 30 13:19 configure*
-rw-r--r--   1 kcb      e2dv          72 Jun 30 13:19 autogen.lastrun
drwxr-xr-x   2 kcb      e2dv        2048 Jun 30 13:19 autom4te.cache/
-rw-r--r--   1 kcb      e2dv           0 Jun 30 13:19 warn
-rw-r--r--   1 kcb      e2dv          50 Jun 30 13:19 config.parms
-rw-r--r--   1 kcb      e2dv       20820 Jun 30 13:19 config.log

So this built failed already in configure...
**********************************************************

Next trial from tar ball ..................................
**********************************************************
The next approach was from the tarball libreoffice-build-3.3.3.1.
After unpacking and untar I'm ending with a directory.

cd libreoffice-build-3.3.3.1/

There I did:

     23  10:58   ./autogen.sh --with-num-cpus=2
     24  11:00   vi autogen.sh
     25  11:01   ./autogen.sh --clean
     26  11:01   ./autogen.sh --help
     27  11:04   ./autogen.sh --help | lp
     28  11:12   ./autogen.sh --prefix=/opt --with-distro=Solaris 
--with-max-jobs=3 --with-num-cpus=2

This ends telling me how to go on:

> Building LibreOffice
>         source:             libreoffice-3.3.3.1
>         apply rules:        /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/patches/dev300/apply
>         build dir:          /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/build/libreoffice-3.3.3.1
>         tools dir:          /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1
>         src package dir:    /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/src
>         distro:             Solaris
>         add sections:       no
>         widget sets:        gtk kde kde4
>         gcc to use:         from system
>         openclipart:        no
>         mono bindings:      supported
>         mdbtools/access:    yes
>         java:               yes
>         ooo-install-dir:    ooo-3.3
>         ccache:             no
>         icecream:           no
>         distcc:             no
>         max jobs:           '3'
>         cairo:              yes
>         build type:         product build
>         ooo sources:        use git, clone/fetch from 'git://anongit.freedesktop.org/git/libreoffice'
>         get externals with: /opt/csw/bin/wget
>
> To build run:
>         ./download
>         make
>         bin/ooinstall <path-to-install>
>
>         This is 'libreoffice-3-3-2' - the stable branch for the 3.3.2 release.
>         Every commit has to be reviewed by three people.
>
>         If you want to commit more complicated fix for the next 3.3.x release,
>         please use the 'libreoffice-3-3' branch.
>
>         If you want to build something cool, unstable, and risky, use master.
>
> You are not using icecream
>         Consider reading http://www.gnome.org/~michael/blog/icecream.html
>         and configuring with --with-gcc-speedup=icecream
>
> Warning:
>   You have configured with --with-distro='Solaris'
>   This is -not- recommended until release time. Patches
>   may well not apply for your distro, as they are being
>   rapidly migrated into LibreOffice itself.
>

     30  11:16   ./download

This lasts a while, but then comes up with an error "`(' unexpected"

> No file /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/src/biblio.tar.bz2
> Get http://download.go-oo.org//SRC680/biblio.tar.bz2 -> /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/src/
> --2011-06-30 12:49:34--  http://download.go-oo.org//SRC680/biblio.tar.bz2
> Resolving download.go-oo.org... 195.135.221.70
> Connecting to download.go-oo.org|195.135.221.70|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 6000 (5.9K) [application/x-bzip]
> Saving to: `biblio.tar.bz2'
>
> 100%[======================================>] 6,000       --.-K/s   in 0s
>
> 2011-06-30 12:49:34 (264 MB/s) - `biblio.tar.bz2' saved [6000/6000]
>
> ./download_external_sources.sh: syntax error at line 184: `(' unexpected
> Done
> 268.64user 115.56sys 1:33:25.94 6.8%

   Ignoring this error I was going on to make

> kcb at sxaug21 45) make
> Making all in po
> Making all in sdf-templates
> Making all in desktop
> Making all in 16x16
> Making all in 22x22
> Making all in 24x24
> Making all in 32x32
> Making all in 48x48
> Making all in scalable
> Making all in mimetypes
> Making all in 16x16
> Making all in 22x22
> Making all in 24x24
> Making all in 32x32
> Making all in 48x48
> sed -e "s|\@OOO_BINSUFFIX\@|3.3|" openoffice.applications.in > openoffice.applications
> sed -e "s|\@OOO_BINSUFFIX\@|3.3|" openoffice-extra.keys.in > openoffice-extra.keys
> sed -e "s|\@OOO_BINSUFFIX\@|3.3|" openoffice.keys.in > openoffice.keys
> Making all in distro-configs
> Making all in bin
> Making all in piece
> Making all in etc
> Making all in patches
> Making all in 64bit
> Making all in dev300
> Making all in evo2
> Making all in hotfixes
> Making all in mono
> Making all in ooxml
> Making all in vba
> Making all in postgresql
> Making all in unittesting
> Making all in man
> Making all in doc
> Making all in src
> Making all in helpcontent2
> Making all in icons
> Making all in tango
> Making all in layout
> Making all in sdf
> Making all in stamp
> Making all in templates
> Making all in extensions
> Making all in tweakconfig
> mkdir -p /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/build/bin/tweakconfig && cp -r ./*.xcu ./*.xml META-INF /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/build/bin/tweakconfig/
> awk '{print} /WritePath/ {print "<value>file://../../test</value>" }' ./Paths.xcu > /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/build/bin/tweakconfig/Paths.xcu
> cd /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/build/bin/tweakconfig/ && zip -r /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/build/bin/tweakconfig.oxt .
>   adding: Common.xcu (deflated 75%)
>   adding: Impress.xcu (deflated 39%)
>   adding: Linguistic.xcu (deflated 47%)
>   adding: Paths.xcu (deflated 44%)
>   adding: Recovery.xcu (deflated 39%)
>   adding: description.xml (deflated 48%)
>   adding: META-INF/ (stored 0%)
>   adding: META-INF/manifest.xml (deflated 66%)
>  /bin/bash ./config.status
> config.status: creating bin/font-munge
> config.status: creating bin/help-font-munge
> config.status: creating download
> config.status: creating scratch/place
> config.status: creating intltool-extract
> config.status: creating intltool-merge
> config.status: creating intltool-update
> config.status: creating Makefile
> config.status: creating bin/setup
> config.status: creating bin/Makefile
> config.status: creating patches/dev300/system-python-ure-bootstrap.diff
> config.status: creating patches/dev300/pyuno-ooodir.diff
> config.status: creating patches/dev300/system-python-uno-path.diff
> config.status: creating patches/dev300/split-icons-search-usr-share.diff
> config.status: creating bin/piece/sys-setup
> config.status: creating bin/piece/Makefile
> config.status: creating desktop/Makefile
> config.status: creating desktop/16x16/Makefile
> config.status: creating desktop/22x22/Makefile
> config.status: creating desktop/24x24/Makefile
> config.status: creating desktop/32x32/Makefile
> config.status: creating desktop/48x48/Makefile
> config.status: creating desktop/scalable/Makefile
> config.status: creating desktop/mimetypes/Makefile
> config.status: creating desktop/mimetypes/16x16/Makefile
> config.status: creating desktop/mimetypes/22x22/Makefile
> config.status: creating desktop/mimetypes/24x24/Makefile
> config.status: creating desktop/mimetypes/32x32/Makefile
> config.status: creating desktop/mimetypes/48x48/Makefile
> config.status: creating distro-configs/Makefile
> config.status: creating distro-configs/ArchLinux.conf
> config.status: creating distro-configs/Ark.conf
> config.status: creating distro-configs/Common.conf
> config.status: creating distro-configs/CommonLinux.conf
> config.status: creating distro-configs/CommonWin32.conf
> config.status: creating distro-configs/CommonMac.conf
> config.status: creating distro-configs/CrossWin32.conf
> config.status: creating distro-configs/GoOoWin32.conf
> config.status: creating distro-configs/DroplineGNOME.conf
> config.status: creating distro-configs/DroplineGNOME64.conf
> config.status: creating distro-configs/Debian.conf
> config.status: creating distro-configs/DebianEtch.conf
> config.status: creating distro-configs/DebianSarge.conf
> config.status: creating distro-configs/OOo4Kids.conf
> config.status: creating distro-configs/OxygenOfficeLinux.conf
> config.status: creating distro-configs/OxygenOfficeWindows.conf
> config.status: creating distro-configs/UbuntuL10n.conf
> config.status: creating distro-configs/UbuntuHardy.conf
> config.status: creating distro-configs/UbuntuJaunty.conf
> config.status: creating distro-configs/UbuntuKarmic.conf
> config.status: creating distro-configs/UbuntuLucid.conf
> config.status: creating distro-configs/UbuntuMaverick.conf
> config.status: creating distro-configs/UbuntuNatty.conf
> config.status: creating distro-configs/SUSE.conf
> config.status: creating distro-configs/SUSE-reduced.conf
> config.status: creating distro-configs/SUSE-9.1.conf
> config.status: creating distro-configs/SUSE-9.2.conf
> config.status: creating distro-configs/SUSE-9.3.conf
> config.status: creating distro-configs/SUSE-10.0.conf
> config.status: creating distro-configs/SUSE-10.1.conf
> config.status: creating distro-configs/SUSE-10.2.conf
> config.status: creating distro-configs/SUSE-10.3.conf
> config.status: creating distro-configs/SUSE-11.0.conf
> config.status: creating distro-configs/SUSE-11.1.conf
> config.status: creating distro-configs/SUSE-11.2.conf
> config.status: creating distro-configs/Slackware.conf
> config.status: creating distro-configs/Mandriva.conf
> config.status: creating distro-configs/Mandriva64.conf
> config.status: creating distro-configs/NovellWin32.conf
> config.status: creating distro-configs/NovellWin32Eval.conf
> config.status: creating distro-configs/NovellWin32ISO.conf
> config.status: creating distro-configs/Gentoo.conf
> config.status: creating distro-configs/Frugalware.conf
> config.status: creating distro-configs/openmamba.conf
> config.status: creating distro-configs/translate-org-za-linux.conf
> config.status: creating distro-configs/translate-org-za-win32.conf
> config.status: creating distro-configs/rpl2.conf
> config.status: creating distro-configs/rpl2-64.conf
> config.status: creating distro-configs/Pardus2007.conf
> config.status: creating distro-configs/Pardus2008.conf
> config.status: creating distro-configs/PlainLinux.conf
> config.status: creating distro-configs/Win32.conf
> config.status: creating distro-configs/Solaris.conf
> config.status: creating distro-configs/GoOoLinux.conf
> config.status: creating distro-configs/GoOoMacOSX.conf
> config.status: creating distro-configs/Raw.conf
> config.status: creating distro-configs/LibreOfficeWin32.conf
> config.status: creating distro-configs/LibreOfficeLinux.conf
> config.status: creating distro-configs/LibreOfficeLinuxDevel.conf
> config.status: creating distro-configs/LibreOfficeMacOSX.conf
> config.status: creating distro-configs/LibreOfficeOpenBSD.conf
> config.status: creating etc/Makefile
> config.status: creating extensions/Makefile
> config.status: creating extensions/tweakconfig/Makefile
> config.status: creating patches/apply.pl
> config.status: creating patches/Makefile
> config.status: creating patches/dev300/Makefile
> config.status: creating patches/evo2/Makefile
> config.status: creating patches/hotfixes/Makefile
> config.status: creating patches/vba/Makefile
> config.status: creating patches/mono/Makefile
> config.status: creating patches/ooxml/Makefile
> config.status: creating patches/postgresql/Makefile
> config.status: creating patches/unittesting/Makefile
> config.status: creating patches/64bit/Makefile
> config.status: creating po/Makefile
> config.status: creating po/sdf-templates/Makefile
> config.status: creating doc/Makefile
> config.status: creating src/Makefile
> config.status: creating src/helpcontent2/Makefile
> config.status: creating src/icons/Makefile
> config.status: creating src/icons/tango/Makefile
> config.status: creating src/layout/Makefile
> config.status: creating src/sdf/Makefile
> config.status: creating stamp/Makefile
> config.status: creating templates/Makefile
> config.status: creating man/Makefile
> config.status: executing depfiles commands
> /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/bin/transform --revert /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1 /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/build/libreoffice-3.3.3.1
> Revert font mapping munging ...
> test -n "" && /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/bin/gob --build-dir=/afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/build/libreoffice-3.3.3.1 prepare || true
> if test -d /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/build/libreoffice-3.3.3.1/applied_patches ; then \
>         FLAGS=`/afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/bin/applyflags /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/bin` ; \
>         chmod +x /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/patches/apply.pl && /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/patches/apply.pl /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/patches/dev300 /afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/build/libreoffice-3.3.3.1 $FLAGS -f -R ; \
> fi
> cd ./bin ; ./unpack
> ./unpack: syntax error at line 184: `(' unexpected
> *** Error code 2
> make: Fatal error: Command failed for target `/afs/ipp/home/k/kcb/ftp/LibreOffice/3331/libreoffice-build-3.3.3.1/build/libreoffice-3.3.3.1/unpack'
> 0.66user 3.51sys 0:10.22 40.9%

Again this error "syntax error at line 184: `(' unexpected"

************************************************************

Any advice from you all ???

Regards,
Karl


On 30.06.11 9:27, Francois Tigeot wrote:

> Hi Karl,
>
> On Wed, Jun 29, 2011 at 06:27:08PM +0200, Karl Behler wrote:
>> >
>> > I have been redirected from LibreOffice Forum (DE) to this list.
>> > My question is: Why is LO 3.3.3 not available for Solaris (any)?
>> > Or will it be available at some time?
> My guess would be because nobody in the LibreOffice team is running Solaris
> and nobody in the Solaris team is interested in LibreOffice...
>
> Why not try building LibreOffice yourself ? The instructions are here:
> http://www.libreoffice.org/get-involved/developers/
>
> The old Sun-specific build directives have been left largely untouched
> in case someone wanted to have a go at it on Solaris or one of the
> OpenSolaris-derived distributions such as OpenIndiana.
>
> If you're using pkgsrc as a packaging system, you may also want to try
> the libreoffice package I've created in pkgsrc-wip.
> http://pkgsrc-wip.sourceforge.net/
>
> I'm curious to see if it would work out of the box.
>
> In any case, it would be great to have you on board !
>
> 	Cheers,
>
> -- Francois Tigeot

On 30.06.11 10:19, Thorsten Behrens wrote:
> Hi Karl, let me forward that to our dev list, so others have the
> opportunity to chime in -
>
> generally, you'll see that, once initial steps are made, other
> people will start to show up&  help. IIRC there was previous
> interest, at least for building on openindiana.
>
> As for where to start:
>
> http://www.libreoffice.org/get-involved/developers/
>
> (i.e. grab the git repos, install the prerequisites)
>
> You'll hit a few bumps for sure, the best place for ~immediate help
> then is irc: #libreoffice-dev
>
> Also, you may find helpful tips here:
>
> http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Solaris
>
> Please let us know how this works out,
>
> HTH, Thorsten
>
> ----- Forwarded message from Karl Behler - IPP - E1<karl.behler at ipp.mpg.de>  -----
>
> Date: Thu, 30 Jun 2011 09:54:27 +0200
> From: Karl Behler - IPP - E1<karl.behler at ipp.mpg.de>
> Subject: Re: [tdf-discuss] LibreOffice 3.3.3 binaries for Solaris SPARC and
> 	Solaris X86
>
> Dear Thorsten,
>
> we at our institute have the platforms required available (SPARC and
> X86), we also on a regular basis maintain our Solaris OS and Solaris
> compilers, also we do a little software development (mostly in C), but
> nobody of us was ever involved in such a huge PD project. In fact we
> are mostly occupied with administrative and maintenance stuff. Would
> you think, we (in fact I) have a chance to take over the duties you
> mentioned? At the beginning I could try to make LO from source and
> find out if that works. However, if there will be some problems I
> probably would need a lot of help.
>
> Any advice, where to start with???
>
> Regards,
>
> Karl
>
> On 30.06.11 09:14, Thorsten Behrens wrote:
>> Karl Behler wrote:
>>> I have been redirected from LibreOffice Forum (DE) to this list.
>>> My question is: Why is LO 3.3.3 not available for Solaris (any)?
>>> Or will it be available at some time?
>>>
>> Hi Karl,
>>
>> every platform LibreOffice ships on needs a team of motivated
>> people, that
>>
>>    * regularly build it on that platform
>>    * are willing to fix bugs
>>    * ultimately provide release builds
>>
>> So far, nobody stepped up for Solaris - maybe it can be you?
>>
>> If you're interested in helping out, our developer list is the right
>> place to go: libreoffice at lists.freedesktop.org
>>
>> Cheers,
>>
>> -- Thorsten
>
> ----- End forwarded message -----
>

-- 
Dr. Karl Behler	
CODAC & IT services ASDEX Upgrade
phon +49 89 3299-1351 fax 3299-961351

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 20820 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110630/fc833c2f/attachment-0001.bin>


More information about the LibreOffice mailing list