当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

    摘要: 就是左边工具栏中一堆三角,四边形,箭头拖到右边可以挪位置的那种。 ......
 ·dbgrid需要bde支持吗    »显示摘要«
    摘要: 我的软件用了dbgrid+adoquery,并且使用了sql语言,在装了delphi 的机器上可以添加记录,而在其他机器上提示:对象或数据库只读,我怀疑dbgrid 需要bde支持,请高手指教。 ......


问一个linux的初级问题

在linux下安装软件的时候不是rpm包的,如tar.gz什么的.  
  先解压可以理解,用tar什么的,  
  make是做什么呢?还有./XXXX什么的,都是什么意思呢?能给一个安装软件的大概步骤吗?解释一下各各步分的意思.

NO.1   作者: lqh_wh

In   general,   make   is   command   to   compile   the   program.   There   will   be   a   file   named   Makefile,   or   makefile.   That   is   to   say,   the   package   u   tar   is   a   source   code   package,   not   a   setup   package.

NO.2   作者: wwwunix

./configure  
  make

NO.3   作者: rexp

你拿的源程序安装包,  
  安装是通常用下面几个步骤  
  解压,tar   zxfv   aaa.tar.gz  
  进目录后,./configure  
  make  
  make   install  
  就好了

NO.4   作者: genius0330

faint!and   fuck1  
   
  请楼上的楼上的楼上的楼上地那位:  
   
  请说普通话,输入法不会用就问我!!!!!!!!!!!!!!!!!!

NO.5   作者: getstar

我来解释吧  
  ./configure是执行配置的过程,因为不同人的机器不一样嘛,它总要看看你的机器能不能装吧  
  make是将源代码编译成可执行的代码  
  make   install是将程序复制到安装目录下  
  一般./configure   --prefix=/usr/local/安装目录名  
   
  至于为什么make   install就能把文件拷贝过去,建议去看看makefile的格式的资料

NO.6   作者: qiuafa

我来灌灌水。。。  
  沽沽。沽沽。。

NO.7   作者: magicyudong

反正你只要这样做就是对的啦,呵呵

NO.8   作者: lqh_wh

To   genius0330(云端青丝):   my   os   is   solaris7,   and   my   navigator   is   mozilla,   the   chinese   term   is   cxterm.  
  how   can   i   input   chinese   in   mozilla?   Dont   tell   me   paste   the   chinese   from   cxterm   to   mozilla.   It   doesnt   work.

NO.9   作者: alangxy

给你一个实例看看,我写的MySql的安装步骤:  
   
          下面以MySQL的3.23.53版本为例,介绍MySQL的安装方法,操作系统为RedHat   7.2。使用root用户进行安装,MySQL默认情况下会安装至/usr/local目录下。以下为MySQL的安装步骤:  
  第一步:使用root用户登录  
  Red   Hat   Linux   release   7.2   (Enigma)  
  Kernel   2.4.7-10   on   an   i686  
  login:   root  
  Password:  
  Last   login:   Mon   Dec   30   16:58:12   from   10.12.254.17  
  [root@billingware   root]#    
      说明:出现最后一行的提示符,即表示登录成功。  
  第二步:把安装光盘插入CD-ROM驱动器中,将光盘中的/billingWare/COMMON/mysql-3.23.53.tar.gz文件复制到/usr/local目录下  
  [root@billingware   root]#   mount     -t     iso9660     /dev/cdrom     /mnt/cdrom  
      说明:加载CD-ROM驱动器。  
  [root@billingware   root]#   cp     /mnt/cdrom/billingWare/COMMON/mysql-3.23.53.tar.gz     /usr/local  
      说明:将光盘中的mysql-3.23.53.tar.gz文件复制到/usr/local目录下。  
  第三步:卸载CD-ROM驱动器  
  [root@billingware   root]#   umount     /mnt/cdrom  
  第四步:取得mysql-3.23.53.tar.gz后,使用tar命令拆包,拆包后生成mysql-3.23.53目录  
  [root@billingware   root]#   cd   /usr/local  
  [root@BillingWare   local]#   tar   -zxvf   mysql-3.23.53.tar.gz  
  第五步:设定configure安装选项,设定安装目录为/usr/local  
  [root@BillingWare   local]#   cd   mysql-3.23.53  
  [root@BillingWare   mysql-3.23.53]#   ./configure   –prefix=/usr/local  
  第六步:编译MySQL    
  [root@BillingWare   mysql-3.23.53]#   make  
  第七步:安装MySQL  
  [root@BillingWare   mysql-3.23.53]#   make   install    
  第八步:将MySQL库所在的目录添加进配置文件中  
  [root@BillingWare   mysql-3.23.53]#   echo   "/usr/local/lib/mysql"   >>   /etc/ld.so.conf  
      说明:这样当Linux启动或者执行ldconfig命令时,将会在该配置文件中的目录里搜索库文件。  
  第九步:使ld.so.conf生效  
  [root@BillingWare   mysql-3.23.53]#   ldconfig   –v  
  第十步:产生MySQL   grant   tables  
  [root@BillingWare   mysql-3.23.53]#   scripts/mysql_install_db  
      说明:该命令会建立一个mysql数据库和一些数据库表,用来管理使用MySQL的授权信息,也就是使用者有哪些使用数据库的权限。  
  第十一步:添加MySQL用户  
  [root@BillingWare   mysql-3.23.53]#   cd   /usr/sbin  
  [root@BillingWare   sbin]#   adduser   mysql   –p   12345  
  [root@BillingWare   sbin]#   cd   ../bin  
  [root@BillingWare   bin]#   chown   –R   root   /usr/lib  
  [root@BillingWare   bin]#   chown   –R   mysql   /usr/local/var  
  [root@BillingWare   bin]#   chgrp   –R   mysql   /usr/lib  
  第十二步:启动MySQL  
  [root@BillingWare   mysql-3.23.53]#   cd   /root  
  [root@BillingWare   root]#   safe_mysqld&  
  第十三步:验证MySQL  
  [root@BillingWare   root]#   mysql  
  Welcome   to   the   MySQL   monitor.     Commands   end   with   ;   or   \g.  
  Your   MySQL   connection   id   is   1   to   server   version:   3.23.53  
   
  Type   help;   or   \h   for   help.   Type   \c   to   clear   the   buffer.  
   
  mysql>  
      说明:在提示符下输入mysql命令,如果出现以上提示则表明MySQL已经安装成功。  
  第十四步:停止MySQL  
  [root@BillingWare   root]#   mysqladmin   shutdown  
  第十五步:删除安装文件  
  [root@BillingWare   root]#   rm     –f     /usr/local/mysql-3.23.53.tar.gz  
  [root@BillingWare   root]#   rm     –rf     /usr/local/mysql-3.23.53  
  第十六步:退出安装  
  [root@BillingWare   root]#   exit  
      说明:安装完毕。  
   
   
  看完之后,明白了吗?


    摘要: 这是在执行这样的操作后出现的提示: ansistring sql="select count(*) from biao1" adoquery1->close(); adoquery1->sql->clear(); adoquery1->sql->add(aql); adoquery1->execsql; int k; k=adoque......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE