LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   klibido compile error (https://www.linuxquestions.org/questions/linux-software-2/klibido-compile-error-380917/)

MadCowDzz 11-07-2005 06:09 PM

klibido compile error
 
I was having trouble running ./configure and finally got it to give me a success message...

Now I run make and I get a whole bunch of errors...
I can make high or low of this, can anybody help me?

Sorry for the giant post, I've included all the output of my

Thanks!


Code:

make  all-recursive
make[1]: Entering directory `/home/madcowdzz/klibido-0.2.4.1'
Making all in doc
make[2]: Entering directory `/home/madcowdzz/klibido-0.2.4.1/doc'
Making all in .
make[3]: Entering directory `/home/madcowdzz/klibido-0.2.4.1/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/madcowdzz/klibido-0.2.4.1/doc'
Making all in en
make[3]: Entering directory `/home/madcowdzz/klibido-0.2.4.1/doc/en'
/opt/kde3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
make[3]: Leaving directory `/home/madcowdzz/klibido-0.2.4.1/doc/en'
make[2]: Leaving directory `/home/madcowdzz/klibido-0.2.4.1/doc'
Making all in po
make[2]: Entering directory `/home/madcowdzz/klibido-0.2.4.1/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/madcowdzz/klibido-0.2.4.1/po'
Making all in src
make[2]: Entering directory `/home/madcowdzz/klibido-0.2.4.1/src'
cd .. && \
  /bin/sh /home/madcowdzz/klibido-0.2.4.1/admin/missing --run automake-1.6 --gnu  src/Makefile
/home/madcowdzz/klibido-0.2.4.1/admin/missing: line 46: automake-1.6: command not found
WARNING: `automake-1.6' is missing on your system.  You should only need it if
        you modified `Makefile.am', `acinclude.m4' or `configure.in'.
        You might want to install the `Automake' and `Perl' packages.
        Grab them from any GNU archive site.
cd .. && perl admin/am_edit klibido-0.2.4.1/src/Makefile.in
cd .. && /bin/sh ./config.status src/Makefile depfiles
fast creating src/Makefile
config.pl: fast created 1 file(s).
config.status: executing depfiles commands
make[2]: Leaving directory `/home/madcowdzz/klibido-0.2.4.1/src'
make[2]: Entering directory `/home/madcowdzz/klibido-0.2.4.1/src'
/usr/lib64/qt3/bin/uic -L /opt/kde3/lib64/kde3/plugins/designer -nounload -o NewsGroupForm.h ./NewsGroupForm.ui
/usr/lib64/qt3/bin/uic -L /opt/kde3/lib64/kde3/plugins/designer -nounload -o qmgrform.h ./qmgrform.ui
/usr/lib64/qt3/bin/uic -L /opt/kde3/lib64/kde3/plugins/designer -nounload -o nzbformdlg.h ./nzbformdlg.ui
source='main.cpp' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde3/include -I/usr/lib64/qt3/include -I/usr/X11R6/include  -I/usr/include/db4  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
In file included from ./newsgroup.h:23,
                from ./grouplist.h:27,
                from klibido.h:31,
                from main.cpp:21:
./globals.h:24:20: error: db_cxx.h: No such file or directory
./hlistviewitem.h:58: error: ISO C++ forbids declaration of ‘Db’ with no type
./hlistviewitem.h:58: error: expected ‘;’ before ‘*’ token
./hlistviewitem.h:71: error: ‘Db’ has not been declared
./hlistviewitem.h:72: error: ‘Db’ has not been declared
./hlistviewitem.h:73: error: ‘Db’ has not been declared
./hlistviewitem.h:87: error: ISO C++ forbids declaration of ‘Db’ with no type
./hlistviewitem.h:87: error: expected ‘;’ before ‘*’ token
./headerlist.h:40: error: ‘Db’ has not been declared
./headerlist.h:54: error: ‘Db’ has not been declared
./newsgroup.h:67: error: ISO C++ forbids declaration of ‘Db’ with no type
./newsgroup.h:67: error: expected ‘;’ before ‘*’ token
./newsgroup.h:72: error: ISO C++ forbids declaration of ‘DbEnv’ with no type
./newsgroup.h:72: error: expected ‘;’ before ‘*’ token
./newsgroup.h:81: error: expected `)' before ‘*’ token
./newsgroup.h:82: error: expected `)' before ‘*’ token
./newsgroup.h:87: error: ISO C++ forbids declaration of ‘Db’ with no type
./newsgroup.h:87: error: expected ‘;’ before ‘*’ token
./newsgroup.h:91: error: expected `;' before ‘void’
./newsgroup.h:91: error: ‘Db’ has not been declared
./newsgroup.h: In member function ‘void NewsGroup::setDb(int*)’:
./newsgroup.h:91: error: ‘db’ was not declared in this scope
./availablegroups.h: At global scope:
./availablegroups.h:71: error: ISO C++ forbids declaration of ‘Db’ with no type
./availablegroups.h:71: error: expected ‘;’ before ‘*’ token
./availablegroups.h:72: error: ISO C++ forbids declaration of ‘DbEnv’ with no type
./availablegroups.h:72: error: expected ‘;’ before ‘*’ token
./availablegroups.h:82: error: expected `)' before ‘*’ token
./availablegroups.h:90: error: ISO C++ forbids declaration of ‘Db’ with no type
./availablegroups.h:90: error: expected ‘;’ before ‘*’ token
./grouplist.h:47: error: ISO C++ forbids declaration of ‘Db’ with no type
./grouplist.h:47: error: expected ‘;’ before ‘*’ token
./grouplist.h:48: error: ISO C++ forbids declaration of ‘DbEnv’ with no type
./grouplist.h:48: error: expected ‘;’ before ‘*’ token
./grouplist.h:60: error: ‘DbEnv’ has not been declared
./grouplist.h:63: error: ISO C++ forbids declaration of ‘Db’ with no type
./grouplist.h:63: error: expected ‘;’ before ‘*’ token
./grouplist.h:64: error: ‘DbEnv’ has not been declared
./grouplist.h:65: error: ‘DbEnv’ has not been declared
./grouplist.h: In member function ‘void GroupList::setDbEnv(int*)’:
./grouplist.h:64: error: ‘dbenv’ was not declared in this scope
./serverslist.h: At global scope:
./serverslist.h:65: error: ISO C++ forbids declaration of ‘Db’ with no type
./serverslist.h:65: error: expected ‘;’ before ‘*’ token
./serverslist.h:66: error: ISO C++ forbids declaration of ‘DbEnv’ with no type
./serverslist.h:66: error: expected ‘;’ before ‘*’ token
./serverslist.h:87: error: ‘DbEnv’ has not been declared
./serverslist.h:90: error: ISO C++ forbids declaration of ‘Db’ with no type
./serverslist.h:90: error: expected ‘;’ before ‘*’ token
nntpthreadsocket.h:61: error: ISO C++ forbids declaration of ‘Db’ with no type
nntpthreadsocket.h:61: error: expected ‘;’ before ‘*’ token
nntpthreadsocket.h:175: error: ISO C++ forbids declaration of ‘Db’ with no type
nntpthreadsocket.h:175: error: expected ‘;’ before ‘*’ token
nntpthreadsocket.h:180: error: ISO C++ forbids declaration of ‘Dbt’ with no type
nntpthreadsocket.h:180: error: expected ‘;’ before ‘*’ token
nntpthreadsocket.h:185: error: ‘Db’ has not been declared
nntpthreadsocket.h:186: error: ‘Db’ has not been declared
queueparts.h:268: error: ‘Dbt’ does not name a type
queueparts.h:272: error: ISO C++ forbids declaration of ‘Db’ with no type
queueparts.h:272: error: expected ‘;’ before ‘*’ token
queueparts.h:288: error: ‘Db’ has not been declared
queueparts.h:370: error: ISO C++ forbids declaration of ‘Db’ with no type
queueparts.h:370: error: expected ‘;’ before ‘*’ token
queueparts.h:373: error: ‘Db’ has not been declared
updatedb.h:73: error: ‘Db’ has not been declared
updatedb.h:76: error: expected ‘;’ before ‘(’ token
updatedb.h:80: error: ‘Db’ has not been declared
updatedb.h:86: error: ‘Db’ has not been declared
updatedb.h:87: error: ‘Db’ has not been declared
qmgr.h:72: error: ISO C++ forbids declaration of ‘Db’ with no type
qmgr.h:72: error: expected ‘;’ before ‘*’ token
qmgr.h:156: error: ISO C++ forbids declaration of ‘Db’ with no type
qmgr.h:156: error: expected ‘;’ before ‘*’ token
qmgr.h:157: error: ISO C++ forbids declaration of ‘DbEnv’ with no type
qmgr.h:157: error: expected ‘;’ before ‘*’ token
qmgr.h:166: error: ‘Db’ has not been declared
qmgr.h:171: error: ‘DbEnv’ has not been declared
klibido.h:126: error: ISO C++ forbids declaration of ‘DbEnv’ with no type
klibido.h:126: error: expected ‘;’ before ‘*’ token
klibido.h:127: error: ISO C++ forbids declaration of ‘Db’ with no type
klibido.h:127: error: expected ‘;’ before ‘*’ token
klibido.h:128: error: ISO C++ forbids declaration of ‘Db’ with no type
klibido.h:128: error: expected ‘;’ before ‘*’ token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/madcowdzz/klibido-0.2.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/madcowdzz/klibido-0.2.4.1'
make: *** [all] Error 2


MadCowDzz 11-09-2005 11:54 AM

Has anybody installed Klibido before?

I see some message about "automake", but I haven't modified anything special...
BEsides, would Suse 10 not come with that?

I'm stuck.

1veedo 11-16-2005 04:59 PM

I have a similar error with another program. According to http://www.slac.stanford.edu/BFROOT/...CWarnings.html it's a problem with the program although this seems very unlikely to me.
Quote:

If you see a warning like;

Compiling testhist_l.cc [libRegrTest.a] [cc-1]
testhist.l:451: warning: `void yyunput(int, char*)' defined but not used

this means there is a function implemented but not actually used.

It should be safe to remove this function and reduce the overall size of BaBar code. (In this particular case this code is auto-generated so it isn't possible to fix this warning).
I'm not about to go into the file and recode it...

MadCowDzz 11-21-2005 07:12 PM

It definately looks like a programming error, but I agree about having to track down the cause...

Did you have your problem with Klibido specifically?

If so, which binary newsgroup reader did you choose?

exvor 11-21-2005 07:41 PM

Looking at your error here is what the issue is.
Code:

./globals.h:24:20: error: db_cxx.h: No such file or directory
according to this dump this file db_cxx.h is missing from the source directory or the programmer put in the incorrect path
to the file.


this would cause the other errors shown as the above file is probably used for function declrations and such.


only way i know this is from the multiple problems i have with my own programs when complieing. :p


seriously tho its ither the programmer forgot to add the file or you downloaded an incompleate archive or a incompleate
CVS tree.



if you want post the link where you downloaded it and ill try and compile and locate the file for you.

MadCowDzz 11-22-2005 07:18 PM

Well,I went searching for the source I used to download my tarball and I stumbled across a Suse 10 RPM for Klibido.

Now, I know I had tried this before and it didn't seem to work. I tried it again today and for some reason it decided to work.
It's a shame, I was looking forward to compiling from source... quite frankly, I'm happy to have a working application.

The help I received in this thead has been some of the best help I've had so far...
Thanks exvor!

MadCowDzz 11-22-2005 08:28 PM

For anyone else with the same problem, I found an answer in the FAQ that may help.
http://klibido.sourceforge.net/faq.html

Thanks to exvor's direction, refer to the section about "db_cxx.h"


All times are GMT -5. The time now is 02:24 PM.