PDA

View Full Version : Building from Source: UIRA



SumDeus
28th May 2006, 01:17 PM
Not sure where else to post this. I wanted to try UIRA or F4L on my FC5 machine. I downloaded the executable, but that didn't work. So I followed the directions to build the program qmake uira.pro ... and at first it couldn't find qmake, so i yum installed qt-devel. the next step was to enter "make". Simple enough I get this error though: g++ -c -pipe -w -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_REENTRANT -DQEXTSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt-3.3/mkspecs/default -I. -I. -I../include -I../src -I/usr/lib/qt-3.3/include -o qextscintilla.o qextscintilla.cxx
make[3]: g++: Command not found
make[3]: *** [qextscintilla.o] Error 127
make[3]: Leaving directory `/home/Nik/uira-0.0.1-beta/contribs/qscintilla/qt'
make[2]: *** [sub-qt] Error 2
make[2]: Leaving directory `/home/Nik/uira-0.0.1-beta/contribs/qscintilla'
make[1]: *** [sub-qscintilla] Error 2
make[1]: Leaving directory `/home/Nik/uira-0.0.1-beta/contribs'
make: *** [sub-contribs] Error 2

After I got this I tried yum installing qscintilla but I still get the error. Any Idea uira.org doesn't have anything but the two lines of install instructions...

SumDeus
28th May 2006, 04:21 PM
Ok, so I will describe what the software is supposed to do. UIRA is supposed to be a flash editor for linux.
F4L is a previous project that was merged into it. I can't get that one to run either...

Can someone tell me what I am missing? Do I need to install something else?

daneel971
28th May 2006, 04:35 PM
g++ is provided by the package "gcc-c++"; are you sure you have it installed?

SumDeus
29th May 2006, 04:35 AM
Ok, so looks like I was missing that. I installed gcc before posting thinking that was it, but didn't know I need gcc-c++. I get a lot more errors now. I am updating and then I will try again and post the errors, I must be missing a bunch more stuff. Thanks!

SumDeus
29th May 2006, 04:42 AM
Ok here's the output:

cd contribs && make -f Makefile
make[1]: Entering directory `/home/Nik/uira-0.0.1-beta/contribs'
cd qscintilla && make -f Makefile
make[2]: Entering directory `/home/Nik/uira-0.0.1-beta/contribs/qscintilla'
cd qt && make -f Makefile
make[3]: Entering directory `/home/Nik/uira-0.0.1-beta/contribs/qscintilla/qt'
make[3]: Circular install_headers <- all dependency dropped.
cp -f "qextscintillaglobal.h" "../../../include/qscintilla/"
cp -f "qextscintilla.h" "../../../include/qscintilla/"
cp -f "qextscintillaapis.h" "../../../include/qscintilla/"
cp -f "qextscintillabase.h" "../../../include/qscintilla/"
cp -f "qextscintillacommand.h" "../../../include/qscintilla/"
cp -f "qextscintillacommandset.h" "../../../include/qscintilla/"
cp -f "qextscintilladocument.h" "../../../include/qscintilla/"
cp -f "qextscintillalexer.h" "../../../include/qscintilla/"
cp -f "qextscintillalexercpp.h" "../../../include/qscintilla/"
cp -f "qextscintillalexercsharp.h" "../../../include/qscintilla/"
cp -f "qextscintillalexerhtml.h" "../../../include/qscintilla/"
cp -f "qextscintillalexeridl.h" "../../../include/qscintilla/"
cp -f "qextscintillalexerjava.h" "../../../include/qscintilla/"
cp -f "qextscintillalexerjavascript.h" "../../../include/qscintilla/"
cp -f "qextscintillalexerperl.h" "../../../include/qscintilla/"
cp -f "qextscintillalexerpython.h" "../../../include/qscintilla/"
cp -f "qextscintillalexersql.h" "../../../include/qscintilla/"
cp -f "qextscintillamacro.h" "../../../include/qscintilla/"
cp -f "qextscintillaprinter.h" "../../../include/qscintilla/"
cp -f "SciListBox.h" "../../../include/qscintilla/"
cp -f "ScintillaQt.h" "../../../include/qscintilla/"
cp -f "../include/Accessor.h" "../../../include/qscintilla/"
cp -f "../include/KeyWords.h" "../../../include/qscintilla/"
cp -f "../include/Platform.h" "../../../include/qscintilla/"
cp -f "../include/PropSet.h" "../../../include/qscintilla/"
cp -f "../include/SString.h" "../../../include/qscintilla/"
cp -f "../include/SciLexer.h" "../../../include/qscintilla/"
cp -f "../include/Scintilla.h" "../../../include/qscintilla/"
cp -f "../include/ScintillaWidget.h" "../../../include/qscintilla/"
cp -f "../include/WindowAccessor.h" "../../../include/qscintilla/"
cp -f "../src/AutoComplete.h" "../../../include/qscintilla/"
cp -f "../src/CallTip.h" "../../../include/qscintilla/"
cp -f "../src/CellBuffer.h" "../../../include/qscintilla/"
cp -f "../src/ContractionState.h" "../../../include/qscintilla/"
cp -f "../src/Document.h" "../../../include/qscintilla/"
cp -f "../src/DocumentAccessor.h" "../../../include/qscintilla/"
cp -f "../src/Editor.h" "../../../include/qscintilla/"
cp -f "../src/ExternalLexer.h" "../../../include/qscintilla/"
cp -f "../src/Indicator.h" "../../../include/qscintilla/"
cp -f "../src/KeyMap.h" "../../../include/qscintilla/"
cp -f "../src/LineMarker.h" "../../../include/qscintilla/"
cp -f "../src/RESearch.h" "../../../include/qscintilla/"
cp -f "../src/SVector.h" "../../../include/qscintilla/"
cp -f "../src/ScintillaBase.h" "../../../include/qscintilla/"
cp -f "../src/Style.h" "../../../include/qscintilla/"
cp -f "../src/StyleContext.h" "../../../include/qscintilla/"
cp -f "../src/ViewStyle.h" "../../../include/qscintilla/"
cp -f "../src/XPM.h" "../../../include/qscintilla/"
g++ -c -pipe -w -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -D_REENTRANT -DQEXTSCINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt-3.3/mkspecs/default -I. -I. -I../include -I../src -I/usr/lib/qt-3.3/include -o qextscintilla.o qextscintilla.cxx
In file included from qextscintilla.cxx:28:
qextscintilla.h:29:22: error: qpointer.h: No such file or directory
In file included from qextscintilla.h:33,
from qextscintilla.cxx:28:
qextscintillabase.h:34:23: error: QWheelEvent: No such file or directory
qextscintillabase.h:35:19: error: QPixmap: No such file or directory
qextscintillabase.h:36:23: error: QFocusEvent: No such file or directory
qextscintillabase.h:37:21: error: QKeyEvent: No such file or directory
qextscintillabase.h:38:18: error: QEvent: No such file or directory
qextscintillabase.h:39:29: error: QContextMenuEvent: No such file or directory
qextscintillabase.h:40:23: error: QMouseEvent: No such file or directory
In file included from qextscintilla.cxx:28:
qextscintilla.h:37:25: error: qtreewidget.h: No such file or directory
In file included from qextscintilla.cxx:31:
qextscintillacommandset.h:27:23: error: q3ptrlist.h: No such file or directory
qextscintilla.cxx:34:21: error: Q3CString: No such file or directory
qextscintilla.h:731: error: ‘QTreeWidgetItem’ has not been declared
qextscintilla.h:1140: error: ‘class Qt::MouseButton’ has not been declared
qextscintilla.h:1252: error: ISO C++ forbids declaration of ‘QPointer’ with no type
qextscintilla.h:1252: error: expected ‘;’ before ‘<’ token
qextscintillacommandset.h:61: error: ISO C++ forbids declaration of ‘Q3PtrList’ with no type
qextscintillacommandset.h:61: error: expected ‘;’ before ‘<’ token
qextscintillacommandset.h:63: error: expected `;' before ‘private’
qextscintillacommandset.h:69: error: ISO C++ forbids declaration of ‘Q3PtrList’ with no type
qextscintillacommandset.h:69: error: expected ‘;’ before ‘<’ token
qextscintilla.cxx: In member function ‘void QextScintilla::handleCharAdded(int)’:
qextscintilla.cxx:144: error: ‘lexer’ was not declared in this scope
qextscintilla.cxx: In member function ‘void QextScintilla::autoIndentation(char, long int)’:
qextscintilla.cxx:432: error: ‘lexer’ was not declared in this scope
qextscintilla.cxx: In member function ‘int QextScintilla::blockIndent(int)’:
qextscintilla.cxx:487: error: ‘lexer’ was not declared in this scope
qextscintilla.cxx:490: error: ‘lexer’ was not declared in this scope
qextscintilla.cxx: In member function ‘QextScintilla::IndentState QextScintilla::getIndentState(int)’:
qextscintilla.cxx:563: error: ‘lexer’ was not declared in this scope
qextscintilla.cxx: In member function ‘void QextScintilla::foldClick(int, int)’:qextscintilla.cxx:813: error: ‘ShiftModifier’ is not a member of ‘Qt’
qextscintilla.cxx:813: error: ‘ControlModifier’ is not a member of ‘Qt’
qextscintilla.cxx:823: error: ‘ShiftModifier’ is not a member of ‘Qt’
qextscintilla.cxx:829: error: ‘ControlModifier’ is not a member of ‘Qt’
qextscintilla.cxx: In member function ‘long int QextScintilla::simpleFind()’:
qextscintilla.cxx:1143: error: ‘Q3CString’ was not declared in this scope
qextscintilla.cxx:1143: error: expected `;' before ‘s’
qextscintilla.cxx:1145: error: ‘s’ was not declared in this scope
qextscintilla.cxx: In member function ‘void QextScintilla::handleMarginClick(int, int, int)’:
qextscintilla.cxx:1206: error: ‘ShiftModifier’ is not a member of ‘Qt’
qextscintilla.cxx:1209: error: ‘ControlModifier’ is not a member of ‘Qt’
qextscintilla.cxx:1212: error: ‘AltModifier’ is not a member of ‘Qt’
qextscintilla.cxx:1219: error: ‘MouseButton’ is not a member of ‘Qt’
qextscintilla.cxx: In member function ‘virtual void QextScintilla::append(const QString&)’:
qextscintilla.cxx:1335: error: ‘Q3CString’ was not declared in this scope
qextscintilla.cxx:1335: error: expected `;' before ‘s’
qextscintilla.cxx:1337: error: ‘s’ was not declared in this scope
qextscintilla.cxx: In member function ‘virtual void QextScintilla::setLexer(QextScintillaLexer*)’:
qextscintilla.cxx:2107: error: ‘lexer’ was not declared in this scope
qextscintilla.cxx:2115: error: ‘lexer’ was not declared in this scope
qextscintilla.cxx: In member function ‘void QextScintilla::handleStyleFontChange(const QFont&, int)’:
qextscintilla.cxx:2204: error: ‘lexer’ was not declared in this scope
qextscintilla.cxx: In member function ‘long int QextScintilla::checkBrace(long int, int, bool&)’:
qextscintilla.cxx:2315: error: ‘lexer’ was not declared in this scope
qextscintilla.cxx: In member function ‘bool QextScintilla::findMatchingBrace(long int&, long int&, QextScintilla::BraceMatch)’:
qextscintilla.cxx:2343: error: ‘lexer’ was not declared in this scope
qextscintilla.cxx: At global scope:
qextscintilla.cxx:2668: error: variable or field ‘addTextFromItem’ declared voidqextscintilla.cxx:2668: error: ‘int QextScintilla::addTextFromItem’ is not a static member of ‘class QextScintilla’
qextscintilla.cxx:2668: error: ‘QTreeWidgetItem’ was not declared in this scope
qextscintilla.cxx:2668: error: ‘item’ was not declared in this scope
qextscintilla.cxx:2669: error: expected ‘,’ or ‘;’ before ‘{’ token
make[3]: *** [qextscintilla.o] Error 1
make[3]: Leaving directory `/home/Nik/uira-0.0.1-beta/contribs/qscintilla/qt'
make[2]: *** [sub-qt] Error 2
make[2]: Leaving directory `/home/Nik/uira-0.0.1-beta/contribs/qscintilla'
make[1]: *** [sub-qscintilla] Error 2
make[1]: Leaving directory `/home/Nik/uira-0.0.1-beta/contribs'
make: *** [sub-contribs] Error 2

Is there someway to be able to tell what packages etc. I am missing from these errors? I don't want to be some noob asking the same kind of question over and over again and wasting people's time. Thanks.

daneel971
29th May 2006, 06:19 AM
Out of curiosity, I tried to build the software and I ended with the same error. IMHO, there is a problem with the code itself - it is in a beta stage, after all. You can try a CVS version - maybe the problem was fixed there in the meantime.

SumDeus
29th May 2006, 06:22 AM
yeah, i was wondering if that was the problem. how do i compile from CVS? I 've done a little programming before.. but this looks like it has a bit more. Do I gcc all the .cpp files?

daneel971
29th May 2006, 06:39 AM
I'm not exactly an expert on that, but I usually compile from CVS/SVN mplayer, xine, audacity, x264 and VLC. In all cases, after downloading the source tree you'll end up having a build tree in the same way as you extracted it from the tarball. You need only to cd to the top dir of it and issue as usual configure/make/make install; in some cases instead or before configure there is a "bootstrap" step, sometimes there is only a Makefile.
Usually on the website of the software there are instruction about downloading and compiling from CVS.