Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

gmake[3]: ruby: command not found



  • Development environment: Fedora 14, QT5.3.2, openssl1.0.2k;
    when I make the code of QT5.3.2, error as follows:

    ar cruT libWTF.a .obj/wtf/ArrayBuffer.o .obj/wtf/ArrayBufferView.o .obj/wtf/Assertions.o .obj/wtf/BitVector.o .obj/wtf/CryptographicallyRandomNumber.o .obj/wtf/ CurrentTime.o .obj/wtf/DateMath.o .obj/wtf/DataLog.o .obj/wtf/DecimalNumber.o .obj/wtf/dtoa.o .obj/wtf/dtoa/bignum-dtoa.o .obj/ wtf/dtoa/bignum.o .obj/wtf/dtoa/cached-powers.o .obj/wtf/dtoa/diy-fp.o .obj/wtf/dtoa/double-conversion.o .obj/wtf/dtoa/ fast-dtoa.o .obj/wtf/dtoa/fixed-dtoa.o .obj/wtf/dtoa/strtod.o .obj/wtf/FastMalloc.o .obj/wtf/FilePrintStream.o .obj/wtf/FunctionDispatcher. o .obj/wtf/GregorianDateTime.o .obj/wtf/gobject/GOwnPtr.o .obj/wtf/gobject/GRefPtr.o .obj/wtf/HashTable.o .obj/wtf/MD5.o .obj/wtf/ MainThread.o .obj/wtf/MediaTime.o .obj/wtf/MetaAllocator.o .obj/wtf/NullPtr.o .obj/wtf/NumberOfCores.o .obj/wtf/RAMSize.o .obj/wtf/OSRandomSource. o .obj/wtf/qt/MainThreadQt.o .obj/wtf/qt/StringQt.o .obj/wtf/PageAllocationAligned.o .obj/wtf/PageBlock.o .obj/wtf/ParallelJobsGeneric.o .obj/wtf/ PrintStream.o .obj/wtf/RandomNumb er.o .obj/wtf/RefCountedLeakCounter.o .obj/wtf/SHA1.o .obj/wtf/StackBounds.o .obj/wtf/StringPrintStream.o .obj/wtf/TCSystemAlloc.o .obj/wtf/Threading. o .obj/wtf/TypeTraits.o .obj/wtf/WTFThreadData.o .obj/wtf/text/AtomicString.o .obj/wtf/text/AtomicStringTable.o .obj/wtf/text/Base64.o .obj/ wtf/text/CString.o .obj/wtf/text/StringBuilder.o .obj/wtf/text/StringImpl.o .obj/wtf/text/StringStatics.o .obj/wtf/text/WTFString.o .obj/ wtf/unicode/CollatorDefault.o .obj/wtf/unicode/icu/CollatorICU.o .obj/wtf/unicode/UTF8.o .obj/wtf/OSAllocatorPosix.o .obj/wtf/ThreadIdentifierDataPthreads.o .obj/wtf/ ThreadingPthreads.o .obj/wtf/threads/BinarySemaphore.o
    gmake[2]: Leaving the directory "/home/oneu/Downloads/qt-everywhere-opensource-src-5.3.2/qtwebkit/Source/WTF"
    cd Source/JavaScriptCore/ && (test -e Makefile.JavaScriptCore || /home/oneu/Downloads/qt-everywhere-opensource-src-5.3.2/qtbase/bin/qmake /home/oneu/Downloads/qt-everywhere- opensource-src-5.3.2/qtwebkit/Source/JavaScriptCore/JavaScriptCore.pro -o Makefile.JavaScriptCore) && gmake -f Makefile.JavaScriptCore
    gmake[2]: Enter the directory "/home/oneu/Downloads/qt-everywhere-opensource-src-5.3.2/qtwebkit/Source/JavaScriptCore"
    (test -e Makefile.LLIntOffsetsExtractor || /home/oneu/Downloads/qt-everywhere-opensource-src-5.3.2/qtbase/bin/qmake /home/oneu/Downloads/qt-everywhere-opensource-src-5.3. 2/qtwebkit/Source/JavaScriptCore/LLIntOffsetsExtractor.pro -o Makefile.LLIntOffsetsExtractor) && gmake -f Makefile.LLIntOffsetsExtractor
    gmake[3]: Enter the directory "/home/oneu/Downloads/qt-everywhere-opensource-src-5.3.2/qtwebkit/Source/JavaScriptCore"
    ruby /home/oneu/Downloads/qt-everywhere-opensource-src-5.3.2/qtwebkit/Source/JavaScriptCore/offlineasm/generate_offset_extractor.rb llint/LowLevelInterpreter.asm LLIntDesiredOffsets.h
    gmake[3]: ruby: command not found
    gmake[3]: *** [LLIntDesiredOffsets.h] error 127
    gmake[3]: Leave the directory "/home/oneu/Downloads/qt-everywhere-opensource-src-5.3.2/qtwebkit/Source/JavaScriptCore"
    gmake[2]: *** [sub-LLIntOffsetsExtractor-pro-make_first-ordered] error 2
    gmake[2]: leave the directory "/home/oneu/Downloads/qt-everywhere-opensource-src-5.3.2/qtwebkit/Source/JavaScriptCore"
    gmake[1]: *** [sub-Source-JavaScriptCore-JavaScriptCore-pro-make_first-ordered] error 2
    gmake[1]: Leave the directory "/home/oneu/Downloads/qt-everywhere-opensource-src-5.3.2/qtwebkit"
    gmake: *** [module-qtwebkit-make_first] error 2
    [root@localhost qt-everywhere-opensource-src-5.3.2]#
    

  • Moderators

    You need to install ruby.


  • Moderators

    You need to install ruby.



  • @sierdzio
    Thanks.
    yum install ruby-full rubygems


Log in to reply