-------- Forwarded Message --------
Subject: Re: Fwd: Re: OO configure fails: Possible unintended
interpolation of @ENABLE
Date: Thu, 27 Jun 2019 19:09:48 +0200
From: Matthias Seidel <matthias.sei...@hamburg.de>
Reply-To: dev@openoffice.apache.org
To: dev@openoffice.apache.org
Where did you take that URL from?
If you do a ./configure without specifying --with-epm-url, it complains
that it's missing that file and offers up a suggestion to use
http://epm.sourcearchive.com/downloads/3.7-1/epm_3.7.orig.tar.gz so
that's what I used. See configure line 2232:
--with-epm-url=<URL> Specify the location of downloadable epm 3.7
source code. For example:
http://epm.sourcearchive.com/downloads/3.7-1/epm_3.7.orig.tar.gz
Try
https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
instead.
That worked, thanks.
See also:
https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO#Configuration_and_bootstrapping
Thanks. I was just going by the instructions in the README.
Unfortunately, now I have yet another problem. ./configure is now
ending like this:
...
checking for gnucp... no
checking for cp... /usr/xpg4/bin/cp
checking whether /usr/xpg4/bin/cp is GNU cp from coreutils with
preserve= support... no
configure: error: no, GNU cp from coreutils is needed. install or
specify with --with-gnu-cp=/path/to/it
#
But I am already specifying it:
# /usr/xpg4/bin/sh ./configure
--with-dmake-url=http://sourceforge.net/projects/oooextras.mirror/files/dmake-4.12.tar.bz2
--with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz
--disable-odk --with-gnu-patch=/opt/csw/bin/gpatch
*--with-gnu-cp=/opt/csw/gnu/cp* --without-junit
And I do have gnu cp and it does have "preserve=":
bash-4.3$ cd /opt/csw/gnu
bash-4.3$ ls -l cp
lrwxrwxrwx 1 root root 10 Jun 22 2018 cp -> ../bin/gcp
bash-4.3$ cd /opt/csw/bin
bash-4.3$ ls -l gcp
-rwxr-xr-x 1 root bin 204912 Jun 14 2014 gcp
bash-4.3$ ./gcp --version
cp *(GNU coreutils)* 8.22
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Torbjörn Granlund, David MacKenzie, and Jim Meyering.
bash-4.3$ ./gcp --help
Usage: gcp [OPTION]... [-T] SOURCE DEST
or: gcp [OPTION]... SOURCE... DIRECTORY
or: gcp [OPTION]... -t DIRECTORY SOURCE...
Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.
Mandatory arguments to long options are mandatory for short options too.
-a, --archive same as -dR --preserve=all
--attributes-only don't copy the file data, just the
attributes
--backup[=CONTROL] make a backup of each existing
destination file
...
-P, --no-dereference never follow symbolic links in SOURCE
-p same as --preserve=mode,ownership,timestamps
* --preserve[=ATTR_LIST] * preserve the specified attributes (default:
mode,ownership,timestamps), if possible
additional attributes: context, links,
xattr,
all
Why is ./configure not picking up the correct cp even though I'm
supplying it? Or should I not be putting /usr/xpg4/bin first in my
PATH? It doesn't seem to like the POSIX cp.
- Michele