LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-02-2009, 02:36 AM   #1
ack_iix
Member
 
Registered: Jan 2009
Location: Tangerang, Indonesia
Distribution: Slackware64-current
Posts: 61

Rep: Reputation: 17
Building Kid3 in Slackware64-Current


Anybody in LQ has successfully builds Kid3 on Slackware64-Current? I've tried build it from source, the problem is this application requires libtunepimp and libtunepimp requires libmusicbrainz which never compile on my Slackware64.

Error message on building Kid3:
Code:
CMake Error at CMakeLists.txt:117 (message):
  Could not find TunePimp                                                                  
-- Configuring incomplete, errors occurred!
Error message on building libtunepimp:
Code:
checking for mb_GetVersion in -lmusicbrainz... no
*
*  The MusicBrainz client library needs to be installed
*  to build this plugin. Please download the library from
*  http://musicbrainz.org/products/client/download.html
*
configure: error: "Cannot build. Stop."
Error message on building libmusicbrainz:
Code:
comhttpsocket.cpp: In member function 'int MBCOMHTTPSocket::Connect(const char*)':
comhttpsocket.cpp:55: error: 'strncmp' was not declared in this scope             
comhttpsocket.cpp:59: error: 'memset' was not declared in this scope              
comhttpsocket.cpp:69: error: 'strcpy' was not declared in this scope              
comhttpsocket.cpp:78: error: 'strchr' was not declared in this scope              
comhttpsocket.cpp: In member function 'int MBCOMHTTPSocket::Write(const char*, size_t, size_t*)':
comhttpsocket.cpp:117: error: 'strlen' was not declared in this scope                            
comhttpsocket.cpp:122: error: 'memset' was not declared in this scope                            
comhttpsocket.cpp:127: error: 'strcat' was not declared in this scope                            
comhttpsocket.cpp:129: error: 'memcpy' was not declared in this scope                            
comhttpsocket.cpp: In member function 'int MBCOMHTTPSocket::NBRead(char*, size_t, size_t*, int)':
comhttpsocket.cpp:151: error: 'memset' was not declared in this scope                            
comhttpsocket.cpp:179: error: 'strchr' was not declared in this scope                            
comhttpsocket.cpp:195: error: 'strstr' was not declared in this scope                            
comhttpsocket.cpp:200: error: 'memcpy' was not declared in this scope                            
comhttpsocket.cpp:214: error: 'memcpy' was not declared in this scope                            
comhttpsocket.cpp: In member function 'int MBCOMHTTPSocket::Read(char*, size_t, size_t*)':       
comhttpsocket.cpp:237: error: 'memcpy' was not declared in this scope                            
comhttpsocket.cpp:241: error: 'memmove' was not declared in this scope                           
comhttpsocket.cpp:254: error: 'memcpy' was not declared in this scope                            
comhttpsocket.cpp: In member function 'bool MBCOMHTTPSocket::IsHTTPHeaderComplete(char*, unsigned int)':
comhttpsocket.cpp:287: error: 'strncmp' was not declared in this scope                                  
comsocket.cpp: In member function 'int MBCOMSocket::Connect(const char*, int, int, bool)':              
comsocket.cpp:159: error: 'memset' was not declared in this scope                                       
comsocket.cpp:161: error: 'memcpy' was not declared in this scope                                       
comsocket.cpp: In member function 'int MBCOMSocket::NBConnect(const char*, int, int, int)':             
comsocket.cpp:311: error: 'memset' was not declared in this scopemake[2]: *** [comhttpsocket.lo] Error 1
make[2]: *** Waiting for unfinished jobs....                                                            

comsocket.cpp:313: error: 'memcpy' was not declared in this scope
comsocket.cpp: In member function 'int MBCOMSocket::SetMCastInterface(const char*)':
comsocket.cpp:385: error: 'memset' was not declared in this scope                   
make[2]: *** [comsocket.lo] Error 1                                                 
c_wrapper.cpp: In function 'int mb_GetWebSubmitURL(void*, char*, int)':             
c_wrapper.cpp:158: error: 'strncpy' was not declared in this scope                  
c_wrapper.cpp: In function 'void mb_GetQueryError(void*, char*, int)':              
c_wrapper.cpp:207: error: 'strncpy' was not declared in this scope                  
c_wrapper.cpp: In function 'int mb_GetResultData(void*, char*, char*, int)':        
c_wrapper.cpp:225: error: 'strncpy' was not declared in this scope                  
c_wrapper.cpp: In function 'int mb_GetResultData1(void*, char*, char*, int, int)':  
c_wrapper.cpp:245: error: 'strncpy' was not declared in this scope                  
c_wrapper.cpp: In function 'int mb_GetResultRDF(void*, char*, int)':                
c_wrapper.cpp:347: error: 'strncpy' was not declared in this scope                  
c_wrapper.cpp: In function 'void mb_GetIDFromURL(void*, char*, char*, int)':        
c_wrapper.cpp:385: error: 'strncpy' was not declared in this scope                  
c_wrapper.cpp: In function 'void mb_GetFragmentFromURL(void*, char*, char*, int)':
c_wrapper.cpp:396: error: 'strncpy' was not declared in this scope
c_wrapper.cpp: In function 'int trm_FinalizeSignature(void*, char*, char*)':
c_wrapper.cpp:507: error: 'memset' was not declared in this scope
c_wrapper.cpp:508: error: 'strncpy' was not declared in this scope
make[2]: *** [c_wrapper.lo] Error 1
http.cpp: In member function 'int MBHttp::WriteToBuffer(unsigned char*, unsigned int)':
http.cpp:155: error: 'memcpy' was not declared in this scope
http.cpp:160: error: 'memcpy' was not declared in this scope
http.cpp: In function 'void EncodeURI(std::string&)':
http.cpp:187: error: 'strncmp' was not declared in this scope
http.cpp: In member function 'Error MBHttp::Download(const std::string&, const std::string&, bool)':
http.cpp:231: error: 'strncasecmp' was not declared in this scope
http.cpp:244: error: 'strcpy' was not declared in this scope
http.cpp:253: error: 'strcpy' was not declared in this scope
http.cpp:254: error: 'strchr' was not declared in this scope
http.cpp:301: error: 'memcpy' was not declared in this scope
http.cpp:308: error: 'memset' was not declared in this scope
http.cpp:309: error: 'memcpy' was not declared in this scope
http.cpp:353: error: 'strlen' was not declared in this scope
http.cpp:365: error: 'strcat' was not declared in this scope
http.cpp:445: error: 'strstr' was not declared in this scope
http.cpp:450: error: 'memmove' was not declared in this scope
http.cpp:488: error: 'strstr' was not declared in this scope
http.cpp:547: error: 'strstr' was not declared in this scope
http.cpp:565: error: 'strlen' was not declared in this scope
http.cpp: In member function 'bool MBHttp::IsHTTPHeaderComplete(char*, uint32)':
http.cpp:763: error: 'strncmp' was not declared in this scope
http.cpp: In member function 'int32 MBHttp::GetContentLengthFromHeader(const char*)':
http.cpp:777: error: 'strstr' was not declared in this scope
http.cpp:780: error: 'strlen' was not declared in this scope
make[2]: *** [http.lo] Error 1
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/musicbrainz -Wall -O2 -MT signature.lo -MD -MP -MF .deps/signature.Tpo -c signature.cpp  -fPIC -DPIC -o .libs/signature.o
make[2]: Leaving directory `/tmp/SBo/libmusicbrainz-2.1.5/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/libmusicbrainz-2.1.5'
make: *** [all] Error 2
 
Old 08-02-2009, 04:12 AM   #2
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 292

Rep: Reputation: 75
As you've quickly found out with libmusicbrainz and will later with libtunepimp, they both fail to build against gcc-4.3. I haven't compiled kid3 but was able to build libmusicbrainz and libtunpimp with these patches on Slackware -current.

1) libmusicbrainz patch: http://repos.archlinux.org/viewvc.cg...revision=35940
Code:
# patch -p1 < $CWD/gcc4.3.patch
2) libtunepimp patch: http://repos.archlinux.org/viewvc.cg...revision=38609
Code:
# patch -p0 < $CWD/tunepimp-gcc43.patch
If you have libmp4v2 installed before compiling libtunepimp then you also need this patch: http://repos.archlinux.org/viewvc.cg...revision=38609
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware64-current Touchpad mlpa Slackware 2 07-31-2009 09:31 PM
building kdebluetooth from Slackbuilds on Slackware64-current gtludwig Slackware 5 06-27-2009 05:59 PM
help install slackware64-current christyler2009 Slackware 2 06-26-2009 11:31 AM
[SOLVED] Building wine on Slackware64 JanZamoyski Slackware 22 06-13-2009 03:05 AM
[SOLVED] what's that directory (slackware64-current) sycamorex Slackware 3 05-30-2009 09:03 AM


All times are GMT -5. The time now is 02:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration