Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Help installing Alice 2.3 on Ubuntu
Old
Ramo10
Junior Member
 
Status: Offline
Posts: 2
Join Date: Apr 2013
Unhappy Help installing Alice 2.3 on Ubuntu - 04-11-2013, 08:58 PM

Im trying to Install Alice 2.3 on ubuntu but I need help.

After I opened the terminal to the directory of where I downloaded the file which is cd ~/Downloads , I followed the step which was to run in the command, tar xvfz Alice2.3tar.gz , but once it begins to extract, i get a message at the end saying, "tar: Exiting with failure status due to previous errors"

At first I tried to extract the file to the desktop and I got an error saying "tar: Alice2.3/Required/jre/man/ja: Cannot create symlink to `ja_JP.eucJP': File exists"
Could that be the problem?

Last edited by Ramo10; 04-11-2013 at 09:16 PM.
   
Reply With Quote
Old
CellularDecay
Junior Member
 
Status: Offline
Posts: 7
Join Date: Jan 2013
Location: Kapolei, Hawaii
Default 04-15-2013, 05:41 PM

Yea, the 2.3 Linux downloads are bad.

I complained about this months ago, but nothing was ever done to fix it.

You can get the textbook worlds version (2.3b) to extract if you delete the offending link (ja) from the archive. Doesn't work with the non book version (generates even more errors).
   
Reply With Quote
Old
Ramo10
Junior Member
 
Status: Offline
Posts: 2
Join Date: Apr 2013
Default 04-16-2013, 12:34 PM

Quote:
Originally Posted by CellularDecay View Post
Yea, the 2.3 Linux downloads are bad.

I complained about this months ago, but nothing was ever done to fix it.

You can get the textbook worlds version (2.3b) to extract if you delete the offending link (ja) from the archive. Doesn't work with the non book version (generates even more errors).



Thanks I downloaded 2.3b and it extracted just fine but when i double click on run-alice and click on run, it never opens.

Is the run-alice folder supposed to be a plain text document? Or do I need another application to open it.
   
Reply With Quote
edit tarball and edit run-alice
Old
swilson
Junior Member
 
Status: Offline
Posts: 1
Join Date: Apr 2013
Default edit tarball and edit run-alice - 04-30-2013, 12:23 AM

Download 2.3b
Edit tarball and remove symlink Required/jre/man/ja.
unizip the tarball now
nano run-alice
change ./jre/bin/java to java so that it uses the java that is installed on your machine.
Then run Alice with ./run-alice

Currently running on Fedora 18 with Java 7 update 21
   
Reply With Quote
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 210
Join Date: Dec 2012
Location: Frosno, Ca
Default 05-03-2013, 12:04 PM

Quote:
Originally Posted by Ramo10 View Post
Im trying to Install Alice 2.3 on ubuntu but I need help.

After I opened the terminal to the directory of where I downloaded the file which is cd ~/Downloads , I followed the step which was to run in the command, tar xvfz Alice2.3tar.gz , but once it begins to extract, i get a message at the end saying, "tar: Exiting with failure status due to previous errors"

At first I tried to extract the file to the desktop and I got an error saying "tar: Alice2.3/Required/jre/man/ja: Cannot create symlink to `ja_JP.eucJP': File exists"
Could that be the problem?
I recently got Alice working on Debian 6.0.7 64 bit. If I remember correctly all the problems involved permissions. I still have two problems but Alice seems to run normally (for Alice) the problems are:
  1. The splash screen persists until I cancel the opening dialog box.
  2. Frequently Alice pops up a message window saying that she threw a null pointer exception during startup.
Again, after clearing these Alice seems to behave.

I have included a list of the owner and permission setting for my present Alice installation and an example of the commands I used to set permissions in the gallery. Unfortunately, I did not keep track of all the steps I performed and I am not sure how to submit this to "them" so the build could be fixed but here is what I've got....
Attached Files
File Type: txt AlicePermissions.txt (9.9 KB, 0 views)
File Type: txt AliceChanges.txt (519 Bytes, 0 views)
   
Reply With Quote
Permissions
Old
djslater107
Administrator
 
Status: Offline
Posts: 144
Join Date: Jan 2007
Default Permissions - 05-04-2013, 09:13 AM

Thank you... This is very helpful...

Unfortunately, we have found that we cannot always fix permissions problems as they are system and administrator dependent. We have tried to set them at our end, but they seem to get overridden upon installation at the user end.

But we will keep looking into this, and having documentation about how individuals have been able to address this issue on their system is very useful. It may be the best we can do is compile all these different notes into an FAQ for reference.

Thanks, again...


Don Slater
Alice Team
Carnegie Mellon University
   
Reply With Quote
Thanks for the feedback
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 210
Join Date: Dec 2012
Location: Frosno, Ca
Default Thanks for the feedback - 05-06-2013, 09:51 AM

Quote:
Originally Posted by djslater107 View Post
Thank you... This is very helpful...

Unfortunately, we have found that we cannot always fix permissions problems as they are system and administrator dependent. We have tried to set them at our end, but they seem to get overridden upon installation at the user end.

But we will keep looking into this, and having documentation about how individuals have been able to address this issue on their system is very useful. It may be the best we can do is compile all these different notes into an FAQ for reference.

Thanks, again...
Anytime, Mon - Fri 8-5
   
Reply With Quote
What I've done so far.
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 210
Join Date: Dec 2012
Location: Frosno, Ca
Default What I've done so far. - 07-16-2013, 07:34 AM

Quote:
Originally Posted by Ramo10 View Post
Im trying to Install Alice 2.3 on ubuntu but I need help.

After I opened the terminal to the directory of where I downloaded the file which is cd ~/Downloads , I followed the step which was to run in the command, tar xvfz Alice2.3tar.gz , but once it begins to extract, i get a message at the end saying, "tar: Exiting with failure status due to previous errors"

At first I tried to extract the file to the desktop and I got an error saying "tar: Alice2.3/Required/jre/man/ja: Cannot create symlink to `ja_JP.eucJP': File exists"
Could that be the problem?
I'm using Debian 7, after doing the below Alice 2.3 seems to work except that It throws an AWT execption when it starts. Please not I moved Alice to a more reasonable location but I think the permission changes are required regardless of the location. Also note this is 64 bit kernel 3.2.46 and for many of the steps you need to be root. One final thing, I tried to keep track of what I was doing but I obliviosily can not guarantee the steps are complete or whether they will work on your system. Translation: Your milage may vary.

If you can't unzip the download, try redownloading the source.

So here is what I've got:
# unpack Alice
tar -xzf Alice2.3b.tar.gz -C /opt/Alice
# move to install directory
cd /opt/Alice
# Set directory permissions for all directories.
find . -type d -exec chmod 775 '{}' \;
cd /opt/Alice/Alice2.3b
# change the owner to root:developer
find . -user mhenwood -exec chown root:developer '{}' ';'
cd Required
# Current Dir now /opt/Alice/Alice2.3b/Required

# Set directory permissions for all directories.
find . -type d -exec chmod 775 '{}' \;
# Set group permissions same as owner for directories and subdirectories the group may need to write to.
chmod -R g=u /opt/Alice/Alice2.3b/Required/exampleWorlds
chmod -R g=u /opt/Alice/Alice2.3b/Required/templateWorlds
chmod -R g=u /opt/Alice/Alice2.3b/Required/sounds
chmod -R g=u /opt/Alice/Alice2.3b/Required/textbookExampleWorlds
chmod -R g=u /opt/Alice/Alice2.3b/Required/tutorialWorlds

# *sys-package-mgr*: can't write cache file for... and *sys-package-mgr*: can't write index file Errors
# http://www.prasannatech.net/2009/02/...ssing-jar.html
sudo chmod -R 777 /opt/Alice/Alice2.3b/Required/jython-2.1/cachedir
# Download packages and replace 32 bit libs with 64 bit.
# The libjogl-jni package was needed for 64 bit libraries.
sudo cp /usr/lib/jni/libgluegen-rt.so /opt/Alice/Alice2.3b/Required/lib/linux-i586/
sudo cp /usr/lib/jni/libjogl_awt.so /opt/Alice/Alice2.3b/Required/lib/linux-i586/
sudo cp /usr/lib/jni/libjogl.so /opt/Alice/Alice2.3b/Required/lib/linux-i586/

# Could not fild libjogl_cg.so for 64 bit.
# FAILED
sudo cp /usr/lib/jni/libjogl_cg.so /opt/Alice/Alice2.3b/Required/lib/linux-i586/


Comments welcome, hope this helps
Attached Files
File Type: txt Alice2.3bInstall.txt (1.6 KB, 1 views)

Last edited by chickentree; 07-16-2013 at 07:37 AM. Reason: added redownload advice
   
Reply With Quote
Old
coorej
Junior Member
 
Status: Offline
Posts: 1
Join Date: Jul 2013
Location: india
Default 07-19-2013, 05:12 AM

i have problem installing this on my system.
i have windows 8 installed.

Last edited by x2495iiii; 07-23-2013 at 07:46 AM.
   
Reply With Quote
Old
bob3584
Senior Member
 
Status: Offline
Posts: 180
Join Date: Jan 2013
Location: In a Cardboard Box.
Default 07-19-2013, 11:52 PM

I can't help you there. My guess is that Alice isn't compatible with Windows 8.


My avatar will always be a preview of what I am currently working on.
   
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.