[mythtv-users] osx: are You able build latest master ?

Warpme warpme at o2.pl
Wed Jun 22 19:36:01 UTC 2011


@Ian,

I'm wonder where difference between Your & my environment ?
I'm on 10.6.7 with xcode4.02 in 64bit mode.
I do:
1.full clean (only packed component sources left in ./src dir)
2.download latest osx-packager.pl (22/06/2011)
3.kick build

I received error about:

ld: file not found: libmythservicecontracts-0.24.0.dylib for 
architecture i386
collect2: ld returned 1 exit status
make[2]: *** [libmyth-0.24.0.24.0.dylib] Error 1
make[1]: *** [sub-libmyth-make_default] Error 2
make: *** [libs] Error 2
[osx-pkg] Failed system call: " /usr/bin/make -j5 " with error code 2
Died at ./osx-packager.pl line 1013.

Ok, I add in libmyth.pro

LIBS += -L../libmythui -lmythui-$${LIBVERSION}
LIBS += -L../libmythupnp -lmythupnp-$${LIBVERSION}
LIBS += -L../libmythfreesurround -lmythfreesurround-$${LIBVERSION}
+LIBS += -L../libmythservicecontracts -lmythservicecontracts-$${LIBVERSION}
LIBS += -L../../external/FFmpeg/libavcodec -lmythavcodec
LIBS += -L../../external/FFmpeg/libavutil -lmythavutil
LIBS += -L../../external/FFmpeg/libavformat -lmythavformat

and in libmythtv.pro

using_backend: LIBS += -lmp3lame
LIBS += $$EXTRA_LIBS $$QMAKE_LIBS_DYNLOAD
+LIBS += -L../libmythservicecontracts -lmythservicecontracts-$$LIBVERSION

4. kick build with ./osx-packager.pl -clean
5. now no more error with libmythservicecontracts-0.24.0 but I have 
another error of the same type:

ld: file not found: libmythupnp-0.24.0.dylib for architecture i386
collect2: ld returned 1 exit status
make[2]: *** [libmythprotoserver-0.24.0.24.0.dylib] Error 1
make[1]: *** [sub-libmythprotoserver-make_default] Error 2
make[1]: *** Waiting for unfinished jobs....
ln -s libmythmetadata-0.24.0.24.0.dylib libmythmetadata-0.24.dylib
ln -s libmythmetadata-0.24.0.24.0.dylib libmythmetadata-0.24.0.dylib
ln -s libmythmetadata-0.24.0.24.0.dylib libmythmetadata-0.24.0.24.dylib
make: *** [libs] Error 2
[osx-pkg] Failed system call: " /usr/bin/make -j5 " with error code 2
Died at ./osx-packager.pl line 1014.

Unfortunately corresponding additions in *.pro files are not helping.
I lost clue where issue is.
Questioned libmythupnp-0.24.0.dylib file is present  in 
./libmythupnp/libmythupnp.dylib so it looks like I have issue with 
linking configuration.

br
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warpme.vcf
Type: text/x-vcard
Size: 83 bytes
Desc: not available
Url : http://www.mythtv.org/pipermail/mythtv-users/attachments/20110622/31c62cf3/attachment.vcf 


More information about the mythtv-users mailing list