Ticket #1714 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

in OSX snow leopard, Configure.pl stops on step#29 auto::va_ptr

Reported by: sng2nara Owned by:
Priority: normal Milestone:
Component: configure Version: 2.5.0
Severity: medium Keywords:
Cc: jkeenan Language:
Patch status: Platform: darwin

Description (last modified by jkeenan) (diff)

Report failure of Configure.pl on Mac OS X SnowLeopard at auto::va_ptr. Configuration attempted first with ActivePerl.

Attachments

conf_on_osx Download (2.6 KB) - added by sng2nara 4 years ago.

Change History

Changed 4 years ago by sng2nara

  Changed 4 years ago by jkeenan

  • cc jkeenan added
  • platform set to darwin
  • component changed from none to configure
  • description modified (diff)

1. Please try to configure with the vendor perl executable, which is probably /usr/bin/perl. I ask this because I doubt we have ever had someone try to build Parrot on OS X by using ActivePerl.

2. When you do so, please call:

perl Configure.pl --test --configure_trace --verbose-step=auto::va_ptr

Then post the entire output as an attachment.

Thank you very much. kid51

follow-up: ↓ 4   Changed 4 years ago by jkeenan

The part of your attachment beginning with this line:

  Summary of my parrot 2.6.0 (r0) configuration

... and below appears to be from the file ./myconfig. But that file is not created until configuration is complete (or in one of the very last configuration steps).

If your configuration got that far, then by definition it got through config step auto::va_ptr. So I'm confused.

I will say that, in your attachment, the fact that ccflags does not have an entry of -DVA_TYPE_STACK or -DVA_TYPE_REGISTER is probably correlated with your problem.

kid51

  Changed 4 years ago by jkeenan

For reference: The terminology VA_TYPE_STACK and VA_TYPE_REGISTER was originally suggested by ... me! (Much to my surprise!)

But that's because we encountered some problems here nearly three years ago:  RT #47313

in reply to: ↑ 2   Changed 4 years ago by jkeenan

Replying to jkeenan:

I will say that, in your attachment, the fact that ccflags does not have an entry of -DVA_TYPE_STACK or -DVA_TYPE_REGISTER is probably correlated with your problem.

That part of my post is probably wrong. -DVA_TYPE_STACK or -DVA_TYPE_REGISTER appears in the verbose output of config step auto::va_ptr. But it doesn't make it into myconfig.

However, if you did get as far as myconfig, you should also have lib/Parrot/Config/Generated.pm available. In that file's %PConfig, what do you have for va_ptr_type?

(This is what I have on Darwin/PPC: 'va_ptr_type' => 'stack',)

kid51

  Changed 4 years ago by sng2nara

Thanks for everybody!!

I found what is problem!! C_INCLUDE_PATH was missed. ;-)

To solve, Add following to .profile.

export C_INCLUDE_PATH="/usr/lib/gcc/i686-apple-darwin10/4.2.1/include"

  Changed 4 years ago by jkeenan

  • status changed from new to closed
  • resolution set to fixed

Problem resolved by user. Closing ticket.

Note: See TracTickets for help on using tickets.