LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compiling packages and stuff (https://www.linuxquestions.org/questions/linux-software-2/compiling-packages-and-stuff-222423/)

rajvirnijjar 08-25-2004 06:49 PM

Compiling packages and stuff
 
I am new to linux, I have Red Hat 9. I am just learning how to compile packages. I am having a problem though. I want to move a folder into the /usr/local/src directory, but every time i try to do it this is what i get.

[root@localhost root]# mv ~rwhite/kgraphspace-0.3.0-pre1.tar.bz2 /usr/local/src
mv: can't stat source ~rwhite/kgraphspace-0.3.0-pre1.tar.bz2

what does it mean that it can't stat source....

I compilied another package and i got the same thing so i just physically moved it by copying and pasting it into that directory but i want to learn it using the commands.

I know mv is the move command but what is ~rwhite

Can someone help me out.

Thanks

Boby 08-25-2004 07:01 PM

Hello rajvirnijjar!

Try to use: mv ~/ rwhite/kgraphspace-0.3.0-pre1.tar.bz2 /usr/local/src

~/ is your home directory. It's the same like /home/rajvirnijjar.
So you could use your above command mv home/rajvirnijjar/rwhite/kgraphspace-0.3.0-pre1.tar.bz2 /usr/local/src

Cheers, Boby

rajvirnijjar 08-25-2004 07:40 PM

what is rwhite?

Thanks

rajvirnijjar 08-25-2004 10:49 PM

I have one more question, after i compilie that package and make install it how do i go about running it. For example in windows once a program is installed it is in programs, but how do i go about using it after i have compiled it and installed it.

Thanks

realjustin 08-25-2004 10:55 PM

Basically it will but the executable in a directory that is in your path, like
/usr/bin

or

/usr/local/bin

Then if you know the executable name, you can just type it in at the command prompt as any user. If you want to add an icon that can execute it through KDE, Gnome or another window manager, that will be a different procedure, but it should involve right clicking on the desktop and adding a link or launcher.

Boby 08-26-2004 07:18 AM

optionally you can use ./configure --prefix=/your/path
then it will be installed where you want it. there you'll find the executable too.

Quote:

what is rwhite?

Thanks
I tought it's a directory in your home folder..cause you used it in your first post:
[root@localhost root]# mv ~rwhite/kgraphspace-0.3.0-pre1.tar.bz2 /usr/local/src
mv: can't stat source ~rwhite/kgraphspace-0.3.0-pre1.tar.bz2



boby


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