[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur)
From: |
Jean-Christophe Helary |
Subject: |
Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur) |
Date: |
Sun, 12 Sep 2021 17:47:45 +0900 |
> On Sep 12, 2021, at 1:17, Alan Third <alan@idiocy.org> wrote:
>
> On Sat, Sep 11, 2021 at 09:30:44AM +0900, Jean-Christophe Helary wrote:
>>
>>
>>> On Sep 10, 2021, at 6:07, Alan Third <alan@idiocy.org> wrote:
>>>
>>> On Thu, Sep 09, 2021 at 08:44:47AM +0900, Jean-Christophe Helary wrote:
>>>>
>>>> And the third version of the patch you sent produced the same error... :(
>>>>
>>>> I have just totally removed brew and macports to remove all the
>>>> cruft and reinstalled only the packages that I needed (and their
>>>> dependencies).
>>>
>>> What about running
>>>
>>> HAVE_MACPORTS="" ./configure
>>
>> That worked, but
>>
>> HAVE_MACPORTS="" ./configure --with-native-compilation
>>
>> did not work.
>>
>> And your latest patch did not either... :(
>
> I'm out of ideas.
>
> Are you definitely applying the patch correctly?
I think I am.
> Do you need to rerun autogen.sh? Make should automatically rerun it
> when configure.ac has changed.
>
> Does this print "GOOD" if you run it in the terminal?
>
> PORT_PACKAGE=$(port installed active | grep '^ *gcc@<:@0-9@:>@* ' | \
> awk '{ print $1; }')
> if test -n "$PORT_PACKAGE"; then
> echo "SOMETHING'S BROKEN"
> else
> echo "GOOD"
> fi
It does:
emacs on master [$✘!?]
➜ PORT_PACKAGE=$(port installed active | grep '^ *gcc@<:@0-9@:>@* ' | \
awk '{ print $1; }')
if test -n "$PORT_PACKAGE"; then
echo "SOMETHING'S BROKEN"
else
echo "GOOD"
fi
GOOD
What I'll do when I have some time is try again from scratch:
1) remove macports and brew
2) reinstall only the required dependencies, along with Xcode command line tools
3) apply your last patch
I think I have a "minimal" set of commands now, still, with the dependencies it
all adds up to quite something:
emacs on master [$✘!?] took 3s
➜ port installed
The following ports are currently installed:
bzip2 @1.0.8_0 (active)
gettext @0.19.8.1_2 (active)
icu @67.1_4 (active)
libcxx @5.0.1_4 (active)
libedit @20210216-3.1_0 (active)
libffi @3.4.2_0 (active)
libiconv @1.16_1 (active)
libxml2 @2.9.12_1 (active)
llvm-10 @10.0.1_2 (active)
llvm_select @2_0 (active)
ncurses @6.2_1 (active)
openssl @1.1.1l_0 (active)
readline @8.1.000_0 (active)
xar @1.8.0.452_0 (active)
xz @5.2.5_0 (active)
zlib @1.2.11_0 (active)
emacs on master [$✘!?]
➜ brew list --versions
ant 1.10.11
aom 3.1.2
autoconf 2.71
bdw-gc 8.0.4_2
berkeley-db 18.1.40
brotli 1.0.9
c-ares 1.17.2
cairo 1.16.0_5
docbook 5.1_1
docbook-xsl 1.79.2_1
fontconfig 2.13.1
freetype 2.11.0
fribidi 1.0.10
gdbm 1.20
gdk-pixbuf 2.42.6
gettext 0.21
ghostscript 9.54.0
giflib 5.2.1
git 2.33.0
glib 2.68.4
gmp 6.2.1
gnu-getopt 2.37.2
gnutls 3.6.16
gobject-introspection 1.68.0_1
graphite2 1.3.14
gsasl 1.10.0
guile 3.0.7
harfbuzz 2.9.0
icu4c 69.1
imagemagick 7.1.0-6
imath 3.1.3
isl 0.24
jansson 2.13.1
jbig2dec 0.19
jemalloc 5.2.1_1
jpeg 9d
libde265 1.0.8
libev 4.33
libevent 2.1.12
libffi 3.3_3
libgccjit 11.2.0
libgcrypt 1.9.4
libgpg-error 1.42
libheif 1.12.0
libidn 1.38
libidn2 2.3.2
liblqr 0.4.2_1
libmpc 1.2.1
libomp 12.0.1
libpng 1.6.37
libpthread-stubs 0.4
librsvg 2.50.7
libtasn1 4.17.0
libtiff 4.3.0
libtool 2.4.6_4
libunistring 0.9.10
libuv 1.42.0
libx11 1.7.2
libxau 1.0.9
libxcb 1.14_1
libxdmcp 1.1.3
libxext 1.3.4
libxpm 3.5.13
libxrender 0.9.10
little-cms2 2.12
lynx 2.8.9rel.1_1
lzo 2.10
m4 1.4.19
mailutils 3.13
mpdecimal 2.5.1
mpfr 4.1.0
nettle 3.7.3
nghttp2 1.44.0
node 16.8.0
openexr 3.1.1
openjdk 16.0.2
openjpeg 2.4.0
openssl@1.1 1.1.1l
p11-kit 0.24.0
pandoc 2.14.2
pango 1.48.9
pcre 8.45
pcre2 10.37_1
perl 5.34.0
pixman 0.40.0
pkg-config 0.29.2_3
po4a 0.63_2
python@3.9 3.9.7
readline 8.1
saxon 10.5
shared-mime-info 2.1
sqlite 3.36.0
texinfo 6.8
unbound 1.13.2
webp 1.2.1
wget 1.21.1_1
x265 3.5
xmlto 0.0.28
xorgproto 2021.4
xz 5.2.5
youtube-dl 2021.6.6
Then I have this for gcc:
emacs on master [$✘!?]
➜ gcc --version
Configured with: --prefix=/Library/Developer/CommandLineTools/usr
--with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.5 (clang-1205.0.22.11)
Target: x86_64-apple-darwin20.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
JC
--
Jean-Christophe Helary @brandelune
https://mac4translators.blogspot.com
https://sr.ht/~brandelune/omegat-as-a-book/
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), (continued)
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/08
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/09
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/09
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/10
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Eli Zaretskii, 2021/09/11
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/10
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/11
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur),
Jean-Christophe Helary <=
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/12
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/13
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Alan Third, 2021/09/14
- Re: ./configure --with-native-compilation on macos (11.5.2 Big Sur), Jean-Christophe Helary, 2021/09/14