LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Building Kid3 in Slackware64-Current (http://www.linuxquestions.org/questions/slackware-14/building-kid3-in-slackware64-current-744471/)

ack_iix 08-02-2009 03:36 AM

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


larryhaja 08-02-2009 05:12 AM

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


All times are GMT -5. The time now is 06:08 PM.