Precompiled libraries in the SVN cause dependency issues?
#1
Question 
precompiled libs on XBMC/system looks cause dependencies issue,

can i remove them and rebuild?

make clean does not delete them

Thanks
Reply
#2
anubisg1 Wrote:precompiled libs on XBMC/system looks cause dependencies issue,

can i remove them and rebuild?

make clean does not delete them

Thanks

Feel free to rebuild them but we won't be committing to svn. You can find the sources in sources or docs. This is why we only support Ubuntu. Dependencies work there.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#3
yes don't worry, i don't want to commit them Wink just to know what could happen if i remove them a how can i rebuilt! Wink Wink
Reply
#4
You can find the sources in the sources directory. There's not usually instructions for how to build them, so good luck. Which ones are you trying to build? If you find build_xbmc.sh then you're golden.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#5
the most important, because is the one that gives me dependencie issue is

XBMC/system/ImageLib-x86_64-Linux.so
Reply
#6
oh, that's an ugly one. Check out sources/cximage-6.0/Makefile.linux
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#7
malloc Wrote:oh, that's an ugly one. Check out sources/cximage-6.0/Makefile.linux

that's my lucky! ConfusedConfused

downloading it Wink
Reply
#8
my famous lucky:

Code:
make[1]: Entering directory `/home/anubis/sources/cximage-6.0/CxImage'
g++ -fPIC -DXBMC -D_DLL -DNO_LCMS -DNO_JPEG -I../jasper/include -I../jpeg/ -g -c -o DllInterface.o DllInterface.cpp
DllInterface.cpp:13:1: warning: "S_ISDIR" redefined
In file included from DllInterface.cpp:12:
/usr/include/sys/stat.h:131:1: warning: this is the location of the previous definition
DllInterface.cpp: In function ‘DWORD GetImageType(const char*)’:
DllInterface.cpp:53: error: ‘strcmpi’ was not declared in this scope
DllInterface.cpp: In function ‘bool SaveThumb(CxImage&, const char*, const char*, int, int, bool, bool)’:
DllInterface.cpp:213: error: ‘::DeleteFile’ has not been declared
DllInterface.cpp:226: error: ‘::DeleteFile’ has not been declared
DllInterface.cpp:235: error: ‘::DeleteFile’ has not been declared
DllInterface.cpp: At global scope:
DllInterface.cpp:263: error: ‘dllexport’ was not declared in this scope
DllInterface.cpp:263: error: expected ‘,’ or ‘;’ before ‘ReleaseImage’
DllInterface.cpp:559: error: expected `}' at end of input
make[1]: *** [DllInterface.o] Error 1

gcc 4.3
Reply
#9
Maybe checkout the upstream source and documentation/forum of CxImage? => http://www.xdp.it/cximage.htm
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#10
are you sure you used Makefile.linux?

make -f Makefile.linux

you may need to twick the path to wrapper.* inside the makefile.
Reply
#11
ok i'm able to build it now..

jsut a question about those libs.. because there is something i not understanding well..

the xbmc need i.e. libogg-devel to be built.. that means that i have libogg.so.0 lib installed on my sistem

why the ogg lib is installed? (in /usr/share/xbmc/system/cdrip/ogg-i486-linux.so)

the problem consist in two things

1) first of all those libs are precompiled that could cause depencie problems

2) are they really needed? you know linux use much more than windows shared libs, so, if i yet have the ogg lib, why i should have another one?

3) that thing can also cause dependencie problems you consider xbmc packaged on deb or rpm..

Quote:Toni wrote:
could you please correct this package ?

it provides libogg0, this leads to errors like:

expanding package dependencies...
expansion error
have choice for libogg.so.0 needed by flac: XBMC libogg0
have choice for libogg.so.0 needed by speex: XBMC libogg0
have choice for libogg.so.0 needed by timidity: XBMC libogg0
have choice for libogg.so.0 needed by vorbis-tools: XBMC libogg0
have choice for libogg.so.0 needed by libFLAC8: XBMC libogg0
have choice for libogg.so.0 needed by arts: XBMC libogg0
have choice for libogg.so.0 needed by libvorbis: XBMC libogg0
toni@oc2pus:~/packages/packman/snd-ls> sudo lbuild-11.0 --jobs 2 snd-ls.spec
logging output to /local/build-root.toni.11.0-i386/.build.log...
Memory limit set to 689674KB


thx

to him i answered like this:

Quote:Hi Toni,

this is not my fault, looks to be a program issue, until they fix i think to delete the package.

the problems looks due to the XBMC that install their own libs on /usr/share/xbmc/system that provides the libs available on the real packages...

i.e.

/usr/share/xbmc/system/cdrip/ogg-i486-linux.so looks provide libogg.so.0

at the end, the package looks use static precompiled libraries until use the shared ones. the thing is more strange if you think that for example libogg-devel is required to build the package, so developers are sure that the lib they need

i hope that words will be useful to the project also because i love it and i'm spreading words

http://www.crismonblog.org/opensuse-11/x...nsuse.html

is it in italian but how you can see we are talking about XBMC
Reply

Logout Mark Read Team Forum Stats Members Help
Precompiled libraries in the SVN cause dependency issues?0