SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you have both libreoffice-5.1.4.2.tar.xz and libreoffice-5.1.4.2-srcs.tar.xz source tarballs which are specified in the LibreOffice.info file, then nothing else will be downloaded from the internet (provided the LibreOffice.SlackBuild hasn't been altered).
You also need to ensure that all the packages specified in the REQUIRES field of the LibreOffice.info file have been built and installed; also any packages specified in their own .info files. Calculating all those dependencies, you should end up with a build/install order list like:
In a pristine complete SL 14.2 x86_64 VM, I just built & installed all the prerequisite packages mentioned previously, then ran the LibreOffice.SlackBuild script (without any changes). It built successfully. I kept a log of the build output and it contained no reference to the COLLADAParserAutoGen15PrivateFunctionMapFactory.cpp file that you are having trouble with. I also ran:
You also need to ensure that all the packages specified in the REQUIRES field of the LibreOffice.info file have been built and installed; also any packages specified in their own .info files. Calculating all those dependencies, you should end up with a build/install order list like:
The only one that should be needed out of those is perl-Archive-Zip. The rest are optional dependencies. Except for libdaemon which libreoffice doesn't even use.
Edit: Also how are you avoiding libreoffice from downloading all the --with-system-lib it needs? You don't seem to be providing the tarballs or do you document any of the dependencies that are on SBo.
In a pristine complete SL 14.2 x86_64 VM, I just built & installed all the prerequisite packages mentioned previously, then ran the LibreOffice.SlackBuild script (without any changes). It built successfully. I kept a log of the build output and it contained no reference to the COLLADAParserAutoGen15PrivateFunctionMapFactory.cpp file that you are having trouble with. I also ran:
which also found no reference to that file anywhere in the build directory tree.
There is clearly something different about your build environment.
That is from opencollada, presumably the one libreoffice downloads during the build process since you do not document it can use a system version which works fine (Even though you maintain opencollada...)
The only one that should be needed out of those is perl-Archive-Zip. The rest are optional dependencies. Except for libdaemon which libreoffice doesn't even use.
Slackbuilds are all editable by individual users to suit particular ideas of usefulness.
Quote:
Edit: Also how are you avoiding libreoffice from downloading all the --with-system-lib it needs? You don't seem to be providing the tarballs or do you document any of the dependencies that are on SBo.
Is "you" referring to OP or chris.willing? If chris.willing, then let me say that I don't want to bore all those who have actually read the build scripts with the full details of how that all works. Instead, can I suggest that you read the .info and .SlackBuild files and, in particular, look at how HAVE_SRCS_TARBALL is used to create or download the libreoffice-$VERSION-srcs.tar.xz tarball (which contains required sources not available on the build system). I do the creation of the additional -srcs.tar.gz file whenever a new version is released; it is listed in the DOWNLOAD field of the .info file, leaving the user nothing to do except install the listed dependencies, download the listed source tarballs and run the script.
The package dependencies to complete this particular build are listed in the .info file. The SlackBuild's README includes the statement
Code:
In seeking a fully functional LibreOffice, most optional features are included by default.
It is not my intention to provide a commentary on all options that are possible - just to provide as many of them as are easily doable. Of course, anyone else can provide such a commentary and/or alternative SlackBuilds. Since you (orbea) already provide what you evidently believe to be a superior alternative SlackBuild, feel free to promote it here in your next reply.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.