SweetHome3d
SweetHome3d
Hi, I'm a Linux beginner runing SALIX xfce 14.1.
I'm interested to install SweetHome 3D.
It always crash trying to install jdk. How can I proceed?
administrador[~]$ sudo slapt-src -i SweetHome3D
Password:
The following packages will be installed:
SweetHome3D
The following dependent slackbuilds will be built and installed:
jdk
Do you want to continue? [y/N] y
Fetching README...Done
Fetching jdk.SlackBuild...Done
Fetching jdk.info...Done
Fetching profile.d/jdk.csh...Done
Fetching profile.d/jdk.sh...Done
Fetching slack-desc...Done
Fetching http://download.oracle.com/otn-pub/java ... z...Failed
I'm interested to install SweetHome 3D.
It always crash trying to install jdk. How can I proceed?
administrador[~]$ sudo slapt-src -i SweetHome3D
Password:
The following packages will be installed:
SweetHome3D
The following dependent slackbuilds will be built and installed:
jdk
Do you want to continue? [y/N] y
Fetching README...Done
Fetching jdk.SlackBuild...Done
Fetching jdk.info...Done
Fetching profile.d/jdk.csh...Done
Fetching profile.d/jdk.sh...Done
Fetching slack-desc...Done
Fetching http://download.oracle.com/otn-pub/java ... z...Failed
Re: SweetHome3d
I had this problem a few months ago. You need to download the tarball manually, because Oracle requires you to agree explicitly to its license (i.e., by way of a checkbox) before you can actually download it.JoPalMo wrote:Hi, I'm a Linux beginner runing SALIX xfce 14.1.
I'm interested to install SweetHome 3D.
It always crash trying to install jdk. How can I proceed?
administrador[~]$ sudo slapt-src -i SweetHome3D
Password:
The following packages will be installed:
SweetHome3D
The following dependent slackbuilds will be built and installed:
jdk
Do you want to continue? [y/N] y
Fetching README...Done
Fetching jdk.SlackBuild...Done
Fetching jdk.info...Done
Fetching profile.d/jdk.csh...Done
Fetching profile.d/jdk.sh...Done
Fetching slack-desc...Done
Fetching http://download.oracle.com/otn-pub/java ... z...Failed
You can grab it up at http://www.oracle.com/technetwork/java/ ... 80261.html. Again, you'll have to agree to the license, and you'll want to be sure you grab the file specified in the slackbuild (i.e., not the .rpm for i586).
To grab up the slackbuild and related files, you can go to http://slackbuilds.org/repository/14.1/development/jdk/ and either grab all the files listed under "Individual Files," or you can just grab jdk.tar.gz under "Download Slackbuild."
On the other hand, if you ever have this problem again, you might try lftp. This makes grabbing up slackbuild files a lot more efficient. (Note, though, that this will still not get you the jdk tarball directly; it just makes it considerably easier to get your packaging directory set up quickly.)
Code: Select all
sudo /usr/sbin/slapt-get -i lftp
Code: Select all
lftp -c "open http://mirrors.xmission.com/salix/sbo/14.1/development; open jdk"
This'll put a subdirectory in your package directory populated with all the files needed for the jdk slackbuild. Just move the tarball of the jdk in there, run the slackbuild, and it'll build the jdk and place its package in /tmp. Use
Code: Select all
ls jdk*
Code: Select all
sudo /sbin/installpkg name-of-jdk-tarball.tgz
Re: SweetHome3d
Well, I've downloaded jdk-7u51-linux-i586.tar.gz from Oracle but now I don't know exactly what to do with it...
Re: SweetHome3d
I suggest trying to install openjdk using slapt-get first then try building sweethome3d using slapt-src.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Re: SweetHome3d
After installing openjdk I got the same error with SH3D.
administrador[~]$ sudo slapt-src -i SweetHome3D
The following packages will be installed:
SweetHome3D
The following dependent slackbuilds will be built and installed:
jdk
Do you want to continue? [y/N] y
Fetching README...Done
Fetching jdk.SlackBuild...Done
Fetching jdk.info...Done
Fetching profile.d/jdk.csh...Done
Fetching profile.d/jdk.sh...Done
Fetching slack-desc...Done
Fetching http://download.oracle.com/otn-pub/java ... z...Failed
administrador[~]$ sudo slapt-src -i SweetHome3D
The following packages will be installed:
SweetHome3D
The following dependent slackbuilds will be built and installed:
jdk
Do you want to continue? [y/N] y
Fetching README...Done
Fetching jdk.SlackBuild...Done
Fetching jdk.info...Done
Fetching profile.d/jdk.csh...Done
Fetching profile.d/jdk.sh...Done
Fetching slack-desc...Done
Fetching http://download.oracle.com/otn-pub/java ... z...Failed
Re: SweetHome3d
As far as I remember SweetHome3d requires official Java. Open jdk doesn't work.
It's complicated to install but try following these instructions...
http://docs.slackware.com/howtos:software:java
It's complicated to install but try following these instructions...
http://docs.slackware.com/howtos:software:java
Re: SweetHome3d
That may be true but I believe that slapt-src is failing here because it is looking for a package called jdk, not openjdk. Salix dependency files allow for jdk or openjdk. So before going through the trouble of installing jdk, install openjdk and the try installing weathome3d using slapt-src "no dependency" option. Check slapt-src --help for the correct syntax.knome wrote:As far as I remember SweetHome3d requires officiath l Java. Open jdk doesn't work.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Re: SweetHome3d
This.laprjns wrote:That may be true but I believe that slapt-src is failing here because it is looking for a package called jdk, not openjdk. Salix dependency files allow for jdk or openjdk. So before going through the trouble of installing jdk, install openjdk and the try installing weathome3d using slapt-src "no dependency" option. Check slapt-src --help for the correct syntax.knome wrote:As far as I remember SweetHome3d requires officiath l Java. Open jdk doesn't work.
If you have done a full salix installation, you should have openjre installed anyway. I haven't tried sweethome3d, but I kind of doubt it needs jdk instead of jre. So you probably don't need anything other than what you have installed. If it indeed fails to run (after you have installed it with "slapt-src --no-dep"), then try installing openjdk with slapt-get. If it still doesn't run, then create and install the oracle jdk package.
Re: SweetHome3d
I´ve tried installation without dependencies, that is trusting in installed openjdk, but it doesn't works... I guess that Oracle jdk is essential
(...)
Slackware package /usr/src/slapt-src/graphics/SweetHome3D/SweetHome3D-4.1-i486-1_SBo.txz created.
Installing package SweetHome3D-4.1-linux-x86...
ERROR: [block:-1] corrupted tgz archive (invalid header checksum)
ERROR: error thrown
ERROR: Package file is corrupted. (SweetHome3D-4.1-linux-x86.tgz)
ERROR: Package installation failed!
/sbin/spkg -u --reinstall --install-new SweetHome3D-4.1-linux-x86.tgz Failed
(...)
Slackware package /usr/src/slapt-src/graphics/SweetHome3D/SweetHome3D-4.1-i486-1_SBo.txz created.
Installing package SweetHome3D-4.1-linux-x86...
ERROR: [block:-1] corrupted tgz archive (invalid header checksum)
ERROR: error thrown
ERROR: Package file is corrupted. (SweetHome3D-4.1-linux-x86.tgz)
ERROR: Package installation failed!
/sbin/spkg -u --reinstall --install-new SweetHome3D-4.1-linux-x86.tgz Failed
Re: SweetHome3d
No, the package is created, but there is indeed a problem. slapt-src tries to install the "source" tarball instead of the actual package.
You can probably install the package with:
You can probably install the package with:
Code: Select all
sudo spkg /usr/src/slapt-src/graphics/SweetHome3D/SweetHome3D-4.1-i486-1_SBo.txz