meklort / netbook-installer

Automatically exported from code.google.com/p/netbook-installer
7 stars 2 forks source link

Problems cleanly building NBI from source #198

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There appear to be a number of problems building NBI from the source 
code here on Google Code.

1) Having files named "Kext.h" and "kext.h" causes svn and build problems 
on case-insensitive systems.  I don't see where Kext.h is needed anymore, 
and it just contains an interface that is blank.

2) For some reason, some of the targets (e.g. UpdateExtra, 
NetbookInstallerCLI, and some others) are configured to build with the 
iPhone sdk, link with its UIKit.Framework, and get signed with some sort of 
iPhone Developer key that we don't have.  I don't see why any of this is 
needed for an OS X app, and it appears to work without it.

3) Similar to the above, some targets reference a UIKit PCH, instead of the 
NetbookInstaller_Prefix.pch.  This causes errors related to the 
KERNEL_VERSION macro.

I do not have much OS X development experience, so I may very well be 
missing something.  However, after fixing the above items (removing 
reference to iPhone and UIKit etc.), NBI builds cleanly.  It appears to  
execute correctly too, though I have not yet actually run it to completion.

I have not tried to build NBM etc., but I suspect the same issues will be 
present there.

Original issue reported on code.google.com by jmc...@gmail.com on 24 Feb 2010 at 5:05

GoogleCodeExporter commented 9 years ago
I've fixed those in my local copy, I just need to upload it. There are also 
issues when there is a space in the build 
directory, which will be fixed next time I upload code.

Original comment by Meklort@gmail.com on 24 Feb 2010 at 2:51