红联Linux门户
Linux帮助

哪们帮我看一下,安装软件错误

发布时间:2008-07-18 13:34:41来源:红联作者:永远自我
[root@localhost ~]# cd /usr/local/qt
[root@localhost qt]# ./configure


The environment variable $QTDIR is not set correctly. It is currently
set to "", but it should be set to this directory,
which is "/usr/local/qt".

Please read the INSTALL file for instructions on how to set $QTDIR
correctly. If you have set $QTDIR in your .profile or .login, you
will need to log out and log in again to make the setting effective.


[root@localhost qt]# make
make[1]: Entering directory `/usr/local/qt'

Qt must first be configured using the "configure" script.

make[1]: *** [.qmake.cache] 错误? 1
make[1]: Leaving directory `/usr/local/qt'
make: *** [init] 错误? 2
[root@localhost qt]#
文章评论

共有 2 条评论

  1. 永远自我 于 2008-07-18 23:09:37发表:

    回楼上兄弟,我是安装qt3.0 按照网上的方法先在一个文件里面写入几行英文,然后再安装的,也是照那方法装的,就出现make进不了下一步了!谢谢你的方法,我试试看行不行

  2. deepwhite 于 2008-07-18 14:55:17发表:

    你想干嘛?安装什么软件?安装以前做了什么?把这些都说清楚。

    试试
    [code]
    cd /usr/local/qt
    export QTDIR=$PWD
    ./configure
    [/code]