You are not logged in.

jiapei100

Beginner

  • "jiapei100" started this thread

Posts: 13

Location: UK

Occupation: 2-year PhD

  • Send private message

1

Thursday, February 16th 2006, 4:15am

Kopete-0.12-alpha jingle misses config.h...

I followed the installation instruction strictly. However, everytime when I make, I met the following errors:


In file included from network.cc:33:
./../../talk/base/basicdefs.h:32:20: error: config.h: No such file or directory
make[8]: *** [network.lo] Error 1
make[8]: Leaving directory `/home/pjia/Installation/Communication/Kopete/kopete-0.12-alpha1/kopete/protocols/jabber/jingle/libjingle/talk/base'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/home/pjia/Installation/Communication/Kopete/kopete-0.12-alpha1/kopete/protocols/jabber/jingle/libjingle/talk'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/pjia/Installation/Communication/Kopete/kopete-0.12-alpha1/kopete/protocols/jabber/jingle/libjingle'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/pjia/Installation/Communication/Kopete/kopete-0.12-alpha1/kopete/protocols/jabber/jingle'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/pjia/Installation/Communication/Kopete/kopete-0.12-alpha1/kopete/protocols/jabber'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/pjia/Installation/Communication/Kopete/kopete-0.12-alpha1/kopete/protocols'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pjia/Installation/Communication/Kopete/kopete-0.12-alpha1/kopete'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pjia/Installation/Communication/Kopete/kopete-0.12-alpha1'
make: *** [all] Error 2


I did try to look for the file config.h, nothing was found at all.

Can Kopete Team just help a little bit to figure this out?

Thank you very much.

Cheers
JIA Pei
Welcome to Longer Vision Working Group

http://www.longervision.com/smf/index.php

This post has been edited 1 times, last edit by "jiapei100" (Feb 16th 2006, 4:46am)


2

Thursday, February 16th 2006, 9:52am

I can't tell you exactly how to solve the problem, but this problem appeared on the kopete-devel mailinglist as well. It seems as if specifiying the full path solved the problem for at least some people.

Quoted

The error was solved by writing the full path at the #include line (basicdefs.h:32:20)


Perhaps this helps you. Good luck.

jiapei100

Beginner

  • "jiapei100" started this thread

Posts: 13

Location: UK

Occupation: 2-year PhD

  • Send private message

3

Thursday, February 16th 2006, 11:47am

First, thank you so much for helping me to solve the iLBC problems!!!

Second, could you please tell me what is the full path? I couldn't even find a file named "config.h" except one in the root folder, say ".../kopete-0.12-alpha1", but the file "basicdefs.h" is in the folder ".../kopete-0.12-alpha1/kopete/protocols/jabber/jingle/libjingle/talk/base"...

I tried to change the "config.h" in file basicdefs.h to ".../kopete-0.12-alpha1/config.h", but failed again. :(

Quoted

Originally posted by bauerfichtner
I can't tell you exactly how to solve the problem, but this problem appeared on the kopete-devel mailinglist as well. It seems as if specifiying the full path solved the problem for at least some people.

Quoted

The error was solved by writing the full path at the #include line (basicdefs.h:32:20)


Perhaps this helps you. Good luck.
Welcome to Longer Vision Working Group

http://www.longervision.com/smf/index.php

4

Thursday, February 16th 2006, 1:36pm

Hmm, as mentioned, I do not know what exactly should be done, as I myself do not have any problems, everything works fine for me.

But I guess, that config.h is the one
../kopete/protocols/jabber/jingle/libjingle/config.h

As mentioned, I do not know it, as I have no problems. If it doesn't work, you shuld perhaps read the kopete-devel mailinglist. I'm going to search it once again, for detailed information, which I'll post here, if I'm successfull.

jiapei100

Beginner

  • "jiapei100" started this thread

Posts: 13

Location: UK

Occupation: 2-year PhD

  • Send private message

5

Thursday, February 16th 2006, 6:52pm

I downloaded libjingle-0.2.1 directly from sourceforge and tryied to compare this libjingle with the libjingle in kopete.

I happened to find that libjingle-0.2.1 has a file named "config.h.in" in the root direcotory, that is to say, there is a file ".../libjingle/config.h.in"!! After "./configure", the libjingle-0.2.1 will produce a file named "config.h" by itself in the same folder!!

But, the libjingle in kopete doesn't have a silimar file named "config.h.in" in the folder ".../libjingle". After "./configure", no file named "config.h" was produced in the folder ".../libjingle".

So... oops... depressing...

Since we are using the same OS--SuSE10.0, how this happened to me, but yours works fine?? :(
Welcome to Longer Vision Working Group

http://www.longervision.com/smf/index.php

6

Thursday, February 16th 2006, 6:59pm

I guess you did download the official release? I did a svn-sheckout, the description can be found here:

http://wiki.kde.org/tiki-index.php?page=Kopete+XHTML%2BCSS

Perhaps you should try to do the svn-checkout as well.
You should probaly copy and paste the above link, for some reason it does not work otherwise.

jiapei100

Beginner

  • "jiapei100" started this thread

Posts: 13

Location: UK

Occupation: 2-year PhD

  • Send private message

7

Friday, February 17th 2006, 3:05pm

Yes, I succeeded to install kopete 0.11 by SVN...

But, still failed to install kopete 0.12 by SVN...

Anyway, I'm satisfied with that...


Cheers
JIA Pei
Welcome to Longer Vision Working Group

http://www.longervision.com/smf/index.php

This post has been edited 6 times, last edit by "jiapei100" (Feb 18th 2006, 6:46am)


bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

8

Saturday, February 18th 2006, 11:29am

Quoted

But, still failed to install kopete 0.12 by SVN...


What was the problem then?
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

jiapei100

Beginner

  • "jiapei100" started this thread

Posts: 13

Location: UK

Occupation: 2-year PhD

  • Send private message

9

Sunday, February 19th 2006, 9:53pm

Quoted

Originally posted by bram85

Quoted

But, still failed to install kopete 0.12 by SVN...


What was the problem then?



I just followed the instructions here:
http://wiki.kde.org/tiki-index.php?page=Kopete+XHTML%2BCSS

I followed the instructions
svn co svn://anonsvn.kde.org/home/kde/branches/kopete/0.12
cd 0.12
make -f Makefile.cvs
./configure --enable-debug
cd kopete
make
su -c "make install"

When "make", I got the following errors.

/home/pjia/0.12/kopete/protocols/jabber/jingle/libjingle/talk/base/socketaddress.cc:256:5: warning: "WIN32" is not defined
/usr/include/c++/4.0.2/ctime:67: error: ‘::clock_t’ has not been declared
/usr/include/c++/4.0.2/ctime:68: error: ‘::time_t’ has not been declared
/usr/include/c++/4.0.2/ctime:69: error: ‘::tm’ has not been declared
/usr/include/c++/4.0.2/ctime:71: error: ‘::clock’ has not been declared
/usr/include/c++/4.0.2/ctime:72: error: ‘::difftime’ has not been declared
/usr/include/c++/4.0.2/ctime:73: error: ‘::mktime’ has not been declared
/usr/include/c++/4.0.2/ctime:74: error: ‘::time’ has not been declared
/usr/include/c++/4.0.2/ctime:75: error: ‘::asctime’ has not been declared
/usr/include/c++/4.0.2/ctime:76: error: ‘::ctime’ has not been declared
/usr/include/c++/4.0.2/ctime:77: error: ‘::gmtime’ has not been declared
/usr/include/c++/4.0.2/ctime:78: error: ‘::localtime’ has not been declared
/usr/include/c++/4.0.2/ctime:79: error: ‘::strftime’ has not been declared
/usr/include/c++/4.0.2/bits/locale_facets.tcc: In member function ‘_InIter std::time_get<_CharT, _InIter>::_M_extract_via_format(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&, tm*, const _CharT*) const’:
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1760: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1767: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1775: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1782: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1794: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1801: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1804: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1816: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1821: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1829: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1833: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1853: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1889: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc:1897: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc: In member function ‘virtual _InIter std::time_get<_CharT, _InIter>::do_get_weekday(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&, tm*) const’:
/usr/include/c++/4.0.2/bits/locale_facets.tcc:2123: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc: In member function ‘virtual _InIter std::time_get<_CharT, _InIter>::do_get_monthname(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&, tm*) const’:
/usr/include/c++/4.0.2/bits/locale_facets.tcc:2169: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
/usr/include/c++/4.0.2/bits/locale_facets.tcc: In member function ‘virtual _InIter std::time_get<_CharT, _InIter>::do_get_year(_InIter, _InIter, std::ios_base&, std::_Ios_Iostate&, tm*) const’:
/usr/include/c++/4.0.2/bits/locale_facets.tcc:2196: error: invalid use of undefined type ‘struct tm’
/usr/include/wchar.h:123: error: forward declaration of ‘struct tm’
Error creating ../kopete/protocols/jabber/jingle/libjingle/talk/base/socketaddress.lo. Exit status 1.
make: *** [all] Error 1

Thus, I cannot continue to install...

Can you help?

Cheers
JIA Pei
Welcome to Longer Vision Working Group

http://www.longervision.com/smf/index.php

This post has been edited 1 times, last edit by "jiapei100" (Feb 20th 2006, 3:28pm)


bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

10

Monday, February 20th 2006, 8:49am

Are you trying to compile this with GCC 4+ ? I'd suggest you report a bug at http://bugs.kde.org , I think this can be fixed for the next release.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

jiapei100

Beginner

  • "jiapei100" started this thread

Posts: 13

Location: UK

Occupation: 2-year PhD

  • Send private message

11

Monday, February 20th 2006, 9:54am

Actually, I don't think there will be much difference between kopete 0.11 and kopete 0.12. How can I succeed in compile kopete 0.11 with my gcc4.0 instead of kopete 0.12??

I checked online and I got the information that some of the bugs are bogus.

Please refer to
http://chess.eecs.berkeley.edu/escher/de…aq-stlport.html


But, what happened to my kopete 0.12 then??


Cheers

JIA Pei
Welcome to Longer Vision Working Group

http://www.longervision.com/smf/index.php

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

12

Monday, February 20th 2006, 11:28am

I saw a comment in the SVN repository that the jingle stuff didn't compile. Maybe that comment is outdated (at least I hope, it's a release after all). But else you should modify the Makefile and remove the folder which causes the problem (search for SUBDIRS).

Again, don't forget to report this to bugs.kde.org, maybe the developers can provide you with more usable info about how to solve this.
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

mattr

Trainee

Posts: 105

Location: US

Occupation: Software Engineer

  • Send private message

13

Monday, February 20th 2006, 9:54pm

Quoted

Quoted

Originally posted by bram85

Quoted

But, still failed to install kopete 0.12 by SVN...


What was the problem then?



I just followed the instructions here:
http://wiki.kde.org/tiki-index.php?page=Kopete+XHTML%2BCSS

I followed the instructions
svn co svn://anonsvn.kde.org/home/kde/branches/kopete/0.12
cd 0.12
make -f Makefile.cvs
./configure --enable-debug
cd kopete
make
su -c "make install"



Did you add '--enable-libjingle' to the compile line? If not, try reconfiguring with the following:

Source code

1
./configure --prefix=`kde-config --prefix` --enable-debug --enable-jingle


and see if that helps. If it makes things compile, please let me know, because I'll need to do some fiddling with the Makefiles to fix it.
--Matt