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

2011-07-01 Thread Michael Meeks
Hi Karl,

On Thu, 2011-06-30 at 16:47 +0200, Karl Behler wrote:
 So you convinced me to give it a trial, but it fails after a few minutes.

:-) good stuff.

 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.)

so - of course, we're happy to merge patches, help out  so on; but in
the past there has been a certain amount of cruft and pain in the
project to make it build with the oddish Solaris compilers. Personally,
I'd strongly prefer a future where we built only with free compilers on
Mac/cross-compile-to-windows/Linux and other places.

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

I would have a read of configure.in to see what it is doing in this
regard; this is an under-tested code-path.

 Next trial from tar ball ..
 **

I wouldn't bother with that. There'll be enough problems that it is
best to fix them on master and get your patches merged there quickly I
thinkg.

  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

Odd :-) this is most likely a /bin/sh vs. /bin/bash shell compatibility
problem.

Having said all that, personally I'd concentrate on getting 3.4.x
building if you're desperate for a stable version, 3.4.2 will be out in
a month, freeze in 2 weeks and can have your fixes in it by then; but
I'd go for building on master and back-porting those myself :-)

HTH,

Michael.

-- 
 michael.me...@novell.com  , Pseudo Engineer, itinerant idiot


___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2011-07-01 Thread Francois Tigeot
On Fri, Jul 01, 2011 at 03:02:35PM +0100, Michael Meeks wrote:
 
   so - of course, we're happy to merge patches, help out  so on; but in
 the past there has been a certain amount of cruft and pain in the
 project to make it build with the oddish Solaris compilers. Personally,
 I'd strongly prefer a future where we built only with free compilers on
 Mac/cross-compile-to-windows/Linux and other places.

From what I've heard from *Solaris application developers/packagers, the
old Sun compilers are beeing dropped left and right.
It seems Oracle has also borked this product line...

   Having said all that, personally I'd concentrate on getting 3.4.x
 building if you're desperate for a stable version, 3.4.2 will be out in
 a month, freeze in 2 weeks and can have your fixes in it by then; but
 I'd go for building on master and back-porting those myself :-)

Master is also reasonably okay for day-to day work; I have been using
snapshots without trouble with small .odt or .ods documents for the last
two month or so...

-- 
Francois Tigeot
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2011-06-30 Thread Karl Behler

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  e2dv2048 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:

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

2011-06-30 Thread Thorsten Behrens
Karl Behler wrote:
 [snip]

 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%
 
That's line 184 in bin/setup.in instead (that files gets sourced),
and apparently your shell does not like the command substitution
there. Can you try another shebang shell atop
./download_external_sources.sh, or use backticks there instead?

Cheers,

-- Thorsten


pgpkvizJod3BP.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice