[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: KDE/KDM



In article <[🔎] Pine.A32.3.90.970410074957.19794A-100000@ns.tfh-wildau.de>,
	phgrau@wi-bw.tfh-wildau.de (Philipp JW Grau) writes:
 
> and some fiddeling with the path entry in Makefiles and *.h files
> and some nice things like that....
> 

Well, i too fiddled with path entries and some *.h files too commenting
out includes not found on my system like "iostream.h", "ifstream.h"
and "fstream.h". But then the compilation comes to a grinding halt and
i don't know what else to fiddle about:

---------------cut-here----------------------------------------------
make[1]: Leaving directory `/usr/local/src/kdebase-0.7.4/kwmclient-0.2'
Making app in kdehelp
make[1]: Entering directory `/usr/local/src/kdebase-0.7.4/kdehelp-0.4.8'
c++ -Wall -I. -I/usr/X11R6/include -I/usr/X11R6/include/X11/qt -I/usr/local/kde/include -I.. -I../.. -DHAVE_CONFIG_H   -c help.cpp
In file included from help.h:27,
                 from help.cpp:22:
info.h:246: `ifstream' was not declared in this scope
info.h:246: `stream' was not declared in this scope
info.h:253: `ifstream' was not declared in this scope
info.h:253: `stream' was not declared in this scope
info.h:253: parse error before `*'
info.h:341: `ifstream' was not declared in this scope
info.h:341: `stream' was not declared in this scope
In file included from help.h:28,
                 from help.cpp:22:
man.h:153: `ifstream' was not declared in this scope
man.h:153: `stream' was not declared in this scope
man.h:153: data member `int cManTextList::Read' conflicts with
man.h:152: function member `int cManTextList::Read(class cManSection &)'
help.cpp: In method `KHelpWindow::KHelpWindow(QWidget *, const char *)':
help.cpp:98: `cerr' undeclared (first use this function)
help.cpp:98: (Each undeclared identifier is reported only once
help.cpp:98: for each function it appears in.)
help.cpp: In method `int KHelpWindow::openURL(const char *, int = true)':
help.cpp:364: `cout' undeclared (first use this function)
help.cpp: In method `int KHelpWindow::openFile(const class QString &)':
help.cpp:435: `cout' undeclared (first use this function)
help.cpp: In method `void KHelpWindow::slotCopy()':
help.cpp:1136: `cout' undeclared (first use this function)
help.cpp: In method `void KHelpWindow::slotBookmarkSelected(int)':
help.cpp:1193: `cout' undeclared (first use this function)
help.cpp: In method `void KHelpWindow::slotFormSubmitted(const char *, const char *)':
help.cpp:1307: warning: unused parameter `const char * method'
make[1]: *** [help.o] Error 1
make[1]: Leaving directory `/usr/local/src/kdebase-0.7.4/kdehelp-0.4.8'
make: *** [apps] Error 1
[root]/usr/local/src/kdebase-0.7.4 >
---------------cut-here----------------------------------------------

Looks like it was a bad idea to comment out those includes!? But
without commenting them out the compilation would have already stopped
at an earlier stage. So where do "iostream.h", "ifstream.h" and
"fstream.h" belong to? Which package did i miss to install? Or is it
something completely different? I don't have no clue about all this...

                                    Cheers, P. *8^)
-- 
   Paul Seelig                         pseelig@goofy.zdv.uni-mainz.de
   African Music Archive - Institute for Ethnology and Africa Studies
   Johannes Gutenberg-University   -  Forum 6  -  55099 Mainz/Germany
   Our AMA Homepage  in  the WWW at  http://www.uni-mainz.de/~bender/


Reply to: