littleblank / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
0 stars 0 forks source link

Fails to build on Mac Lion #115

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Trying to build from source download on Mac Lion completely fails.  See 
attached typescript.

If I leave off the universal build flag, then it builds.

Original issue reported on code.google.com by Scott.Gr...@gmail.com on 19 Aug 2011 at 8:46

Attachments:

GoogleCodeExporter commented 8 years ago
Are you sure your build environment is legitimate and it's not Lion?  Googling 
around, i see a lot of people running into that issue and it's hardly common to 
this project:

http://www.google.com/search?q=lipo%3A+can%27t+figure+out+the+architecture+type+
of%3A&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

(note people also reported a similar error on snow leopard)

If I have time, I'll look into it; I have a machine running Lion.  Probably 
won't have time to get to it until sometime next week though.

Original comment by kid...@gmail.com on 23 Aug 2011 at 4:33

GoogleCodeExporter commented 8 years ago
I don't think this is a problem with Lion. I can compile the latest svn on my 
10.7.1 installation without errors.

Original comment by stephen....@gmail.com on 25 Aug 2011 at 11:12

GoogleCodeExporter commented 8 years ago
- don't use tools from 
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ when building x86 
architecture. /Developer/usr/bin/ should suffice.

- when building with multiple archs, you must disable gcc precompiled headers:

    ../configure --disable-gch

Original comment by Kona8l...@gmail.com on 25 Aug 2011 at 3:29

GoogleCodeExporter commented 8 years ago
Closing issue, unless someone else besides OP can reproduce.

Original comment by kid...@gmail.com on 5 Sep 2011 at 6:27

GoogleCodeExporter commented 8 years ago
Adding that flag worked.  Passing --enable-ub still fails though, I have to 
explicitly list i386,x86_64.  Seems like the configure script should figure out 
that building for ppc wouldn't work on this box.

Original comment by Scott.Gr...@gmail.com on 5 Sep 2011 at 7:14