Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-23-2004, 11:17 AM   #1
Registered: Oct 2003
Location: Belgium
Distribution: Gentoo
Posts: 42

Rep: Reputation: 15
compiling = no go

I'm having problems with compiling programs.

Each time i succeed at compiling any program and installing it, it fails to run. when i try to run it, bash just returns 'command not found', though i know i compiled and installed it right. I checked dependencies & the output of ./configure. I also tried installing it in an default directory, but still no go... :s

I use Suse 9 now, before i had redhat and never had such a problem. this is really annoying.

I would be really thankfull to anyone who gives me a hint on what is going on here.

Old 01-23-2004, 11:27 AM   #2
Registered: Oct 2003
Location: Riverside, CA
Distribution: Slackware/RedHat
Posts: 79

Rep: Reputation: 15
perhaps your search path is not defined wll enough. run the command 'whereis (programname)'
and then run the program using the complete path. if it works like that, then just find where your paths are stored and update them.
Old 01-23-2004, 11:27 AM   #3
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
When you have compiled it, where does the actual executable that you would call to launch the program go? In most cases this would be /usr/local/bin, which should be in your path. If it's not, add it. To check if it's in your path, type echo $PATH and to add it to your path (if it's not there) use export PATH=$PATH:/usr/local/bin

If the program defaults to installing elsewhere you can often create a symbolic link to the executable in /usr/local/bin. Or you could simply add that directory to your $PATH too.

If it's a program you're not likely to use every day, just type the full location of the program to launch it: /usr/local/myapplication/myapp or whatever.



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
Compiling narcussist Fedora 6 01-18-2006 12:50 PM
compiling z9_87 Linux - Software 4 12-23-2004 05:29 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 05:31 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:51 PM.

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