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.
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.
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?
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.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.