LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2006, 01:55 PM   #1
DA WEED WIZARD
LQ Newbie
 
Registered: Mar 2006
Distribution: Ubuntu 5.10
Posts: 4

Rep: Reputation: 0
program running from one directory, but not another


I have a program that I installed, and is working fine, if I am in the /usr/local/bin directory. Otherwise, say I'm in the home directory, it won't work:

Code:
chris@dhcp-064-247-111-026:/usr/local/bin$ figlet fff
  __  __  __
 / _|/ _|/ _|
| |_| |_| |_
|  _|  _|  _|
|_| |_| |_|

chris@dhcp-064-247-111-026:/usr/local/bin$ cd ~
chris@dhcp-064-247-111-026:~$ figlet fff
figlet: standard.flf: Unable to open font file
chris@dhcp-064-247-111-026:~$
what could be causing this?
 
Old 03-29-2006, 01:57 PM   #2
hunterhunter
Member
 
Registered: Nov 2005
Posts: 90

Rep: Reputation: 15
Could it be an issue with your $PATH?
 
Old 03-29-2006, 02:03 PM   #3
DA WEED WIZARD
LQ Newbie
 
Registered: Mar 2006
Distribution: Ubuntu 5.10
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hunterhunter
Could it be an issue with your $PATH?
if it was that wouldn't it just say "command not found". Also, I have cowsay installed in /usr/local/bin and it works from everywhere like it should

edit: I fixed the problem. In the makefile, I only had a relative directory name instead of the full path to the folt directory. A reinstall fixed the problem.

Last edited by DA WEED WIZARD; 03-29-2006 at 02:15 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Program directory help... JustinCoyan Slackware 3 04-19-2005 11:27 AM
Program Directory nodnarb Linux - Software 2 07-18-2004 10:18 PM
Linux program directory SciYro Programming 7 05-21-2004 10:29 PM
Directory travesal program serotonincy Programming 3 02-22-2004 01:42 PM
running program in local directory bob10a Linux - General 6 11-04-2002 07:48 PM


All times are GMT -5. The time now is 10:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration