Hi Cristian,

/bin/sh is a symlink to /bin/dash (at least on my Ubuntu 10 - I assume Debian is similar).

   jhje@rumleskaft:~$ ls -l /bin/sh
   lrwxrwxrwx 1 root root 4 2011-02-19 02:12 /bin/sh -> dash
   jhje@rumleskaft:~$


'dash' is a lightweight version of 'bash' and 'dash' only understands the most basic stuff. It speeds up booting because 'dash' is faster to load, but as you have discovered it has its limitations.

Kind regards
-- Jan Holst Jensen

On 2011-05-28 06:32, Cristi Lacatus wrote:
Hi Tora,

I managed to get around that error message replacing /bin/sh with /bin/bash at the top of the configure script. Both are GNU versions and I am not sure why the sh one didn't work. I am trying to compile OOO330_m20, on a Intel x86 QNAP NAS which runs a debian stripped down version.

Thanks for your help.

Cheers,
Cristian.

2011/5/27 tora - Takamichi Akiyama <t...@openoffice.org <mailto:t...@openoffice.org>>

    Hi,

    This might help you dig into the cause:
    
http://www.google.co.jp/search?num=50&q=autoconf+%22syntax+error+near+unexpected+token+%22+case+%28ac_space%3D%27+%27%3B+set+|+grep+ac_space%29+2%3E%261+in
    
<http://www.google.co.jp/search?num=50&q=autoconf+%22syntax+error+near+unexpected+token+%22+case+%28ac_space%3D%27+%27%3B+set+%7C+grep+ac_space%29+2%3E%261+in>

    e.g.
    https://bugzilla.redhat.com/show_bug.cgi?id=192793
    http://lists.gnu.org/archive/html/bug-autoconf/2007-10/msg00038.html

    next time, providing a version number of your OpenOffice.org
    source code might help us a lot!

    Regards,
    Tora


    On 2011/05/27 22:40, Cristi Lacatus wrote:

        Hello,
        I am trying to compile OpenOffice on my headless Debian
        flavour NAS and I getting an error message that I don't how to
        get passed it.
        This is the error message that I get:
        checking whether and how to use Xinerama... yes, with dynamic
        linking
        checking X11/extensions/Xinerama.h usability... yes
        checking X11/extensions/Xinerama.h presence... yes
        checking for X11/extensions/Xinerama.h... yes
        checking for XineramaIsActive in -lXinerama... yes
        ./configure: line 29908: syntax error near unexpected token `('
        ./configure: line 29908: `    case `(ac_space=' '; set | grep
        ac_space) 2>&1` in'
        My configure line looks like this:
        ./configure --prefix=/share/qpkg/ooo/opt
        CPPFLAGS="-I/share/HDA_DATA/.qpkg/Optware/include"
        LDFLAGS="-L/opt/lib" --disable-ldap --disable-mozilla
        --disable-epm --disable-odk --disable-mathmldtd
        --disable-directx --disable-gtk --disable-build-mozilla
        --disable-kdeab --disable-Xaw --disable-opengl --disable-randr
        --disable-gconf --disable-gnome-vfs
        --with-jdk-home=/share/HDA_DATA/qpkg/jdk --disable-systray
        --with-dynamic-xinerama
        I also attached the config log, maybe someone can seee more there.
        I am trying to get OpenOffice compiled to use with Alfresco.
        Any help will be greatly appreciated.
        Thanks,
        Cristian.

-- -----------------------------------------------------------------
    To unsubscribe send email to dev-unsubscr...@openoffice.org
    <mailto:dev-unsubscr...@openoffice.org>
    For additional commands send email to sy...@openoffice.org
    <mailto:sy...@openoffice.org>
    with Subject: help



--
-----------------------------------------------------------------
To unsubscribe send email to dev-unsubscr...@openoffice.org
For additional commands send email to sy...@openoffice.org
with Subject: help

Reply via email to