Update for Step by Step Build Guide for Ubuntu?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Update for Step by Step Build Guide for Ubuntu?

Keith N. McKenna
While replying to an inquiry on the recruitment list I noticed that the
Step by step build guide at
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step
has entries versions 12.04 and 14.04 but nothing higher. Are the
combination of those 2 enough to build on 16.04 or 18.04 or are some
updates needed.If updates are needed I can create stubs for either or both.

Regards
Keith



signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Update for Step by Step Build Guide for Ubuntu?

Matthias Seidel
Hi Keith,

Am 04.10.2018 um 20:06 schrieb Keith N. McKenna:
> While replying to an inquiry on the recruitment list I noticed that the
> Step by step build guide at
> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step
> has entries versions 12.04 and 14.04 but nothing higher. Are the
> combination of those 2 enough to build on 16.04 or 18.04 or are some
> updates needed.If updates are needed I can create stubs for either or both.

Ubuntu 12.04 is EOL since 2017.
Our buildbots run on Ubuntu 14.04.

I am pretty sure that AOO can be built on 16.04, but haven't tried myself.
Not sure about 18.04 because there have been significant changes...

Regards,
   Matthias

>
> Regards
> Keith
>
>



smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Update for Step by Step Build Guide for Ubuntu?

Keith N. McKenna
On 10/13/2018 8:22 AM, Matthias Seidel wrote:

> Hi Keith,
>
> Am 04.10.2018 um 20:06 schrieb Keith N. McKenna:
>> While replying to an inquiry on the recruitment list I noticed that the
>> Step by step build guide at
>> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step
>> has entries versions 12.04 and 14.04 but nothing higher. Are the
>> combination of those 2 enough to build on 16.04 or 18.04 or are some
>> updates needed.If updates are needed I can create stubs for either or both.
>
> Ubuntu 12.04 is EOL since 2017.
> Our buildbots run on Ubuntu 14.04.
>
> I am pretty sure that AOO can be built on 16.04, but haven't tried myself.
> Not sure about 18.04 because there have been significant changes...
>
> Regards,
>    Matthias
>
>>
>> Regards
>> Keith
>>
>>
>
>
Thanks Mathias. Seems it may be a bit premature at this point. What is
your opinion about re-visiting this after the 4.1.6 and 4.2.0 releases
are finalized?

Regards
Keith



signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Update for Step by Step Build Guide for Ubuntu?

Matthias Seidel
Am 13.10.2018 um 20:32 schrieb Keith N. McKenna:

> On 10/13/2018 8:22 AM, Matthias Seidel wrote:
>> Hi Keith,
>>
>> Am 04.10.2018 um 20:06 schrieb Keith N. McKenna:
>>> While replying to an inquiry on the recruitment list I noticed that the
>>> Step by step build guide at
>>> https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step
>>> has entries versions 12.04 and 14.04 but nothing higher. Are the
>>> combination of those 2 enough to build on 16.04 or 18.04 or are some
>>> updates needed.If updates are needed I can create stubs for either or both.
>> Ubuntu 12.04 is EOL since 2017.
>> Our buildbots run on Ubuntu 14.04.
>>
>> I am pretty sure that AOO can be built on 16.04, but haven't tried myself.
>> Not sure about 18.04 because there have been significant changes...
>>
>> Regards,
>>    Matthias
>>
>>> Regards
>>> Keith
>>>
>>>
>>
> Thanks Mathias. Seems it may be a bit premature at this point. What is
> your opinion about re-visiting this after the 4.1.6 and 4.2.0 releases
> are finalized?
The significant changes I meant are in Ubuntu 18.04. ;-)
Someone has to try out if AOO can be built on it.

But maybe we should start with 16.04? That is supported until 2021.
I think I managed to build, but ran out of disk space in my VM...

Regards,
   Matthias

>
> Regards
> Keith
>
>



smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Update for Step by Step Build Guide for Ubuntu?

Pedro Lino-3
Hi Matthias, all



> On October 13, 2018 at 8:06 PM Matthias Seidel <[hidden email] mailto:[hidden email] > wrote:
>
>
>     But maybe we should start with 16.04? That is supported until 2021.
>     I think I managed to build, but ran out of disk space in my VM...
>


I'm running Ubuntu 16.04.5 LTS  x86_64

I could try to build on Linux. My SSD has 76GB free. Is this space enough?

How long will it take to build AOO on a Intel® Core™ i5-2520M CPU @ 2.50GHz × 4 with 7,7 GiB RAM?


Regards,

Pedro
Reply | Threaded
Open this post in threaded view
|

Re: Update for Step by Step Build Guide for Ubuntu?

Andrea Pescetti-2
Pedro Lino wrote:
> I could try to build on Linux. My SSD has 76GB free. Is this space enough?

Sure it is. With 60GB you can build all languages. For a test build
(English only) you won't need more than 10GB.

> How long will it take to build AOO on a Intel® Core™ i5-2520M CPU @ 2.50GHz × 4 with 7,7 GiB RAM?

About one-two hours (use a parallel build -P2 or -P4; documentation
explains it). But you will need half a day to get things running before
you build; I would recommend checking out
https://svn.apache.org/repos/asf/openoffice/branches/AOO416/ to have a
stable basis (or even AOO415 if you wish, but with AOO416 we could maybe
detect blockers that we might want to fix in 4.1.6).

You will bump into many "newcomer's issues" during your first build.
Feel free to ask early, many of us will be able to help you. Actually
you may even collect them to the benefit of new people who want to get
their first build done...

Regards,
   Andrea.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Update for Step by Step Build Guide for Ubuntu?

Pedro Lino-3
Hi Andrea

Thank you for the fast answer!

> Sure it is. With 60GB you can build all languages. For a test build
> (English only) you won't need more than 10GB.

Yes,  i would prefer to start with a simple test case.
 
> > How long will it take to build AOO on a Intel® Core™ i5-2520M CPU @ 2.50GHz × 4 with 7,7 GiB RAM?
>
> About one-two hours (use a parallel build -P2 or -P4; documentation
> explains it). But you will need half a day to get things running before
> you build; I would recommend checking out
> https://svn.apache.org/repos/asf/openoffice/branches/AOO416/ to have a
> stable basis (or even AOO415 if you wish, but with AOO416 we could maybe
> detect blockers that we might want to fix in 4.1.6).

I have already downloaded AOO416

> You will bump into many "newcomer's issues" during your first build.
> Feel free to ask early, many of us will be able to help you. Actually
> you may even collect them to the benefit of new people who want to get
> their first build done...

Yes, I will be taking notes
But this is not a "virgin" machine so I'm not sure if it will be a perfect example. E.g. gcc and g++ version 5.4.0 are already installed
Maybe it's easier to ask questions at #dev.openoffice.org ?

Thanks,
Pedro

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Update for Step by Step Build Guide for Ubuntu?

Keith N. McKenna
In reply to this post by Pedro Lino-3
On 10/13/2018 4:20 PM, Pedro Lino wrote:

> Hi Matthias, all
>
>
>
>> On October 13, 2018 at 8:06 PM Matthias Seidel <[hidden email] mailto:[hidden email] > wrote:
>>
>>
>>     But maybe we should start with 16.04? That is supported until 2021.
>>     I think I managed to build, but ran out of disk space in my VM...
>>
>
>
> I'm running Ubuntu 16.04.5 LTS  x86_64
>
> I could try to build on Linux. My SSD has 76GB free. Is this space enough?
>
> How long will it take to build AOO on a Intel® Core™ i5-2520M CPU @ 2.50GHz × 4 with 7,7 GiB RAM?
>
>
> Regards,
>
> Pedro
>
Hi Pedro,

Thanks for taking on this experiment. I have created a 16.04 stub in the
step by step building guide. I am more than willing to help with adding
information to the guide.

Regards
Keith



signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Update for Step by Step Build Guide for Ubuntu?

Pedro Lino-3
Hi Keith


> Thanks for taking on this experiment. I have created a 16.04 stub in the
>     step by step building guide. I am more than willing to help with adding
>     information to the guide.
>


Thanks!

I'm waiting on Peter Kovac's feedback to move forward.

If anyone else has some pointers on how to solve the dependencies problem, please let me know.


Regards,

Pedro
Reply | Threaded
Open this post in threaded view
|

Re: Update for Step by Step Build Guide for Ubuntu?

Peter Kovacs-3
Okay, I did a really poor and hasty migration when I switched machines.
And the additional script I used to build OO went missing.

Basically you need to tweak the gcc compiler by changing the compiler
flags. What you do is you extend/override the Variables CFLAG and CXXFLAG.

The best ressource is gentoo to understand the topic in general, since
their users have to understand the topic to some degree.

https://wiki.gentoo.org/wiki/GCC_optimization


What you must set is the standard: -std=gnu99, maybe gnu++98 I do not
remember exactly. Important is you use gnu++98 instead of c++98, because
we use the gnu extensions.

So you run before you start export CFLAG="${CFGLAG} -std=gnu++98"


You have to set also some behavior flags. However I do not remember
these. One was important to allow numbers to be interpret in logical
operations and another error message I cant remember.

Maybe when you post, I will know.

I searched some documents on the net but I did not find the options I
used on first glance. Also note that you should check the Options preset
by Ubuntu.

I am sorry, i whish I had more pointers or the script available.


On 10/15/18 12:38 AM, Pedro Lino wrote:

> Hi Keith
>
>
>> Thanks for taking on this experiment. I have created a 16.04 stub in the
>>      step by step building guide. I am more than willing to help with adding
>>      information to the guide.
>>
>
> Thanks!
>
> I'm waiting on Peter Kovac's feedback to move forward.
>
> If anyone else has some pointers on how to solve the dependencies problem, please let me know.
>
>
> Regards,
>
> Pedro
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]