LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing and running Bundler script: permissions problem (https://www.linuxquestions.org/questions/linux-software-2/installing-and-running-bundler-script-permissions-problem-4175432447/)

gingertom 10-16-2012 05:14 AM

Installing and running Bundler script: permissions problem
 
Hi,

I am trying to install and run Bundler, a 3D photogrammetry package on Linux Mint 13 (Maya)
http://phototour.cs.washington.edu/bundler/

I downloaded the binary for version 3, bundler-v0.3-binary.zip, and unpackaged the directory in /home/tom/Documents.

After having installed and set up Bundler as per the documentation (http://phototour.cs.washington.edu/b....4-manual.html),
when I try to run the script RunBundler.sh in the 'ET' examples directory it will not execute and I encounter the following error message

----------------------------------------------------------------------------

RunBundler.sh: 17: RunBundler.sh: /home/tom/Documents/bundler-v0.3-binary/: Permission denied
RunBundler.sh: 19: [: ==: unexpected operator
RunBundler.sh: 29: [: GNU/Linux: unexpected operator
RunBundler.sh: 56: RunBundler.sh: /bin/extract_focal.pl: not found
cp: cannot stat `prepare/list.txt': No such file or directory
[- Extracting keypoints -]
RunBundler.sh: 62: RunBundler.sh: /bin/ToSift.sh: not found
[- Matching keypoints (this can take a while) -]
/bin/KeyMatchFull list_keys.txt matches.init.txt
RunBundler.sh: 72: RunBundler.sh: /bin/KeyMatchFull: not found
mkdir: cannot create directory `bundle': File exists
[- Running Bundler -]
RunBundler.sh: 93: RunBundler.sh: /bin/bundler: not found
[- Done -]

----------------------------------------------------------------------------
The permissions for the directory and the RunBundler.sh script are rwx and i am the owner of the file and the directory. Attempting to change the directory permissions at the first-level and root level to allow the script access had disasterous results.

I have uninstalled, reinstalled and checked the relevant files that need to be edited before running the script (extra_focal.pl and ToSift.sh).
I added the Base_Path to my LD_LIBRARY_PATH, as required by typing the following terminal command:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/tom/Documents/bundler-v0.3-binary/

When I enter:

echo
LD_LIBRARY_PATH

I receive:

LD_LIBRARY_PATH

I have contacted another user of the programme and he has not had these problems. Google searches for problems installing and running Bundler lead me to numerous threads about the Ruby application manager.

Apologies if I am missing something fundamental and if this is a case for the Newbie forum.

Many thanks for your time.
Tom


All times are GMT -5. The time now is 12:48 AM.