Just so this problem can be correctly interpreted as being fixed, we found
the problem and have corrected it in the CVS version. If anybody else
is running into these kind of errors, please checkout the CVS version
and see if that fixes it--it should. I don't want to
make another release until we've ironed out all these issues that people
seem to be having with compiling it (has ANYBODY gotten it to compile
for crying out loud?). I also want to resolve this
autoconf/automake/run ./configure and then make runs ./configure again
stupidity. Any help in solving the latter of these things would be
greatly appreciated. *hint* "It's broke and it sucks" doesn't qualify
as help.
* [09/16/01 19:34] Of all the gin joints in all the towns in all the world,
* Bill Beal <[EMAIL PROTECTED]> walks into mine and says:
> Jason Kasper <[EMAIL PROTECTED]> wrote:
> > bbconf 1.0.
> >
> > You need it. You want it. Go get it.
>
> Well, as long as we're piling on...
>
> Trying to compile the bbconf sources on an updated Red Hat
> 7.1 system (2.4.3 kernel) and failing miserably. Some
> background:
>
> [root@yaz i386]# rpm -qa | grep "gcc\|qt\|kde" | sort
> gcc-2.96-85
> gcc-c++-2.96-85
> gcc-g77-2.96-85
> gcc-objc-2.96-85
> kdeadmin-2.1.1-3
> kdebase-2.1.1-8
> kdegames-2.1.1-1
> kdegraphics-2.1.1-1
> kdelibs-2.1.2-1
> kdelibs-devel-2.1.2-1
> kdelibs-sound-2.1.2-1
> kdelibs-sound-devel-2.1.2-1
> kdemultimedia-2.1.1-1
> kdenetwork-2.1.1-1
> kdenetwork-ppp-2.1.1-1
> kdepim-2.1.1-1
> kdesupport-2.1-3
> kdesupport-devel-2.1-3
> kdetoys-2.1.1-2
> kdeutils-2.1.1-1
> kdevelop-1.4.1-2
> qt-2.3.1-0.1
> qt-designer-2.3.1-0.1
> qt-devel-2.3.1-0.1
> qt-Xt-2.3.1-0.1
> switchdesk-kde-3.9.5-1
>
> Red Hat RPMS stuck Qt in /usr/lib/qt-2.3.1. Have ./configured
> both with no options and using --with-qt-dir=/usr/lib/qt-2.3.1.
> See 'make' output & errors (long attachment, sorry).
>
> I hope someone can tell me I'm just missing a library and
> that it isn't the gcc-2.96 issue rearing its head again.
> Incidentally, have tried compiling with egcs and kgcc also
> with no luck.
>
> Also, attempting to install the bbconf binary RPM tells me I
> need liblcms, which I haven't been able to find except as
> what appears to be a small SuSE-specific package.
>
> Please help, the bbconf screenshots look so cool...
>
> --
> Bill Beal
> [EMAIL PROTECTED]
> http://www.bildo.net/
> make all-recursive
> make[1]: Entering directory `/usr/src/redhat/SOURCES/bbconf-1.0'
> Making all in bbconf
> make[2]: Entering directory `/usr/src/redhat/SOURCES/bbconf-1.0/bbconf'
> Making all in plugins
> make[3]: Entering directory `/usr/src/redhat/SOURCES/bbconf-1.0/bbconf/plugins'
> Making all in keybindings
> make[4]: Entering directory
>`/usr/src/redhat/SOURCES/bbconf-1.0/bbconf/plugins/keybindings'
> Making all in ui
> make[5]: Entering directory
>`/usr/src/redhat/SOURCES/bbconf-1.0/bbconf/plugins/keybindings/ui'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory
>`/usr/src/redhat/SOURCES/bbconf-1.0/bbconf/plugins/keybindings/ui'
> make[5]: Entering directory
>`/usr/src/redhat/SOURCES/bbconf-1.0/bbconf/plugins/keybindings'
> /bin/sh ../../../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I.
>-I../../.. -I/usr/lib/qt-2.3.1/include -I/usr/X11R6/include -O2 -fno-exceptions
>-fno-check-new -c plugin.cc
> c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/lib/qt-2.3.1/include
>-I/usr/X11R6/include -O2 -fno-exceptions -fno-check-new -c plugin.cc -fPIC -DPIC -o
>.libs/plugin.o
> In file included from plugin.h:31,
> from plugin.cc:27:
> /usr/X11R6/include/X11/Xresource.h:70: syntax error before `char'
> /usr/X11R6/include/X11/Xresource.h:172: syntax error before `;'
> /usr/X11R6/include/X11/Xresource.h:237: syntax error before `('
> /usr/X11R6/include/X11/Xresource.h:247: syntax error before `('
> /usr/X11R6/include/X11/Xresource.h:257: syntax error before `('
> /usr/X11R6/include/X11/Xresource.h:267: syntax error before `('
> /usr/X11R6/include/X11/Xresource.h:302: syntax error before `('
> /usr/X11R6/include/X11/Xresource.h:341: syntax error before `('
> /usr/X11R6/include/X11/Xresource.h:390: syntax error before `;'
> In file included from plugin.h:33,
> from plugin.cc:27:
> tree.h:23: syntax error before `template'
> tree.h:27: ISO C++ forbids declaration of `m_object' with no type
> tree.h:27: warning: initialization to non-pointer type `int' from NULL
> tree.h:27: warning: argument to non-pointer type `int' from NULL
> tree.h:28: parse error before `}'
> tree.h:30: destructors must be member functions
> tree.h:30: virtual outside class declaration
> tree.h: In function `void TreeNode ()':
> tree.h:32: `m_next' undeclared (first use this function)
> tree.h:32: (Each undeclared identifier is reported only once for each
> function it appears in.)
> tree.h:36: `m_prev' undeclared (first use this function)
> tree.h:41: `m_child' undeclared (first use this function)
> tree.h: In function `void clear ()':
> tree.h:48: type `int' argument given to `delete', expected pointer
> tree.h: In function `void remove ()':
> tree.h:56: invalid use of `this' in non-member function
> tree.h: At top level:
> tree.h:58: `type' was not declared in this scope
> tree.h:58: syntax error before `*'
> tree.h:61: `type' was not declared in this scope
> tree.h:61: syntax error before `*'
> tree.h:62: syntax error before `->'
> tree.h:65: syntax error before `->'
> tree.h:66: syntax error before `->'
> tree.h:67: ISO C++ forbids declaration of `m_prev' with no type
> tree.h:67: `int m_prev' used prior to declaration
> tree.h:67: `n' was not declared in this scope
> tree.h:68: parse error before `}'
> tree.h:70: syntax error before `->'
> tree.h:72: ISO C++ forbids declaration of `m_next' with no type
> tree.h:72: `int m_next' used prior to declaration
> tree.h:72: `n' was not declared in this scope
> tree.h:73: parse error before `}'
> tree.h:74: syntax error before `->'
> tree.h:75: syntax error before `->'
> tree.h:78: `type' was not declared in this scope
> tree.h:78: syntax error before `*'
> tree.h:79: `type' was not declared in this scope
> tree.h:79: syntax error before `*'
> tree.h:80: `type' was not declared in this scope
> tree.h:80: syntax error before `*'
> tree.h:81: `type' was not declared in this scope
> tree.h:81: syntax error before `*'
> tree.h:82: syntax error before `*'
> tree.h:83: `type' was not declared in this scope
> tree.h:83: `o' was not declared in this scope
> tree.h:83: variable or field `setObject' declared void
> tree.h:83: syntax error before `{'
> tree.h:86: `type' was not declared in this scope
> tree.h:86: syntax error before `*'
> tree.h:87: `type' was not declared in this scope
> tree.h:87: syntax error before `*'
> tree.h:88: `type' was not declared in this scope
> tree.h:88: syntax error before `*'
> tree.h:89: `type' was not declared in this scope
> tree.h:89: syntax error before `*'
> In file included from plugin.cc:27:
> plugin.h:41: syntax error before `*'
> plugin.h:42: semicolon missing after declaration of `Plugin'
> plugin.h: In method `bool Plugin::isModified () const':
> plugin.h:40: `m_modified' undeclared (first use this function)
> plugin.h: At top level:
> plugin.h:42: parse error at null character
> plugin.h:44: virtual outside class declaration
> plugin.h:44: function `void load ()' is initialized like a variable
> plugin.h:45: virtual outside class declaration
> plugin.h:45: function `void save_as (QString)' is initialized like a
> variable
> plugin.h:46: virtual outside class declaration
> plugin.h:46: function `void open_new (QString)' is initialized like a
> variable
> plugin.h:47: parse error before `protected'
> plugin.h:50: parse error before `protected'
> plugin.h:71: syntax error before `*'
> plugin.h:73: parse error before `private'
> plugin.h:78: `bool m_modified' used prior to declaration
> plugin.h:79: parse error before `}'
> plugin.cc: In method `Plugin::Plugin (QObject *, const char *)':
> plugin.cc:31: `tree' undeclared (first use this function)
> plugin.cc:31: parse error before `<'
> plugin.cc: At top level:
> plugin.cc:45: no `void Plugin::setIsModified ()' member function
> declared in class `Plugin'
> plugin.cc:49: prototype for `void Plugin::setIsModified (bool)' does
> not match any in class `Plugin'
> plugin.cc:45: candidate is: void Plugin::setIsModified ()
> plugin.cc:54: no `bool Plugin::loaddb (QString)' member function
> declared in class `Plugin'
> plugin.cc: In method `bool Plugin::loaddb (QString)':
> /usr/X11R6/include/X11/Xresource.h:300: too many arguments to function
> `_XrmHashBucketRec *XrmGetFileDatabase ()'
> plugin.cc:57: at this point in file
> /usr/X11R6/include/X11/Xresource.h:300: too many arguments to function
> `_XrmHashBucketRec *XrmGetFileDatabase ()'
> plugin.cc:60: at this point in file
> plugin.cc: At top level:
> plugin.cc:72: prototype for `bool Plugin::loaddb (QString, QString,
> QString, QString)' does not match any in class `Plugin'
> plugin.cc:54: candidate is: bool Plugin::loaddb (QString)
> plugin.cc: In method `bool Plugin::loaddb (QString, QString, QString,
> QString)':
> /usr/X11R6/include/X11/Xresource.h:300: too many arguments to function
> `_XrmHashBucketRec *XrmGetFileDatabase ()'
> plugin.cc:77: at this point in file
> /usr/X11R6/include/X11/Xresource.h:300: too many arguments to function
> `_XrmHashBucketRec *XrmGetFileDatabase ()'
> plugin.cc:97: at this point in file
> /usr/X11R6/include/X11/Xresource.h:300: too many arguments to function
> `_XrmHashBucketRec *XrmGetFileDatabase ()'
> plugin.cc:99: at this point in file
> plugin.cc: At top level:
> plugin.cc:112: no `bool Plugin::loadResource (QString, QString, bool)'
> member function declared in class `Plugin'
> plugin.cc: In method `bool Plugin::loadResource (QString, QString,
> bool)':
> plugin.cc:116: `XrmGetResource' undeclared (first use this function)
> plugin.cc:117: `struct XrmValue' has no member named `addr'
> plugin.cc: At top level:
> plugin.cc:127: prototype for `int Plugin::loadResource (QString,
> QString, int)' does not match any in class `Plugin'
> plugin.cc:112: candidate is: bool Plugin::loadResource (QString,
> QString, bool)
> plugin.cc: In method `int Plugin::loadResource (QString, QString,
> int)':
> plugin.cc:133: `struct XrmValue' has no member named `addr'
> plugin.cc: At top level:
> plugin.cc:143: prototype for `QString *Plugin::loadResource (QString,
> QString, const char *)' does not match any in class `Plugin'
> plugin.cc:127: candidates are: int Plugin::loadResource (QString,
> QString, int)
> plugin.cc:112: bool Plugin::loadResource (QString,
> QString, bool)
> plugin.cc: In method `QString *Plugin::loadResource (QString, QString,
> const char *)':
> plugin.cc:148: `struct XrmValue' has no member named `addr'
> plugin.cc: At top level:
> plugin.cc:156: prototype for `QColor *Plugin::loadResource (QString,
> QString, QColor &)' does not match any in class `Plugin'
> plugin.cc:143: candidates are: QString *Plugin::loadResource (QString,
> QString, const char *)
> plugin.cc:127: int Plugin::loadResource (QString,
> QString, int)
> plugin.cc:112: bool Plugin::loadResource (QString,
> QString, bool)
> plugin.cc: In method `QColor *Plugin::loadResource (QString, QString,
> QColor &)':
> plugin.cc:162: `struct XrmValue' has no member named `addr'
> plugin.cc:183: `struct XrmValue' has no member named `addr'
> plugin.cc: At top level:
> plugin.cc:189: no `void Plugin::saveResource (QString, bool)' member
> function declared in class `Plugin'
> plugin.cc:200: prototype for `void Plugin::saveResource (QString, int)'
> does not match any in class `Plugin'
> plugin.cc:189: candidate is: void Plugin::saveResource (QString, bool)
> plugin.cc:206: prototype for `void Plugin::saveResource (QString, const
> char *)' does not match any in class `Plugin'
> plugin.cc:200: candidates are: void Plugin::saveResource (QString, int)
> plugin.cc:189: void Plugin::saveResource (QString,
> bool)
> plugin.cc:212: prototype for `void Plugin::saveResource (QString, const
> QColor &)' does not match any in class `Plugin'
> plugin.cc:206: candidates are: void Plugin::saveResource (QString,
> const char *)
> plugin.cc:200: void Plugin::saveResource (QString, int)
> plugin.cc:189: void Plugin::saveResource (QString,
> bool)
> plugin.cc:224: no `void Plugin::saveResourceBlank ()' member function
> declared in class `Plugin'
> plugin.cc:229: no `void Plugin::saveResourceComment (QString)' member
> function declared in class `Plugin'
> plugin.cc:235: no `void Plugin::saveResourceText (QString)' member
> function declared in class `Plugin'
> plugin.cc:241: no `bool Plugin::savedb (const char *)' member function
> declared in class `Plugin'
> plugin.cc: In method `bool Plugin::savedb (const char *)':
> plugin.cc:242: `writedbfile' undeclared (first use this function)
> plugin.cc: At top level:
> plugin.cc:249: prototype for `bool Plugin::savedb (const char *, const
> char *)' does not match any in class `Plugin'
> plugin.cc:241: candidate is: bool Plugin::savedb (const char *)
> plugin.cc:269: no `void Plugin::clearSaveResources ()' member function
> declared in class `Plugin'
> plugin.cc:273: no `bool Plugin::writedbfile (const char *)' member
> function declared in class `Plugin'
> make[5]: *** [plugin.lo] Error 1
> make[5]: Leaving directory
>`/usr/src/redhat/SOURCES/bbconf-1.0/bbconf/plugins/keybindings'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
>`/usr/src/redhat/SOURCES/bbconf-1.0/bbconf/plugins/keybindings'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/src/redhat/SOURCES/bbconf-1.0/bbconf/plugins'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/redhat/SOURCES/bbconf-1.0/bbconf'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/redhat/SOURCES/bbconf-1.0'
> make: *** [all-recursive-am] Error 2
--
----%<----------%<----
Jason Kasper (vanRijn)
bash$ :(){ :|:&};:
Numbers 6:24-26