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 am trying to compile the latest stable version of Scilab , guess its 5.1.1 ( do not have my Slackware box around to confirm ), anyway, after downloading and untarring the pre-requirements and the source code of Scilab, they all extract to a folder called Scilab, (i guess ) I run ./configure...
It aborts, and asks me for a jdk, so I download the jdk-1.5....-linux-x86_64.bin chmod it and run it... in unpacks to a folder which I use as prefix for Scilab's configure, with --with-jdk=/foo/...
Should work, and it almost does, it finds the java apps in .../foo/bin and aborts abruptly missing some "ant"... :-(
I am clueless here... :-(
Can Eclipse from Slackbuilds be a successful substitution for jdk...?
.... "ant"... !? what the heck is this... ?? Should i have downloaded ahe sdk, instead of the jdk...?
I think you should see more documentation and need to google a bit more.
jdk stands for Java Development Kit, provided in the installation dvd in /extra/jdk-6 folder.
Eclipse is an IDE, Integrated Development Environment for Java and many other languages.
To run a java program, you need jre.
To compile a java program, you need jdk.
To make and automate a large program/project, you need tools like Eclipse, or Netbeans.
So, jdk will be sufficient IMHO.
Do not confuse JDK with Eclipse, they are related but completely different things.
As soon as I get back home i will get Scilab working, preferably 64 bits, but if not, thanks for the link anyway.
@jedi_sith_fears :
Why should the default of Slackare install be --prefix=/usr instead of the more traditional /usr/local of most distros...?
I guess that this is something peculiar to Slackware itself, but what is the purpose...?
Has to do with pkg management...? I do not know enough of Slackware to understand this... :-(
In all the other distros that I have used, /usr contained the user "base" system ( although it is an abuse to use BSD parlance when refering to a distribution... I think that you get the idea ) /usr/local being reserved to the packages that ADMIN adds to the system through a ./configure make install clean ...
prefix defines where the files will be placed, keeping that place as root.
In other distros, /usr/local is the default place, in Slackware it was kept in /usr from a long time, that's why this convention is used. You can install it to /usr/local too, if you desire so.
The problem may arise that when it will be searching for other libraries or programs, they will be /usr, but your program will look for them in /usr/local, so it is better to follow the convention.
You will understand what you told is more about Traditional Unix Convention, and this is just Slackware convention, since it's closest to UNIX System V, IMHO.
Code:
In traditional Unix systems, /usr usually contains files that
come with the system distribution, and the /usr/local tree is free
for the local administrator to manage. The only really hard and fast
rule is that Unix distributions should not touch /usr/local, except
perhaps to create the basic directories within it.
You are basically installing a software for all users, so it will be, more logically, in /usr.
Last edited by jedi_sith_fears; 10-23-2009 at 02:08 PM.
I am trying to compile the latest stable version of Scilab , guess its 5.1.1 ( do not have my Slackware box around to confirm ), anyway, after downloading and untarring the pre-requirements and the source code of Scilab, they all extract to a folder called Scilab, (i guess ) I run ./configure...
It aborts, and asks me for a jdk, so I download the jdk-1.5....-linux-x86_64.bin chmod it and run it... in unpacks to a folder which I use as prefix for Scilab's configure, with --with-jdk=/foo/...
Should work, and it almost does, it finds the java apps in .../foo/bin and aborts abruptly missing some "ant"... :-(
I am clueless here... :-(
Can Eclipse from Slackbuilds be a successful substitution for jdk...?
.... "ant"... !? what the heck is this... ?? Should i have downloaded ahe sdk, instead of the jdk...?
Thanks in advance
Alex
if you still need a java 1.5 jdk, i have several versions kept up http://cardinal.lizella.net/~vbatts/downloads/, but it conflicts with the java 1.6 from most recent versions of slackware
if you still need a java 1.5 jdk, i have several versions kept up http://cardinal.lizella.net/~vbatts/downloads/, but it conflicts with the java 1.6 from most recent versions of slackware
Actually it conflicts with the symlink created for java.
Actually it conflicts with the symlink created for java.
while it was a symlink for 1.5, the 1.6 is installed to the /usr/lib$LIBDIRSUFFIX/java. so if you get that resolved, the /etc/profile.d/j*.{,c}sh setting PATH and JAVA_HOME would still need to be cleaned up.
it would require hacking something after installing the pkg, therefore, it conflicts
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.