You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Andrew Rist <an...@oracle.com> on 2012/03/04 05:58:32 UTC

[BUILD] Re: A small problem with compiling from source

On 3/3/2012 1:52 PM, Очиров Николай wrote:
> Hi! I have no experience building openoffice, and I have a problem.
> I followed these instructions http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide for Ubuntu 11.04, but used 11.10.
Currently, it is easiest to get the build to run on Ubuntu 10.04. There 
are various issues that you will run into on Ubuntu 11.04/11.10/12 alpha.
Among these issues are the need to switch to /usr/bin/ld to point to 
ld.gold.

Your easiest way to get the build running is to build up a machine (or 
vm) with Ubuntu 10.04 with the following additional packages:

    sudo apt-get install g++ gcc bison flex libarchive-zip-perl
    libcups2-dev libpam0g-dev
    openjdk-6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev
    libxrandr-dev patch
    libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 epm
    libgstreamer-plugins-base0.10-dev librsvg2-dev python-dev
    subversion autoconf rpm libdbus-glib-1-dev libdbus-glib-1-dev
    libgl1-mesa-dev
    libglu1-mesa-dev libglib2.0-dev libidl-dev liborbit2-dev

> When I run the script ./bootstrap after  ./configure with no arguments there is an error:  /bootstrap 56: ./configure : permission denied. How to fix it? What is the reason? I was looking for the cause of the internet, but have not found a solution.
Your commands for a full build from scratch would look like this:

    svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo

    cd ooo/main

    wget -O external/unowinreg/unowinreg.dll
    http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll

    autoconf

    ./configure --enable-verbose --enable-category-b
    --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"
    --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"


    ./bootstrap

    . ./LinuxX86Env.Set.sh

    cd instsetoo_native && build --all --html -P2 -- -P2


If you get that running, then you might try building with more stuff 
using a config like this:

    ./configure --enable-verbose --enable-category-b --enable-minimizer
    --enable-presenter-console --enable-wiki-publisher --enable-open
    gl --enable-dbus --enable-gstreamer --with-package-format="installed
    rpm deb" --with-dmake-url="http://dmake.apache-extras.org.code
    spot.com/files/dmake-4.12.tar.bz2"
    --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
    --with-lang="ru"

>
> P.S: Excuse me if I made a mistakes!
we all do...
> My English is bad, very bad, but I'm trying to improve the English skills!
your English is much better than my Russian
>   I really hope for your support!



Re: [BUILD] Re: A small problem with compiling from source

Posted by Очиров Николай <nv...@yandex.ru>.
Hello! Again I tried to compile and got the error:
 
1 module (s):
instsetoo_native
need (s) to be rebuilt
Reason (s):
ERROR: error 65280 occurred while making / home / user / ooo / main / instsetoo_native / util
When you have fixed the errors in that module you can resume the build by running:
                   build - from instsetoo_native
I did
user @ ubuntu: ~ / ooo / main / instsetoo_native $ cd ..
user @ ubuntu: ~ / ooo / main $ source LinuxX86Env.Set.sh
user @ ubuntu: ~ / ooo / main $ cd instsetoo_native /
user @ ubuntu: ~ / ooo / main / instsetoo_native $ build
 
for more information and got this log:
 
dmake:  makefile.mk:  line 194:  Warning: -- Prior to dmake 4.5 only one
%-target per target-definition worked reliably. Check your makefiles.
 
dmake:  makefile.mk:  line 199:  Warning: -- Prior to dmake 4.5 only one
%-target per target-definition worked reliably. Check your makefiles.
 
dmake:  makefile.mk:  line 203:  Warning: -- Prior to dmake 4.5 only one
%-target per target-definition worked reliably. Check your makefiles.
 
dmake:  makefile.mk:  line 208:  Warning: -- Prior to dmake 4.5 only one
%-target per target-definition worked reliably. Check your makefiles.
 
dmake:  makefile.mk:  line 212:  Warning: -- Prior to dmake 4.5 only one
%-target per target-definition worked reliably. Check your makefiles.
 
dmake:  makefile.mk:  line 216:  Warning: -- Prior to dmake 4.5 only one
%-target per target-definition worked reliably. Check your makefiles.
 
dmake:  makefile.mk:  line 220:  Warning: -- Prior to dmake 4.5 only one
%-target per target-definition worked reliably. Check your makefiles.
 
dmake:  makefile.mk:  line 224:  Warning: -- Prior to dmake 4.5 only one
%-target per target-definition worked reliably. Check your makefiles.
 
/usr/bin/perl -w /home/user/ooo/main/solenv/bin/make_installer.pl -f ../util/openoffice.lst -l en-US -p OpenOffice -u ../unxlngi6.pro -buildid 9587 -msitemplate ../unxlngi6.pro/misc/openoffice/msi_templates -msilanguage ../unxlngi6.pro/misc/win_ulffiles -format archive -verbose
/usr/bin/perl -w /home/user/ooo/main/solenv/bin/gen_update_info.pl --buildid 9587 --arch "x86" --os "Linux" --lstfile ../util/openoffice.lst --product OpenOffice --languages en-US ../util/update.xml > ../unxlngi6.pro/misc/openoffice_en-US_Linux_x86.archive.update.xml
/usr/bin/perl -w /home/user/ooo/main/solenv/bin/make_installer.pl -f ../util/openoffice.lst -l en-US -p OpenOffice -u ../unxlngi6.pro -buildid 9587 -msitemplate ../unxlngi6.pro/misc/openoffice/msi_templates -msilanguage ../unxlngi6.pro/misc/win_ulffiles -format installed -verbose
/usr/bin/perl -w /home/user/ooo/main/solenv/bin/gen_update_info.pl --buildid 9587 --arch "x86" --os "Linux" --lstfile ../util/openoffice.lst --product OpenOffice --languages en-US ../util/update.xml > ../unxlngi6.pro/misc/openoffice_en-US_Linux_x86.installed.update.xml
/usr/bin/perl -w /home/user/ooo/main/solenv/bin/make_installer.pl -f ../util/openoffice.lst -l en-US -p OpenOffice -u ../unxlngi6.pro -buildid 9587 -msitemplate ../unxlngi6.pro/misc/openoffice/msi_templates -msilanguage ../unxlngi6.pro/misc/win_ulffiles -format rpm -verbose
Subroutine installer::epmfile::getcwd redefined at /home/user/ooo/main/solenv/bin/modules/installer/epmfile.pm line 39
Subroutine installer::epmfile::getcwd redefined at /home/user/ooo/main/solenv/bin/modules/installer/epmfile.pm line 39
.. checking environment variables ...
.. checking environment variables ...
 
########################################################
make_installer.pl, version 1.0
Product list file: ../util/openoffice.lst
Taking setup script from solver
Unpackpath: /home/user/ooo/main/instsetoo_native/util/../unxlngi6.pro
Compiler: unxlngi6
Product: OpenOffice
BuildID: 9587
Build: AOO340
No minor set
Product version
Using default installpath
Package format: installed
msi templatepath: /home/user/ooo/main/instsetoo_native/util/../unxlngi6.pro/misc/openoffice/msi_templates
msi template path will be ignored for non Windows builds!
msi languagepath: /home/user/ooo/main/instsetoo_native/util/../unxlngi6.pro/misc/win_ulffiles
msi language path will be ignored for non Windows builds!
Calling epm
Stripping files
Unzip ARCHIVE files
Languages:
        en-US
########################################################
 
########################################################
make_installer.pl, version 1.0
Product list file: ../util/openoffice.lst
Taking setup script from solver
Unpackpath: /home/user/ooo/main/instsetoo_native/util/../unxlngi6.pro
Compiler: unxlngi6
Product: OpenOffice
BuildID: 9587
Build: AOO340
No minor set
Product version
Using default installpath
Package format: archive
msi templatepath: /home/user/ooo/main/instsetoo_native/util/../unxlngi6.pro/misc/openoffice/msi_templates
msi template path will be ignored for non Windows builds!
msi languagepath: /home/user/ooo/main/instsetoo_native/util/../unxlngi6.pro/misc/win_ulffiles
msi language path will be ignored for non Windows builds!
Calling epm
Stripping files
Unzip ARCHIVE files
Languages:
        en-US
########################################################
.. checking required files ...
..... searching zip ...
        Found: /usr/bin/zip
.. analyzing ../util/openoffice.lst ...
.. checking required files ...
..... searching zip ...
        Found: /usr/bin/zip
.. analyzing ../util/openoffice.lst ...
rmdir: failed to remove `/home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/archive/logging/': Directory not empty
.. reading include pathes ...
.. analyzing script: /home/user/ooo/main/solver/340/unxlngi6.pro/bin/setup_osl.ins ...
.. analyzing directories ...
.. analyzing files ...
.. analyzing scpactions ...
.. analyzing shortcuts ...
.. analyzing unix links ...
.. analyzing profile ...
.. analyzing profileitems ...
.. analyzing modules ...
------------------------------------
.. languages en-US ...
Use of uninitialized value $bundleenv in split at /home/user/ooo/main/solenv/bin/modules/installer/scriptitems.pm line 499.
Use of uninitialized value $bundleenv in split at /home/user/ooo/main/solenv/bin/modules/installer/scriptitems.pm line 522.
Use of uninitialized value $bundleenv in split at /home/user/ooo/main/solenv/bin/modules/installer/scriptitems.pm line 499.
Use of uninitialized value $bundleenv in split at /home/user/ooo/main/solenv/bin/modules/installer/scriptitems.pm line 522.
.. reading include pathes ...
.. analyzing script: /home/user/ooo/main/solver/340/unxlngi6.pro/bin/setup_osl.ins ...
.. analyzing directories ...
.. analyzing files ...
.. analyzing scpactions ...
.. analyzing shortcuts ...
.. analyzing unix links ...
.. analyzing profile ...
.. analyzing profileitems ...
.. analyzing modules ...
------------------------------------
.. languages en-US ...
.. analyzing files ...
.. analyzing files with flag ARCHIVE ...
.. analyzing files ...
.. analyzing files with flag ARCHIVE ...
.. analyzing files with flag SUBST_FILENAME ...
.. analyzing files with flag SCPZIP_REPLACE ...
.. analyzing files with flag PATCH_SO_NAME ...
.. analyzing files with flag HIDDEN ...
.. analyzing all directories for this product ...
.. analyzing files with flag SUBST_FILENAME ...
.. analyzing files with flag SCPZIP_REPLACE ...
.. analyzing files with flag PATCH_SO_NAME ...
.. analyzing files with flag HIDDEN ...
.. analyzing all directories for this product ...
.. analyzing links ...
.. analyzing unix links ...
.. creating profiles ...
.. analyzing links ...
.. analyzing unix links ...
.. creating profiles ...
.. analyzing modules ...
.. creating installation directory ...
.. creating installation set in /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/installed/install/en-US ...
.. removing old installation directories ...
.. creating directories ...
.. analyzing modules ...
.. creating installation directory ...
.. creating installation set in /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/archive/install/en-US ...
.. removing old installation directories ...
.. creating directories ...
.. copying files ...
.. copying files ...
.. creating links ...
.. removing superfluous directories ...
.. registering extensions ...
.. removing superfluous directories ...
.. registering extensions ...
.. current dir: /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/installed/install/en-US_inprogress/openoffice.org3/program ...
.. unopkg sync --verbose -env:UNO_JAVA_JFW_ENV_JREHOME=true 2>&1 | ...
.. current dir: /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/archive/install/en-US_inprogress/OOo_3.4.0_Linux_x86_install-arc_en-US/openoffice.org3/program ...
.. unopkg sync --verbose -env:UNO_JAVA_JFW_ENV_JREHOME=true 2>&1 | ...
.. creating archive file ...
.. cd /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/archive/install/en-US_inprogress_temp.5170; LD_PRELOAD=/home/user/ooo/main/solver/340/unxlngi6.pro/bin/getuid.so tar -cf - . | gzip > /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/archive/install/en-US_inprogress/OOo_3.4.0_Linux_x86_install-arc_en-US.tar.gz ...
.. cleaning the output tree ...
.. removing directory /tmp/ooopackaging/i_51711331281514 ...
.. removing directory /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/installed/stripped/en-US ...
.. checking log file /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/installed/logging/en-US/log_AOO340_en-US.log
 
***********************************************************
Successful packaging process!
***********************************************************
.. creating log file log_AOO340_en-US.log
Fri Mar  9 00:26:26 2012 (01:12 min.)
/usr/bin/perl -w /home/user/ooo/main/solenv/bin/gen_update_info.pl --buildid 9587 --arch "x86" --os "Linux" --lstfile ../util/openoffice.lst --product OpenOffice --languages en-US ../util/update.xml > ../unxlngi6.pro/misc/openoffice_en-US_Linux_x86.rpm.update.xml
/usr/bin/perl -w /home/user/ooo/main/solenv/bin/make_installer.pl -f ../util/openoffice.lst -l en-US -p OpenOffice -u ../unxlngi6.pro -buildid 9587 -msitemplate ../unxlngi6.pro/misc/openoffice/msi_templates -msilanguage ../unxlngi6.pro/misc/win_ulffiles -format deb -verbose
Subroutine installer::epmfile::getcwd redefined at /home/user/ooo/main/solenv/bin/modules/installer/epmfile.pm line 39
.. checking environment variables ...
 
########################################################
make_installer.pl, version 1.0
Product list file: ../util/openoffice.lst
Taking setup script from solver
Unpackpath: /home/user/ooo/main/instsetoo_native/util/../unxlngi6.pro
Compiler: unxlngi6
Product: OpenOffice
BuildID: 9587
Build: AOO340
No minor set
Product version
Using default installpath
Package format: rpm
msi templatepath: /home/user/ooo/main/instsetoo_native/util/../unxlngi6.pro/misc/openoffice/msi_templates
msi template path will be ignored for non Windows builds!
msi languagepath: /home/user/ooo/main/instsetoo_native/util/../unxlngi6.pro/misc/win_ulffiles
msi language path will be ignored for non Windows builds!
Calling epm
Stripping files
Unzip ARCHIVE files
Languages:
        en-US
########################################################
.. checking required files ...
..... searching zip ...
        Found: /usr/bin/zip
.. analyzing ../util/openoffice.lst ...
 
 
.. reading include pathes ...
.. analyzing script: /home/user/ooo/main/solver/340/unxlngi6.pro/bin/setup_osl.ins ...
.. analyzing directories ...
.. analyzing files ...
.. analyzing scpactions ...
.. analyzing shortcuts ...
.. analyzing unix links ...
.. analyzing profile ...
.. analyzing profileitems ...
.. analyzing modules ...
------------------------------------
.. languages en-US ...
Use of uninitialized value $bundleenv in split at /home/user/ooo/main/solenv/bin/modules/installer/scriptitems.pm line 499.
Use of uninitialized value $bundleenv in split at /home/user/ooo/main/solenv/bin/modules/installer/scriptitems.pm line 522.
.. analyzing files ...
.. analyzing files with flag ARCHIVE ...
.. analyzing files with flag SUBST_FILENAME ...
.. analyzing files with flag SCPZIP_REPLACE ...
.. analyzing files with flag PATCH_SO_NAME ...
.. analyzing files with flag HIDDEN ...
.. analyzing all directories for this product ...
.. analyzing links ...
.. analyzing unix links ...
.. creating profiles ...
.. analyzing modules ...
.. analyzing package list ...
.. creating log file /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/rpm/logging/en-US/log_AOO340_en-US.log
.. creating installation set in /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/rpm/install/en-US ...
.. removing old installation directories ...
.. creating epm list file epm_gid_Module_Root_Files_5.lst ...
.. checking pool package ooobasis3.4-core05 ...... packaging required
.. starting unpatched epm ...
.. /usr/bin/epm -f rpm  ooobasis3.4-core05 /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/rpm/listfile/en-US/epm_gid_Module_Root_Files_5.lst --output-dir RPMS -v2  2>&1 | ...
 
**************************************************
ERROR: ERROR: "/usr/bin/epm -f rpm  ooobasis3.4-core05 /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/rpm/listfile/en-US/epm_gid_Module_Root_Files_5.lst --output-dir RPMS -v2  2>&1 |"!
in function: call_epm
**************************************************
 
**************************************************
ERROR: Saved logfile: /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/rpm/logging/en-US/log_AOO340_en-US.log
**************************************************
.. cleaning the output tree ...
.. removing directory /tmp/ooopackaging/i_288571331281589 ...
.. removing directory /home/user/ooo/main/instsetoo_native/unxlngi6.pro/OpenOffice/rpm/stripped/en-US ...
Fri Mar  9 00:26:49 2012 (00:20 min.)
dmake:  Error code 255, while making 'openoffice_en-US.rpm'
 
 
What is wrong? How do I fix this?

06.03.2012, 13:59, "Andre Fischer" <af...@a-w-f.de>:
> On 05.03.2012 19:44, Очиров Николай wrote:
>
>>  Hello, Juergen.
>>  yes, i've typed  ./LinuxX86Env.Set.sh in console after running ./bootstrap.
>
> You have to run it like this
>
>      source ./LinuxX86Env.Set.sh
>
> (you may have seen this with 'source' abbreviated as '.')
>
> -Andre
>
>>  05.03.2012, 21:08, "Jürgen Schmidt"<jo...@googlemail.com>:
>>>  On 3/5/12 1:11 PM, Очиров Николай wrote:
>>>>    Thank you!! But It still doesn't work! I tried to use ''make'', but it didn't work. What is this command - build? Where did it take?
>>>  build is an alias to execute a perl build script. Have you sourced the
>>>  prepared environment script after you run configure and bootstrap?
>>>
>>>  Juergen
>>>>    04.03.2012, 08:58, "Andrew Rist"<an...@oracle.com>:
>>>>>    On 3/3/2012 1:52 PM, Очиров Николай wrote:
>>>>>>      Hi! I have no experience building openoffice, and I have a problem.
>>>>>>      I followed these instructions http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide for Ubuntu 11.04, but used 11.10.
>>>>>    Currently, it is easiest to get the build to run on Ubuntu 10.04. There
>>>>>    are various issues that you will run into on Ubuntu 11.04/11.10/12 alpha.
>>>>>    Among these issues are the need to switch to /usr/bin/ld to point to
>>>>>    ld.gold.
>>>>>
>>>>>    Your easiest way to get the build running is to build up a machine (or
>>>>>    vm) with Ubuntu 10.04 with the following additional packages:
>>>>>
>>>>>         sudo apt-get install g++ gcc bison flex libarchive-zip-perl
>>>>>         libcups2-dev libpam0g-dev
>>>>>         openjdk-6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev
>>>>>         libxrandr-dev patch
>>>>>         libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 epm
>>>>>         libgstreamer-plugins-base0.10-dev librsvg2-dev python-dev
>>>>>         subversion autoconf rpm libdbus-glib-1-dev libdbus-glib-1-dev
>>>>>         libgl1-mesa-dev
>>>>>         libglu1-mesa-dev libglib2.0-dev libidl-dev liborbit2-dev
>>>>>>      When I run the script ./bootstrap after  ./configure with no arguments there is an error:  /bootstrap 56: ./configure : permission denied. How to fix it? What is the reason? I was looking for the cause of the internet, but have not found a solution.
>>>>>    Your commands for a full build from scratch would look like this:
>>>>>
>>>>>         svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo
>>>>>
>>>>>         cd ooo/main
>>>>>
>>>>>         wget -O external/unowinreg/unowinreg.dll
>>>>>         http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
>>>>>
>>>>>         autoconf
>>>>>
>>>>>         ./configure --enable-verbose --enable-category-b
>>>>>         --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"
>>>>>         --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>>>>>
>>>>>         ./bootstrap
>>>>>
>>>>>         . ./LinuxX86Env.Set.sh
>>>>>
>>>>>         cd instsetoo_native&&    build --all --html -P2 -- -P2
>>>>>
>>>>>    If you get that running, then you might try building with more stuff
>>>>>    using a config like this:
>>>>>
>>>>>         ./configure --enable-verbose --enable-category-b --enable-minimizer
>>>>>         --enable-presenter-console --enable-wiki-publisher --enable-open
>>>>>         gl --enable-dbus --enable-gstreamer --with-package-format="installed
>>>>>         rpm deb" --with-dmake-url="http://dmake.apache-extras.org.code
>>>>>         spot.com/files/dmake-4.12.tar.bz2"
>>>>>         --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>>>>>         --with-lang="ru"
>>>>>>      P.S: Excuse me if I made a mistakes!
>>>>>    we all do...
>>>>>>      My English is bad, very bad, but I'm trying to improve the English skills!
>>>>>    your English is much better than my Russian
>>>>>>        I really hope for your support!

Re: [BUILD] Re: A small problem with compiling from source

Posted by Очиров Николай <nv...@yandex.ru>.
Yes, Andre, this is what I did not notice. But now I'll know. Thanks!

06.03.2012, 13:59, "Andre Fischer" <af...@a-w-f.de>:
> On 05.03.2012 19:44, Очиров Николай wrote:
>
>>  Hello, Juergen.
>>  yes, i've typed  ./LinuxX86Env.Set.sh in console after running ./bootstrap.
>
> You have to run it like this
>
>      source ./LinuxX86Env.Set.sh
>
> (you may have seen this with 'source' abbreviated as '.')
>
> -Andre
>
>>  05.03.2012, 21:08, "Jürgen Schmidt"<jo...@googlemail.com>:
>>>  On 3/5/12 1:11 PM, Очиров Николай wrote:
>>>>    Thank you!! But It still doesn't work! I tried to use ''make'', but it didn't work. What is this command - build? Where did it take?
>>>  build is an alias to execute a perl build script. Have you sourced the
>>>  prepared environment script after you run configure and bootstrap?
>>>
>>>  Juergen
>>>>    04.03.2012, 08:58, "Andrew Rist"<an...@oracle.com>:
>>>>>    On 3/3/2012 1:52 PM, Очиров Николай wrote:
>>>>>>      Hi! I have no experience building openoffice, and I have a problem.
>>>>>>      I followed these instructions http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide for Ubuntu 11.04, but used 11.10.
>>>>>    Currently, it is easiest to get the build to run on Ubuntu 10.04. There
>>>>>    are various issues that you will run into on Ubuntu 11.04/11.10/12 alpha.
>>>>>    Among these issues are the need to switch to /usr/bin/ld to point to
>>>>>    ld.gold.
>>>>>
>>>>>    Your easiest way to get the build running is to build up a machine (or
>>>>>    vm) with Ubuntu 10.04 with the following additional packages:
>>>>>
>>>>>         sudo apt-get install g++ gcc bison flex libarchive-zip-perl
>>>>>         libcups2-dev libpam0g-dev
>>>>>         openjdk-6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev
>>>>>         libxrandr-dev patch
>>>>>         libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 epm
>>>>>         libgstreamer-plugins-base0.10-dev librsvg2-dev python-dev
>>>>>         subversion autoconf rpm libdbus-glib-1-dev libdbus-glib-1-dev
>>>>>         libgl1-mesa-dev
>>>>>         libglu1-mesa-dev libglib2.0-dev libidl-dev liborbit2-dev
>>>>>>      When I run the script ./bootstrap after  ./configure with no arguments there is an error:  /bootstrap 56: ./configure : permission denied. How to fix it? What is the reason? I was looking for the cause of the internet, but have not found a solution.
>>>>>    Your commands for a full build from scratch would look like this:
>>>>>
>>>>>         svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo
>>>>>
>>>>>         cd ooo/main
>>>>>
>>>>>         wget -O external/unowinreg/unowinreg.dll
>>>>>         http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
>>>>>
>>>>>         autoconf
>>>>>
>>>>>         ./configure --enable-verbose --enable-category-b
>>>>>         --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"
>>>>>         --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>>>>>
>>>>>         ./bootstrap
>>>>>
>>>>>         . ./LinuxX86Env.Set.sh
>>>>>
>>>>>         cd instsetoo_native&&    build --all --html -P2 -- -P2
>>>>>
>>>>>    If you get that running, then you might try building with more stuff
>>>>>    using a config like this:
>>>>>
>>>>>         ./configure --enable-verbose --enable-category-b --enable-minimizer
>>>>>         --enable-presenter-console --enable-wiki-publisher --enable-open
>>>>>         gl --enable-dbus --enable-gstreamer --with-package-format="installed
>>>>>         rpm deb" --with-dmake-url="http://dmake.apache-extras.org.code
>>>>>         spot.com/files/dmake-4.12.tar.bz2"
>>>>>         --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>>>>>         --with-lang="ru"
>>>>>>      P.S: Excuse me if I made a mistakes!
>>>>>    we all do...
>>>>>>      My English is bad, very bad, but I'm trying to improve the English skills!
>>>>>    your English is much better than my Russian
>>>>>>        I really hope for your support!

Re: [BUILD] Re: A small problem with compiling from source

Posted by Andre Fischer <af...@a-w-f.de>.
On 05.03.2012 19:44, Очиров Николай wrote:
> Hello, Juergen.
> yes, i've typed  ./LinuxX86Env.Set.sh in console after running ./bootstrap.

You have to run it like this

     source ./LinuxX86Env.Set.sh

(you may have seen this with 'source' abbreviated as '.')

-Andre
>
> 05.03.2012, 21:08, "Jürgen Schmidt"<jo...@googlemail.com>:
>> On 3/5/12 1:11 PM, Очиров Николай wrote:
>>
>>>   Thank you!! But It still doesn't work! I tried to use ''make'', but it didn't work. What is this command - build? Where did it take?
>>
>> build is an alias to execute a perl build script. Have you sourced the
>> prepared environment script after you run configure and bootstrap?
>>
>> Juergen
>>
>>>   04.03.2012, 08:58, "Andrew Rist"<an...@oracle.com>:
>>>>   On 3/3/2012 1:52 PM, Очиров Николай wrote:
>>>>>     Hi! I have no experience building openoffice, and I have a problem.
>>>>>     I followed these instructions http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide for Ubuntu 11.04, but used 11.10.
>>>>   Currently, it is easiest to get the build to run on Ubuntu 10.04. There
>>>>   are various issues that you will run into on Ubuntu 11.04/11.10/12 alpha.
>>>>   Among these issues are the need to switch to /usr/bin/ld to point to
>>>>   ld.gold.
>>>>
>>>>   Your easiest way to get the build running is to build up a machine (or
>>>>   vm) with Ubuntu 10.04 with the following additional packages:
>>>>
>>>>        sudo apt-get install g++ gcc bison flex libarchive-zip-perl
>>>>        libcups2-dev libpam0g-dev
>>>>        openjdk-6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev
>>>>        libxrandr-dev patch
>>>>        libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 epm
>>>>        libgstreamer-plugins-base0.10-dev librsvg2-dev python-dev
>>>>        subversion autoconf rpm libdbus-glib-1-dev libdbus-glib-1-dev
>>>>        libgl1-mesa-dev
>>>>        libglu1-mesa-dev libglib2.0-dev libidl-dev liborbit2-dev
>>>>>     When I run the script ./bootstrap after  ./configure with no arguments there is an error:  /bootstrap 56: ./configure : permission denied. How to fix it? What is the reason? I was looking for the cause of the internet, but have not found a solution.
>>>>   Your commands for a full build from scratch would look like this:
>>>>
>>>>        svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo
>>>>
>>>>        cd ooo/main
>>>>
>>>>        wget -O external/unowinreg/unowinreg.dll
>>>>        http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
>>>>
>>>>        autoconf
>>>>
>>>>        ./configure --enable-verbose --enable-category-b
>>>>        --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"
>>>>        --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>>>>
>>>>        ./bootstrap
>>>>
>>>>        . ./LinuxX86Env.Set.sh
>>>>
>>>>        cd instsetoo_native&&    build --all --html -P2 -- -P2
>>>>
>>>>   If you get that running, then you might try building with more stuff
>>>>   using a config like this:
>>>>
>>>>        ./configure --enable-verbose --enable-category-b --enable-minimizer
>>>>        --enable-presenter-console --enable-wiki-publisher --enable-open
>>>>        gl --enable-dbus --enable-gstreamer --with-package-format="installed
>>>>        rpm deb" --with-dmake-url="http://dmake.apache-extras.org.code
>>>>        spot.com/files/dmake-4.12.tar.bz2"
>>>>        --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>>>>        --with-lang="ru"
>>>>>     P.S: Excuse me if I made a mistakes!
>>>>   we all do...
>>>>>     My English is bad, very bad, but I'm trying to improve the English skills!
>>>>   your English is much better than my Russian
>>>>>       I really hope for your support!

Re: [BUILD] Re: A small problem with compiling from source

Posted by Очиров Николай <nv...@yandex.ru>.
Hello, Juergen. 
yes, i've typed  ./LinuxX86Env.Set.sh in console after running ./bootstrap.

05.03.2012, 21:08, "Jürgen Schmidt" <jo...@googlemail.com>:
> On 3/5/12 1:11 PM, Очиров Николай wrote:
>
>>  Thank you!! But It still doesn't work! I tried to use ''make'', but it didn't work. What is this command - build? Where did it take?
>
> build is an alias to execute a perl build script. Have you sourced the
> prepared environment script after you run configure and bootstrap?
>
> Juergen
>
>>  04.03.2012, 08:58, "Andrew Rist"<an...@oracle.com>:
>>>  On 3/3/2012 1:52 PM, Очиров Николай wrote:
>>>>    Hi! I have no experience building openoffice, and I have a problem.
>>>>    I followed these instructions http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide for Ubuntu 11.04, but used 11.10.
>>>  Currently, it is easiest to get the build to run on Ubuntu 10.04. There
>>>  are various issues that you will run into on Ubuntu 11.04/11.10/12 alpha.
>>>  Among these issues are the need to switch to /usr/bin/ld to point to
>>>  ld.gold.
>>>
>>>  Your easiest way to get the build running is to build up a machine (or
>>>  vm) with Ubuntu 10.04 with the following additional packages:
>>>
>>>       sudo apt-get install g++ gcc bison flex libarchive-zip-perl
>>>       libcups2-dev libpam0g-dev
>>>       openjdk-6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev
>>>       libxrandr-dev patch
>>>       libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 epm
>>>       libgstreamer-plugins-base0.10-dev librsvg2-dev python-dev
>>>       subversion autoconf rpm libdbus-glib-1-dev libdbus-glib-1-dev
>>>       libgl1-mesa-dev
>>>       libglu1-mesa-dev libglib2.0-dev libidl-dev liborbit2-dev
>>>>    When I run the script ./bootstrap after  ./configure with no arguments there is an error:  /bootstrap 56: ./configure : permission denied. How to fix it? What is the reason? I was looking for the cause of the internet, but have not found a solution.
>>>  Your commands for a full build from scratch would look like this:
>>>
>>>       svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo
>>>
>>>       cd ooo/main
>>>
>>>       wget -O external/unowinreg/unowinreg.dll
>>>       http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
>>>
>>>       autoconf
>>>
>>>       ./configure --enable-verbose --enable-category-b
>>>       --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"
>>>       --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>>>
>>>       ./bootstrap
>>>
>>>       . ./LinuxX86Env.Set.sh
>>>
>>>       cd instsetoo_native&&  build --all --html -P2 -- -P2
>>>
>>>  If you get that running, then you might try building with more stuff
>>>  using a config like this:
>>>
>>>       ./configure --enable-verbose --enable-category-b --enable-minimizer
>>>       --enable-presenter-console --enable-wiki-publisher --enable-open
>>>       gl --enable-dbus --enable-gstreamer --with-package-format="installed
>>>       rpm deb" --with-dmake-url="http://dmake.apache-extras.org.code
>>>       spot.com/files/dmake-4.12.tar.bz2"
>>>       --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>>>       --with-lang="ru"
>>>>    P.S: Excuse me if I made a mistakes!
>>>  we all do...
>>>>    My English is bad, very bad, but I'm trying to improve the English skills!
>>>  your English is much better than my Russian
>>>>      I really hope for your support!

Re: [BUILD] Re: A small problem with compiling from source

Posted by Jürgen Schmidt <jo...@googlemail.com>.
On 3/5/12 1:11 PM, Очиров Николай wrote:
> Thank you!! But It still doesn't work! I tried to use ''make'', but it didn't work. What is this command - build? Where did it take?

build is an alias to execute a perl build script. Have you sourced the 
prepared environment script after you run configure and bootstrap?

Juergen

>
> 04.03.2012, 08:58, "Andrew Rist"<an...@oracle.com>:
>> On 3/3/2012 1:52 PM, Очиров Николай wrote:
>>
>>>   Hi! I have no experience building openoffice, and I have a problem.
>>>   I followed these instructions http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide for Ubuntu 11.04, but used 11.10.
>>
>> Currently, it is easiest to get the build to run on Ubuntu 10.04. There
>> are various issues that you will run into on Ubuntu 11.04/11.10/12 alpha.
>> Among these issues are the need to switch to /usr/bin/ld to point to
>> ld.gold.
>>
>> Your easiest way to get the build running is to build up a machine (or
>> vm) with Ubuntu 10.04 with the following additional packages:
>>
>>      sudo apt-get install g++ gcc bison flex libarchive-zip-perl
>>      libcups2-dev libpam0g-dev
>>      openjdk-6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev
>>      libxrandr-dev patch
>>      libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 epm
>>      libgstreamer-plugins-base0.10-dev librsvg2-dev python-dev
>>      subversion autoconf rpm libdbus-glib-1-dev libdbus-glib-1-dev
>>      libgl1-mesa-dev
>>      libglu1-mesa-dev libglib2.0-dev libidl-dev liborbit2-dev
>>
>>>   When I run the script ./bootstrap after  ./configure with no arguments there is an error:  /bootstrap 56: ./configure : permission denied. How to fix it? What is the reason? I was looking for the cause of the internet, but have not found a solution.
>>
>> Your commands for a full build from scratch would look like this:
>>
>>      svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo
>>
>>      cd ooo/main
>>
>>      wget -O external/unowinreg/unowinreg.dll
>>      http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
>>
>>      autoconf
>>
>>      ./configure --enable-verbose --enable-category-b
>>      --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"
>>      --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>>
>>      ./bootstrap
>>
>>      . ./LinuxX86Env.Set.sh
>>
>>      cd instsetoo_native&&  build --all --html -P2 -- -P2
>>
>> If you get that running, then you might try building with more stuff
>> using a config like this:
>>
>>      ./configure --enable-verbose --enable-category-b --enable-minimizer
>>      --enable-presenter-console --enable-wiki-publisher --enable-open
>>      gl --enable-dbus --enable-gstreamer --with-package-format="installed
>>      rpm deb" --with-dmake-url="http://dmake.apache-extras.org.code
>>      spot.com/files/dmake-4.12.tar.bz2"
>>      --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>>      --with-lang="ru"
>>
>>>   P.S: Excuse me if I made a mistakes!
>>
>> we all do...
>>
>>>   My English is bad, very bad, but I'm trying to improve the English skills!
>>
>> your English is much better than my Russian
>>
>>>     I really hope for your support!


Re: [BUILD] Re: A small problem with compiling from source

Posted by Очиров Николай <nv...@yandex.ru>.
Thank you!! But It still doesn't work! I tried to use ''make'', but it didn't work. What is this command - build? Where did it take?

04.03.2012, 08:58, "Andrew Rist" <an...@oracle.com>:
> On 3/3/2012 1:52 PM, Очиров Николай wrote:
>
>>  Hi! I have no experience building openoffice, and I have a problem.
>>  I followed these instructions http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide for Ubuntu 11.04, but used 11.10.
>
> Currently, it is easiest to get the build to run on Ubuntu 10.04. There
> are various issues that you will run into on Ubuntu 11.04/11.10/12 alpha.
> Among these issues are the need to switch to /usr/bin/ld to point to
> ld.gold.
>
> Your easiest way to get the build running is to build up a machine (or
> vm) with Ubuntu 10.04 with the following additional packages:
>
>     sudo apt-get install g++ gcc bison flex libarchive-zip-perl
>     libcups2-dev libpam0g-dev
>     openjdk-6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev
>     libxrandr-dev patch
>     libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 epm
>     libgstreamer-plugins-base0.10-dev librsvg2-dev python-dev
>     subversion autoconf rpm libdbus-glib-1-dev libdbus-glib-1-dev
>     libgl1-mesa-dev
>     libglu1-mesa-dev libglib2.0-dev libidl-dev liborbit2-dev
>
>>  When I run the script ./bootstrap after  ./configure with no arguments there is an error:  /bootstrap 56: ./configure : permission denied. How to fix it? What is the reason? I was looking for the cause of the internet, but have not found a solution.
>
> Your commands for a full build from scratch would look like this:
>
>     svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo
>
>     cd ooo/main
>
>     wget -O external/unowinreg/unowinreg.dll
>     http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
>
>     autoconf
>
>     ./configure --enable-verbose --enable-category-b
>     --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"
>     --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>
>     ./bootstrap
>
>     . ./LinuxX86Env.Set.sh
>
>     cd instsetoo_native && build --all --html -P2 -- -P2
>
> If you get that running, then you might try building with more stuff
> using a config like this:
>
>     ./configure --enable-verbose --enable-category-b --enable-minimizer
>     --enable-presenter-console --enable-wiki-publisher --enable-open
>     gl --enable-dbus --enable-gstreamer --with-package-format="installed
>     rpm deb" --with-dmake-url="http://dmake.apache-extras.org.code
>     spot.com/files/dmake-4.12.tar.bz2"
>     --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>     --with-lang="ru"
>
>>  P.S: Excuse me if I made a mistakes!
>
> we all do...
>
>>  My English is bad, very bad, but I'm trying to improve the English skills!
>
> your English is much better than my Russian
>
>>    I really hope for your support!

Re: [BUILD] Re: A small problem with compiling from source

Posted by Очиров Николай <nv...@yandex.ru>.
Hi! The command "cd instsetoo_native && build - all - html-P2 --- P2"
got error "build: command not found". Why not? I did everything according to instructions!

04.03.2012, 08:58, "Andrew Rist" <an...@oracle.com>:
> On 3/3/2012 1:52 PM, Очиров Николай wrote:
>
>>  Hi! I have no experience building openoffice, and I have a problem.
>>  I followed these instructions http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide for Ubuntu 11.04, but used 11.10.
>
> Currently, it is easiest to get the build to run on Ubuntu 10.04. There
> are various issues that you will run into on Ubuntu 11.04/11.10/12 alpha.
> Among these issues are the need to switch to /usr/bin/ld to point to
> ld.gold.
>
> Your easiest way to get the build running is to build up a machine (or
> vm) with Ubuntu 10.04 with the following additional packages:
>
>     sudo apt-get install g++ gcc bison flex libarchive-zip-perl
>     libcups2-dev libpam0g-dev
>     openjdk-6-jdk gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev
>     libxrandr-dev patch
>     libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev junit junit4 epm
>     libgstreamer-plugins-base0.10-dev librsvg2-dev python-dev
>     subversion autoconf rpm libdbus-glib-1-dev libdbus-glib-1-dev
>     libgl1-mesa-dev
>     libglu1-mesa-dev libglib2.0-dev libidl-dev liborbit2-dev
>
>>  When I run the script ./bootstrap after  ./configure with no arguments there is an error:  /bootstrap 56: ./configure : permission denied. How to fix it? What is the reason? I was looking for the cause of the internet, but have not found a solution.
>
> Your commands for a full build from scratch would look like this:
>
>     svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk ooo
>
>     cd ooo/main
>
>     wget -O external/unowinreg/unowinreg.dll
>     http://tools.openoffice.org/unowinreg_prebuild/680/unowinreg.dll
>
>     autoconf
>
>     ./configure --enable-verbose --enable-category-b
>     --with-dmake-url="http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2"
>     --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>
>     ./bootstrap
>
>     . ./LinuxX86Env.Set.sh
>
>     cd instsetoo_native && build --all --html -P2 -- -P2
>
> If you get that running, then you might try building with more stuff
> using a config like this:
>
>     ./configure --enable-verbose --enable-category-b --enable-minimizer
>     --enable-presenter-console --enable-wiki-publisher --enable-open
>     gl --enable-dbus --enable-gstreamer --with-package-format="installed
>     rpm deb" --with-dmake-url="http://dmake.apache-extras.org.code
>     spot.com/files/dmake-4.12.tar.bz2"
>     --with-epm-url="http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz"
>     --with-lang="ru"
>
>>  P.S: Excuse me if I made a mistakes!
>
> we all do...
>
>>  My English is bad, very bad, but I'm trying to improve the English skills!
>
> your English is much better than my Russian
>
>>    I really hope for your support!