From: Eric W. <scr...@gm...> - 2006-10-21 18:25:24
|
# from Sergei Steshenko # on Saturday 21 October 2006 01:53 am: >No matching config: >$VAR1 =3D { >=A0 =A0 =A0 =A0 =A0 'compiler_version' =3D> '3.4', >=A0 =A0 =A0 =A0 =A0 'compiler_kind' =3D> 'gcc' >=A0 =A0 =A0 =A0 }; >Compilation failed in require at Makefile.PL line 21. >BEGIN failed--compilation aborted at Makefile.PL line 21. >". I've had the same problem on debian sarge. The trouble is that debian=20 will install multiple /usr/bin/gcc-x.x.x and makes a symlink=20 from /usr/bin/gcc to one of those. >My compiler is gcc version 4.0.1. Well, your symlink points to gcc-4. You should be able to install the=20 gcc-3.4 package without disrupting anything. Then just make sure that=20 the 'cc' and 'gcc' in your path are symlinked to that (use a temporary=20 path or whatever.) They may already be installed. gcc-3.3 will also=20 work if you have it handy. Wow, it took me a while to figure that out. It might really help if=20 Alien/wxWidgets.pm told us what it found: Data::Dumper->Dump( [ { %crit }, [$class->_list] ] ); =2E.. hours later ... It appears that the available config version comes from g++, while the=20 requirement comes from gcc, so you'll need to set CC and CXX to play=20 nice together. this works for me: export CC=3D/usr/bin/gcc-3.4 export CXX=3D/usr/bin/g++-3.4 perl Build.PL --nobuild_wx ./Build ./Build test =2D-Eric =2D-=20 "You can't win. You can't break even. You can't quit." =2D-Ginsberg's Restatement of the Three Laws of Thermodynamics =2D-------------------------------------------------- http://scratchcomputing.com =2D-------------------------------------------------- |