LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-15-2018, 07:03 AM   #1
BattKajs
LQ Newbie
 
Registered: Oct 2017
Location: Stockholm
Distribution: Slackware, Xubuntu
Posts: 7

Rep: Reputation: Disabled
Compilation error LibreOffice 6.0.4 on Slackware 14.2


Hi!

I have just reinstalled my PC with Slackware 14.2 and are in my finishing process of setting everything up. But I ran across some error while trying to compile AlienBob's LibreOffice 6.0.4 package, downloaded yesterday, and all dependencies should be installed; Apache-ant, Perl-archive-zip (both from SBO) and Java (JDK v.10)

The terminal error looks like this:

Quote:
checking for explicit LDFLAGS... -L/tmp/build/tmp-libreoffice/libreoffice-6.0.4.2/instdir/program -lgpgmepp -lgpgme -lassuan -lgpg-error -Wl,-rpath,/usr/lib64/libreoffice/program/ -L/usr/lib64
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/build/tmp-libreoffice/libreoffice-6.0.4.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
Error running configure at ./autogen.sh line 293.
sed: can't read Makefile: No such file or directory
/media/paket/officelibre/libreoffice.SlackBuild FAILED at line 1313
And I have attached my "config.log"-file

Did my GCC-packages gotten somehow installed wrong in my installation or how should I proceed?

I have tried to compile other packages and that have been no issue

Thanks in advance!

EDIT: I have Multilib installed and have tried re-installing it
Attached Files
File Type: log config.log (31.2 KB, 5 views)

Last edited by BattKajs; 05-15-2018 at 07:06 AM. Reason: Add info
 
Old 05-15-2018, 07:16 AM   #2
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,255

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
I find amazing, and disappointing in the same time, that someone try to build a really heavy package like LibreOffice, when AlienBOB do his best to give up2date packages...

Dear OP, what you expect to get in plus of what Eric's LibreOffice offer?

PS. Hint, hint, hint: Eric builds his packages in pure systems, either 32-bit or 64-bit.

PS2. There should be a disclaimer somewhere: while installing multilib you shall accept the loss of your rights to compile things.

Last edited by Darth Vader; 05-15-2018 at 07:21 AM.
 
Old 05-15-2018, 07:21 AM   #3
BattKajs
LQ Newbie
 
Registered: Oct 2017
Location: Stockholm
Distribution: Slackware, Xubuntu
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
I find amazing, and disappointing in the same time, that someone try to build a really heavy package like LibreOffice, when AlienBOB do his best to give up2date packages...

Dear OP, what you expect to get in plus of what Eric's LibreOffice offer?
I'm on my way to learn Slackware and how it works, which require some sort of support from the community. I am not bashing AlienBOB and I really admire his work.

To be honest I really don't understand what you are trying to say?
 
Old 05-15-2018, 07:25 AM   #4
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,255

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
I say: just install Eric's package and call a day. The LibreOffice is a hell heavy package to build. And I talk about pure systems, not a mess with multiple personalities.

BTW, this package is not Slackware, but Eric's amazing work.

If you want to learn Slackware, and how its builds work, feel free to sail on "source" folder.

Again, if you installed multilib, better to limit yourself at light builds like NVIDIA blobs, in my opinion.

SLACKWARE IS NOT MULTILIB AND IT NEVER WAS.

Hence, you run Ericware right now, not Slackware.

Like I said multiple times: I have a heavy respect for Eric's amazing work on Multilib for Slackware, BUT I believe that the Multilib as concept itself is an Epic Fail and a wrong idea by inception.

Last edited by Darth Vader; 05-15-2018 at 07:39 AM.
 
Old 05-15-2018, 07:46 AM   #5
Lysander666
Member
 
Registered: Apr 2017
Location: London
Distribution: Debian, Slackware
Posts: 299

Rep: Reputation: 144Reputation: 144
Eric's LO is a simple .txz. Just install that and be done with it.

http://www.slackware.com/~alien/slac...ce/pkg64/14.2/

Download, navigate into download folder and

Code:
upgradepkg --install-new libreoffice-6.0.4-x86_64-1alien.txz
I would never dream of compiling LO on my hardware. Unless you have a rather beefy system, just install the binary and move on.

Last edited by Lysander666; 05-15-2018 at 07:51 AM.
 
1 members found this post helpful.
Old 05-15-2018, 08:08 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,024

Rep: Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654
Thanks for that config.log file, I think I have to revisit the libreoffice.SlackBuild because I had to modify it somewhat for slackware-current and it might have broken the compilation for Slackware 14.2.

In any case, what the others in this thread told you is the smart thing to do: install my package, don't try to compile it. Slackware is not Gentoo where would indeed you have to compile everything!
 
3 members found this post helpful.
Old 05-15-2018, 08:10 AM   #7
mike_booth76
Member
 
Registered: May 2006
Posts: 32

Rep: Reputation: 3
Try adding STACK_GUARD_GAP=1 to the boot options in lilo.conf
 
Old 05-15-2018, 08:16 AM   #8
BattKajs
LQ Newbie
 
Registered: Oct 2017
Location: Stockholm
Distribution: Slackware, Xubuntu
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Lysander666 View Post
Eric's LO is a simple .txz. Just install that and be done with it.

http://www.slackware.com/~alien/slac...ce/pkg64/14.2/

Download, navigate into download folder and

Code:
upgradepkg --install-new libreoffice-6.0.4-x86_64-1alien.txz
I would never dream of compiling LO on my hardware. Unless you have a rather beefy system, just install the binary and move on.
Quote:
Originally Posted by Alien Bob View Post
Thanks for that config.log file, I think I have to revisit the libreoffice.SlackBuild because I had to modify it somewhat for slackware-current and it might have broken the compilation for Slackware 14.2.

In any case, what the others in this thread told you is the smart thing to do: install my package, don't try to compile it. Slackware is not Gentoo where would indeed you have to compile everything!
Thank you for the tip! Works like a charm now. Now I can start writing my essay

And @AlienBob Thank you for your awesome work!
 
1 members found this post helpful.
Old 05-15-2018, 08:24 AM   #9
Lysander666
Member
 
Registered: Apr 2017
Location: London
Distribution: Debian, Slackware
Posts: 299

Rep: Reputation: 144Reputation: 144
You needn't shy away from compiling the smaller packages you get from SBo, but the larger ones - e.g. LO, qt5, openjdk etc., definitely use binaries for such things. And binaries from trusted sources/users e.g. AlienBob, ponce - those are two users worth trusting.

You may find this thread interesting on compiling vs using binaries for larger packages, esp bassmadrigal's experiments on compiling on page 2 [but maybe read it after you've worked on your essay!].

Last edited by Lysander666; 05-15-2018 at 08:25 AM.
 
2 members found this post helpful.
Old 05-15-2018, 04:17 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,024

Rep: Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654Reputation: 4654
I fixed the libreoffice.SlackBuild in the meantime and could successfully compile LibreOffice 6.0.4 on Slackware64 14.2 with it.
 
4 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware Current Libreoffice Ailenbob Error kirk79 Slackware 7 04-15-2016 01:34 PM
Compilation error in Slackware 14.0 aaro Slackware 5 01-21-2013 12:45 PM
[SOLVED] Octave 3.4.2 gives compilation error on Slackware-current 64 Bindestreck Slackware 1 05-25-2012 11:26 AM
Error during compilation of X-WIndows on slackware-10.2 tooparam Linux - General 2 11-27-2005 10:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration