math/R vs. devel/pcre
bf1783 at googlemail.com
Wed Feb 15 19:49:45 UTC 2012
> I had a problem rebuilding math/R this morning after updating
> devel/pcre; I'm wondering if there's something obvious (to folks
> other than me) that I did incorrectly.
>gcc46 -std=gnu99 -export-dynamic -fopenmp -Wl,-rpath=/usr/local/lib/gcc46 -o R.bin > Rmain.o -L../../lib -lR -lRblas
> ../../lib/libR.so: undefined reference to `_pcre_valid_utf8'
> collect2: ld returned 1 exit status
> *** Error code 1
I can reproduce this without portmaster. The pcre ABI changed with
pcre 8.30, and R may need to be patched in order to use it -- or there
may be a problem with the pcre port. I will look into this. In the
meantime, you will probably be able to build R by selecting
WITHOUT_PCRE_PORT, so that the version of pcre that is bundled with R
is used, rather than devel/pcre.
Thank you for reporting the problem. However, in the future, if you
believe there is a problem with R, please send a message directly to
me (the port maintainer, bf at FreeBSD.org), so that I will see it
More information about the freebsd-ports