title: Install Qt 4 ubuntu 17.04
body: <p>I need to install Qt 4 in my computer to run a specific software. I've download Qt 4.8.6 from: <a href="https://download.qt.io/archive/qt/4.8/4.8.6/" rel="noreferrer">https://download.qt.io/archive/qt/4.8/4.8.6/</a>.
  I followed the steps from the link <a href="http://doc.qt.io/qt-4.8/install-x11.html" rel="noreferrer">http://doc.qt.io/qt-4.8/install-x11.html</a>, but after I use <code>make</code> (step 3) I received the message:</p>
  
  <blockquote>
    <p>Makefile:1624: recipe for target 'obj/release/pcre_exec.o' failed<br>
    make[1]: <strong>* [obj/release/pcre_exec.o] Error 1<br>
    make[1]: Leaving directory '/usr/lib/qt/src/script'<br>
    Makefile:602: recipe for target 'sub-script-make_default-ordered' failed<br>
    make: *</strong> [sub-script-make_default-ordered] Error 2</p>
  </blockquote>
  
  <p>I've already tried this recomendations from the software (that I want to install after installed Qt4), and I stop at the same <code>make</code> command.</p>
  
  <blockquote>
    <p>Installation example (bash notation):  </p>
    
    <p>VERS="4.x.y"             # Set Qt version number  </p>
    
    <p>SRCDIR="${HOME}/src"     # Set path for source files<br>
    mkdir $SRCDIR<br>
    cd $SRCDIR<br>
    SRC="http://origin.releases.qt-project.org/qt4/source"<br>
    wget -N $SRC/qt-everywhere-opensource-src-$VERS.tar.gz<br>
    tar -xzvf qt-everywhere-opensource-src-$VERS.tar.gz<br>
    cd qt-everywhere-opensource-src-$VERS  </p>
    
    <p>INSTDIR="/usr/local"       </p>
    
    <p>PLATFORM="linux-g++-64" </p>
    
    <p>O1="-release -opensource -static"<br>
    O2="-qt-zlib -no-gif -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg"<br>
    NO="-nomake examples -nomake demos -nomake docs -nomake translations"<br>
    ./configure $O1 $O2 $NO -prefix $INSTDIR/qt_$VERS -platform $PLATFORM
                                 # Confirm the license agreement  </p>
  </blockquote>
  
  <p>Someone knows how to proceed?
  Thanks.</p>