Current time: 12-23-2024, 01:24 PM Hello There, Guest! (LoginRegister)


Post Reply 
I execute echo $_topdir ,printing nothing
Author Message
thinktodo Offline
Junior Member
*

Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #1
I execute echo $_topdir ,printing nothing
there is a command
echo "%_topdir ~/rpm" >> ~/.rpmmacros

but,if I execute echo $_topdir ,printing nothing

what is reason?thanks
06-16-2009 12:13 PM
Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #2
RE: I execute echo $_topdir ,printing nothing
maybe there is an other programcall before this line. Or the command is called by another one, that gives a value to topdir.
06-16-2009 02:19 PM
Find all posts by this user Quote this message in a reply
fhawk Offline
Junior Member
*

Posts: 29
Joined: Mar 2009
Reputation: 1
Post: #3
RE: I execute echo $_topdir ,printing nothing
echo "%_topdir $HOME/rpm" >> $HOME/.rpmmacros
06-16-2009 04:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
qisback Offline
Junior Member
*

Posts: 13
Joined: Jan 2009
Reputation: 0
Post: #4
RE: I execute echo $_topdir ,printing nothing
From you last 2 posts I can see that your attempting to follow my installation documentation.

If you are unfamiliar with compiling from source then skip this step and use the premade RPM's avalible from http://www.thatfleminggent.com

As you the problem,

All that command is doing is writing "%_topdir ~/rpm" to the file .rpmmacros which should be located in your ~/rpm directory.

i.e. my home dir is called laurence, so it should write to /home/laurence/rpm/.rpmmacros

I will check the installation documentation just to make sure that there isn't a mistake.

-={Q}=-
06-16-2009 05:54 PM
Find all posts by this user Quote this message in a reply
qisback Offline
Junior Member
*

Posts: 13
Joined: Jan 2009
Reputation: 0
Post: #5
RE: I execute echo $_topdir ,printing nothing
This command seems to be right in that it does echo "%_topdir ~/rpm" into .rpmmacros

as Fhawk pointed out you can also use $HOME instead of ~

-={Q}=-
06-17-2009 06:06 AM
Find all posts by this user Quote this message in a reply
thinktodo Offline
Junior Member
*

Posts: 21
Joined: Jun 2009
Reputation: 0
Post: #6
RE: I execute echo $_topdir ,printing nothing
yes ,you are right,I do not familiar with compiling,so ,I feel that is very difficult.
thanks to giving me the url,but,I have not fund the RPM's.could you tell me the detail location?or email to me,this is my address 545573828@qq.com
06-17-2009 03:14 PM
Find all posts by this user Quote this message in a reply
qisback Offline
Junior Member
*

Posts: 13
Joined: Jan 2009
Reputation: 0
Post: #7
RE: I execute echo $_topdir ,printing nothing
Follow this guide

http://www.isp-control.net/documentation...ion/centos

After the compiling from source section there is a "Install premade RPM's" section.

-={Q}=-
06-17-2009 07:05 PM
Find all posts by this user Quote this message in a reply
fhawk Offline
Junior Member
*

Posts: 29
Joined: Mar 2009
Reputation: 1
Post: #8
RE: I execute echo $_topdir ,printing nothing
(06-17-2009 03:14 PM)thinktodo Wrote:  yes ,you are right,I do not familiar with compiling,so ,I feel that is very difficult.
thanks to giving me the url,but,I have not fund the RPM's.could you tell me the detail location?or email to me,this is my address 545573828@qq.com
中国的啊!!!!到我的网站去http://www.ispcpcn.com
还以为你是洋鬼子呢,哈哈!!!
06-18-2009 12:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
deveshelles Offline


Posts: 1
Joined: Mar 2011
Reputation: 0
Post: #9
RE: I execute echo $_topdir ,printing nothing
I think these is a some other programmer line to complete this program . I think you have to search form the Internet and you may ask the person who one know about this things .
03-18-2011 11:28 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)