To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69893
                 Issue #|69893
                 Summary|autodetection of JAVA_HOME assumes two level of symlin
                        |ks
               Component|tools
                 Version|680m185
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|configure
             Assigned to|rene
             Reported by|cloph





------- Additional comments from [EMAIL PROTECTED] Tue Sep 26 15:44:53 -0700 
2006 -------
configure tries to automatically detect the real java home when it first sets it
to /usr (because of /usr/bin/java[c] being found there)

During this check, it performs a double "readlink" on /path/to/javac which is OK
for /etc/alternatives systems, but fails when one has a "vanilla" setup or when
using additional symlinks in ~/bin instead.

(e.g. /usr/bin/javac pointing to /usr/java/jdk1.5.0_06/bin/javac and having
~/bin/javac point to the 1.4 JDK instead or only having one of the two, doesn't
matter)

So when only one link-level the check fails.

configure should check first whether it is a symlink and only perform a second
readlink if the first one still returns a symlink.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to