Hi Samuele,

     I was getting very suspicious after trying both options and removed
both libreoffice and openoffice4 binary from the system;

$ sudo apt-get remove --purge openoffice*
$ sudo apt-get remove --purge libreoffice*

Removed the /usr/bin/soffice and /usr/local/bin/soffice links. Downloaded
the ( *Release: * Milestone AOO411m6 | Build ID 9775 | SVN r1617669 |
Released 2014-08-21 )source from
http://www.openoffice.org/download/index.html and followed the
instructions.

$ cd /usr/local
$ sudo tar zxvf apache-openoffice-4.1.1-r1617669-src.tar.gz
$ cd aoo-4.1.1/main
$ sudo autoconf
$ sudo ./configure --with-dmake-url=
http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2
--with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz
--disable-odk --enable-category-b --enable-bundled-dictionaries
--enable-symbols --with-package-format="installed"
$ sudo ./bootstrap
$ cd instsetoo_native/
$ build --all
****ERROR***
build -- version: 275224

=============
Building module solenv
=============

Entering /usr/local/aoo-4.1.1/main/solenv

dmake:  Error code 1, while making
'/usr/local/aoo-4.1.1/main/solver/411/unxlngi6.pro/inc/411minor.mk'

1 module(s):
    solenv
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /usr/local/aoo-4.1.1/main/solenv

When you have fixed the errors in that module you can resume the build
by running:

    build --all:solenv
********
python, pyuno, unodevtools, unotools, unoxml, unocontrols ... are all
there. But I have not been able to get a solution to building the module
solenv and run install. I did the compilation 3 times. How does one rebuild
solenv module?

If you understand the error kindly advise me. I have sent the error to
Bugzilla.

Best wishes


On Wed, Nov 19, 2014 at 11:29 AM, Samuele Kaplun <samuele.kap...@cern.ch>
wrote:

> Hi,
>
> In data mercoledì 19 novembre 2014 09:06:06, Surendran Karippadath ha
> scritto:
> >    But that is not true in this case; See this
> >
> > surendran@angeli-acer:/opt/openoffice4/program$ ./python
> > Python 2.7.6 (default, Apr 22 2014, 12:20:11)
> > [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
>
> Interesting that OpenOffice 4.x is still shipping Python 2.x. I see from:
> [...]
> $ sudo tar zxvf Apache_OpenOffice_4.1.0_Linux_x86_install-deb_en-US.tar.gz
> $ cd en-US/DEBS
> $ dpkg -i *.deb
> $ cd desktop-integration
> $ dpkg -i *.deb
> $ ls /etc/openoffice4/python*
>    python, python.bin
> $ cd /opt/invenio-1.1.4
> $ sudo  sh /opt/invenio/etc/build/config.nice --with-openoffice-
> python=/etc/openoffice4/program/python.bin
> [...]
>
> that there are two python executable. I suspect "python" is a wrapper
> around
> "python.bin" that correctly set environment variables to make the
> OpenOffice
> Python modules available...
>
> Can you try with both executables to run:
> [1]: import uno
>
> And see which one answer? "uno" is the Python bridge to OpenOffice and
> must be
> reachable for the test to work.
>
> Best regards,
>         Samuele
> --
> Samuele Kaplun
> Invenio Developer ** <http://invenio-software.org/>
> INSPIRE Service Manager ** <http://inspirehep.net/>
>
>


-- 
Surendran K.K.
020-27298293

Reply via email to