Re: [oi-dev] Request for volunteers: Building LibreOffice
. * To build, issue: make To install when the build is finished, issue: make install If you want to develop LibreOffice, you might prefer: make dev-install If you want to run the smoketest, issue: make check ... -- Now Build it! dmake builds successfully! -- downloads packages to src (needs other libre* packages) src/0ff7d225d087793c8c2c680d77aac3e7-mdds_0.5.3.tar.bz2 src/47e1edaa44269bc537ae8cabebb0f638-JLanguageTool-1.0.0.tar.bz2 src/5ba6a61a2f66dfd5fee8cdd4cd262a37-libwpg-0.2.0.tar.bz2 src/83d4029aebf290c0a9a8fee9c99638d3-libwps-0.2.1.tar.bz2 src/8d265a592619166f29c4672ea54812b7-libwpd-0.9.2.tar.bz2 src/90401bca927835b6fbae4a707ed187c8-nlpsolver-0.9.tar.bz2 src/b4cae0700aa1c2aef7eb7f345365e6f1-translate-toolkit-1.8.1.tar.bz2 src/e81c2f0953aa60f8062c05a4673f2be0-Python-2.6.1.tar.bz2 src/f02578f5218f217a9f20e9c30e119c6a-boost_1_44_0.tar.bz2 ... -- Note: get the other libreoffice packages. * * Running the post download checks. * -- Just work your way through the quagmire from here You do the build which pulls in packages and such. A lot of the packages exist within your core distro and OI-IPS (dev). About the 30%/70% commentary: Now this a bit different if you want to pull in the monster monolithic 600MB tarball from LibreOffice git, but we'll get to that on some other day since I was reviewing patches and code for that. Check your setup as something is wrong if your configure does not detect Python.h correctly. Usually, it is your searches for LIBS (-L/-R)/INCLUDES (-I) in the *FLAGS. Also, OI-SFE project officially uses GCC 4.6.1. I added libreoffice.spec there for anyone to work from or build their own revisions. Someone from Oracle was working on porting LibreOffice as well... Good luck, ~ Ken Mays From: Gary gdri...@gmail.com To: OpenIndiana Developer mailing list oi-dev@openindiana.org Sent: Friday, September 23, 2011 3:50 AM Subject: Re: [oi-dev] Request for volunteers: Building LibreOffice On Thu, Sep 22, 2011 at 1:38 PM, Alex Viskovatoff wrote: Also, that spec uses gcc 4.6.1, not gcc 3.4.3. Can you share your work, so that people can pick up where you left off ... I still can't get through the configuration with Solaris Studio, gcc 3 or gcc 4... same output as earlier re the missing Python.h. This is the latest variant of what I've tried for libreoffice-bootstrap-3.4.3.2: PYTHON_CFLAGS=-I/usr/include/python2.6 ./configure --disable-mozilla --disable-odk --enable-binfilter --disable-cups --disable-Xaw --disable-randr ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Request for volunteers: Building LibreOffice
Alex, Don't place the cart before the horse. GCC 4.6.1 was still in flux and not officially the compiler of choice for SFE (or not officially ready or 'signed off/approved' at the time). The libreoffice.spec came way before then and before the officially approved release of oi_151a. I looked at building LibreOffice from a 600MB monolithic tarball and the individual package set (much smaller). My patches related to my work on the large tarball - but I DO NOT advise going down that path and work from the released '3.4.3.2' set for now for team review. I've sent Gary some of my notes so he can continue to move forward. ~ Ken Mays From: Alex Viskovatoff viskovat...@imap.cc To: OpenIndiana Developer mailing list oi-dev@openindiana.org Sent: Thursday, September 22, 2011 4:38 PM Subject: Re: [oi-dev] Request for volunteers: Building LibreOffice Hi Ken, On Thu, 2011-09-22 at 05:25 -0700, ken mays wrote: I did some of the initial work on porting LibreOffice 3.4.3.2 to OpenIndiana oi_151. LibreOffice 3.4.3.2 passed all of the basic configure checks on OpenIndiana's oi_151a (which is very good) so that is not a problem. I worked through 30% of the code using GCC 3.4.3. A few of the additional features required 1-2 packages not in OI-IPS - but nothing major. What do you mean you worked through 30% of the code? Your SFElibreoffice.spec does not include a single patch. Did you create patches independently of that? Also, that spec uses gcc 4.6.1, not gcc 3.4.3. Can you share your work, so that people can pick up where you left off and would only need to work through 70% of the code? Regards, Alex ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Request for volunteers: Building LibreOffice
Gary, Ref: https://www.illumos.org/issues/684 I did some of the initial work on porting LibreOffice 3.4.3.2 to OpenIndiana oi_151. LibreOffice 3.4.3.2 passed all of the basic configure checks on OpenIndiana's oi_151a (which is very good) so that is not a problem. I worked through 30% of the code using GCC 3.4.3. A few of the additional features required 1-2 packages not in OI-IPS - but nothing major. Glad to the LibreOffice developers/other maintainers involved in the port! Good luck, ~ Ken Mays From: Gary gdri...@gmail.com To: OpenIndiana Developer mailing list oi-dev@openindiana.org Sent: Wednesday, September 21, 2011 1:14 PM Subject: Re: [oi-dev] Request for volunteers: Building LibreOffice it's definitely there in /usr/include/python2.6 and adding that patch in either CFLAGS CPPFLAGS doesn't seem to work. interestingly, --disable-python doesn't get recognized either so I'm mucking about in the configure script to see what can be done. -Gary ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Request for volunteers: Building LibreOffice
Hi, On Wed, Sep 21, 2011 at 10:51 AM, Gary gdri...@gmail.com wrote: FWIW, I found 12u1 here: http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index-jsp-142582.html Does anyone know where Python header files are? checking for python... /usr/bin/python checking for python version... 2.6 checking for python platform... sunos5 checking for python script directory... ${prefix}/lib/python2.6/site-packages checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages checking Python.h usability... no checking Python.h presence... no checking for Python.h... no configure: error: Python headers not found [ewer@solewer:~]$python-config --includes -I/usr/include/python2.6 -I/usr/include/python2.6 [ewer@solewer:~]$python-config --help Usage: /usr/bin/python-config [--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--help] HTH Ewald ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Request for volunteers: Building LibreOffice
On Wed, Sep 21, 2011 at 4:51 AM, Gary gdri...@gmail.com wrote: FWIW, I found 12u1 here: http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/index-jsp-142582.html Does anyone know where Python header files are? I use pkg search for this kind of question: $ pkg search Python.h INDEX ACTION VALUE PACKAGE basename file usr/include/python2.6/Python.h pkg:/runtime/python-26@2.6.4-0.151.1 basename file usr/include/python2.4/Python.h pkg:/runtime/python-24@2.4.6-0.151.1 basename file usr/include/python2.5/Python.h pkg:/runtime/python-25@2.5.4-0.151.1 ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Request for volunteers: Building LibreOffice
it's definitely there in /usr/include/python2.6 and adding that patch in either CFLAGS CPPFLAGS doesn't seem to work. interestingly, --disable-python doesn't get recognized either so I'm mucking about in the configure script to see what can be done. -Gary ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev
[oi-dev] Request for volunteers: Building LibreOffice
Hi All, http://alasdairrr.tumblr.com/post/10404734792/libreoffice We've been joined by a LibreOffice developer in #oi-dev, who is willing to help us with a port of LibreOffice to OpenIndiana. Unfortunately all the usual suspects who might work on this are tied up - so I'm mailing the lists to find out if anyone might be interested in collaborating with us on this? Ideally someone who steps forward should know their way around a Makefile pretty well and have ported software to Solaris before - LibreOffice is pretty big. Getting LibreOffice into OI would be a big win - it's an often requested package. Cheers, Alasdair ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Request for volunteers: Building LibreOffice
On Tue, Sep 20, 2011 at 05:28:17PM -0400, Philip J. Robar wrote: On Sep 20, 2011, at 4:10 PM, Alasdair Lumsden wrote: Hi All, http://alasdairrr.tumblr.com/post/10404734792/libreoffice We've been joined by a LibreOffice developer in #oi-dev, who is willing to help us with a port of LibreOffice to OpenIndiana. Unfortunately all the usual suspects who might work on this are tied up - so I'm mailing the lists to find out if anyone might be interested in collaborating with us on this? Ideally someone who steps forward should know their way around a Makefile pretty well and have ported software to Solaris before - LibreOffice is pretty big. Getting LibreOffice into OI would be a big win - it's an often requested package. I used to do this type of thing all of the time for my group’s local server when I was at Sun so I can probably help*. However, when I found the source tar balls at LibreOffice’s site I was unmoved by the lack of documentation. But then, I found this site: http://wiki.documentfoundation.org/Development/ — which seems to be the place to get stated, yes? Since it already builds on numerous UNIX™ and UNIX like systems I presume that the port ought to be pretty straight forward. Is there anything in particular that I need to know about before I get started? Cool. Were on IRC (#oi-dev on FreeNode) where we can help you get started. I am not sure what Alasdair had in mind, but I guess this wiki page would be a good start: http://wiki.openindiana.org/oi/Building+with+oi-build Jeff. -- I think there is a world market for maybe five computers. - Thomas Watson, chairman of IBM, 1943. ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Request for volunteers: Building LibreOffice
On Wed, 2011-09-21 at 00:18 +0100, Alasdair Lumsden wrote: Hi Philip, Many thanks for getting in touch! On 20 Sep 2011, at 22:28, Philip J. Robar wrote: snip I used to do this type of thing all of the time for my group’s local server when I was at Sun so I can probably help*. However, when I found the source tar balls at LibreOffice’s site I was unmoved by the lack of documentation. But then, I found this site: http://wiki.documentfoundation.org/Development/ — which seems to be the place to get stated, yes? Fantastic :-) Yes, LibreOffice needs work in this area - it's going to be a bit of a nightmare to build. But that certainly looks like a good place to start. Since it already builds on numerous UNIX™ and UNIX like systems I presume that the port ought to be pretty straight forward. Is there anything in particular that I need to know about before I get started? LibreOffice unfortunately has a really ugly compiler/platform specific ABI: http://cgit.freedesktop.org/libreoffice/core/tree/bridges/source/cpp_uno On Linux/BSD it expects gcc and on Solaris it expects Sun Studio. So for now the LibreOffice developers are recommending we use Sun Studio to build it, although they would welcome support for gcc on Solaris, but it would require someone with assembly skills. Probably not important at the moment. Because LibreOffice is a fork of OpenOffice you'd think it would build out of the box, but unfortunately the fork was done by a consortium of Linux distributions who have taken an axe to the core of it and I can't say for sure what issues you're likely to encounter, but they have said they will accept patches upstream to fix build issues on other platforms. I'd recommend dropping by IRC if you can, to #oi-dev on irc.freenode.net - we have someone from the LibreOffice development team in there (his nickname is ftigeot) who knows about the build system and can offer help/pointers if needed. There is also #libreoffice-dev Cheers, Alasdair ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev Awesome! Be great to have LibreOffice on OI, if only to snub Oracle :-P Last I poked around, the jury was still out on LibreOffice vs. Apache's incarnation of OpenOffice as preferred office suite on OI. But I've been being a fun hog and away from the 'puter for much of the summer - has OI subsequently developed a consensus? -- Regards-- Ken Gunderson ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Request for volunteers: Building LibreOffice
Awesome! Be great to have LibreOffice on OI, if only to snub Oracle :-P Quite :-) Last I poked around, the jury was still out on LibreOffice vs. Apache's incarnation of OpenOffice as preferred office suite on OI. But I've been being a fun hog and away from the 'puter for much of the summer - has OI subsequently developed a consensus? 00:43 -!- Irssi: #openoffice: Total of 3 nicks [0 ops, 0 halfops, 0 voices, 3 normal] 00:43 -!- Irssi: #libreoffice: Total of 79 nicks [7 ops, 0 halfops, 0 voices, 72 normal I think LibreOffice has gotten the mindshare - happy to be corrected if thats not the case. I don't even mind if we ship both, but I think LibreOffice is the logical choice. Cheers, Alasdair ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Request for volunteers: Building LibreOffice
On Wed, 2011-09-21 at 00:44 +0100, Alasdair Lumsden wrote: Awesome! Be great to have LibreOffice on OI, if only to snub Oracle :-P Quite :-) Last I poked around, the jury was still out on LibreOffice vs. Apache's incarnation of OpenOffice as preferred office suite on OI. But I've been being a fun hog and away from the 'puter for much of the summer - has OI subsequently developed a consensus? 00:43 -!- Irssi: #openoffice: Total of 3 nicks [0 ops, 0 halfops, 0 voices, 3 normal] 00:43 -!- Irssi: #libreoffice: Total of 79 nicks [7 ops, 0 halfops, 0 voices, 72 normal I think LibreOffice has gotten the mindshare - happy to be corrected if thats not the case. I don't even mind if we ship both, but I think LibreOffice is the logical choice. Cheers, Alasdair Rock On! If only because you're cool enough to be using Irssi :) -- Regards-- Ken Gunderson ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev
Re: [oi-dev] Request for volunteers: Building LibreOffice
I'm pretty sure I accidentally downloaded Solaris Studio 12.1 for SPARC the other day... ___ oi-dev mailing list oi-dev@openindiana.org http://openindiana.org/mailman/listinfo/oi-dev