Anyone encountering this thread in the future: The issue was discussed and resolved to some degree of satisfaction here: https://github.com/JuliaLang/julia/issues/6216
This issue is with PCRE's build process, and was avoided by using the system PCRE. On Wednesday, March 19, 2014 12:32:42 PM UTC-5, Andrew Dabrowski wrote: > > I'm trying to build the latest git pull on gentoo amd64 with gcc-4.7.3-t1 > installed. Unfortunately make seems to think I have gcc-4.5.4. > > $ make > CXXLD libpcrecpp.la > g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/crti. > o: No such file or directory > g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/crtbeginS.o: No such > file or directory > g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/crtendS.o: No such > file or directory > g++: error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.4/../../../../lib64/crtn. > o: No such file or directory > make[4]: *** [libpcrecpp.la] Error 1 > make[3]: *** [check] Error 2 > make[2]: *** [pcre-8.31/checked] Error 2 > make[1]: *** [julia-release] Error 2 > make: *** [release] Error 2 > > Seems like there should be an easy way to correct this, but: I'm not a > real programmer and I don't see anything obvious in Makefile or Make.inc to > play with. > > I would have thought the necessary version info would be gotten from > Make.inc. > export STD_LIB_PATH := $(STD_LIB_PATH):$(shell $(CROSS_COMPILE)gcc -print- > searc\ > h-dirs | grep libraries | sed -e "s/^libraries: =//" -e "s!/lib/!/bin/!g") > > But maybe that code isn't reached. My gcc seems to work correctly. > $ gcc --print-search-dirs > install: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/ > programs: =/usr/libexec/gcc/x86_64-pc-linux-gnu/4.7.3/:/usr/libexec/gcc/ > x86_64-pc-linux-gnu/4.7.3/:/usr/libexec/gcc/x86_64-pc-linux-gnu/:/usr/lib/ > gcc/x86_64-pc-linux-gnu/4.7.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/ > gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/x86_64- > pc-linux-gnu/4.7.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../ > x86_64-pc-linux-gnu/bin/ > libraries: =/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/:/usr/lib/gcc/x86_64-pc > -linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/lib/x86_64-pc-linux-gnu/ > 4.7.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux- > gnu/lib/../lib64/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../x86_64- > pc-linux-gnu/4.7.3/:/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../ > lib64/:/lib/x86_64-pc-linux-gnu/4.7.3/:/lib/../lib64/:/usr/lib/x86_64-pc- > linux-gnu/4.7.3/:/usr/lib/../lib64/:/usr/lib/gcc/x86_64-pc<span style=" > ...
