Opened 15 years ago

Closed 15 years ago

#22821 closed defect (invalid)

perl5.8 build failure on Snow Leopard: Makefile not found

Reported by: macports@… Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: perl5.8

Description

Cleaned port installation, trying to install git-core, I get stuck on perl5.8.

$ sudo port install perl5.8
--->  Computing dependencies for perl5.8
--->  Building perl5.8
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9" && /usr/bin/make -j2 all " returned error 2
Command output: including MY_CXT
including format
including SvREFCNT
including newSVpv
including SvPV
including Sv_set
including sv_xpvf
including shared_pv
including warn
including pvs
including magic
including cop
including grok
including snprintf
including exception
including strlfuncs
running /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/work/perl-5.8.9/miniperl -I../../../lib ppport_h.PL
ppport.h in ext/IPC/SysV is up-to-date
ppport.h in ext/Time/HiRes is up-to-date
ppport.h in ext/Win32API/File is up-to-date
removing temporary file PPPort.pm
removing temporary file ppport.h


        Making B (dynamic)
        Making ByteLoader (dynamic)
make[2]: Makefile: No such file or directory
make[2]: *** No rule to make target `Makefile'.  Stop.
make[1]: *** [subdirs] Error 2
make: *** [lib/auto/B/B.bundle] Error 2

Error: Status 1 encountered during processing.

Maybe relevant:

jstaa1sthomas:~ spencerthomas$ port installed
The following ports are currently installed:
  bash-completion @1.1_2 (active)
  curl @7.19.7_0+doc (active)
  expat @2.0.1_0 (active)
  gperf @3.0.4_0 (active)
  libiconv @1.13_0 (active)
  openssl @0.9.8l_0+darwin (active)
  pkgconfig @0.23_1 (active)
  zlib @1.2.3_3 (active)

Mac OS X 10.6.2 XCode 3.2.1

Attachments (1)

port-log.txt (60.6 KB) - added by macports@… 15 years ago.
output of sudo port clean perl5.8 && sudo port -d install perl5.8

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ricci@…
Port: perl5 removed

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Attach the full output of

sudo port clean perl5.8 && sudo port -d install perl5.8

Changed 15 years ago by macports@…

Attachment: port-log.txt added

output of sudo port clean perl5.8 && sudo port -d install perl5.8

comment:3 Changed 15 years ago by macports@…

I found a solution to this. It might be OK to close the ticket.

The machine on which I was having trouble had been upgraded to 10.6 from 10.5. I also upgraded the XCode installation. I believe that I did not uninstall MacPorts, but I did uninstall all the installed ports. I might have reinstalled MacPorts over top of the existing installation.

Today, I uninstalled MacPorts using this procedure: http://guide.macports.org/#installing.macports.uninstalling and then uninstalled XCode using this procedure: http://macdevelopertips.com/xcode/how-to-uninstall-xcode.html

I then installed XCode (and updated it), then installed the latest MacPorts using the installer.

Perl now installs successfully.

comment:4 Changed 15 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.