PDA

View Full Version : /devel/root on FreeBSD 7.0


Slesarev
December 1st, 2008, 12:27
The port /devel/root does not compile on FreeBSD 7.0 or higher. Why is it so, and would it change somewhen?

Djn
December 1st, 2008, 13:13
Looking at freshports (http://www.freshports.org/devel/root/), it seems to be because it doesn't work with gcc4.2, which is the default compiler in 7.0 and onwards.

lyuts
December 1st, 2008, 13:47
Try adding "USE_GCC=3.3" to port's Makefile.

Slesarev
December 1st, 2008, 14:27
I have another error message:

gmake[1]: i386-unknown-freebsd7.0-ar: Command not found

lyuts
December 1st, 2008, 16:17
Let's say you have gcc34 installed on your system

1) cd /usr/ports/devel/root
2) vim Makefile

add "USE_GCC=3.4"

:wq
3) make install clean

Doesn't that work?

Slesarev
December 1st, 2008, 17:34
cint/src/gcc3strm.cxx:168: error: 'class std::fpos<__mbstate_t>' has no member named 'operator=='
cint/src/gcc3strm.cxx: In function 'int G__G__stream_5_8_0(G__value*, const char*, G__param*, int)':
cint/src/gcc3strm.cxx:173: error: 'class std::fpos<__mbstate_t>' has no member named 'operator!='
gmake: *** [cint/src/gcc3strm.o] Error 1
*** Error code 2

But it was better, than with gcc3.3...

I have no idea, why it is so. Maybe, I should deinstall gcc4.2 manually and install gcc3.4? (because, as I see, it is installed as dependency during root compilation, and I think, it is used for compilation... or have I been mistaken?)