Monica Ayde Vallejo
2006-03-15 18:41:45 UTC
Hi:
I am trying to compile ViewML-0.23, but I have been a lot problems.
Until now, I compiled and installed MicroWindows-0.90, flnx-0.16 and the
libwww libraries (w3c-libwww-5.2.8) on Mandriva 2005.
I compiled MicroWindows-0.90 with config.x11, and I enabled some extra fonts
support.
I read the INSTALL of ViewML-0.23 and I did the following steps:
STEP 1:
# ./configure --with-
microwin=/home/monica/imxl_project/tools_web_browser/microwindows-0.90 ---
with-fltk=/home/monica/imxl_project/tools_web_browser/flnx-0.16
THIS PART EXECUTE OK
STEP 2:
# make all
IN THIS PART APPEARS A LOT OFF PROBLEMS, SOME ARE:
make[1]: Entering directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
if [ ! -s .build_depends ]; then make -f build_depends.mk force-depends; fi
make[2]: Entering directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
Generating dependancies
for /home/monica/imxl_project/tools_web_browser/viewml-0.18/src...
g++ -M -L/include -INONE/include -I. -I../kdecore -I../kimgio -I../kdeui -
I../jscript -I/home/monica/imxl_project/tools_web_browser/flnx-0.16 -
I/home/monica/imxl_project/tools_web_browser/flnx-0.16/FL -I./fltk -
I/home/monica/imxl_project/tools_web_browser/microwindows-0.90/include -
I/include/microwin -g --permissive -DNANOX -D_NANOX `/usr/local/bin/libwww-
config --cflags` html.cpp htmlchain.cpp htmlclue.cpp htmldata.cpp
htmlfont.cpp htmliter.cpp htmltable.cpp htmltoken.cpp jscript.cpp
htmlview.cpp htmlframe.cpp htmlobj.cpp debug.cpp htmlform.cpp main.cpp
http.cpp http_.cpp ../kdecore/kurl.cpp ../kdeui/kcursor.cpp fltk/qtimer.cpp
fltk/qobject.cpp fltk/qpainter.cpp fltk/qdrawutil.cpp fltk/qfont.cpp
fltk/qrect.cpp fltk/qregexp.cpp fltk/qstring.cpp fltk/kcharsets.cpp
fltk/qcolor.cpp fltk/qpixmap.cpp fltk/qfontinfo.cpp fltk/qwidget.cpp
fltk/history.cpp >> .build_depends
fltk/qpixmap.cpp:15:20: nano-X.h: No such file or directory
make[2]: *** [force-depends] Error 1
make[2]: Leaving directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
make[1]: *** [check-depends] Error 2
make[1]: Leaving directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
make[1]: Entering directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
g++ -L/include -INONE/include -I. -I../kdecore -I../kimgio -I../kdeui -
I../jscript -I/home/monica/imxl_project/tools_web_browser/flnx-0.16 -
I/home/monica/imxl_project/tools_web_browser/flnx-0.16/FL -I./fltk -
I/home/monica/imxl_project/tools_web_browser/microwindows-0.90/include -
I/include/microwin -g --permissive -DNANOX -D_NANOX `/usr/local/bin/libwww-
config --cflags` -I.. -c -o html.o html.cpp
In file included from /usr/lib/gcc/i586-mandrake-linux-
gnu/3.4.3/../../../../include/c++/3.4.3/backward/algo.h:59,
from ./fltk/qstring.h:4,
from ../kdecore/kurl.h:31,
from html.cpp:24:
/usr/lib/gcc/i586-mandrake-linux-
gnu/3.4.3/../../../../include/c++/3.4.3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section
17.4.1.2 of the C++ standard. Examples include substituting the <X> header
for the <X.h> header for C++ includes, or <iostream> instead of the
deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from ../kdecore/kurl.h:31,
from html.cpp:24:
./fltk/qstring.h:16: error: expected class-name before '{' token
./fltk/qstring.h:22: error: expected `,' or `...' before '&' token
./fltk/qstring.h:22: warning: ISO C++ forbids declaration of `string' with
no type
./fltk/qstring.h:22: error: `QString::QString(int)' and `QString::QString
(int)' cannot be overloaded
./fltk/qstring.h: In constructor `QString::QString(int)':
./fltk/qstring.h:22: error: `s' undeclared (first use this function)
./fltk/qstring.h:22: error: (Each undeclared identifier is reported only
once for each function it appears in.)
./fltk/qstring.h:22: error: `assign' undeclared (first use this function)
./fltk/qstring.h: In copy constructor `QString::QString(const QString&)':
./fltk/qstring.h:23: error: 'const class QString' has no member named 'c_str'
./fltk/qstring.h:23: error: `assign' undeclared (first use this function)
.
.
.
.
.
.
.
.
./fltk/qlist.h:8: error: declaration of `class QList<SavedPage>'
html.cpp:6473: error: no match for 'operator+=' in 'aStr += sp-
html.cpp:6475: error: no match for 'operator+=' in 'aStr += sp-
html.cpp:6478: error: no match for 'operator+=' in 'aStr += " scrolling=no"'
html.cpp:6482: error: no match for 'operator+=' in 'aStr += tmp'
html.cpp:6485: error: no match for 'operator+=' in 'aStr += " noresize"'
html.cpp:6489: error: no match for 'operator+=' in 'aStr += tmp'
html.cpp:6494: error: no match for 'operator+=' in 'aStr += tmp'
html.cpp:6499: error: no match for 'operator+=' in 'aStr += tmp'
html.cpp:6504: error: no match for 'operator+=' in 'aStr += tmp'
html.cpp:6506: error: no match for 'operator+=' in 'aStr += ">"'
html.cpp:6507: error: no match for 'operator+=' in 'aStr += "\n"'
html.cpp:6508: error: no match for 'operator+=' in '*s += aStr'
html.cpp:6511: error: no match for 'operator+=' in '*s += "</frameset>"'
html.cpp: In destructor `SavedPage::~SavedPage()':
html.cpp:6540: warning: possible problem detected in invocation of delete
operator:
html.cpp:6540: warning: invalid use of undefined type `class
QList<SavedPage>'
./fltk/qlist.h:8: warning: declaration of `class QList<SavedPage>'
html.cpp:6540: note: neither the destructor nor the class-specific operator
delete will be called, even if they are declared when the class is defined.
In file included from html.cpp:6549:
html.moc: At global scope:
html.moc:213: error: expected constructor, destructor, or type conversion
before ';' token
html.moc:214: error: expected constructor, destructor, or type conversion
before ';' token
./fltk/qdict.h: In constructor `QDictIterator<T>::QDictIterator(QDict<T>&)
[with T = HTMLPendingFile]':
html.cpp:309: instantiated from here
./fltk/qdict.h:76: error: 'class QDict<HTMLPendingFile>' has no member
named 'begin'
./fltk/qdict.h: In member function `T* QDictIterator<T>::current() const
[with T = HTMLPendingFile]':
html.cpp:310: instantiated from here
./fltk/qdict.h:79: error: 'class QDict<HTMLPendingFile>' has no member
named 'end'
make[1]: *** [html.o] Error 1
make[1]: Leaving directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
make: *** [viewml] Error 2
QUESTION
- What can I do ?
--
Open WebMail Project (http://openwebmail.org)
I am trying to compile ViewML-0.23, but I have been a lot problems.
Until now, I compiled and installed MicroWindows-0.90, flnx-0.16 and the
libwww libraries (w3c-libwww-5.2.8) on Mandriva 2005.
I compiled MicroWindows-0.90 with config.x11, and I enabled some extra fonts
support.
I read the INSTALL of ViewML-0.23 and I did the following steps:
STEP 1:
# ./configure --with-
microwin=/home/monica/imxl_project/tools_web_browser/microwindows-0.90 ---
with-fltk=/home/monica/imxl_project/tools_web_browser/flnx-0.16
THIS PART EXECUTE OK
STEP 2:
# make all
IN THIS PART APPEARS A LOT OFF PROBLEMS, SOME ARE:
make[1]: Entering directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
if [ ! -s .build_depends ]; then make -f build_depends.mk force-depends; fi
make[2]: Entering directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
Generating dependancies
for /home/monica/imxl_project/tools_web_browser/viewml-0.18/src...
g++ -M -L/include -INONE/include -I. -I../kdecore -I../kimgio -I../kdeui -
I../jscript -I/home/monica/imxl_project/tools_web_browser/flnx-0.16 -
I/home/monica/imxl_project/tools_web_browser/flnx-0.16/FL -I./fltk -
I/home/monica/imxl_project/tools_web_browser/microwindows-0.90/include -
I/include/microwin -g --permissive -DNANOX -D_NANOX `/usr/local/bin/libwww-
config --cflags` html.cpp htmlchain.cpp htmlclue.cpp htmldata.cpp
htmlfont.cpp htmliter.cpp htmltable.cpp htmltoken.cpp jscript.cpp
htmlview.cpp htmlframe.cpp htmlobj.cpp debug.cpp htmlform.cpp main.cpp
http.cpp http_.cpp ../kdecore/kurl.cpp ../kdeui/kcursor.cpp fltk/qtimer.cpp
fltk/qobject.cpp fltk/qpainter.cpp fltk/qdrawutil.cpp fltk/qfont.cpp
fltk/qrect.cpp fltk/qregexp.cpp fltk/qstring.cpp fltk/kcharsets.cpp
fltk/qcolor.cpp fltk/qpixmap.cpp fltk/qfontinfo.cpp fltk/qwidget.cpp
fltk/history.cpp >> .build_depends
fltk/qpixmap.cpp:15:20: nano-X.h: No such file or directory
make[2]: *** [force-depends] Error 1
make[2]: Leaving directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
make[1]: *** [check-depends] Error 2
make[1]: Leaving directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
make[1]: Entering directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
g++ -L/include -INONE/include -I. -I../kdecore -I../kimgio -I../kdeui -
I../jscript -I/home/monica/imxl_project/tools_web_browser/flnx-0.16 -
I/home/monica/imxl_project/tools_web_browser/flnx-0.16/FL -I./fltk -
I/home/monica/imxl_project/tools_web_browser/microwindows-0.90/include -
I/include/microwin -g --permissive -DNANOX -D_NANOX `/usr/local/bin/libwww-
config --cflags` -I.. -c -o html.o html.cpp
In file included from /usr/lib/gcc/i586-mandrake-linux-
gnu/3.4.3/../../../../include/c++/3.4.3/backward/algo.h:59,
from ./fltk/qstring.h:4,
from ../kdecore/kurl.h:31,
from html.cpp:24:
/usr/lib/gcc/i586-mandrake-linux-
gnu/3.4.3/../../../../include/c++/3.4.3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section
17.4.1.2 of the C++ standard. Examples include substituting the <X> header
for the <X.h> header for C++ includes, or <iostream> instead of the
deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from ../kdecore/kurl.h:31,
from html.cpp:24:
./fltk/qstring.h:16: error: expected class-name before '{' token
./fltk/qstring.h:22: error: expected `,' or `...' before '&' token
./fltk/qstring.h:22: warning: ISO C++ forbids declaration of `string' with
no type
./fltk/qstring.h:22: error: `QString::QString(int)' and `QString::QString
(int)' cannot be overloaded
./fltk/qstring.h: In constructor `QString::QString(int)':
./fltk/qstring.h:22: error: `s' undeclared (first use this function)
./fltk/qstring.h:22: error: (Each undeclared identifier is reported only
once for each function it appears in.)
./fltk/qstring.h:22: error: `assign' undeclared (first use this function)
./fltk/qstring.h: In copy constructor `QString::QString(const QString&)':
./fltk/qstring.h:23: error: 'const class QString' has no member named 'c_str'
./fltk/qstring.h:23: error: `assign' undeclared (first use this function)
.
.
.
.
.
.
.
.
./fltk/qlist.h:8: error: declaration of `class QList<SavedPage>'
html.cpp:6473: error: no match for 'operator+=' in 'aStr += sp-
SavedPage::url'
html.cpp:6474: error: no match for 'operator+=' in 'aStr += "\" name=\""'html.cpp:6475: error: no match for 'operator+=' in 'aStr += sp-
SavedPage::frameName'
html.cpp:6476: error: no match for 'operator+=' in 'aStr += "\""'html.cpp:6478: error: no match for 'operator+=' in 'aStr += " scrolling=no"'
html.cpp:6482: error: no match for 'operator+=' in 'aStr += tmp'
html.cpp:6485: error: no match for 'operator+=' in 'aStr += " noresize"'
html.cpp:6489: error: no match for 'operator+=' in 'aStr += tmp'
html.cpp:6494: error: no match for 'operator+=' in 'aStr += tmp'
html.cpp:6499: error: no match for 'operator+=' in 'aStr += tmp'
html.cpp:6504: error: no match for 'operator+=' in 'aStr += tmp'
html.cpp:6506: error: no match for 'operator+=' in 'aStr += ">"'
html.cpp:6507: error: no match for 'operator+=' in 'aStr += "\n"'
html.cpp:6508: error: no match for 'operator+=' in '*s += aStr'
html.cpp:6511: error: no match for 'operator+=' in '*s += "</frameset>"'
html.cpp: In destructor `SavedPage::~SavedPage()':
html.cpp:6540: warning: possible problem detected in invocation of delete
operator:
html.cpp:6540: warning: invalid use of undefined type `class
QList<SavedPage>'
./fltk/qlist.h:8: warning: declaration of `class QList<SavedPage>'
html.cpp:6540: note: neither the destructor nor the class-specific operator
delete will be called, even if they are declared when the class is defined.
In file included from html.cpp:6549:
html.moc: At global scope:
html.moc:213: error: expected constructor, destructor, or type conversion
before ';' token
html.moc:214: error: expected constructor, destructor, or type conversion
before ';' token
./fltk/qdict.h: In constructor `QDictIterator<T>::QDictIterator(QDict<T>&)
[with T = HTMLPendingFile]':
html.cpp:309: instantiated from here
./fltk/qdict.h:76: error: 'class QDict<HTMLPendingFile>' has no member
named 'begin'
./fltk/qdict.h: In member function `T* QDictIterator<T>::current() const
[with T = HTMLPendingFile]':
html.cpp:310: instantiated from here
./fltk/qdict.h:79: error: 'class QDict<HTMLPendingFile>' has no member
named 'end'
make[1]: *** [html.o] Error 1
make[1]: Leaving directory
`/home/monica/imxl_project/tools_web_browser/viewml-0.18/src'
make: *** [viewml] Error 2
QUESTION
- What can I do ?
--
Open WebMail Project (http://openwebmail.org)