Kodi Community Forum

Full Version: XBMC SVN Build issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am having problems building xbmc svn from source for past week. It compiles fine but I keep getting this error when I do make install:

Copying XBMC binary to /usr/local/lib/xbmc/xbmc.bin
You can run XBMC with the command 'xbmc'
-- hdhomerun-i486-linux.so                                                    
-- libexif-i486-linux.so                                                      
-- libcpluff-i486-linux.so                                                    
-- python24-i486-linux.so                                                    
-- ImageLib-i486-linux.so                                                    
-- libid3tag-i486-linux.so                                                    
-- libsidplay2-i486-linux.so                                                  
-- ac3codec-i486-linux.so                                                    
-- SNESAPU-i486-linux.so                                                      
-- stsoundlibrary-i486-linux.so                                              
-- adpcm-i486-linux.so                                                        
-- vgmstream-i486-linux.so                                                    
-- gensapu-i486-linux.so                                                      
-- nosefart-i486-linux.so                                                    
-- timidity-i486-linux.so                                                    
-- avcodec-52-i486-linux.so                                                  
-- postproc-51-i486-linux.so                                                  
-- libdvdcss-i486-linux.so                                                    
-- avutil-50-i486-linux.so                                                    
-- libdvdnav-i486-linux.so                                                    
-- avformat-52-i486-linux.so                                                  
-- swscale-0.6.1-i486-linux.so                                                
-- libass-i486-linux.so                                                      
-- libdts-i486-linux.so                                                      
-- liba52-i486-linux.so                                                      
-- libao-i486-linux.so                                                        
-- projectM.vis                                                              
-- opengl_spectrum.vis                                                        
-- Waveform.vis                                                              
-- Euphoria.xbs                                                              
-- Waveform.vis                                                              
-- opengl_spectrum.vis                                                        
-- Plasma.xbs                                                                
-- Solarwinds.xbs                                                            
-- Euphoria.xbs                                                              
-- Plasma.xbs                                                                
-- Solarwinds.xbs                                                            
-- projectM.vis                                                              
cp: cannot create regular file `/usr/local/lib/xbmc/addons/script.module.pil/script.module.pil/.svn/entries': Permission denied
cp: cannot create regular file `/usr/local/lib/xbmc/addons/script.module.pil/script.module.pil/.svn/text-base/addon.xml.svn-base': Permission denied
cp: cannot create regular file `/usr/local/lib/xbmc/addons/script.module.pil/script.module.pil/.svn/all-wcprops': Permission denied
cp: cannot create regular file `/usr/local/lib/xbmc/addons/script.module.pil/script.module.pil/lib/.svn/entries': Permission denied
cp: cannot create regular file `/usr/local/lib/xbmc/addons/script.module.pil/script.module.pil/lib/.svn/all-wcprops': Permission denied
make: *** [install-arch] Error 1

I am running it as normal user. I had to manually delete the folder /usr/local/lib/xbmc and run it again then it works. But the next time, it builds again then the issue returns.

OS: Ubuntu 9.04 x86 linux
you using make install or sudo make install?
make install.
You're getting "Permission denied" when it tries to write to the /usr/local/* directories. Try adding sudo onto your make install:
sudo make install
CrashX Wrote:make install.

You have to use sudo make install
This was working fine before couple of weeks ago .. I can't do sudo because it is script that is run via local crontab ... I don't want it be elevated ...

Anyways I tried changing ownwership of directory to /usr/local/lib/xbmc to be local user which works in make install temporarly. After the script is run again to compile the source again it will fail again.

Also is their any reason for this svn files to be copied into /usr/local/lib/xbmc ?