Strange new error compiling on OSX
#1
I have been DAYS trying to figure out why XBMC no longer is compiling on OSX and it is really driving me crazy.
I even went so far as reinstalling 10.8 over and over and I guess I am crazy because according to Einstein: Crazy = trying the same thing over and over and expecting different results. Odd thing is, I AM getting different results, just none of them good.

ok so today's errors:
when running make xcode_depends I get this new one.

Code:
/bin/sh: f: command not found
make[2]: [libavcodec/x86/ac3dsp.o] Error 127 (ignored)
YASM    libavcodec/x86/ac3dsp.o
/bin/sh: -f: command not found
make[2]: *** [libavcodec/x86/ac3dsp.o] Error 127
make[1]: *** [ffmpeg] Error 2
make: *** [dvdpcodecs] Error 2

sigh, which pretty much borks anything further down the chain it seems Sad

I am also still getting xbmc/utils/GlobalsHandling.h:23:32: error: boost/shared_ptr.hpp: No such file or directory
which I was able to get around on Windows and Linux [except android] and Raspberry PI but no such luck on Mac Sad

Any ideas on why /bin/sh: f: command not found is poping up on a clean OSX ML install?

TIA
Main Rig [Scorpius] - Core i7 2600k @ 5Ghz. 16 Gig DDR3 1600. 1x HD 6990 1x HD 4870 Hackintosh [Chiana] - Core i5 @ 3.8Ghz. 12 Gig DDR3 Linux [Moya] - Core2 Duo E8200 - 2 Gigs DDR2 800 WHS [Zhaan] - DualCore [email protected] - 4 Gigs DDR2 800 VMC [Jothee] Core2 Quad @ 2.8Ghz 4 Gigs DDR2 800 VMC [Aeryn] Core2 E8400 @ 3.0Ghz 2 Gigs DDR2 800 2TB Server [Talyn] Core2 Quad Q6600 @ 3.0Ghz - 8 Gigs DDR2 1066 FileServer [Crichton] P4 650 3.4GHz - 2 Gigs DDR
Reply
#2
Same is happening on the buildbot currently. Its because of the huge work beeing done to unify the build depends between linux,rbpi,android and darwin (osx/ios). We now are focussing on bringing Frodo 12.1 on the road so expect this breakage will be there for some time. After 12.1 is out the work on the unified depends will continue.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#3
(2013-03-13, 17:19)Memphiz Wrote: Same is happening on the buildbot currently. Its because of the huge work beeing done to unify the build depends between linux,rbpi,android and darwin (osx/ios). We now are focussing on bringing Frodo 12.1 on the road so expect this breakage will be there for some time. After 12.1 is out the work on the unified depends will continue.

oh thank god, I thought it was something I did lol. I knew there was a lot going on with the code base, but since that was such an odd error, I thought it was something I was doing wrong lol.

Thanks
Main Rig [Scorpius] - Core i7 2600k @ 5Ghz. 16 Gig DDR3 1600. 1x HD 6990 1x HD 4870 Hackintosh [Chiana] - Core i5 @ 3.8Ghz. 12 Gig DDR3 Linux [Moya] - Core2 Duo E8200 - 2 Gigs DDR2 800 WHS [Zhaan] - DualCore [email protected] - 4 Gigs DDR2 800 VMC [Jothee] Core2 Quad @ 2.8Ghz 4 Gigs DDR2 800 VMC [Aeryn] Core2 E8400 @ 3.0Ghz 2 Gigs DDR2 800 2TB Server [Talyn] Core2 Quad Q6600 @ 3.0Ghz - 8 Gigs DDR2 1066 FileServer [Crichton] P4 650 3.4GHz - 2 Gigs DDR
Reply
#4
Ok i think i fixed it.

Update from master and do

Code:
cd tools/darwin/depends && ./bootstrap && ./configure --with-darwin=osx --whatever-you-configured-with-in-the-first-place && make -C xbmc && cd ../../../ && make clean && make xcode_depends
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#5
(2013-03-13, 21:47)Memphiz Wrote: Ok i think i fixed it.

Update from master and do

Code:
cd tools/darwin/depends && ./bootstrap && ./configure --with-darwin=osx --whatever-you-configured-with-in-the-first-place && make -C xbmc && cd ../../../ && make clean && make xcode_depends

"THAT" error is now gone Smile but when I try to build I get hit with
Code:
echo "building depends"
/devel/xbmc
cd tools/darwin/depends
./bootstrap
./configure --with-darwin=osx --with-arch=x86_64
make
cd /devel/xbmc
make -C tools/darwin/depends/xbmc
make clean
cd /devel/xbmc
export XBMC_HOME=`pwd`
make xcode_depends
make -C lib/addons/script.module.pil
#xcodebuild -sdk macosx10.8 -project XBMC.xcodeproj -target XBMC.app ONLY_ACTIVE_ARCH=NO ARCHS=i386 VALID_ARCHS=i386 -configuration Debug build
xcodebuild -sdk macosx10.8 -project XBMC.xcodeproj -target XBMC.app ONLY_ACTIVE_ARCH=YES ARCHS=x86_64 VALID_ARCHS=x86_64 -configuration Debug build
Code:
In file included from /devel/xbmc/xbmc/cdrip/EncoderLame.h:25,
                 from /devel/xbmc/xbmc/cdrip/EncoderLame.cpp:21:
/devel/xbmc/xbmc/cdrip/DllLameenc.h:24:23: error: lame/lame.h: No such file or directory
In file included from xbmc/settings/GUISettings.h:26,
                 from /devel/xbmc/xbmc/cdrip/EncoderLame.cpp:22:
xbmc/addons/IAddon.h:21:32: error: boost/shared_ptr.hpp: No such file or directory
xbmc/addons/IAddon.h:24:45: error: boost/enable_shared_from_this.hpp: No such file or directory
In file included from xbmc/settings/GUISettings.h:28,
                 from /devel/xbmc/xbmc/cdrip/EncoderLame.cpp:22:
xbmc/utils/GlobalsHandling.h:23:32: error: boost/shared_ptr.hpp: No such file or directory
In file included from /devel/xbmc/xbmc/cdrip/EncoderLame.h:25,
                 from /devel/xbmc/xbmc/cdrip/EncoderLame.cpp:21:

and a million errors after
But hey baby steps Smile
Main Rig [Scorpius] - Core i7 2600k @ 5Ghz. 16 Gig DDR3 1600. 1x HD 6990 1x HD 4870 Hackintosh [Chiana] - Core i5 @ 3.8Ghz. 12 Gig DDR3 Linux [Moya] - Core2 Duo E8200 - 2 Gigs DDR2 800 WHS [Zhaan] - DualCore [email protected] - 4 Gigs DDR2 800 VMC [Jothee] Core2 Quad @ 2.8Ghz 4 Gigs DDR2 800 VMC [Aeryn] Core2 E8400 @ 3.0Ghz 2 Gigs DDR2 800 2TB Server [Talyn] Core2 Quad Q6600 @ 3.0Ghz - 8 Gigs DDR2 1066 FileServer [Crichton] P4 650 3.4GHz - 2 Gigs DDR
Reply
#6
thats because theuni decided to break compilation with old darwin depends again (by intention in favor of the new depends) Just wait until we have nuked the old depends and adapted the readme. Or do

git reset --hard 7653c98b1647f00ed88466f44bf681d20787f9d3

This is the revision with my fix and without theunis breakage. But you are stuck at that revision until what i have mentioned above...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#7
no worries. Thanks for the info. The downtime has given me an incentive to rewrite my *nix build routines from scratch and I am so happy with them now. For the 1st time in YEARS they have proper error detection Smile. Bash is pretty cool once you dig into it Smile Also made me dig into learning how to chroot for building for the Raspberry PI. It's still slow as dirt, but an hour or so is WAY better than 12 hours or so lol. All in all the borkage has been a good thing for me Smile

At least now I have one script to build them all Smile Kind of nice to be able to use a single script to build Linux86/Linux64/Raspberry PI/OSX/[and eventually Android] though I can't do much testing on the later 2 until they actually build again. But hey.

I'll just keep my eyes peeled in the readme's to check for any changes and when they work they work.
Main Rig [Scorpius] - Core i7 2600k @ 5Ghz. 16 Gig DDR3 1600. 1x HD 6990 1x HD 4870 Hackintosh [Chiana] - Core i5 @ 3.8Ghz. 12 Gig DDR3 Linux [Moya] - Core2 Duo E8200 - 2 Gigs DDR2 800 WHS [Zhaan] - DualCore [email protected] - 4 Gigs DDR2 800 VMC [Jothee] Core2 Quad @ 2.8Ghz 4 Gigs DDR2 800 VMC [Aeryn] Core2 E8400 @ 3.0Ghz 2 Gigs DDR2 800 2TB Server [Talyn] Core2 Quad Q6600 @ 3.0Ghz - 8 Gigs DDR2 1066 FileServer [Crichton] P4 650 3.4GHz - 2 Gigs DDR
Reply

Logout Mark Read Team Forum Stats Members Help
Strange new error compiling on OSX0