Re: [kde-freebsd] /usr/ports/devel/cmake wont build

2009-04-21 Thread Alex
typo, adding -fpermissive to CXXFLAGS not CFLAGS cures the c++ errors Alex wrote: > Seems gcc4.4 is a little strict. > > /usr/lib/libstdc++.so.6 exists in both /usr/lib and > /usr/local/lib/gcc-4.4.0 > > However in LD_LIBRARY_PATH /usr/lib takes precedence > > Adding /usr/local/lib/gcc-4.4.0 bef

Re: [kde-freebsd] /usr/ports/devel/cmake wont build

2009-04-21 Thread Alex
Seems gcc4.4 is a little strict. /usr/lib/libstdc++.so.6 exists in both /usr/lib and /usr/local/lib/gcc-4.4.0 However in LD_LIBRARY_PATH /usr/lib takes precedence Adding /usr/local/lib/gcc-4.4.0 before /usr/lib seems to cure the error below: /libexec/ld-elf.so.1: /usr/lib/libstdc++.so.6: ver

[kde-freebsd] /usr/ports/devel/cmake wont build

2009-04-21 Thread Alex
Hi Guys, Running 7.2-PRERELEASE (7-stable)/i386. Using latest ports snapshot. I am trying to compile kde 4.2.2 from ports. Firstly some information about my build environment: CC=/usr/local/bin/gcc44 CXX=/usr/local/bin/g++44 CFLAGS=-O3 CXXFLAGS=-O3 [r...@laptop /usr/ports/devel/cmake]# $CC -v