Re: Errors making GMP621 on SCO Openserver 6.

2022-02-04 Thread Marco Bodrato

Ciao,

Il 2022-02-04 15:57 Jack Tearle ha scritto:

Just to be clear, I purged the directory (rm -r *)  and extracted (tar
xvf ../gmp621.tar) the published tar file for each run.


You mean one of the gmp-6.2.1.tar.* files from 
https://ftp.gnu.org/gnu/gmp/ or https://gmplib.org/download/gmp/ , 
great!



Il 2022-02-03 23:08 Jack Tearle ha scritto:
but it is empty and assert.o and the rest of the programs listed 
below

still have the Oct 11 2021 date and only exist in the root directory


Sorry, I do not understand what do you mean with "assert.o [...] still 
have the Oct 11 2021 date".


The published tar files contain a file named assert.c, but no files 
named assert.o. Moreover the tar files where generated in November 2020.


Ĝis,
m
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Errors making GMP621 on SCO Openserver 6.

2022-02-04 Thread Jack Tearle
I deleted /bin/sh, and linked /bin/bash to /bin/sh, and then re-ran the 
entire installation in a new directory.

The results are not quite the same.  The .libs directory is now created, 
but it is empty and assert.o and the rest of the programs listed below 
still have the Oct 11 2021 date and only exist in the root directory 
(/tmp/gmp621).

Let me know if you need the new config and make logs.

Jack

o rand/.libs/randmt.o rand/.libs/randmts.o rand/.libs/rands.o 
rand/.libs/randsd.
o rand/.libs/randsdui.o rand/.libs/randbui.o rand/.libs/randmui.o    
-m32 -m32
  -Wl,-soname -Wl,libgmp.so.14 -o .libs/libgmp.so.14
gcc: error: .libs/assert.o: No such file or directory
gcc: error: .libs/compat.o: No such file or directory
gcc: error: .libs/errno.o: No such file or directory
gcc: error: .libs/extract-dbl.o: No such file or directory
gcc: error: .libs/invalid.o: No such file or directory
gcc: error: .libs/memory.o: No such file or directory
gcc: error: .libs/mp_bpl.o: No such file or directory
gcc: error: .libs/mp_clz_tab.o: No such file or directory
gcc: error: .libs/mp_dv_tab.o: No such file or directory
gcc: error: .libs/mp_minv_tab.o: No such file or directory
gcc: error: .libs/mp_get_fns.o: No such file or directory
gcc: error: .libs/mp_set_fns.o: No such file or directory
gcc: error: .libs/version.o: No such file or directory
gcc: error: .libs/nextprime.o: No such file or directory
gcc: error: .libs/primesieve.o: No such file or directory
gcc: error: .libs/tal-reent.o: No such file or directory
make[2]: *** [libgmp.la] Error 1
make[2]: Leaving directory `/tmp/gmp621'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gmp621'
make: *** [all] Error 2
unix:/tmp/gmp621#

On 2/3/22 15:54, Niels Möller wrote:
> Torbjörn Granlund  writes:
>
>> Marco Bodrato  writes:
>>
>>==> /tmp/config.guess.log <==
>>./config.guess: syntax error at line 284: `(' unexpected
>>
>> Perhaps the $(command ...) syntax is not known by the old SCO shell?
>> Really old /bin/sh only had `command ...`.
> I take it this is gmp's config.guess (not the plain autoconf/gnulib
> version, which is configfsf.guess in gmp)?
>
> Autoconf is usually very careful about problems with old and obscure
> variants of /bin/sh, but perhaps gmp's shell scripts are not.
>
> I think the autoconf configure script has a CONFIG_SHELL environment,
> maybe it would work better to install, e.g., bash, and set
> CONFIG_SHELL=/usr/bin/bash (that's a feature I've never had to use)?
>
> Regards,
> /Niels
>
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Errors making GMP621 on SCO Openserver 6.

2022-02-04 Thread Jack Tearle
Just to be clear, I purged the directory (rm -r *)  and extracted (tar 
xvf ../gmp621.tar) the published tar file for each run.

On 2/4/22 02:53, Marco Bodrato wrote:
> Ciao,
>
> Il 2022-02-03 23:08 Jack Tearle ha scritto:
>> I deleted /bin/sh, and linked /bin/bash to /bin/sh, and then re-ran the
>> entire installation in a new directory.
>
>> The results are not quite the same.  The .libs directory is now created,
>> but it is empty and assert.o and the rest of the programs listed below
>> still have the Oct 11 2021 date and only exist in the root directory
>> (/tmp/gmp621).
>
> I'd suggest to start from a clean source directory.
>
> Ĝis,
> m
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Errors making GMP621 on SCO Openserver 6.

2022-02-03 Thread Marco Bodrato

Ciao,

Il 2022-02-03 23:08 Jack Tearle ha scritto:

I deleted /bin/sh, and linked /bin/bash to /bin/sh, and then re-ran the
entire installation in a new directory.


The results are not quite the same.  The .libs directory is now 
created,

but it is empty and assert.o and the rest of the programs listed below
still have the Oct 11 2021 date and only exist in the root directory
(/tmp/gmp621).


I'd suggest to start from a clean source directory.

Ĝis,
m
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Errors making GMP621 on SCO Openserver 6.

2022-02-03 Thread Niels Möller
Torbjörn Granlund  writes:

> Marco Bodrato  writes:
>
>   ==> /tmp/config.guess.log <==
>   ./config.guess: syntax error at line 284: `(' unexpected
>
> Perhaps the $(command ...) syntax is not known by the old SCO shell?
> Really old /bin/sh only had `command ...`.

I take it this is gmp's config.guess (not the plain autoconf/gnulib
version, which is configfsf.guess in gmp)?

Autoconf is usually very careful about problems with old and obscure
variants of /bin/sh, but perhaps gmp's shell scripts are not.

I think the autoconf configure script has a CONFIG_SHELL environment,
maybe it would work better to install, e.g., bash, and set
CONFIG_SHELL=/usr/bin/bash (that's a feature I've never had to use)?

Regards,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Errors making GMP621 on SCO Openserver 6.

2022-02-03 Thread Torbjörn Granlund
Marco Bodrato  writes:

  ==> /tmp/config.guess.log <==
  ./config.guess: syntax error at line 284: `(' unexpected

Perhaps the $(command ...) syntax is not known by the old SCO shell?
Really old /bin/sh only had `command ...`.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: Errors making GMP621 on SCO Openserver 6.

2022-02-03 Thread Marco Bodrato

Ciao,

Il 2022-02-02 23:40 Jack Tearle ha scritto:

I hope the only problem is my doing something wrong.


Maybe.

Of course we can not know what you are doing.

We usually suggest to read the manual page 
https://gmplib.org/manual/Reporting-Bugs before reporting problems.



I see the following:

==> /tmp/configfsf.log <==
i686-unknown-sysv5SCO_SV6.0.0

==> /tmp/config.guess.log <==
./config.guess: syntax error at line 284: `(' unexpected

Did config.guess really stopped at line 284?
If I read correctly, line 284 should run if the output from configfsf 
begins with "mips-".



Too hard to guess.

Ĝis,
m
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs