LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-04-2014, 04:21 AM   #1
burgler09
LQ Newbie
 
Registered: Jan 2014
Posts: 17

Rep: Reputation: Disabled
Compiling libreoffice 4.2


I downloaded libreoffice from source on their website and when I run the makeinstall.sh it tells me I don't have a jdk installed

Quote:
checking for java... no
checking the installed JDK... configure: error: Java not found. You need at least jdk-1.5, or gcj-4
Error running configure at ./autogen.sh line 209.


I have jdk installed. I'm not too sure if I have to edit the autogen file or what? It seems like on different posts I see people having problems at this part.. but a lot of times their errors seem to be mistakes that I haven't missed.
 
Old 02-04-2014, 04:59 AM   #2
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 483

Rep: Reputation: 126Reputation: 126
have you read this post by AlienBob:

http://alien.slackbook.org/blog/comp...es-is-a-bitch/

BTW, you do know that you can get ready packages of LibreOffice from him, right?
 
Old 02-04-2014, 05:03 AM   #3
burgler09
LQ Newbie
 
Registered: Jan 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Yeah, I did read that article. I was just trying to see if I could get it compiled on my own.. but I suppose if he's having troubles I shouldn't even bother xD

I'll try running an old version and using his slackbuild. However, do you have any idea what could cause that error?
 
Old 02-04-2014, 05:59 AM   #4
solarfields
Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware
Posts: 483

Rep: Reputation: 126Reputation: 126
did you by any chance install jdk just before your attempt of compiling LibreOffice?

If so, try logging out and then in.
 
Old 02-04-2014, 06:38 AM   #5
Mark Pettit
Member
 
Registered: Dec 2008
Location: Cape Town, South Africa
Distribution: Slackware 14.1 64 Multi-Lib
Posts: 441

Rep: Reputation: 139Reputation: 139
Sometimes you just gotta realise that the hard way just isn't worth it. This is not always the case, and much pleasure can be derived from saying "There - I did it !". This is NOT one of those times. Just download AlienBob's packages and be done with it.
 
2 members found this post helpful.
Old 02-04-2014, 07:36 AM   #6
burgler09
LQ Newbie
 
Registered: Jan 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by solarfields View Post
did you by any chance install jdk just before your attempt of compiling LibreOffice?

If so, try logging out and then in.

Nope, I have to use Java for my work so it was actually the first thing I installed. I don't have any clue as to why it would say I don't have jdk. I thought maybe there could be something wrong in the path on the .sh file but I opened it up on nano and didn't really see much.

---------- Post added 02-04-14 at 07:37 AM ----------

Quote:
Originally Posted by Mark Pettit View Post
Sometimes you just gotta realise that the hard way just isn't worth it. This is not always the case, and much pleasure can be derived from saying "There - I did it !". This is NOT one of those times. Just download AlienBob's packages and be done with it.

You're probably right
 
Old 02-04-2014, 01:56 PM   #7
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 387

Rep: Reputation: 40
Quote:
Nope, I have to use Java for my work so it was actually the first thing I installed. I don't have any clue as to why it would say I don't have jdk. I thought maybe there could be something wrong in the path on the .sh file but I opened it up on nano and didn't really see much.
So you downloaded Oracle's JDK and ran the SlackBuild from extra on it. Which version of JDK did you download. I've used JDK 1.7.0_40.

Really, compiling Libreoffice isn't worth it unless you intend to do some developing or bug fixing.

Alex
 
Old 02-04-2014, 11:31 PM   #8
burgler09
LQ Newbie
 
Registered: Jan 2014
Posts: 17

Original Poster
Rep: Reputation: Disabled
You guys made me think about it, you were right. Downloaded the slackbuild and had it done in 5 minutes.

I think I'm going to run a LFS on my other computer
 
  


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
[SOLVED] LibreOffice v4.1.0 qrange Debian 1 08-05-2013 09:47 AM
How to install only Writer from Libreoffice package"libreoffice-4.0.3-i486-1alien.txz just.srad Slackware 10 05-30-2013 03:37 PM
LXer: Build Your Business Around LibreOffice, LibreOffice Certification Program Announced LXer Syndicated Linux News 0 05-07-2012 01:10 PM
LXer: LibreOffice Tips: Inserting QurĂ¢??an text in LibreOffice Writer LXer Syndicated Linux News 0 04-16-2012 03:50 PM
[SOLVED] Libreoffice - please help, thanks Thor_2.0 Linux - Software 1 08-06-2011 03:43 AM


All times are GMT -5. The time now is 02:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration