[CLN-list] R: Issue about CLN installation

Michele Dradi michele.dradi at unimi.it
Tue Jan 16 00:34:55 CET 2024


Sorry! I did a stupid error. Actually, after brew install texinfo and refreshing the shell it seemed to work!

I ran with success make, sudo make install and then make check. This is the output:


Making check in src

make[1]: Nothing to be done for `check'.

Making check in tests

/Library/Developer/CommandLineTools/usr/bin/make  exam tests

make[2]: `exam' is up to date.

make[2]: `tests' is up to date.

/Library/Developer/CommandLineTools/usr/bin/make  check-TESTS

PASS: exam

PASS: tests

============================================================================

Testsuite summary for cln 1.3.6

============================================================================

# TOTAL: 2

# PASS:  2

# SKIP:  0

# XFAIL: 0

# FAIL:  0

# XPASS: 0

# ERROR: 0

============================================================================

Making check in examples

make[1]: Nothing to be done for `check'.

Making check in doc

make[1]: Nothing to be done for `check'.

Making check in benchmarks

make[1]: Nothing to be done for `check'.

make[1]: Nothing to be done for `check-am'.


Thank you very much for the help 😉
Michele Dradi
________________________________
Da: Michele Dradi <michele.dradi at unimi.it>
Inviato: martedì 16 gennaio 2024 00:29
A: CLN discussion list <cln-list at ginac.de>
Oggetto: R: [CLN-list] Issue about CLN installation

Thank you very much. I tried with the git strategy, installing the packages, as specified in the INSTALL, with:

brew install m4
brew install autoconf
brew install libtool
brew install automake

And then also brew install wget because ./autogen.sh was not working.

Unfortunately, again I got an error while executing the make:


/Users/micheledradi/Desktop/Packages/cln/build-aux/missing: line 81: makeinfo: command not found

WARNING: 'makeinfo' is missing on your system.

         You should only need it if you modified a '.texi' file, or

         any other file indirectly affecting the aspect of the manual.

         You might want to install the Texinfo package:

         <https://www.gnu.org/software/texinfo/>

         The spurious makeinfo call might also be the consequence of

         using a buggy 'make' (AIX, DU, IRIX), in which case you might

         want to install GNU make:

         <https://www.gnu.org/software/make/>

make[1]: *** [cln.info] Error 127

make: *** [all-recursive] Error 1

I then tried with brew install texinfo but I got:


Making install in src

 mkdir -p '/usr/local/lib'

mkdir: /usr/local/lib: Permission denied

make[2]: *** [install-libLTLIBRARIES] Error 1

make[1]: *** [install-am] Error 2

make: *** [install-recursive] Error 1

At this point I don't know if the problem is my make, I hope to have not created additional errors while trying different ways to install the packages.

Thank you again and have a nice evening,
Michele Dradi
________________________________
Da: CLN-list <cln-list-bounces at ginac.de> per conto di Richard B. Kreckel <kreckel at in.terlu.de>
Inviato: lunedì 15 gennaio 2024 21:21
A: cln-list at ginac.de <cln-list at ginac.de>
Oggetto: Re: [CLN-list] Issue about CLN installation

Hi Michele,

This should be fixed in the current git tree. Please give it a try.
I'll release this as 1.3.7 and upload new tarballs really soon now.

   -richy.
--
Richard B. Kreckel
<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fin.terlu.de%2F~kreckel%2F&data=05%7C02%7Cmichele.dradi%40unimi.it%7C895299f00a3a4752637f08dc160796bd%7C13b55eef70184674a3d7cc0db06d545c%7C0%7C0%7C638409469165385098%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C83000%7C%7C%7C&sdata=CNIjSeWKQzjbKXV0szNxnQCKQ%2BtTjjjQewPFevW5A6Y%3D&reserved=0<https://in.terlu.de/~kreckel/>>

On 1/15/24 17:03, Michele Dradi wrote:
> Hello to everybody, I don't know if the CLN mail list can be used also
> as help forum, if this is not the case I'm sorry for this spam.
>
>
> I'm writing this email because I have encountered an error that I'm not
> able to solve when running the make command in the installation
> procedure of cln-1.3.6. I'm currently using macOS Sonoma 14.2.1 with M2.
>
>
> The problem is that when I run make I obtain the error
>
>
> base/low/cl_low_div.cc:13:8: error: declaration of 'divu_16_rest' in
> global scope conflicts with declaration with C language linkage uint16
> divu_16_rest; ^ ./base/cl_low.h:447:21: note: declared with C language
> linkage here extern "C" uint16 divu_16_rest; // -> Rest r ^
> base/low/cl_low_div.cc:104:8: error: declaration of 'divu_32_rest' in
> global scope conflicts with declaration with C language linkage uint32
> divu_32_rest; ^ ./base/cl_low.h:597:21: note: declared with C language
> linkage here extern "C" uint32 divu_32_rest; // -> Rest r ^
> base/low/cl_low_div.cc:210:8: error: declaration of 'divu_64_rest' in
> global scope conflicts with declaration with C language linkage uint64
> divu_64_rest; ^ ./base/cl_low.h:987:21: note: declared with C language
> linkage here extern "C" uint64 divu_64_rest; // -> Rest r ^ 3 errors
> generated. make[1]: *** [base/low/cl_low_div.lo] Error 1 make: ***
> [all-recursive] Error 1
>
>
> It seems that the installation is in conflict with my c++ compiler, that
> is gcc with version
>
> Apple clang version 15.0.0 (clang-1500.1.0.2.5)
>
> Target: arm64-apple-darwin23.2.0
>
> Thread model: posix
>
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
>
>
> Unfortunately, I don't know how to solve and install cln.
>
> Thanks to everybody,
>
> Michele Dradi

_______________________________________________
CLN-list mailing list
CLN-list at ginac.de
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ginac.de%2Fmailman%2Flistinfo%2Fcln-list&data=05%7C02%7Cmichele.dradi%40unimi.it%7C895299f00a3a4752637f08dc160796bd%7C13b55eef70184674a3d7cc0db06d545c%7C0%7C0%7C638409469165385098%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C83000%7C%7C%7C&sdata=AnoxLkfsXAYAqhJPxypA6VSxH1C4o6DdDRoRYDHsB4M%3D&reserved=0<https://www.ginac.de/mailman/listinfo/cln-list>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ginac.de/pipermail/cln-list/attachments/20240115/e149a7ba/attachment-0001.htm>


More information about the CLN-list mailing list