Unable to Run Executable

Forum rules
Before you post please read how to get help

Unable to Run Executable

Postby sixia on Sat Sep 15, 2012 5:37 am

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.
sixia
Level 1
Level 1
 
Posts: 3
Joined: Fri Sep 14, 2012 5:22 am

Linux Mint is funded by ads and donations.
 

Re: Unable to Run Executable

Postby kc1di on Sat Sep 15, 2012 5:47 am

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.
John 3:16
Morse code an Early Digital Mode
Registered Linux User #462608
LinuxMint 17.1 Cinnamon/Mate
Image
User avatar
kc1di
Level 7
Level 7
 
Posts: 1575
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Unable to Run Executable

Postby kc1di on Sat Sep 15, 2012 6:08 am

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.
John 3:16
Morse code an Early Digital Mode
Registered Linux User #462608
LinuxMint 17.1 Cinnamon/Mate
Image
User avatar
kc1di
Level 7
Level 7
 
Posts: 1575
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Unable to Run Executable

Postby sixia on Sat Sep 15, 2012 6:15 am

> 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
sixia
Level 1
Level 1
 
Posts: 3
Joined: Fri Sep 14, 2012 5:22 am

Re: Unable to Run Executable

Postby kc1di on Sat Sep 15, 2012 6:32 am

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.
John 3:16
Morse code an Early Digital Mode
Registered Linux User #462608
LinuxMint 17.1 Cinnamon/Mate
Image
User avatar
kc1di
Level 7
Level 7
 
Posts: 1575
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Unable to Run Executable

Postby Flemur on Sat Sep 15, 2012 9:09 am

"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).
Mint 17/Xfce/fluxbox/jackd no pulseaudio
User avatar
Flemur
Level 6
Level 6
 
Posts: 1094
Joined: Mon Aug 20, 2012 9:41 pm

Re: Unable to Run Executable

Postby sixia on Sat Sep 15, 2012 10:53 am

I followed your suggestions, and it worked! Thanks, kc1di and Flemur, for your quick responses and teaching me something new. Much appreciated.
sixia
Level 1
Level 1
 
Posts: 3
Joined: Fri Sep 14, 2012 5:22 am

Re: Unable to Run Executable

Postby kc1di on Sat Sep 15, 2012 12:00 pm

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-guide/stable/desktop-files.html.en

cheers!
John 3:16
Morse code an Early Digital Mode
Registered Linux User #462608
LinuxMint 17.1 Cinnamon/Mate
Image
User avatar
kc1di
Level 7
Level 7
 
Posts: 1575
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Linux Mint is funded by ads and donations.
 

Return to XFCE

Who is online

Users browsing this forum: No registered users and 6 guests