List Info

Thread: problem with compiler version while building Wx-0.57




problem with compiler version while building Wx-0.57
user name
2006-10-21 08:53:11
Hello All,

I've made some progress building Wx-0.57, though had to
first build and install
Module-Build-0.2805, Module-Pluggable-3.1.

Here is an excerpt from build log file:

"
build.pl :INFO: executing ==> cd
/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57; wget -nv
http://search.cpan.org/src/ABERGMAN/Alien-0.91/lib/Al
ien.pm
10:40:36 URL:http://search.cpan.org/src/ABERGMAN/Alien-0.91/lib/Al
ien.pm [2581/2581] -> "Alien.pm"
[1]
build.pl :INFO: executing ==> cd
/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/Alien-wxWidg
ets-0.22;
WX_CONFIG=/maxtor5/sergei/AppsFromScratchWD/install/wxGTK-2.
6.3/bin/wx-config; export WX_CONFIG;
echo no | /usr/bin/perl5.8.7 -w -I
/maxtor5/sergei/AppsFromScratchWD/install/Module-Pluggable-3
.1/lib/perl5/site_perl/5.8.7 -I
/maxtor5/sergei/AppsFromScratchWD/install/Module-Build-0.280
5/lib/perl5/site_perl/5.8.7 -I . -I
/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57 -I
/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/Alien-wxWidg
ets-0.22/lib Build.PL --prefix
/maxtor5/sergei/AppsFromScratchWD/install/Wx-0.57

Creating custom builder
_build/lib/My/Build/new_from_context_is_broken.pm in
_build/lib/My/Build
Checking whether your kit is complete...
Looks good

Checking prerequisites...
Looks good

Do you want to build wxWidgets? [no] Creating new 'Build'
script for 'Alien-wxWidgets' version
'0.22'
build.pl :INFO: executing ==> cd
/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57;
WX_CONFIG=/maxtor5/sergei/AppsFromScratchWD/install/wxGTK-2.
6.3/bin/wx-config; export WX_CONFIG;
/usr/bin/perl5.8.7 -w -I
/maxtor5/sergei/AppsFromScratchWD/install/Module-Pluggable-3
.1/lib/perl5/site_perl/5.8.7 -I
/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/Alien-wxWidg
ets-0.22/lib Makefile.PL
--extra-cflags
"-I/maxtor5/sergei/AppsFromScratchWD/build/wxGTK-2.6.3/
contrib/include"

No matching config:
$VAR1 = {
          'compiler_version' => '3.4',
          'compiler_kind' => 'gcc'
        };
Compilation failed in require at Makefile.PL line 21.
BEGIN failed--compilation aborted at Makefile.PL line 21.
".

My compiler is gcc version 4.0.1.

How can I fix the

"
No matching config:
$VAR1 = {
          'compiler_version' => '3.4',
          'compiler_kind' => 'gcc'
        };
"

problem ?

Thanks,
  Sergei.

Applications From Scratch: http://appsfromscr
atch.berlios.de/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 

------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wxperl-users mailing list
wxperl-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxperl-use
rs
problem with compiler version while building Wx-0.57
user name
2006-10-21 18:25:12
# from Sergei Steshenko
# on Saturday 21 October 2006 01:53 am:

>No matching config:
>$VAR1 = {
>          'compiler_version' => '3.4',
>          'compiler_kind' => 'gcc'
>        };
>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 
will install multiple /usr/bin/gcc-x.x.x and makes a symlink

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 
gcc-3.4 package without disrupting anything.  Then just make
sure that 
the 'cc' and 'gcc' in your path are symlinked to that (use a
temporary 
path or whatever.)  They may already be installed.  gcc-3.3
will also 
work if you have it handy.

Wow, it took me a while to figure that out.  It might really
help if 
Alien/wxWidgets.pm told us what it found:

  Data:umper-&g
t;Dump( [ { %crit }, [$class->_list] ] );

... hours later ...

It appears that the available config version comes from g++,
while the 
requirement comes from gcc, so you'll need to set CC and CXX
to play 
nice together.

this works for me:

  export CC=/usr/bin/gcc-3.4
  export CXX=/usr/bin/g++-3.4
  perl Build.PL --nobuild_wx
  ./Build
  ./Build test

--Eric
-- 
"You can't win. You can't break even. You can't
quit."
--Ginsberg's Restatement of the Three Laws of Thermodynamics
---------------------------------------------------
    http://scratchcomputing.c
om
---------------------------------------------------


------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wxperl-users mailing list
wxperl-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxperl-use
rs
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )