[vbox-dev] Config.kmk needs changed when build on Snow Leopard

Christian Pötzsch Christian.Poetzsch at Sun.COM
Thu Jun 17 09:35:18 PDT 2010


Hi Ken,

the sha1sum is different, but I checked an second Snow Leopard host with
a different patch level and there is the sha1sum also different. Please
also note that our build server has a symlink to
/usr/lib/libiconv.2.dylib in /opt/local/lib, so this must definitely
working. Otherwise thousand of users had complained already ;) Can you
attach your LocalConfig.kmk and AutoConfig.kmk?

Christian

On 06/17/10 17:54, Kentaro KAWAMOTO wrote:
> Hi,
> 
> On Wed, Jun 16, 2010 at 1:53 AM, Christian Pötzsch
> <Christian.Poetzsch at sun.com> wrote:
>> that is rather strange. Are you sure that it doesn't work with a
>> unmodified Config.kmk. Also make sure there isn't any LocalConfig.kmk.
> 
> I am using LocalConfig.kmk following the instructions.
> Otherwise build fails with message "Using 10.5 SDK"
> 
> % kmk
> Config.kmk:1948:
> /Users/kentaro/work/vbox/out/darwin.amd64/release/GCCConfig.kmk: No
> such file or directory
> Config.kmk:4245:
> /Users/kentaro/work/vbox/out/darwin.amd64/release/revision.kmk: No
> such file or directory
> /Users/kentaro/work/vbox/kBuild/footer.kmk:2573: *** Using 10.5 SDK.  Stop.
> 
>> Your patch removes the -mmacosx-version-min and -syslibroot params which
>> are necessary to select the right sdk.
> 
> Sorry for the broken patch. Please find the patch attached.
> I don't think I removed -mmacosx-version-min and -syslibroot.
> 
> 
>> A quick look on my local system shows that it links against
>> /usr/lib/libiconv.2.dylib and this works fine. Please make also sure
>> that you didn't have any other libiconv flying around (/usr/local!).
> 
> "find / -name libiconv.2.dylib -print" gave me 6 libs (and bunch of
> libs for iPhones. see the bottom of this email).
> 
> 1. /usr/lib/libiconv.2.dylib
> 2. /Developer/SDKs/MacOSX10.5.sdk/usr/lib/libiconv.2.dylib
> 3. /Developer/SDKs/MacOSX10.6.sdk/usr/lib/libiconv.2.dylib
> 4. /opt/local/lib/libiconv.2.dylib
> 5. /opt/local/var/macports/software/libiconv/1.13.1_0/opt/local/lib/libiconv.2.dylib
> 6. /opt/local/var/macports/software/libiconv/1.13.1_0+universal/opt/local/lib/libiconv.2.dylib
> 
> shasum
> 1. a78c2061cb45e63b38def05038c058f952262d80
> 2. 8a4c7d6dea5b62f46bbe343a5140c32f31bf2c3e
> 3. 55ae1ca6f532a227d0845e63225a24624b9bcde5
> 4. 1c0f24a74c00602e76ba4e948ba23bfd57326891
> 5. f9e79c57383496f32b7bfda14681fe920a57e43b
> 6. 1c0f24a74c00602e76ba4e948ba23bfd57326891
> 
> Could you compare shasum of your /usr/lib/libiconv.2.dylib with mine?
> 
> 
> Thanks,
> Ken
> 
> 
> libiconv.2.dylib for iPhone:
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/lib/libiconv.2.dylib
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.2.sdk/usr/lib/libiconv.2.dylib
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.3.sdk/usr/lib/libiconv.2.dylib
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.1.sdk/usr/lib/libiconv.2.dylib
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/lib/libiconv.2.dylib
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk/usr/lib/libiconv.2.dylib
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.2.sdk/usr/lib/libiconv.2.dylib
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/usr/lib/libiconv.2.dylib
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.sdk/usr/lib/libiconv.2.dylib
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/lib/libiconv.2.dylib
> 
> 
> 
> 
> 
> _______________________________________________
> vbox-dev mailing list
> vbox-dev at virtualbox.org
> http://vbox.innotek.de/mailman/listinfo/vbox-dev


-- 
Dr. Christian Pötzsch   --    http://www.sun.com/

=================================================
Sitz der Gesellschaft: Sun Microsystems GmbH,
Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht München: HRB 161028
Geschäftsführer: Jürgen Kunz
=================================================




More information about the vbox-dev mailing list