[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gm2] gm2-4.7.3 on Mac 10.5.8/PPC: libgm2/configure deemed harmful
From: |
Gaius Mulley |
Subject: |
Re: [Gm2] gm2-4.7.3 on Mac 10.5.8/PPC: libgm2/configure deemed harmful |
Date: |
Thu, 16 Oct 2014 09:17:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
john o goyo <address@hidden> writes:
> The story continues...
>
> Last entry, libgm2/configure could not find non-existant files
> and halted. I created one of those non-existant files (a one-line
> script to log arguments). It was never called; the same jolly
> libgm2/configure halted trying to run another non-existant file,
> namely libgm2/config.sub.
>
> Checking multilib configuration for libgm2...
> Configuring in powerpc-apple-darwin9.8.0/libgm2
> configure: loading cache ./config.cache
> configure: error: cannot run /bin/sh
> ../../../../src/gcc-4.7.3-patched/libgm2/config.sub
> make[1]: *** [configure-target-libgm2] Error 1
> make: *** [all] Error 2
>
> Besides the non-existant config.sub, libgm2/configure is also invoking
> /bin/sh, which is not /bin/bash. despite specifying SHELL=/bin/bash in
> the configure script.
>
> The story continues...
>
> john
Hi John,
are you using the tarball from:
http://floppsie.comp.glam.ac.uk/download/c/gcc-4.7.3+gm2-git-latest.tar.gz
It is certainly odd that it is looking for config.sub. Here is the
output from:
$ ls scratch-area/gcc-4.7.3+gm2-git-latest/gm2/gcc-versionno/libgm2
ChangeLog Makefile.in autogen.sh configure libcor liblog
libpim p2c Makefile.am aclocal.m4 config.h.in configure.ac
libiso libmin libulm
Here is my helper script to rebuild the various configure scripts,
it would be interesting to see if you could rebuild them under solaris.
#!/bin/bash
cd combined/gm2/gcc-versionno/libgm2
autoreconf2.64 || exit 1
cd ..
autogen Makefile.def || exit 1
cd gcc/gm2/gm2-libs
autoconf2.64 config-target.in > config-target || exit 1
autoconf2.64 config-host.in > config-host || exit 1
regards,
Gaius