|Summary:||bootstrap-prefix.txt fails on comilation of portage/app-editors/nano-2.3.1-r2|
|Component:||Prefix Support||Assignee:||Gentoo Prefix <prefix>|
|Package list:||Runtime testing required:||---|
Description Jake 2012-09-14 16:38:19 UTC
Created attachment 323784 [details] log file bootstrap-prefix.txt fails with error color.c:31:19: error: magic.h: No such file or directory The fix should be easy, the include and link directories just need to be updated. The makefile doesn't specify the includes correctly because magic.h is in $prefix/usr/include/ if I fix this by hand it further wants to link to the magic library, so the linking must be corrected as well with -L$prefix/usr/lib If i fix both of those correctly I can compile nano-2.3.1 by hand, but bootstrap-prefix.txt still tries to recompile it using the original (broken) makefiles
Comment 1 Fabian Groffen 2012-09-29 12:49:57 UTC
It seems your flags are missing. Did you run the interactive installer?
Comment 2 Jake 2012-10-01 14:08:25 UTC
I eventually got it to work by setting environment variables CFLAGS and LDFLAGS and running the bootstrapper in manual mode. I originally had done bootstrapping in automatic (interactive?) mode. I don't think the directions specify setting any flags or environment variables.