From michele.dradi at unimi.it Mon Jan 15 17:03:13 2024 From: michele.dradi at unimi.it (Michele Dradi) Date: Mon, 15 Jan 2024 16:03:13 +0000 Subject: [CLN-list] Issue about CLN installation Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kreckel at in.terlu.de Mon Jan 15 21:21:33 2024 From: kreckel at in.terlu.de (Richard B. Kreckel) Date: Mon, 15 Jan 2024 21:21:33 +0100 Subject: [CLN-list] Issue about CLN installation In-Reply-To: References: Message-ID: <923f41cb-a180-4003-a8d2-e3defab3c6ea@in.terlu.de> 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 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 From michele.dradi at unimi.it Tue Jan 16 00:29:18 2024 From: michele.dradi at unimi.it (Michele Dradi) Date: Mon, 15 Jan 2024 23:29:18 +0000 Subject: [CLN-list] R: Issue about CLN installation In-Reply-To: <923f41cb-a180-4003-a8d2-e3defab3c6ea@in.terlu.de> References: <923f41cb-a180-4003-a8d2-e3defab3c6ea@in.terlu.de> Message-ID: 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: 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: 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 per conto di Richard B. Kreckel Inviato: luned? 15 gennaio 2024 21:21 A: 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 > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From michele.dradi at unimi.it Tue Jan 16 00:34:55 2024 From: michele.dradi at unimi.it (Michele Dradi) Date: Mon, 15 Jan 2024 23:34:55 +0000 Subject: [CLN-list] R: Issue about CLN installation In-Reply-To: References: <923f41cb-a180-4003-a8d2-e3defab3c6ea@in.terlu.de> Message-ID: 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 Inviato: marted? 16 gennaio 2024 00:29 A: CLN discussion list 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: 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: 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 per conto di Richard B. Kreckel Inviato: luned? 15 gennaio 2024 21:21 A: 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 > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: