On 8/2/12 3:59 AM, Martin Costabel wrote:
> On 2/08/12 02:24, Alexander Hansen wrote:
> []
>> This appears to be related to https://github.com/fink/fink/issues/42 .
>>
>> We also had one of our maintainers mention that he does _not_ have this
>> issue, but he may well not have done a clean install.
> 
> I have 2 ML machines here, both upgraded from 10.7 via appstore (I
> didn't know they still provide DVDs). I also updated xcode to 4.4 via
> appstore. I never downloaded any Java related packages directly from the
> Apple web site. On both machines, Fink was bootstrapped on 10.7 and then
> upgraded to 10.8. It didn't complain about missing java-dev, but then I
> didn't ask specifically.
> I remember that on one of the machines I noticed that some java
> components were missing (when trying to run matlab), so I typed "javac",
> upon which there was the usual Apple window asking if one wants to
> install a Java runtime environment. It then downloaded some unspecified
> packages. Looking in /var/db/receipts, I see that it must have been
> 
> com.apple.pkg.JavaMDNS
> com.apple.pkg.JavaSecurity
> com.apple.pkg.JavaEssentials
> com.apple.pkg.JavaForMacOSX107
> 
> In particular, the directory
> /System/Library/Frameworks/JavaVM.framework/Versions, which previously
> was pretty empty, was populated from com.apple.pkg.JavaEssentials.
> On the other machine, I see that the same packages were installed
> shortly after the upgrade to 10.8, but I don't remember what caused the
> installation, probably also a matlab test.
> 
> Maybe fink should trigger the java installation not only during
> bootstrap, but at other occasions when it finds that java-dev packages
> are missing.
> 

The trigger at bootstrap at least is to satisfy a dependency in one of
our essential packages.

It would be convenient if we could actually trigger the install of the
headers via "javac" only when a package explicitly called for
system-java-dev.  Maybe we could have a real CompileScript for
system-java-dev which runs "javac" and then waits for some particular
condition to break out of that. Not that I have a clue what that
condition would have to be. :-)

--
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to