Page 1 of 1

Unable to Run Executable

Posted: Sat Sep 15, 2012 5:37 am
by sixia
A newbie migrant to Linux Mint XFCE 13, and like it so far.
Recently facing an issue that is really irritating - i wanted to try out the latest version of Blender and downloaded the latest stable version. The instruction says just extract all the files into a folder and run the executable. The thing is, the executable just doesn't run. In the GUI, the 'Open With' window pops-up when trying to run it. In the terminal it says 'command not found'. I have tried chmod 755 and +x but it doesn't seem to help at all. Please advice.

Re: Unable to Run Executable

Posted: Sat Sep 15, 2012 5:47 am
by kc1di
Hi sixia & Welcome to Mint.

What command did you type in the terminal and where did you extract the files to?

you may have to put the full address in the command to get it to work if it's in an unusual directory.

for instance if you extracted the files to say your home folder you may have to enter /home/<your usr name>/blender/< execute file> for it to work

Also it's possible that some dependency has not been met.

It is often better to stick to the version in the Mint or ubuntu repositories , unless there is a specific need that you have for new features.

the version currently in the repositories is 2.62-1. the newest stable version is 2.63a. Are you sure you downloaded the linux version?

Lots of questions hope we can help.

Re: Unable to Run Executable

Posted: Sat Sep 15, 2012 6:08 am
by kc1di
ok I downloaded the current version and it runs fine on my machine by just going to the folder where you extracted it to and clicking on the blender exicutable.

also ran with this command

Code: Select all

 /home/<usr name>/Downloads/blender-2.63a-linux-glibc27-x86_64/blender
I'm in Cinnamon though and not sure you have the same glibc27 libraries in xfce. you may want to check and make sure that file is installed on your system as it is required by blender.

also not sure your using mint version 13 if not the current glibc file might be too old.
Cheers

p.s. if you get it to exicute and want to place it in the menu let me know I'll walk you through how to do that also.

Re: Unable to Run Executable

Posted: Sat Sep 15, 2012 6:15 am
by sixia
> Are you sure you downloaded the linux version?
Yes. Linux x86-32 - http://www.blender.org/download/get-blender/

> where did you extract the files to?
The file was downloaded and extracted into a NTFS partition called S. The actual path to the extracted folder - /media/S/Software/Design/Blender/blender .

> What command did you type in the terminal?
I opened the extracted folder in Thunar, right-clicked and selected 'Open Terminal Here'. I've assumed that a file called 'blender' is the executable that needs to be run. I've tried the following commands:

1. blender
2. ./blender
3. sudo ./blender
4. sudo blender

Then I tried to change the file permission:
1. sudo chmod a+x blender
2. sudo chmod 755 blender

However, the permission doesn't change at all. ls- l:

-rw------- 1 m m 62048708 May 9 23:31 blender

Re: Unable to Run Executable

Posted: Sat Sep 15, 2012 6:32 am
by kc1di
Ok I would move the whole folder to the linux partition extract it to your home folder for now and try executing it from there. I suspect that you may not have execute privileges on the NTFS partition. and it's harder to do that than just moving the file. to Linux partition.

make a folder in your home partition called blender and copy or move the extracted files to it.

then try again and let me know if it runs or not.

Re: Unable to Run Executable

Posted: Sat Sep 15, 2012 9:09 am
by Flemur
"Ok I would move the whole folder to the linux partition extract it to your home folder for now and try executing it from there."

Better yet, start over and extract the download to a linux (ext3,4) partition. Copying from the NTFS parition might not work if the permissions on some of the files are already wrong (permissions don't map well between NTFS and ext4).

Re: Unable to Run Executable

Posted: Sat Sep 15, 2012 10:53 am
by sixia
I followed your suggestions, and it worked! Thanks, kc1di and Flemur, for your quick responses and teaching me something new. Much appreciated.

Re: Unable to Run Executable

Posted: Sat Sep 15, 2012 12:00 pm
by kc1di
sixia wrote:I followed your suggestions, and it worked! Thanks, kc1di and Flemur, for your quick responses and teaching me something new. Much appreciated.
Your welcome,
Now if you want to place and entry in the menu to launch from, you can follow the instructions here:
http://developer.gnome.org/integration- ... es.html.en

cheers!