Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Compiling trunk on OSX Snow Leopard

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


chandi_myth at spam

Mar 14, 2010, 1:16 PM

Post #1 of 2 (692 views)
Permalink
Compiling trunk on OSX Snow Leopard

Hello everybody,

I am trying to compile a frontend (from trunk, 23702) without much success.

After modifying osx-packager.pl so it compiles QT (mysql libs) correctly, I am now stuck at Libavcodec.


Here are the last lines I get:
-------------
rm -f libmythavformat-0.23.0.23.0.dylib libmythavformat-0.23.dylib libmythavformat-0.23.0.dylib libmythavformat-0.23.0.23.dylib
g++ -headerpad_max_install_names -Wl,-search_paths_first -Wl,-dynamic,-search_paths_first -F/System/Library/Frameworks -L/usr/lib -L/opt/sources/mythtv/mythtv-trunk/packaging/OSX/build/.osx-packager/build/lib -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -single_module -dynamiclib -compatibility_version 0.23 -current_version 0.23.0 -install_name libmythavformat-0.23.0.dylib -o libmythavformat-0.23.0.23.0.dylib allformats.o avio.o aviobuf.o cutils.o metadata.o metadata_compat.o options.o os_support.o sdp.o seek.o utils.o raw.o id3v1.o id3v2.o adtsenc.o aea.o aiffdec.o riff.o aiffenc.o amr.o anm.o apc.o ape.o apetag.o asfdec.o asf.o asfcrypt.o avlanguage.o asfenc.o assdec.o assenc.o au.o avidec.o avi.o avienc.o swfenc.o avs.o vocdec.o voc.o bethsoftvid.o bfi.o bink.o c93.o cafdec.o caf.o mov.o isom.o cdg.o crcenc.o daud.o dsicin.o dv.o dvenc.o dxa.o eacdata.o electronicarts.o ffmdec.o ffmenc.o filmstripdec.o filmstripenc.o flacdec.o oggparsevorbis.o flacenc.o flic.o flvdec.o flvenc.o avc.o 4xm.o framecrcenc.o gif.o gxf.o gxfenc.o audiointerleave.o idcin.o iff.o img2.o ipmovie.o iss.o iv8.o lmlm4.o matroskadec.o matroska.o matroskaenc.o mm.o mmf.o movenc.o mp3.o mpc.o mpc8.o mpegenc.o mpeg.o mpegts.o mpegtsenc.o mpjpeg.o msnwc_tcp.o mtv.o mvi.o mxfdec.o mxf.o mxfenc.o ncdec.o nsvdec.o nutdec.o nutenc.o nut.o nuv.o oggdec.o oggparsedirac.o oggparsetheora.o oggparseflac.o oggparseogm.o oggparsespeex.o oggenc.o oma.o pva.o qcp.o r3d.o rl2.o rmdec.o rm.o rmenc.o idroq.o rpl.o rtp.o rtpenc.o rtpenc_mpv.o rtpenc_aac.o rtpenc_amr.o rtpenc_h263.o rtpenc_h264.o rtsp.o rdt.o rtpdec.o rtpdec_h263.o rtp_h264.o rtp_vorbis.o rtp_asf.o segafilm.o siff.o smacker.o sol.o soxdec.o soxenc.o spdif.o psxstr.o swfdec.o thp.o tiertexseq.o tmv.o tta.o txd.o vc1test.o vc1testenc.o sierravmd.o vocenc.o vqf.o wav.o wc3movie.o westwood.o wv.o xa.o yuv4mpeg.o file.o gopher.o http.o rtmpproto.o rtmppkt.o rtpproto.o tcp.o udp.o -L/usr/lib -L/opt/sources/mythtv/mythtv-trunk/packaging/OSX/build/.osx-packager/build/lib -lz -lbz2 -lfaad -lmp3lame -lm -L../libavcodec -lmythavcodec-0.23 -L../libavutil -lmythavutil-0.23
ln -s libmythavformat-0.23.0.23.0.dylib libmythavformat-0.23.dylib
ln -s libmythavformat-0.23.0.23.0.dylib libmythavformat-0.23.0.dylib
ln -s libmythavformat-0.23.0.23.0.dylib libmythavformat-0.23.0.23.dylib
make: *** [sub-libs-make_default-ordered] Error 2
[osx-pkg] Failed system call: " /usr/bin/make -j3 " with error code 2
Died at ./2osx-packager.pl line 1001.
----------------



Any idea what to do ?

I actually do not really want to compile by myself but since I can't find newer than october versions of trunk, I kinda need to compile myself.


Best Regards,

Chandi


gnassas at mac

Mar 14, 2010, 2:46 PM

Post #2 of 2 (658 views)
Permalink
Re: Compiling trunk on OSX Snow Leopard [In reply to]

On 2010-03-14, at 4:16 PM, Chandi Bernier wrote:

> I am trying to compile a frontend (from trunk, 23702) without much success.
...
> Any idea what to do ?


Move up to rev 23710 and use the -m32 option with osx-packager.

I believe your qt/mysql problem is because mysql builds 32-bit and all the other components build 64 so there are no compatible libraries around when qt goes to put its libraries together.

There were other problems with Snow Leopard builds but Nigel conquered them all and gave thumbs up in this post:

http://www.gossamer-threads.com/lists/mythtv/dev/426828#426828

- George
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.