Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #31983] Configure.pl and c++ compiler detection bug

1 view
Skip to first unread message

Sridhar

unread,
Oct 14, 2004, 10:44:11 AM10/14/04
to bugs-bi...@rt.perl.org
# New Ticket Created by Sridhar
# Please include the string: [perl #31983]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31983 >


System: Debian GNU/Linux (unstable).

I have g++-3.3 in /usr/bin. But running

perl Configure.pl --cxx=/usr/bin/g++-3.3

doesn't work even .. it says

Checking MANIFEST.....................................................done.
Setting up Configure's data structures................................done.
Tweaking settings for miniparrot......................................done.
Loading platform and local hints files................................done.
Determining nongenerated header files.................................done.
Determining what C compiler and linker to use.........................done.
Determining if your C compiler is actually
gcc........................Linker failed (see test.ldo) at
lib/Parrot/Configure/Step.pm line 336
Parrot::Configure::Step::cc_build() called at
config/auto/gcc.pl line 31 Configure::Step::runstep('undef',
'undef') called at lib/Parrot/Configure/RunSteps.pm line 111
Parrot::Configure::RunSteps::runsteps('Parrot::Configure::RunSteps',
'debugging', 1) called at Configure.pl line 405
sri@infinity:/space/one/tmp/parrot-0.1.1$

And test.ldo contains "Can't exec "c++": No such file or directory at
lib/Parrot/Configure/Step.pm line 279."

Finally I symlinked g++-3.3 to c++ to get rid of this error.

--
Sridhar R - http://cs.annauniv.edu/~rsridhar
Blog: http://www.livejournal.com/~sridharinfinity

Jens Rieks

unread,
Oct 14, 2004, 3:41:47 PM10/14/04
to perl6-i...@perl.org
On Thursday 14 October 2004 16:44, Sridhar wrote:
> Finally I symlinked g++-3.3 to c++ to get rid of this error.
c++ is the default linker. It should work if you specify --link=g++-3.3

jens

0 new messages