VirtualBox

Changeset 33515 in vbox for trunk


Ignore:
Timestamp:
Oct 27, 2010 2:21:00 PM (14 years ago)
Author:
vboxsync
Message:

Configure: improve error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r33514 r33515  
    181181    cleanup
    182182    rm -f $ENV
     183    echo "Check $LOG for details"
    183184    exit 1
    184185  fi
     
    487488    bcc_ver=`$BCC -v 2>&1|grep version|sed 's+^bcc: version \(.*\)+\1+'`
    488489    if [ $? -ne 0 ]; then
    489       log_failure "not found"
     490      log_failure "BCC not found"
    490491      fail
    491492    else
     
    505506      $BCC -B $bcc_dir -C-c -3 -S -o $ODIR.tmp_out $ODIR.tmp_src.c >> $LOG 2>&1
    506507      if [ $? -ne 0 ]; then
    507         log_failure "not found"
     508        log_failure "BCC not working"
    508509        fail
    509510      else
     
    527528    as86_ver=`$AS86 -v 2>&1|grep version|sed 's+^as86 version: \(.*\)+\1+'`
    528529    if [ $? -ne 0 ]; then
    529       log_failure "not found"
     530      log_failure "as86 not found"
    530531      fail
    531532    else
     
    546547    yasm_ver=`$YASM --version|grep "^yasm"|sed 's+^yasm \(.*\)+\1+'`
    547548    if [ $? -ne 0 ]; then
    548       log_failure "not found"
     549      log_failure "yasm not found"
    549550      fail
    550551    else
     
    573574    iasl_ver=`$IASL|grep version|sed 's+^ASL.*version \([0-9]*\).*+\1+'`
    574575    if [ $? -ne 0 ]; then
    575       log_failure "not found"
     576      log_failure "iasl not found"
    576577      fail
    577578    else
     
    592593    xsltproc_ver=`$XSLTPROC --version`
    593594    if [ $? -ne 0 ]; then
    594       log_failure "not found"
     595      log_failure "xsltproc not found"
    595596      fail
    596597    else
     
    611612    mkisofs_ver=`$GENISOIMAGE --version`
    612613    if [ $? -ne 0 ]; then
    613       log_failure "not found"
     614      log_failure "mkisofs not found"
    614615      fail
    615616    else
     
    620621    mkisofs_ver=`$MKISOFS --version`
    621622    if [ $? -ne 0 ]; then
    622       log_failure "not found"
     623      log_failure "mkisofs not working"
    623624      fail
    624625    else
     
    641642      libxml2_ver=`pkg-config libxml-2.0 --modversion 2>> $LOG`
    642643      if [ $? -ne 0 ]; then
    643         log_failure "not found"
     644        log_failure "libxml2 not found"
    644645        fail
    645646      else
     
    673674      libxml2_ver=`xml2-config --version`
    674675      if [ $? -ne 0 ]; then
    675         log_failure "not found"
     676        log_failure "xml2-config not found"
    676677        fail
    677678      else
     
    724725      libxslt_ver=`pkg-config libxslt --modversion 2>> $LOG`
    725726      if [ $? -ne 0 ]; then
    726         log_failure "not found"
     727        log_failure "libxslt not found"
    727728        fail
    728729      else
     
    756757      libxslt_ver=`xslt-config --version`
    757758      if [ $? -ne 0 ]; then
    758         log_failure "not found"
     759        log_failure "xslt-config not working"
    759760        fail
    760761      else
     
    804805    libidl_ver=`libIDL-config-2 --version`
    805806    if [ $? -ne 0 ]; then
    806       log_failure "not found"
     807      log_failure "libIDL-config-2 not working"
    807808      fail
    808809    else
     
    814815    libidl_ver=`libIDL-config --version`
    815816    if [ $? -ne 0 ]; then
    816       log_failure "not found"
     817      log_failure "libIDL-config not working"
    817818      fail
    818819    else
     
    10191020    fi
    10201021  fi
    1021   echo "not found."
     1022  echo "pam0.x not found"
    10221023  test_header linux_pam
    10231024  cat > $ODIR.tmp_src.cc << EOF
     
    11071108    fi
    11081109  else
    1109     log_failure "not found"
     1110    log_failure "SDL not found"
    11101111    fail
    11111112  fi
     
    14611462            pkg-config QtCore --modversion 2>> $LOG`
    14621463        if [ $? -ne 0 ]; then
    1463           log_failure "not found"
     1464          log_failure "QtCore not found"
    14641465          fail
    14651466        else
     
    15651566              moc_ver=`$q/bin/moc-qt4 -v 2>&1|sed 's+^.*(Qt \(.*\))+\1+'`
    15661567              if [ $? -ne 0 ]; then
    1567                 log_failure "not found"
     1568                log_failure "moc-qt4 not working"
    15681569                fail
    15691570              else
     
    15791580              moc_ver=`$q/bin/moc -v 2>&1|sed 's+^.*(Qt \(.*\))+\1+'`
    15801581              if [ $? -ne 0 ]; then
    1581                 log_failure "not found"
     1582                log_failure "moc not working"
    15821583                fail
    15831584              else
     
    15941595      fi
    15951596    else
    1596       log_failure "not found"
     1597      log_failure "qt4 not working"
    15971598      fail
    15981599    fi
    15991600  else
    1600     log_failure "not found"
     1601    log_failure "qt4 not found"
    16011602    fail
    16021603  fi
     
    16781679    kchmviewer_ver=`$KCHMVIEWER --version|grep "^KchmViewer:"|sed 's+^KchmViewer: \(.*\)+\1+'`
    16791680    if [ $? -ne 0 ]; then
    1680       log_failure "not found"
     1681      log_failure "kchmviewer not working"
    16811682      fail
    16821683    else
     
    18881889      cnf_append "VBOX_LIB_PYTHON"      "$p/$b/lib$d.so"
    18891890    else
    1890       log_failure "not found"
     1891      log_failure "Python not working"
    18911892      fail
    18921893    fi
    18931894  else
    1894     log_failure "not found"
     1895    log_failure "Python not found"
    18951896    fail
    18961897  fi
     
    20612062    makeself_ver=`$MAKESELF --version|grep version|sed 's+^Makeself.*version \([0-9\.]*\).*+\1+'`
    20622063    if [ $? -ne 0 ]; then
    2063       log_failure "not found"
     2064      log_failure "makeself not working"
    20642065      fail
    20652066    else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette