[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#588495: openoffice.org-dev: Problem in setsdkenv_unix.sh, the variables are no set correctly



Package: openoffice.org-dev
Version: 1:3.2.1-4
Severity: important

Whe I run setsdkenv_unix, the variables are not set correctly, appear
the line:

************************************************************************
*
*  You have to configure your SDK environment first before you can
*  can use it! The configuration has to be done only once.
*
************************************************************************

cd: 1: can't cd to /usr/lib/openoffice/basis3.2/sdk/../../ure
    
But if I change the line 38 in configure.pl where say:

if ( $main::operatingSystem =~ m/darwin/ )
{
#   $main::OO_SDK_URE_HOME = `cd $main::sdkpath/../ure-link && pwd`;
} else {
    $main::OO_SDK_URE_HOME = `cd $main::sdkpath/../../../ure && pwd`;
}

by

if ( $main::operatingSystem =~ m/darwin/ )
{
#   $main::OO_SDK_URE_HOME = `cd $main::sdkpath/../ure-link && pwd`;
} else {
    $main::OO_SDK_URE_HOME = `cd $main::sdkpath/../../../ure && pwd`;
}

Then setsdkenv_unix.sh work correctly.

Regards

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages openoffice.org-dev depends on:
ii  libc6                   2.11.2-2         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.4-6        GCC support library
ii  libstdc++6              4.4.4-6          The GNU Standard C++ Library v3
ii  openoffice.org-core     1:3.2.1-4        office productivity suite -- arch-
ii  ure                     1.6.1+OOo3.2.1-4 OpenOffice.org UNO runtime environ

Versions of packages openoffice.org-dev recommends:
ii  dmake                         1:4.12-2   make utility used to build OpenOff
ii  g++                           4:4.4.4-2  The GNU C++ compiler
ii  openoffice.org-java-common    1:3.2.1-4  office productivity suite -- arch-
ii  sun-java6-jre [java5-runtime] 6.20-dlj-4 Sun Java(TM) Runtime Environment (

Versions of packages openoffice.org-dev suggests:
pn  c-shell                       <none>     (no description available)
pn  libmythes-dev                 <none>     (no description available)
ii  openoffice.org-dev-doc        1:3.2.1-4  office productivity suite -- SDK d

-- no debconf information

Reply to: