Hi, I got this from the "report a problem" report. Source code fails to compile
Machine: Linux fedora 12 kernel 2.6.31.6-166.fc12.x86_64 GCC: gcc and g++ version 4.4.2 are later than the minimum Unpack source code, cd to directory and enter make; sage: An error occurred while installing gap-4.4.10.p12 (see below for details). Solution to problem was to edit this makefile (line 13, col 20): ~/sage-4.2.1/spkg/build/gap-4.4.10.p12/src/pkg/guava3.4/Makefile: Substitute: "make -f ../../Makefile all2 CC="$(CC)" CFLAGS="$(CFLAGS)"; \" with "$(MAKE) -f ../Makefile all2 CC="$(CC)" CFLAGS="$(CFLAGS)"; \" ---- make[2]: Entering directory `/home/banksl/sage-4.2.1/spkg/build/gap-4.4.10.p12/src/pkg/guava3.4' ( test -d bin || mkdir bin; \ test -d bin/ || mkdir bin/; cd bin/; \ make -f ../../Makefile all2 CC="gcc" CFLAGS="-O2"; \ cd ../../src/leon/src/../; ./configure; make; mkdir ../../bin/leon; \ cp cent ../../bin/leon; cp cjrndper ../../bin/leon; \ cp commut ../../bin/leon; cp compgrp ../../bin/leon; \ cp desauto ../../bin/leon; cp fndelt ../../bin/leon; \ cp generate ../../bin/leon; cp inter ../../bin/leon; \ cp orbdes ../../bin/leon; cp orblist ../../bin/leon; \ cp randobj ../../bin/leon; cp setstab ../../bin/leon; \ cp wtdist ../../bin/leon; cp src/*.sh ../../bin/leon; \ cp wtdist ../../bin; cp desauto ../../bin \ cp wtdist ../../bin/; cp desauto ../../bin/ \ ) make[3]: Entering directory `/home/banksl/sage-4.2.1/spkg/build/gap-4.4.10.p12/src/pkg/guava3.4/bin' make[3]: ../../Makefile: No such file or directory make[3]: *** No rule to make target `../../Makefile'. Stop. make[3]: Leaving directory `/home/banksl/sage-4.2.1/spkg/build/gap-4.4.10.p12/src/pkg/guava3.4/bin' /bin/sh: line 3: cd: ../../src/leon/src/../: No such file or directory /bin/sh: line 3: ./configure: No such file or directory make[3]: Entering directory `/home/banksl/sage-4.2.1/spkg/build/gap-4.4.10.p12/src/pkg/guava3.4/bin' make[3]: *** No targets specified and no makefile found. Stop. make[3]: Leaving directory `/home/banksl/sage-4.2.1/spkg/build/gap-4.4.10.p12/src/pkg/guava3.4/bin' mkdir: cannot create directory `../../bin/leon': No such file or directory cp: cannot stat `cent': No such file or directory cp: cannot stat `cjrndper': No such file or directory cp: cannot stat `commut': No such file or directory cp: cannot stat `compgrp': No such file or directory cp: cannot stat `desauto': No such file or directory cp: cannot stat `fndelt': No such file or directory cp: cannot stat `generate': No such file or directory cp: cannot stat `inter': No such file or directory cp: cannot stat `orbdes': No such file or directory cp: cannot stat `orblist': No such file or directory cp: cannot stat `randobj': No such file or directory cp: cannot stat `setstab': No such file or directory cp: cannot stat `wtdist': No such file or directory cp: cannot stat `src/*.sh': No such file or directory cp: cannot stat `wtdist': No such file or directory cp: target `../../bin/' is not a directory cp: cannot stat `desauto': No such file or directory make[2]: *** [all] Error 1 make[2]: Leaving directory `/home/banksl/sage-4.2.1/spkg/build/gap-4.4.10.p12/src/pkg/guava3.4' Error building Guava real 1m27.333s user 0m20.415s sys 0m27.367s sage: An error occurred while installing gap-4.4.10.p12 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /home/banksl/sage-4.2.1/install.log. Describe your computer, operating system, etc. -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
