• 4355阅读
  • 1回复

qt在unix系统中的安装问题 [复制链接]

上一主题 下一主题
离线dj8203
 

只看楼主 倒序阅读 楼主  发表于: 2006-11-06
qt在unix系统中的安装问题
— 本帖被 XChinux 从 Qt for Windows 移动到本区(2010-02-08) —
在unix 系统上安装qt3.1.1,已经在profile文件中配置好了如下的信息
  QTDIR=/usr/local/qt
  PATH=$QTDIR/bin:$PATH
  MANPATH=$QTDIR/man:$MANPATH
  LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

  export QTDIR PATH MANPATH LD_LIBRARY_PATH

但是在执行./configure时,系统提示:You don't seem to have 'make' or 'gmake' in your path
这是什么原因呢。
我敲which make ,系统提示:/sbin/make,但是我的profile文件的整个内容如下:
#
# *****************************************************************
# *                                           *
# *   Copyright 2002 Compaq Information Technologies Group, L.P. *
# *                                           *
# *   The software contained on this media is proprietary to   *
# *   and embodies the confidential technology of Compaq   *
# *   Computer Corporation. Possession, use, duplication or   *
# *   dissemination of the software and media is authorized only *
# *   pursuant to a valid written license from Compaq Computer   *
# *   Corporation.                                 *
# *                                           *
# *   RESTRICTED RIGHTS LEGEND   Use, duplication, or disclosure *
# *   by the U.S. Government is subject to restrictions as set *
# *   forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# *   or in FAR 52.227-19, as applicable.               *
# *                                           *
# *****************************************************************
#
# HISTORY
#
# @(#)$RCSfile: .profile,v $ $Revision: 4.1.10.2 $ (DEC) $Date: 1997/05/29 07:49:15 $
#
#
if [ ! "$DT" ]; then
   stty dec
   tset -I -Q
fi
PS1="`hostname`> "
MAIL=/usr/spool/mail/$USER
echo $PATH | /bin/grep -q "$HOME/bin" ||
{
   PATH=$HOME/bin:${PATH:-/usr/bin:.}
   export PATH
}

MCC=cxx
export MCC

DISKHOME=/usr
export DISKHOME

SYS_ROOT=/usr/users/econ
export SYS_ROOT

LD_LIBRARY_PATH=$SYS_ROOT/lib:.:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

MYSQL=/usr/local/mysql
export MYSQL

PATH=$SYS_ROOT/bin:$MYSQL/bin:.:/sbin:/usr/sbin:$PATH
export PATH
QTDIR=/usr/users/econ/qt-x11-free-3.1.1
export QTDIR
PATH=$QTDIR/bin:$PATH
export PATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export LD_LIBRARY
. /usr/users/econ/zxjiankong/bin/OM.profile
DMJC_ROOT=/usr/users/econ/duanmian
export DMJC_ROOT





请求帮助
离线shiroki

只看该作者 1楼 发表于: 2006-11-16
我觉得像gcc的开发包没装好. 还有automake autoconf的包都得装上
还有很多开发包需要装呢, 估计你的系统里都是没有的
--
shiro is White
ki is tree
http://www.cuteqt.com
论坛 http://www.cuteqt.com/bbs
博客 http://www.cuteqt.com/blog
博客镜像: http://sites.cuteqt.com/cuteqt
Linux/Qt/嵌入式讨论群 http://qun.qq.com/air/5699823
快速回复
限100 字节
 
上一个 下一个