On Fri, Jan 24, 2025 at 2:21 PM Matthias Seidel <matthias.sei...@hamburg.de>
wrote:

> Hi Damjan,
>

Hi Matthias


> Now it *almost* succeeds. :-D
>
> Since my configure wants to build the NSIS/MSI installer it fails in the
> final module "instsetoo_native".
> Adding "epm" to configure didn't help.
>
> BTW, I never needed epm for the Windows 32-bit build, maybe the cause is
> here:
>
> https://github.com/apache/openoffice/bcompleted because
> lob/trunk/main/instsetoo_native/util/makefile.mk#L117
> <https://github.com/apache/openoffice/blob/trunk/main/instsetoo_native/util/makefile.mk#L117>
>
> ---
>
> C:/cygwin64/bin/perl.exe -w C:/Source/openoffice/main/solenv/bin/packager.pl
> Using pack list /cygdrive/c/Source/Pack-small-64.lst
> Packager: dmake openoffice_de
> ... checking environment variables ...
>
> ########################################################make_installer.pl, 
> version 1.0
> Product list file: ../util/openoffice.lst
> Taking setup script from solver
> Unpackpath: C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro
> Compiler: wntmscx12
> Product: Apache_OpenOffice
> BuildID: 9900
> Build: AOO450
> No minor set
> Product version
> Using default installpath
> Package format: msi
> msi templatepath: 
> C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/misc/openoffice/msi_templates
> msi template path will be ignored for non Windows builds!
> msi languagepath: 
> C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/misc/win_ulffiles
> msi language path will be ignored for non Windows builds!
> Calling epm
> Stripping files
> Unzip ARCHIVE files
> Languages: de
> ########################################################
> ... checking required files ...
> ...... searching zip.exe ...
>       Found: C:/cygwin64/bin/zip.exe
> ... analyzing ../util/openoffice.lst ...
> ... reading include paths ...
> ... analyzing script: 
> C:/Source/openoffice/main/solver/450/wntmscx12.pro/bin/setup_osl.inf ...
> ... analyzing script: 
> C:/Source/openoffice/main/solver/450/wntmscx12.pro/bin/setup_osl.inf ...
> WARNING: mis-named or un-known %-variable in setup script at line 124637:
>       Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%PRODUCTCODE";
> WARNING: mis-named or un-known %-variable in setup script at line 124646:
>       Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%PRODUCTCODE";
> WARNING: mis-named or un-known %-variable in setup script at line 124655:
>       Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%PRODUCTCODE";
> WARNING: mis-named or un-known %-variable in setup script at line 124664:
>       Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%UPGRADECODE";
> WARNING: mis-named or un-known %-variable in setup script at line 124673:
>       Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%UPGRADECODE";
> WARNING: mis-named or un-known %-variable in setup script at line 124682:
>       Subkey = "Software\OpenOffice\OpenOffice\4.5.0\%UPGRADECODE";
> ... analyzing directories ...
> ... analyzing files ...
> ... analyzing scpactions ...
> ... analyzing shortcuts ...
> ... analyzing unix links ...
> ... analyzing profile ...
> ... analyzing profileitems ...
> ... analyzing modules ...
> ------------------------------------
> ... languages de ...
> ... analyzing files ...
> preparing 6 extension blobs for language de:
>     dict-de_de.oxt
>     dict-de_at.oxt
>     dict-de_ch.oxt
>     dict-en.oxt
>     dict-fr.oxt
>     dict-it.oxt
> preparing 0 bundled extensions for language de:
> ... 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 installation set in 
> C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/Apache_OpenOffice/msi/install/de
>  ...
> ... removing old installation directories ...
>
> **************************************************
> ERROR: ERROR: Could not find program epm!
> in function: find_epm_on_system
> **************************************************
> ... cleaning the output tree ...
> ... removing directory /tmp/ooopackaging/i_69851737693007 ...
> ... removing directory 
> C:/Source/openoffice/main/instsetoo_native/wntmscx12.pro/Apache_OpenOffice/msi/stripped/de
>  ...
> Error: ERROR: Could not find program epm!
> in function: find_epm_on_systemstopping log at Fri Jan 24 05:31:19 2025
> dmake:  Error code 255, while making 'openoffice_de.msi'
> Packager finished: dmake openoffice_de
>
>
The code that prints that error is at
http://opengrok.openoffice.org/xref/trunk/main/solenv/bin/modules/installer/epmfile.pm?r=49cc8443#780
.

Try to see what the value of your EPM environment variable is. Also
config.log might help.

In my successful build I used --with-package-format=installed.

Regards
Damjan

Reply via email to