Grumpy_Penguin wrote:
Then try runningOn Monday 18 September 2006 06:52 am, Neill Jones wrote: make install as root as this is the standard way to install programs after they have been made. I'm not sure quite how it is set up, but nearly all programs on linux have auto-created make files that need to be configured and then have an installation command. So for all of these the standard commands to run are ./configure (creates the makefiles) make (compiles the code to object files and then links to create the programs) make install (run as root, which then installs the program in standard places such as /usr/bin) "rehash" is relevant if you are using tcsh (I though it was used in bash too, but doesn't seem to be) - it rereads all of the PATH directories to compile a database of what programs are available and where. You don't necessarily need it (I think after a logout and back in it will be updated) but it means that if you are using tcsh the commands will now be found without you needing to kill the shell and start a new one. If there is no "make install" - it would come back with some message like unknown target or target unfound - then you can try the following cd to the directory where you made everything look in the directory for a "bin" directory and see what is in that. That is a normal place to put executables once they are made. cd to the bin directory and then inside that type ./<whatevertheexecis> It should then run. Then you have the choice of either adding that directory to your PATH (the easiest thing to do), or move the executables to a directory in your path (I have a ~/bin where I keep all of mine). This may not work though if the executables are expecting library files in places where they aren't, or is looking for relative paths. I doubt this will be the case though. RHTH Neill |
- [newbie] Cannot get program to start Grumpy_Penguin
- Re: [newbie] Cannot get program to start ET
- Re: [newbie] Cannot get program to start Grumpy_Penguin
- Re: [newbie] Cannot get program to start Neill Jones
- Re: [newbie] Cannot get program to start Grumpy_Penguin
- Re: [newbie] Cannot get program to st... RickS
- Re: [newbie] Cannot get program t... RickS
- Re: [newbie] Cannot get progr... Neill Jones
- Re: [newbie] Cannot get program to st... Neill Jones
