Error building math/sage

Michael Gass mgass at csbsju.edu
Fri Jun 7 00:55:21 UTC 2013


On Thu, Jun 06, 2013 at 09:41:46AM -0500, Michael Gass wrote:
> Trying to build math/sage-5.9_1 from ports.  Everything builds
> except sage itself.  
> 
> Here is the system info.
> 
> FreeBSD dc7800.home.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r251294: Mon Jun  3 17:52:11 CDT 2013     root@:/usr/obj/usr/src/sys/HP20130603  amd64
> 
> Here is /etc/make.conf
> 
> CPUTYPE?=core2
> WITH_PKGNG=yes
> # added by use.perl 2013-06-03 21:30:08
> PERL_VERSION=5.14.2
> TEX_DEFAULT=texlive
> 
> Here is output from the build (sorry for any control chars in script).
> Error is around 120 lines down.
> 
> port_dbdir=/var/db/ports

..............removed lines..............................

> use_pkgng=yes
> ***********************************************
> make: illegal option -- -
> usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable]
> 	[-d flags] [-E variable] [-f makefile] [-I directory]
> 	[-j max_jobs] [-m directory] [-V variable]
> 	[variable=value] [target ...]
> 
> real	0m0.001s
> user	0m0.000s
> sys	0m0.001s
> ***************************************************************
> Error building Sage.
> 
> The following package(s) may have failed to build:
> tail: /usr/ports/math/sage/work/sage-5.9/logs/pkgs/*.log: No such file or directory
> 
> The build directory may contain configuration files and other potentially
> helpful information. WARNING: if you now run 'make' again, the build
> directory will, by default, be deleted. Set the environment variable
> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
> 
> gmake: *** [build] Error 1
> *** [do-build] Error code 1
> 
> Stop in /usr/ports/math/sage.
> *** [build] Error code 1
> 
> Any suggestions?
> 
> 

Got it to install.  Kept getting the above problem when usning portmaster.
So I did a make clean in the sage directory and then make install clean.
That did it.

Mike Gass



More information about the freebsd-questions mailing list