Opened 13 years ago

Last modified 8 years ago

#28839 closed defect

perl5.12 won't compile with Xcode 4 — at Version 5

Reported by: christopher.hearn@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: perl5.12

Description (last modified by mf2k (Frank Schima))

After upgrading to Xcode4, perl5.12 won't compile:

$ sudo port -v upgrade outdated
--->  Configuring perl5.12
First let's make sure your kit is complete.  Checking...
Would you like to see the instructions? [n]
........
Install any extra modules (y or n)? [n]  
Directory for the main Perl5 html pages? (~name ok) [none]  
Directory for the Perl5 module html pages? (~name ok) [none]  
Do you want to install perl as /usr/bin/perl? [n]  
Checking for GNU C Library...
Shall I use /usr/bin/nm to extract C symbols from the libraries? [y]  
I can't seem to find your C library.  I've looked in the following places:

............

And it hangs at that point.

Change History (6)

comment:1 Changed 13 years ago by Veence (Vincent)

The portfile for Perl5 should have this configure.post_args added : -Dusenm=n

If you can, try to add it manually, it should work.

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 in reply to:  1 Changed 13 years ago by christopher.hearn@…

Replying to vince@…:

The portfile for Perl5 should have this configure.post_args added : -Dusenm=n

If you can, try to add it manually, it should work.

That helps, I get further, but now:

:msg:configure --->  Building perl5.12
:debug:build build phase started at Sat Mar 19 12:35:29 EDT 2011
:debug:build Executing org.macports.build (perl5.12)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.12/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.12/work/perl-5.12.3" && /usr/bin/make -j8 all'
:info:build make: *** No rule to make target `all'.  Stop.
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.12/work/perl-5.12.3" && /usr/bin/make -j8 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for perl5.12): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for perl5.12 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.12/main.log
Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 13 years ago by Veence (Vincent)

Ah, strange, it built all right for me. Looks like there still is a problem in the configuration phase. Can you clean, try to rebuild and send the whole log? Thanks.

Changed 13 years ago by christopher.hearn@…

Attachment: main.log added

build error log

comment:4 in reply to:  3 Changed 13 years ago by christopher.hearn@…

Replying to vince@…:

Ah, strange, it built all right for me. Looks like there still is a problem in the configuration phase. Can you clean, try to rebuild and send the whole log? Thanks.

Log file attached.

comment:5 Changed 13 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: perl5.12 removed
Note: See TracTickets for help on using tickets.