[Bf-committers] Build on Mac OSX 10.5 for i386 with Scons

jms jmsoler at free.fr
Wed Oct 15 12:37:06 CEST 2008


This missing part of the config file justifies an update of the svn. 
Don't  you believe ?

jms

Alphonso Bedoya a écrit :
> For your problem #1:
>
> In the directory: trunk/extern/xvidcore/build/generic,
> change configure to add '-read_only_relocs suppress' to SPECIFIC_LDFLAGS
> and add a darwin section to define the NASM_FORMAT as 'macho'.
>
> ===================================================================
> --- configure   (revision 17036)
> +++ configure   (working copy)
> @@ -3856,7 +3856,7 @@
>            echo "$as_me:$LINENO: result: dylib options" >&5
>  echo "${ECHO_T}dylib options" >&6
>            SHARED_LIB="libxvidcore.\$(API_MAJOR).\$(SHARED_EXTENSION)"
> -          SPECIFIC_LDFLAGS="-dynamiclib -flat_namespace
> -compatibility_version \$(API_MAJOR) -current_version
> \$(API_MAJOR).\$(API_MINOR) -install_name \$(libdir)/\$(SHARED_LIB)"
> +          SPECIFIC_LDFLAGS="-dynamiclib -flat_namespace
> -compatibility_version \$(API_MAJOR) -current_version
> \$(API_MAJOR).\$(API_MINOR) -install_name \$(libdir)/\$(SHARED_LIB)
> -read_only_relocs suppress"
>         else
>            echo "$as_me:$LINENO: result: module options" >&5
>  echo "${ECHO_T}module options" >&6
> @@ -4052,6 +4052,13 @@
>                PREFIX="-DPREFIX"
>                MARK_FUNCS=""
>                 ;;
> +           darwin*)
> +               echo "$as_me:$LINENO: result: macho" >&5
> +echo "${ECHO_T}macho" >&6
> +               NASM_FORMAT="macho"
> +               PREFIX="-DPREFIX"
> +               MARK_FUNCS=""
> +               ;;
>         esac
>
>
> On Sun, Oct 12, 2008 at 5:48 AM, jms <jmsoler at free.fr> wrote:
>   
>> Hi,
>>
>> i'm trying to make a build on Mac and it seems to work fine except on
>> three points :
>>
>> 1/ in the ffmpeg part,  for xvid, it is needed to compile an asm file
>> and nasm does like the file output format :
>>  nasm -Iextern/xvidcore/src/image/x86_asm/ -f -o
>> /Users/me/developpement/bf-blender/build/darwin/extern/xvidcore/src/image/x86_asm/colorspace_yuyv_mmx.o
>> extern/xvidcore/src/image/x86_asm/colorspace_yuyv_mmx.asm
>> nasm: fatal: unrecognised output format `-o' - use -hf for a list
>> So ffmpeg can't be used.
>>
>> 2/ the darwin-config.py  must be modified to use he python 2.5 sdk;
>>
>> 3/ at the end, scons needs a Bpymenus file that does not exist anywhere
>> and stop.
>>
>> For the last two points, I can do something but not for the first one,
>> so I  need a little help.
>>
>> Sorry to spam the list,
>> jms
>>
>>     



More information about the Bf-committers mailing list