Re: 7.2.2 java configure problem on Mac OS X 10.1.5

From: Charles Albrecht <charlesa(at)pobox(dot)com>
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-18 23:09:27
Message-ID: p05111a01b9aeb069e294@[206.124.22.67]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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
charlesa(at)pobox(dot)com
--
Charles Albrecht Euonymic Solutions
charlesa(at)pobox(dot)com P.O. Box 300623
C>303.619.7596 F>978.334.3061 Denver, Colorado 80203-0623
http://www.euonymic.net/~charlesa/cv/

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Wim 2002-09-19 05:57:31 Re: [GENERAL] Still big problems with pg_dump!
Previous Message Mark Wilson 2002-09-18 22:36:41 Oracle to PostgreSQL: Packages