Mac SVN problem
#1
I'm triying to compile the latest version of the SVN but I can't make it work. After I execute the "make xcode_depends" I got an error with the id3 library... I know there's a problem with macports 1.8 but how there's so many people still compiling the new SVN.

Can anybody give me some advice?

Kind regards
Reply
#2
DamianXD Wrote:I'm triying to compile the latest version of the SVN but I can't make it work. After I execute the "make xcode_depends" I got an error with the id3 library... I know there's a problem with macports 1.8 but how there's so many people still compiling the new SVN.

Can anybody give me some advice?

Kind regards

macports 1.8 is permanently broke with respect to building XBMC for Mac. Their devs are unresponsive about what they removed and refuse to put the required bits back..

You need to build under macports 1.7 and use a local copy of their dports as the ones fetched are incompatible with older versions.

http://code.google.com/p/xbmc-port-depends/ is an archive of macports 1.7 and the proper dports. There is a plan to resolve this issue but all the bits are not in place yet.
Reply
#3
mmmm, but how do I use this http://code.google.com/p/xbmc-port-depends/
There are no download and the SVN don't have any instruction. =\
Any ideas?
Reply
#4
DamianXD Wrote:mmmm, but how do I use this http://code.google.com/p/xbmc-port-depends/
There are no download and the SVN don't have any instruction. =\
Any ideas?

Quote:There is a plan to resolve this issue but all the bits are not in place yet

if you understand how macports work, this is enough to fix it. Most do not understand how macports works and so will have to wait until I can complete this side project.
Reply
#5
After some testing, here is my results and way to install the macports 1.7

1.- Remove any previous installation of macports from your mac with this console command:
Code:
sudo rm -rf \
    /opt/local \
    /etc/manpaths.d/macports \
    /etc/paths.d/macports \
    /Applications/DarwinPorts \
    /Applications/MacPorts \
    /Library/LaunchDaemons/zorg.macports.* \
    /Library/Receipts/DarwinPorts*.pkg \
    /Library/Receipts/MacPorts*.pkg \
    /Library/StartupItems/DarwinPortsStartup \
    /Library/Tcl/darwinports1.0 \
    /Library/Tcl/macports1.0

2.- SVN download the source from xbmc-port-depends with this command:
Code:
svn checkout http://xbmc-port-depends.googlecode.com/svn/trunk/ xbmc-port-depends-read-only

3.- Use the terminal and go inside the base folder and compile the program with the following commands:
Code:
cd xbmc-port-depends-read-only/base/base/
sudo ./configure
sudo make
sudo make install

4.- Open the source.conf file using nano and point your dports folder (the other folder downloaded by the SVN of xbmc-port-depends) at the end of the file, after rsync://rsync.macports.org/release/ports/
Code:
sudo nano /opt/local/etc/macports/sources.conf
Add the folder like this:
file:///Users/damian/port/xbmc-port-depends-read-only/dports

5.- Install the ports files like the README.osx says (the one included on the SVN of XBMC) and finish the compilation

But my problem is, still after having the whole macports 1.7 with all the packages I got the same problem than before when I execute the make xcode_depends command:
Code:
make[4]: *** [genre.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [libid3tag/.libs/libid3tag.dylib] Error 2
make: *** [libid3tag] Error 2


Anybody knows a solution for this?, here is some extra information:
port installed
Code:
The following ports are currently installed:
  autoconf @2.64_2 (active)
  automake @1.11_0 (active)
  boost @1.39.0_3 (active)
  boost-jam @3.1.17_0 (active)
  bzip2 @1.0.5_2 (active)
  cmake @2.6.4_0 (active)
  expat @2.0.1_0 (active)
  fftw-3 @3.2.2_0 (active)
  flac @1.2.1_0 (active)
  fontconfig @2.7.1_0+macosx (active)
  freetype @2.3.9_0+macosx (active)
  fribidi @0.10.9_0 (active)
  gettext @0.17_4 (active)
  glew @1.5.1_2 (active)
  glib2 @2.20.4_0 (active)
  gmake @3.81_0 (active)
  gperf @3.0.4_0 (active)
  help2man @1.36.4_1 (active)
  jpeg @6b_3 (active)
  libcddb @1.3.2_0 (active)
  libcdio @0.81_0 (active)
  libiconv @1.13_0 (active)
  libmad @0.15.1b_2 (active)
  libmms @0.4_1 (active)
  libogg @1.1.4_0 (active)
  libpng @1.2.38_0 (active)
  libsamplerate @0.1.7_0 (active)
  libsdl @1.2.13_6+no_x11 (active)
  libsdl_image @1.2.7_0 (active)
  libsdl_mixer @1.2.8_1 (active)
  libsndfile @1.0.20_0 (active)
  libtool @2.2.6a_0 (active)
  libvorbis @1.2.3_0 (active)
  lzo @1.08_0 (active)
  lzo2 @2.03_1 (active)
  m4 @1.4.13_0 (active)
  mysql5 @5.0.84_0 (active)
  ncurses @5.7_0 (active)
  ncursesw @5.7_0 (active)
  openssl @0.9.8k_0 (active)
  p5-locale-gettext @1.05_0 (active)
  pcre @7.9_0 (active)
  perl5 @5.8.9_0 (active)
  perl5.8 @5.8.9_3 (active)
  pkgconfig @0.23_1 (active)
  popt @1.15_0 (active)
  readline @6.0.000_1 (active)
  samba3 @3.2.14_0+darwin_9 (active)
  smpeg @0.4.4_8 (active)
  sqlite3 @3.6.17_0 (active)
  tiff @3.8.2_3+macosx (active)
  yasm @0.8.0_0 (active)
  zlib @1.2.3_2 (active)

port version
Code:
Version: 1.710
Reply
#6
=\ Anyone? Anything?
Reply
#7
DamianXD Wrote:=\ Anyone? Anything?

I'm impressed, you figured it out, nice Smile

Which svn version are you trying to build? r24195 was an accidental commit regarding libid3tag, r24200 reverted it.
Reply
#8
WOW! You're right! after removing the entire folder of the old svn and downloading the newest one, the make xcode_depends command fully works!

But I just go inside another trouble:
After I set the XBMC_HOME variable on the current ppc executable (I have a G4 PPC Mac) I tried to compile and got the following errors:
/opt/local/include/GL/glew.h:84:2: error: #error gl.h included before glew.h
/opt/local/include/GL/glew.h:87:2: error: #error glext.h included before glew.h
And other 600+ errors

Here's the complete log file:
http://share.udec.cl/index.php?archivo=c...298d65df1c

Can you help me?
Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Mac SVN problem0