ispCP - Board - Support
I execute echo $_topdir ,printing nothing - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: I execute echo $_topdir ,printing nothing (/thread-6973.html)



I execute echo $_topdir ,printing nothing - thinktodo - 06-16-2009 12:13 PM

there is a command
echo "%_topdir ~/rpm" >> ~/.rpmmacros

but,if I execute echo $_topdir ,printing nothing

what is reason?thanks


RE: I execute echo $_topdir ,printing nothing - MasterTH - 06-16-2009 02:19 PM

maybe there is an other programcall before this line. Or the command is called by another one, that gives a value to topdir.


RE: I execute echo $_topdir ,printing nothing - fhawk - 06-16-2009 04:02 PM

echo "%_topdir $HOME/rpm" >> $HOME/.rpmmacros


RE: I execute echo $_topdir ,printing nothing - qisback - 06-16-2009 05:54 PM

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}=-


RE: I execute echo $_topdir ,printing nothing - qisback - 06-17-2009 06:06 AM

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}=-


RE: I execute echo $_topdir ,printing nothing - thinktodo - 06-17-2009 03:14 PM

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


RE: I execute echo $_topdir ,printing nothing - qisback - 06-17-2009 07:05 PM

Follow this guide

http://www.isp-control.net/documentation/start/installation/centos

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

-={Q}=-


RE: I execute echo $_topdir ,printing nothing - fhawk - 06-18-2009 12:18 AM

(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
还以为你是洋鬼子呢,哈哈!!!


RE: I execute echo $_topdir ,printing nothing - deveshelles - 03-18-2011 11:28 PM

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 .