[GAP Forum] GAP 4.11.0, macOS 10.15.7, Several packages not building

Russ Woodroofe rsw9 at cornell.edu
Wed Dec 9 20:40:52 GMT 2020



Dear all,
We troubleshot this off-list.  The problem turned out to be with the oh-my-zsh addon for zsh, which apparently breaks gap. 

It might be worthwhile to document this conflict somewhere in the install documentation for GAP, as it looks like it'll be a problem for anyone using zsh with this add-on.  
Best,

  --Russ

> On 9 Dec 2020, at 17:06, Murray Eisenberg <murray at math.umass.edu> wrote:
> 
> I removed the folder where I had installed gap (in ~/Downloads) and installed your pre-built copy Gapdotapp+GAP.
> 
> However, when I open Terminal and execute command 
> 
> 	gap
> 
> nothing seems to happen.
> 
> What’s wrong?
> 
>> On 9 Dec2020, at 2:28 AM, Russ Woodroofe <rsw9 at cornell.edu> wrote:
>> 
>> 
>> 
>> Dear Murray,
>> Different underlying causes.  Guava I understand has not been updated for some time, and is fragile with modern compilers and libraries.  Xgap requires X11 libraries.  CddInterface and NormalizInterface seem (to me) to be tricky to build, with quite a few requirements etc.  Not sure offhand about anupq or semigroups.
>> 
>> Are you likely to need any of the given packages?  If not, I wouldn't worry about it.
>> 
>> You might also be interested in my distribution/frontend Gap.app, which includes a pre-built copy of GAP 4.11.0, along with most of the packages, including semigroups, guava, and anupq.  (The included copy doesn't yet run on M1-based machines, however.)  See
>> https://cocoagap.sourceforge.io/
>> 
>> But it sounds like you already have managed a functioning GAP installation, if you're down to building packages.
>> Best,
>> 
>>  --Russ
>> 
>>> On 9 Dec 2020, at 02:52, Murray Eisenberg <murray at math.umass.edu> wrote:
>>> 
>>> I’m trying to get GAP 4.11.0 installed uner macOS Catalina 10.15.7 but am getting several packages seeming to complete their configuration OK but then failing to build:
>>> 
>>> CddInterface-2020.01.01
>>> xgap-4.30
>>> semigroups-3.2.3
>>> NormalizInterface-1.1.0
>>> guava-3.15
>>> anupq-3.2.1
>>> 
>>> The errors seem to be for different reasons among the various packages. 
>>> 
>>> Is there some systematic, common problem here, rather than different underlying causes for the different packages?
>>> 
>>> Examples of the build errors:
>>> 
>>> CddInterface-2020.01.01
>>> 
>>> 	  CC       src/CddInterface_la-CddInterface.lo
>>> 	src/CddInterface.c:7:10: fatal error: setoper.h: No such file or directory
>>> 	    7 | #include "setoper.h"
>>> 	      |          ^~~~~~~~~~~
>>> 
>>> 
>>> xgap-4.30: 
>>> 
>>> 	gcc -I. -g -O2   -o xcmds.o -c ../../src.x11/xcmds.c
>>> 	In file included from ../../src.x11/xcmds.c:9:
>>> 	../../src.x11/utils.h:130:13: fatal error: X11/X.h: No such file or directory
>>> 	130 | #include    <X11/X.h>                   /* X11 basic definition            */
>>> 	      |             ^~~~~~~~~
>>> 
>>> 
>>> semigroups-3.2.2: 
>>> 
>>> 	 363 |   format_arg arg(int id) const { return args_.get(id); }
>>> 	      |                  ~~~~^~
>>> 	In file included from /opt/local/include/fmt/ostream.h:12,
>>> 	                 from /opt/local/include/fmt/printf.h:14,
>>> 	                 from /Users/me/Downloads/gap-4.11.0/pkg/semigroups-3.2.3/libsemigroups/include/libsemigroups-exception.hpp:32,
>>> 	                 from /Users/me/Downloads/gap-4.11.0/pkg/semigroups-3.2.3/libsemigroups/include/runner.hpp:31,
>>> 	                 from /Users/me/Downloads/gap-4.11.0/pkg/semigroups-3.2.3/libsemigroups/include/fpsemi-intf.hpp:40,
>>> 	                 from /Users/me/Downloads/gap-4.11.0/pkg/semigroups-3.2.3/libsemigroups/include/cong-intf.hpp:29,
>>> 	                 from /Users/me/Downloads/gap-4.11.0/pkg/semigroups-3.2.3/libsemigroups/include/cong-pair.hpp:77,
>>> 	                 from src/cong-pair.cpp:19:
>>> 	/opt/local/include/fmt/format.h:2721:53: error: 'class fmt::v6::basic_printf_context<std::back_insert_iterator<fmt::v6::internal::buffer<char> >, char>' has no member named 'error_handler'
>>> 	 2721 |                                                 ctx.error_handler());
>>> 	      |                                                 ~~~~^~~~~~~~~~~~~
>>> 
>>> ——
>>> Murray Eisenberg                                murray at math.umass.edu <mailto:murray at math.umass.edu>
>>> Professor Emeritus
>>> Mathematics & Statistics Dept.       
>>> University of Massachusetts 
>>> Amherst, MA USA
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Forum mailing list
>>> Forum at gap-system.org
>>> https://mail.gap-system.org/mailman/listinfo/forum
> 
> ——
> Murray Eisenberg                                murray at math.umass.edu
> Professor Emeritus
> Mathematics & Statistics Dept.       
> University of Massachusetts 
> Amherst, MA USA
> 
> 
> 
> 
> 




More information about the Forum mailing list