LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-25-2004, 06:49 PM   #1
rajvirnijjar
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Rep: Reputation: 0
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
 
Old 08-25-2004, 07:01 PM   #2
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
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
 
Old 08-25-2004, 07:40 PM   #3
rajvirnijjar
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Original Poster
Rep: Reputation: 0
what is rwhite?

Thanks
 
Old 08-25-2004, 10:49 PM   #4
rajvirnijjar
LQ Newbie
 
Registered: Aug 2004
Posts: 20

Original Poster
Rep: Reputation: 0
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
 
Old 08-25-2004, 10:55 PM   #5
realjustin
Member
 
Registered: Aug 2004
Location: /dev/null
Distribution: Slack 10, Debian
Posts: 99

Rep: Reputation: 15
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.
 
Old 08-26-2004, 07:18 AM   #6
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
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
 
  


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
Problem compiling C++ packages MadCowDzz SUSE / openSUSE 4 11-06-2005 03:13 PM
When compiling, where do you install *stuff*? SBing Slackware 10 06-03-2004 07:51 AM
problem compiling packages npeshman Mandriva 1 10-23-2003 01:47 AM
Problems compiling stuff ragmavx Linux - Software 1 10-22-2003 06:04 PM
Compiling only certain packages JHuizingh Linux - General 1 09-10-2001 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:00 PM.

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
Open Source Consulting | Domain Registration