#6094 closed task (fixed)
libreoffice-4.4.0
Reported by: | Fernando de Oliveira | Owned by: | Fernando de Oliveira |
---|---|---|---|
Priority: | normal | Milestone: | 7.7 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
http://download.documentfoundation.org/libreoffice/src/4.4.0/
https://www.libreoffice.org/download/release-notes/
This is the first stable release from the 4.4 branch of LibreOffice which contains new features and program enhancements. As such, the version is stable and is suitable for all users. This version may contain a few annoying bugs which will be fixed in the next bugfix versions to come. General notes on features and enhancements are contained in this release. For a detailed list, please check our complete release notes here <https://wiki.documentfoundation.org/ReleaseNotes/4.4>. 1 Writer Master Document Templates Shapes can have a TextBox Improvements to Track Changes Style dropdown Line numbering easier to apply for headers and footers Status bar improvements Toolbar improvements Navigator bookmarks AutoCorrect improvements 2 Calc ...
Change History (14)
comment:1 by , 10 years ago
Type: | enhancement → task |
---|
comment:2 by , 10 years ago
by , 10 years ago
Attachment: | libreoffice_for_each-error.log added |
---|
‘for_each’ is not a member of ‘std’
comment:3 by , 10 years ago
Google says to add
#include <algorithm>
I'm guessing it should be added to mdds/include/mdds/multi_type_vector_types.hpp
I'll test and get back to you if that isn't it.
comment:4 by , 10 years ago
Just checked. I don't have a decent system to check with gcc-4.9.2 right now.
However, I looked at the dependencies. What we have for required is only:
Archive::Zip-1.43, UnZip-6.0, Wget-1.16.1, Which-2.20, and Zip-3.0
although there are a ton or recommended dependencies, I don't see how LO could possibly be built without Xorg. Should MesaLib be promoted to required?
comment:5 by , 10 years ago
Thanks for the comments, Bruce.
I have installed and removed mdds_0.11.2, because hit the same error.
How did you add the header: between autogen.sh and make build?
The most significant difference between the systems is boost-1.56.0 in LFS-7.1-svn and boost-1.57.0 LFS-7.6.
I'm trying to build without system boost. As soon as it breaks or finidhes, I will try your suggestion.
I think there is a discussion and in the archives about Xorg: IIRC, LO can be used in servers to provide services, so, not sure what would be better. Will try to find that discussion.
comment:6 by , 10 years ago
grep -A20 gridprinter.cxx libreoffice-4.4.0.3-build-2015.01.31-19h43m01s.log
tells me that it has compiled gridprinter.cxx
I believe it will complete.
After, will try adding #include <algorithm> to multi_type_vector_types.hpp.
If at least one solution succeeds, we are done.
comment:7 by , 10 years ago
I didn't actually make any changes. I just did a search. What I'd try is changing
include/mdds/multi_type_vector_types.hpp
It has:
#if defined(MDDS_UNIT_TEST) || defined (MDDS_MULTI_TYPE_VECTOR_DEBUG) #include <algorithm> #include <iostream> #include <sstream> using std::cout; using std::cerr; using std::endl; #endif
I'd just move the #include <algorithm> line to above the #if line.
When the package build stops, just make the change and run 'make build' again.
If that fixes it, then we can try to figure out how to do that in the book. I'm not sure if the external downloads happen in the autogen or 'make build' instructions.
comment:8 by , 10 years ago
Right. I had seen it.
It is in make build, unfortunately. I think this would work:
make buildsed move #include <algorithm> && make build
Back to Mesa or no Mesa i required: http://www.linuxfromscratch.org/pipermail/blfs-dev/2014-January/026507.html
I seem to recall in a recent discussion, that it was stated that only required is considered in the chain. So, after I discovered the possibility of building [LO] without the X part, I included in optional. I think there is better than in recommended, but as you know, dependency is my "Achilles' heel".
This is the point: it can be built without X. The switch is
--with-x use the X Window System
So, I assumed I can use --without-x
I am just explaining why I modified it, but besides the possibility that I'm wrong, I wouldn't dispute, if you want to move it required, because LO in the book is intended for desktops, I think.
comment:9 by , 10 years ago
Don't worry about the dependencies.
I'd rather do a manual download and change to the package and also change the Makefile if necessary. Is that possible?
comment:10 by , 10 years ago
Yes. Download as is now.
$ grep -A3 unpack-sources Makefile $(SRCDIR)/bin/unpack-sources $(SRCDIR) $(foreach i,$(subst helpcontent2,help,$(GIT_NEEDED_SUBMODULES)),\ $(TARFILE_LOCATION)/libreoffice-$(i)-$(gb_LO_VER).tar.xz) endif
so, we would have before make build, or even before autoge,sh:
sed -e "/TARFILE_LOCATION/a\ sed -e '/algorithm/d' -e '/defined(MDDS_UNIT_TEST)/ i#include <algorithm>' -i workdir/UnpackedTarball/mdds/include/mdds/multi_type_vector_types.hpp" \ -i Makefile.in
Or just Makefile, if we do it after autogen.sh?
Don't know how to break this in one or more lines.
comment:12 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:13 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Thank you very much, Bruce, for many discussions and for solving the header problem.
Fixed at r15434.
Have built in LFS-7.1-svn. Can't build in LFS-7.6-svn.
Both i686 with gcc updated to 4.9.2.
Error from log tail (also attached as a .txt: