Skip site navigation (1) Skip section navigation (2)

Re: 7.2.2 java configure problem on Mac OS X 10.1.5

From: Joel Rodrigues <borgempath(at)Phreaker(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: 7.2.2 java configure problem on Mac OS X 10.1.5
Date: 2002-09-19 09:43:39
Message-ID: 46B4E1F4-CBB4-11D6-9C56-0005024EF27F@Phreaker.net (view raw or flat)
Thread:
Lists: pgsql-novice
On Thursday, September 19, 2002, at 04:39 , Charles Albrecht wrote:

> Joel Rodrigues <borgempath(at)Phreaker(dot)net> wondered:
>>
>> I just looked in /Library/Java/Home, and there are 2 aliases,
>> "doc" & "include", which lead nowhere, i.e. "the original item
>> could not be found". Is that normal ?
>
> I haven't followed the entire thread, but the link for 
> "include" should work - it's possible that that's causing the 
> problems you're seeing. The link for "doc" doesn't work for me 
> here. Here's what I have on 10.1.5 with Apple's stock install 
> (plus developer tools, natch):
>
> The symbolic links in /Library/Java/Home/ are to ../Documentation and
> ../Headers respectively.
>
> However, /Library/Java/Home/ is itself a symlink to:
>   /System/Library/Frameworks/JavaVM.framework/Home/
>
> Where /System/Library/Frameworks/JavaVM.framework/Home/ is symlinked to
>   Versions/CurrentJDK/Home (with CurrentJDK symlinked to 1.3.1)
>
> So, ultimately /Library/Java/Home/include should take you to:
>   /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Headers
>
> You can test that this directory exists:
>
> % ls -ld \
>  /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Headers
>
> drwxr-xr-x  8 root  wheel  228 Apr  1 20:29 
> /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Headers
>
> And that all the symbolic links point in the right places:
>
> % ls -ld \
>   /Library/Java/Home \
>   /Library/Java/Home/include \
>   /System/Library/Frameworks/JavaVM.framework/Home \
>   /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
>
>
> (The meat of output for this is:)
>
>  /Library/Java/Home -> /System/Library/Frameworks/JavaVM.framework/Home
>  /Library/Java/Home/include -> ../Headers
>  /System/Library/Frameworks/JavaVM.framework/Home -> 
> Versions/CurrentJDK/Home
>  
> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK -> 
> 1.3.1
>
>
> Hopefully this will help,
>
> -Charles
>

Hi Charles, Looks like something's screwy in my system !

[localhost:/Library/Java/Home] mark% l -la
total 19220
drwxr-xr-x    9 root     wheel         262 Feb 19  2002 .
drwxr-xr-x    6 root     wheel         264 Feb 19  2002 ..
-rw-r--r--    1 root     wheel        3076 Dec  8  2001 JSSE 
Copyright.rtf
-rw-r--r--    1 root     wheel       12417 Dec  8  2001 JSSE License.rtf
drwxr-xr-x   22 root     wheel         704 Jan 31  2002 bin
lrwxr-xr-x    1 root     wheel          16 Feb 19  2002 doc -> 
../Documentation
lrwxr-xr-x    1 root     wheel          10 Feb 19  2002 
include -> ../Headers
drwxr-xr-x   18 root     wheel         568 Feb 19  2002 lib
-rw-r--r--    1 root     wheel    19657247 Feb 15  2002 src.jar

[localhost:JavaVM.framework/Versions/1.3.1] mark% l -la
total 0
drwxr-xr-x    6 root     wheel         160 Feb 19  2002 .
drwxr-xr-x    8 root     wheel         264 Feb 19  2002 ..
drwxr-xr-x    6 root     wheel         264 Sep 19 10:39 Classes
drwxr-xr-x   24 root     wheel         772 Sep 19 10:42 Commands
drwxr-xr-x    9 root     wheel         262 Feb 19  2002 Home
drwxr-xr-x   27 root     wheel         874 Sep 19 10:42 Libraries


The only Java Headers I can find are:

[localhost:/Developer/Java/Headers] mark% l
total 124
-rw-rw-r--    1 root     admin       13777 Jul 10  2001 AppKitJava.h
-rw-rw-r--    1 root     admin         167 Dec  4  1997 
AppKitJava_Application.h
-rw-rw-r--    1 root     admin        2617 Jun 23  2001 
AppKitJava_Graphics.h
-rw-rw-r--    1 root     admin         644 Mar 17  1999 
AppKitJava_ModalSession.h
-rw-rw-r--    1 root     admin       19214 Aug  4  2001 FoundationJava.h
-rw-rw-r--    1 root     admin         759 Oct 13  2000 NSJavaObject.h
-rw-rw-r--    1 root     admin        1162 Mar 29  2000 
NSNamedValueSequence.h
-rw-rw-r--    1 root     admin         583 Jul 25  1998 ObjCJava.h
-rw-rw-r--    1 root     admin          99 Dec  4  1997 PureAppKitJava.h
-rw-rw-r--    1 root     admin        2235 Jul 25  1998 java-class.h
-rw-rw-r--    1 root     admin        6488 Jul 22  2000 java-objc.h
-rw-rw-r--    1 root     admin       11137 May  8  2001 java-vm.h
-rw-rw-r--    1 root     admin         210 Apr 21  2001 jobjc-api.h
-rw-rw-r--    1 root     admin        1760 Oct 13  2000 typemap.h
-rw-rw-r--    1 root     admin        9290 May  8  2001 vm-interface.h
-rw-rw-r--    1 root     admin         774 May 10  2001 vm-jni-inc.h
-rw-rw-r--    1 root     admin        9807 Aug  4  2001 vm-jni.h

I haven't fiddled with the Java setup, so one or more of Apple's 
updates did something weird.


These are the relevant receipts of my updates, etc.:
[localhost:/Library/Receipts] mark% l
total 520
drwxr-xr-x    3 root     wheel         264 Aug  8 10:28 BSD.pkg
drwxr-xr-x    3 mark     unknown       264 Sep 19 10:30 DevSDK.pkg
drwxr-xr-x    3 mark     unknown       264 Aug  8 11:01 DevTools.pkg
drwxr-xr-x    3 root     wheel         264 Aug  8 10:28 Essentials.pkg
drwxr-xr-x    3 mark     staff         264 Aug  8 11:36 IEUpdate.pkg
drwxr-xr-x    3 root     wheel         264 Aug  8 11:37 
InstallerUpdate1.0.pkg
drwxr-xr-x    3 root     wheel         264 Sep 19 10:39 
Java1.3.1Update1.pkg
-rw-r--r--    1 root     admin        9606 Aug  8 10:39 Mac OS X Log.rtf
-rw-r--r--    1 mark     admin        3317 Aug  8 18:21 Mac OS X 
Update Log.rtf
drwxr-xr-x    3 mark     staff         264 Aug  8 11:40 
MacOSXUpdate10.1.1.pkg
drwxr-xr-x    3 root     wheel         264 Aug  8 11:52 
MacOSXUpdate10.1.2.pkg
drwxr-xr-x    3 mark     staff         264 Aug  8 14:15 
MacOSXUpdate10.1.3.pkg
drwxr-xr-x    3 mark     staff         264 Aug  8 17:58 
MacOSXUpdate10.1.4.pkg
drwxr-xr-x    3 mark     unknown       264 Aug  8 18:10 
MacOSXUpdate10.1.5.pkg
-rw-r--r--    1 root     wheel      508475 Aug  8 11:08 
MinimalSystem.bom
drwxr-xr-x    3 mark     wheel         264 Aug  9 01:57 
NetworkingUpdate.pkg
drwxr-xr-x    3 mark     wheel         264 Aug 11 01:18 
SecurityUpd2002-08-02.pkg
drwxr-xr-x    3 mark     wheel         264 Sep  8 23:54 
SecurityUpd2002-08-20.pkg
drwxr-xr-x    3 root     wheel         264 Aug  8 11:27 
SecurityUpdate10-19-01.pkg
drwxr-xr-x    3 mark     staff         264 Aug  8 18:48 
SecurityUpdate7-18-02.pkg
drwxr-xr-x    3 mark     staff         264 Aug  8 18:06 
SecurityUpdateApr2002.pkg
drwxrwxrwx    3 mark     unknown       264 Sep 15 11:01 bin.pkg
drwxrwxrwx    3 mark     unknown       264 Sep 15 11:01 include.pkg
drwxrwxrwx    3 mark     unknown       264 Sep 15 11:01 lib.pkg
drwxrwxrwx    3 mark     unknown       264 Sep 15 11:01 man.pkg



- Joel



In response to

pgsql-novice by date

Next:From: Ciprian PopoviciDate: 2002-09-19 10:39:46
Subject: Re: restricting similar rows
Previous:From: Ciprian PopoviciDate: 2002-09-19 09:01:46
Subject: restricting similar rows

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group