2011-08-06, 22:21
Greetings,
Was curious if anyone has successfully built XBMC on Lion with Xcode 4.1 yet?
I was reading README.osx.. starting line by line with its instructions, installed Xcode (Which now must be downloaded from App store).
Can get through 3.1 (bootstrap, configure in depends dir).
Can't make it through the 'make -C tools/darwin/depends/xbmc
autopoint doesn't exist natively with xcode 4.1 on Lion (not sure if it did in any prios release), but after installing gettext.. that issue is resolved
Next issue, boost doesn't exist.. compiled it via 'brew'.. though no matter where I placed it, or modifying includes, xbmc would never agree it was found (im sure my mistake)
The stranger part.. It was setting g++ and cpp to use versions that don't exist on lion, not sure how it determined to use those versions. (Ie it was hard linking to /usr/bin/cpp-4.0 and /usr/bin/g++-4.0, but on Lion with xcode 4.1, both of those are 4.2. I'd guess having something to do with "configuring for darwin osx-10.4-i386"
I can figure out the boost issue im sure, but curious why it might be assuming wrong compilers..
Here is config.log from AE branch.
Thanks!
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by darwin-depends configure 1.00, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --with-darwin=osx
## --------- ##
## Platform. ##
## --------- ##
hostname = Living-Room-Mini.local
uname -m = x86_64
uname -r = 11.0.1
uname -s = Darwin
uname -v = Darwin Kernel Version 11.0.1: Wed Jun 29 19:53:22 PDT 2011; root:xnu-1699.23.2~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 11.0.1: Wed Jun 29 19:53:22 PDT 2011; root:xnu-1699.23.2~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 2.00 gigabytes
Default processor set: 74 tasks, 345 threads, 4 processors
Load average: 0.50, Mach factor: 3.48
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin
PATH: /usr/local/git/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1720: result: configuring for darwin osx-10.4-i386
configure:1722: result: creating hostroot at /Users/Shared/xbmc-depends
configure:1729: result: creating build toolchain at /Users/Shared/xbmc-depends/toolchain
configure:1733: result: creating tarball storage at /Users/Shared/xbmc-depends/tarballs
configure:1737: result: creating hostroot directories at /Users/Shared/xbmc-depends/osx-10.4_i386
configure:1887: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by darwin-depends config.status 1.00, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on Living-Room-Mini.local
config.status:570: creating Makefile
config.status:570: creating Makefile.include
config.status:570: creating config.site
config.status:570: creating config.site.mk
configure:2760: result: setting up config.site files
configure:2764: result: setting up python26 Makefile
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
## ----------------- ##
## Output variables. ##
## ----------------- ##
DEFS='-DPACKAGE_NAME=\"darwin-depends\" -DPACKAGE_TARNAME=\"darwin-depends\" -DPACKAGE_VERSION=\"1.00\" -DPACKAGE_STRING=\"darwin-depends\ 1.00\" -DPACKAGE_BUGREPORT=\"http://trac.xbmc.org\"'
ECHO_C='ECHO_N=''
ECHO_T=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
PACKAGE_BUGREPORT='http://trac.xbmc.org'
PACKAGE_NAME='darwin-depends'
PACKAGE_STRING='darwin-depends 1.00'
PACKAGE_TARNAME='darwin-depends'
PACKAGE_VERSION='1.00'
PATH_SEPARATOR=':'
SHELL='/bin/sh'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
use_arch='i386'
use_darwin='osx'
use_prefix='/Users/Shared/xbmc-depends/osx-10.4_i386'
use_sdk='10.4'
use_staging='/Users/Shared/xbmc-depends'
use_toolchain='/Users/Shared/xbmc-depends/toolchain'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "darwin-depends"
#define PACKAGE_TARNAME "darwin-depends"
#define PACKAGE_VERSION "1.00"
#define PACKAGE_STRING "darwin-depends 1.00"
#define PACKAGE_BUGREPORT "http://trac.xbmc.org"
configure: exit 0
This was on a 2011 mac mini intel video, base model.
Was curious if anyone has successfully built XBMC on Lion with Xcode 4.1 yet?
I was reading README.osx.. starting line by line with its instructions, installed Xcode (Which now must be downloaded from App store).
Can get through 3.1 (bootstrap, configure in depends dir).
Can't make it through the 'make -C tools/darwin/depends/xbmc
autopoint doesn't exist natively with xcode 4.1 on Lion (not sure if it did in any prios release), but after installing gettext.. that issue is resolved
Next issue, boost doesn't exist.. compiled it via 'brew'.. though no matter where I placed it, or modifying includes, xbmc would never agree it was found (im sure my mistake)
The stranger part.. It was setting g++ and cpp to use versions that don't exist on lion, not sure how it determined to use those versions. (Ie it was hard linking to /usr/bin/cpp-4.0 and /usr/bin/g++-4.0, but on Lion with xcode 4.1, both of those are 4.2. I'd guess having something to do with "configuring for darwin osx-10.4-i386"
I can figure out the boost issue im sure, but curious why it might be assuming wrong compilers..
Here is config.log from AE branch.
Thanks!
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by darwin-depends configure 1.00, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ ./configure --with-darwin=osx
## --------- ##
## Platform. ##
## --------- ##
hostname = Living-Room-Mini.local
uname -m = x86_64
uname -r = 11.0.1
uname -s = Darwin
uname -v = Darwin Kernel Version 11.0.1: Wed Jun 29 19:53:22 PDT 2011; root:xnu-1699.23.2~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 11.0.1: Wed Jun 29 19:53:22 PDT 2011; root:xnu-1699.23.2~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 2.00 gigabytes
Default processor set: 74 tasks, 345 threads, 4 processors
Load average: 0.50, Mach factor: 3.48
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin
PATH: /usr/local/git/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1720: result: configuring for darwin osx-10.4-i386
configure:1722: result: creating hostroot at /Users/Shared/xbmc-depends
configure:1729: result: creating build toolchain at /Users/Shared/xbmc-depends/toolchain
configure:1733: result: creating tarball storage at /Users/Shared/xbmc-depends/tarballs
configure:1737: result: creating hostroot directories at /Users/Shared/xbmc-depends/osx-10.4_i386
configure:1887: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by darwin-depends config.status 1.00, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on Living-Room-Mini.local
config.status:570: creating Makefile
config.status:570: creating Makefile.include
config.status:570: creating config.site
config.status:570: creating config.site.mk
configure:2760: result: setting up config.site files
configure:2764: result: setting up python26 Makefile
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
## ----------------- ##
## Output variables. ##
## ----------------- ##
DEFS='-DPACKAGE_NAME=\"darwin-depends\" -DPACKAGE_TARNAME=\"darwin-depends\" -DPACKAGE_VERSION=\"1.00\" -DPACKAGE_STRING=\"darwin-depends\ 1.00\" -DPACKAGE_BUGREPORT=\"http://trac.xbmc.org\"'
ECHO_C='ECHO_N=''
ECHO_T=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
PACKAGE_BUGREPORT='http://trac.xbmc.org'
PACKAGE_NAME='darwin-depends'
PACKAGE_STRING='darwin-depends 1.00'
PACKAGE_TARNAME='darwin-depends'
PACKAGE_VERSION='1.00'
PATH_SEPARATOR=':'
SHELL='/bin/sh'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host_alias=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
use_arch='i386'
use_darwin='osx'
use_prefix='/Users/Shared/xbmc-depends/osx-10.4_i386'
use_sdk='10.4'
use_staging='/Users/Shared/xbmc-depends'
use_toolchain='/Users/Shared/xbmc-depends/toolchain'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "darwin-depends"
#define PACKAGE_TARNAME "darwin-depends"
#define PACKAGE_VERSION "1.00"
#define PACKAGE_STRING "darwin-depends 1.00"
#define PACKAGE_BUGREPORT "http://trac.xbmc.org"
configure: exit 0
This was on a 2011 mac mini intel video, base model.