Ticket #28061 (closed defect: worksforme)
p5-pango: Can't locate Glib.pm in @INC
| Reported by: | JensErikWeber@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | Cc: | ||
| Port: | p5-pango p5-glib |
Description
Hello, again another problem with a p5-… package: I tried to upgrade, and got the following problem:
---> Building p5-pango
DEBUG: build phase started at Thu Jan 20 14:22:20 CET 2011
DEBUG: Executing org.macports.build (p5-pango)
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pango/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pango/work/Pango-1.221" && /usr/bin/make all'
make: *** No rule to make target `all'. Stop.
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pango/work/Pango-1.221" && /usr/bin/make all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for p5-pango): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for p5-pango is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pango/main.log
Error: Status 1 encountered during processing.
I tried port -f uninstall and clean, but it's still the same. Also p5-gtk2 can't be installed because of that.
I'm on OS X 10.5.8 PPC.
Attachments
Change History
comment:1 Changed 2 years ago by jmr@…
- Owner changed from macports-tickets@… to ryandesign@…
- Port set to p5-pango
comment:2 Changed 2 years ago by ryandesign@…
p5-pango installs fine for me. Please run "sudo port clean p5-pango", "sudo port selfupdate" and "port outdated", then "sudo port upgrade" any ports shown as outdated. Once you get to p5-pango, if it fails again, please attach the main.log, whose location is printed in the error message.
comment:3 Changed 2 years ago by ryandesign@…
- Summary changed from p5-pango: make: *** No rule to make target `all'. Stop. to p5-pango: Can't locate Glib.pm in @INC
Ok, so the interesting part of the log is:
Pre-requisites not found: Can't locate Glib.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.12.2/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.12.2 /opt/local/lib/perl5/vendor_perl/5.12.2/darwin-multi-2level /opt/local/lib/perl5/vendor_perl/5.12.2 /opt/local/lib/perl5/5.12.2/darwin-multi-2level /opt/local/lib/perl5/5.12.2 /opt/local/lib/perl5/site_perl/5.12.1/darwin-multi-2level /opt/local/lib/perl5/site_perl/5.12.1 /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl .) at (eval 11) line 1.
So I wonder why it can't find Glib.pm. It should have been provided by p5-glib, which is a dependency of p5-pango. Is p5-glib installed and active? What does it contain? ("port contents p5-glib")
Are you using perl5.12? I see 5.12.2 in your @INC paths. I've never tested that; I've only used perl5.8.


Please remember to fill in the Port field and cc the maintainer.