gideon-current: Compile Problems

Berndt Josef Wulf wulf at dingo.ping.net.au
Wed Aug 29 14:55:11 BST 2001


G'day,

I've resolved the phpsupport related problem. It appears
phpsupport wasn't completed at the time of my last synchronization.
I've updated the sources again as of today and all is fine.

Though there was a little hitch in the following file
ctagsdlg.cpp: unmodified: line 457 of 618:

if (re.search(it.currentKey(), 0) != -1)

shouldn't this be 

if (re.find(it.currentKey(), 0) != -1)

I've replace it with the latter as described in the documentation for
int QRegExp::find ( const QString & str, int index )

This still leaves the question open to the -lfl problem described
below. Is there any sensible reason for using this library? I've
compiled Gideon with %option noyywrapper and -lfl removed from
the Makefile.

I've started testing the project wizard and noticed, that the
libtool utilities, ltconfig and friends appear to be somewhat dated.
e.g. ltconfig won't accept --add-tag= option etc... (C++ project).

cheerio Berndt

Berndt Josef Wulf wrote
>
> Gideon nolonger builds without manual intervention on NetBSD
> platforms due to a couple of problems.
> 
> c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/interfaces
> -I../../lib/sourceinfo -I../../lib/util -I/usr/X11R6/qt2/include
> -I/usr/X11R6/include -I/usr/pkg/include -I/usr/X11R6/include -O2 -O2
> -fno-exceptions -fno-check-new -Wp,-MD,.deps/phpnewclassdlgbase.pp -c
> phpnewclassdlgbase.cpp  -fPIC -DPIC -o .libs/phpnewclassdlgbase.o
> phpnewclassdlgbase.cpp: In method
> `PHPNewClassDlgBase::PHPNewClassDlgBase(class
> QWidget * = 0, const char * = 0, bool = FALSE, uint = 0)':
> phpnewclassdlgbase.cpp:98: invalid use of undefined type `class
> KLineEdit'
> phpnewclassdlgbase.cpp:100: no matching function for call to
> `QGridLayout::addMultiCellWidget (KLineEdit *&, int, int, int, int)'
> /usr/X11R6/qt2/include/qlayout.h:93: candidates are:
> QGridLayout::addMultiCellWidget(QWidget *, int, int, int, int, int)
> 
> phpsupport succesfully build after commenting out m_baseClassEdit in
> parts/phpsupport/phpnewclassdlg{,base}.{cpp,h}
> 
> Do I need to upgrade to KDE-2.2? I like to avoid this at the moment :)
> 
> Another problem encountered here is that NetBSD doesn't have a shared
> version of the libfl library and hence the creation of a shared
> libkdevcppsupport.so library fails. I've removed the -lfl option and
> gideon compiled without warnings. Is it really needed?
> 
> Would "%option noyywrap" in tokenizer.l not do the trick?
> 
> Many thanks in advance
> 
> cheerio Berndt
> -- 
> Name    : Berndt Josef Wulf            | +++ With BSD on Packet Radio +++
> E-Mail  : wulf at ping.net.au             |    tfkiss, tnt, dpbox, wampes
> ICQ     : 18196098                     |  VK5ABN, Nairne, South Australia 
> URL     : http://www.ping.net.au/~wulf | MBOX : vk5abn at vk5abn.#lmr.#sa.au.oc
> Sysinfo : DEC AXPpci33+, NetBSD-1.5    | BBS  : vk5abn.#lmr.#sa.aus.oc 
> 
> -
> to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
> unsubscribe »your-email-address«
> 


-- 
Name    : Berndt Josef Wulf            | +++ With BSD on Packet Radio +++
E-Mail  : wulf at ping.net.au             |    tfkiss, tnt, dpbox, wampes
ICQ     : 18196098                     |  VK5ABN, Nairne, South Australia 
URL     : http://www.ping.net.au/~wulf | MBOX : vk5abn at vk5abn.#lmr.#sa.au.oc
Sysinfo : DEC AXPpci33+, NetBSD-1.5    | BBS  : vk5abn.#lmr.#sa.aus.oc 

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list