Re: selfupdate failure
Thanks. That seems to have done the trick. On Aug 6, 2012, at 7:58 PM, Ryan Schmidt wrote: On Aug 6, 2012, at 20:45, G R Lewis groble...@mac.com wrote: The Terminal session says it all… (Error message near the bottom. OS 10.7.4 with XCode 4.4 installed.) [snip] checking for xcode-select... /usr/bin/xcode-select checking Mac OS X version... 10.7.4 checking Xcode location... /Developer checking Xcode version… 3.2.6 Something doesn't match up here. Something still thinks you have Xcode 3.2.6. /Developer is where Xcode stuff was located with Xcode 3.2.6 but not with 4.4. Sounds like you need to follow Apple's instructions for completely uninstalling Xcode 3.2.6. It's near the end of the About Xcode PDF. I can't find an Apple link for that but it's this: http://groups.ascd.org/resource/documents/122959-AboutXcode.pdf Then install the new Xcode's command line tools, use xcode-select to select the new Xcode, and accept the new Xcode's license agreement: https://trac.macports.org/wiki/ProblemHotlist#xcode43 ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Error installing ncurses (haven't updated in a LONG time)
Thank you! I see this is probably going to be an iterative process to get everything back in sync. Uninstalling ncursesw allowed the upgrade process to go farther than before, but now there seems to be a problem with Perl 5: First this: --- Computing dependencies for perl5.12 --- Fetching archive for perl5.12 --- Attempting to fetch perl5.12-5.12.4_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/perl5.12 --- Attempting to fetch perl5.12-5.12.4_1.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/perl5.12 --- Installing perl5.12 @5.12.4_1 --- Activating perl5.12 @5.12.4_1 --- Cleaning perl5.12 --- Computing dependencies for perl5 --- Fetching archive for perl5 --- Attempting to fetch perl5-5.12.4_0+perl5_12.darwin_11.noarch.tbz2 from http://packages.macports.org/perl5 --- Attempting to fetch perl5-5.12.4_0+perl5_12.darwin_11.noarch.tbz2.rmd160 from http://packages.macports.org/perl5 --- Installing perl5 @5.12.4_0+perl5_12 --- Cleaning perl5 --- Computing dependencies for perl5 --- Deactivating perl5 @5.8.9_0 --- Activating perl5 @5.12.4_0+perl5_12 Error: org.macports.activate for port perl5 returned: Image error: /opt/local/bin/a2p is being used by the active perl5.8 port. Please deactivate this port first, or use 'port -f activate perl5' to force the activation. Please see the log file for port perl5 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5/perl5/main.log And down a bit further: Computing dependencies for autoconf --- Dependencies to be installed: perl5 --- Activating perl5 @5.12.4_0+perl5_12 Error: org.macports.activate for port perl5 returned: Image error: /opt/local/bin/a2p is being used by the active perl5.8 port. Please deactivate this port first, or use 'port -f activate perl5' to force the activation. Error: Failed to install perl5 Please see the log file for port perl5 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5/perl5/main.log Error: The following dependencies were not installed: perl5 Error: Unable to upgrade port: 1 And, a question: doesn't Mac OS X already include Perl? Again, thanks for helping. On Sep 3, 2012, at 7:38 PM, Ryan Schmidt wrote: On Sep 3, 2012, at 21:24, G R Lewis wrote: After not using mac ports for a long time I'm trying to catch up. I got through the phase of switching to the new Xcode.app and doing a selfupdate, but now this happens: $ sudo port upgrade outdated --- Computing dependencies for gettext --- Dependencies to be installed: ncurses --- Activating ncurses @5.9_1 Error: org.macports.activate for port ncurses returned: Image error: /opt/local/bin/captoinfo is being used by the active ncursesw port. Please deactivate this port first, or use 'port -f activate ncurses' to force the activation. Error: Failed to install ncurses Please see the log file for port ncurses for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/main.log Error: The following dependencies were not installed: ncurses Error: Unable to upgrade port: 1 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Any tips on what to do? TIA. Looks like you have not updated your MacPorts in a long time. ncursesw was replaced by ncurses 18 months ago. We try to keep upgrade paths in place for a year, but beyond that time, you may run into issues upgrading. Please selfupdate and upgrade your outdated ports at least yearly. The solution in this case is to force the uninstallation of the now-unnecessary ncursesw port: sudo port -f uninstall ncursesw ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Re: Error installing ncurses (haven't updated in a LONG time)
Right. Here's the next error (which might even be the last one): --- Computing dependencies for ImageMagick --- Configuring ImageMagick Error: org.macports.configure for port ImageMagick returned: configure failure: command execution failed Please see the log file for port ImageMagick for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/ImageMagick/main.log Error: Unable to upgrade port: 1 Also: do you know anything about mcryptlib? My phpMyAdmin always complains that it isn't installed but it shows up on my list. Thanks so much for the help. On Sep 3, 2012, at 8:19 PM, Ryan Schmidt wrote: On Sep 3, 2012, at 21:50, G R Lewis wrote: --- Activating perl5 @5.12.4_0+perl5_12 Error: org.macports.activate for port perl5 returned: Image error: /opt/local/bin/a2p is being used by the active perl5.8 port. Please deactivate this port first, or use 'port -f activate perl5' to force the activation. Deactivate the perl5.8 port: sudo port -f deactivate perl5.8 Then the upgrade should proceed normally (until the next error). ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
More on ImageMagick upgrade failure
from the log (note the No such file or directory near the top): :info:configure sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.7.9-0: No such file or directory :info:configure Command failed: cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/ImageMagick/work/ImageMagick-6.7.9-0 ./configure --prefix=/opt/local --enable-shared --enable-static --disable-ltdl-install --with-frozenpaths --without-openexr --disable-hdri --with-dps --with-bzlib --with-fontconfig --with-gslib --with-jpeg --with-lcms --with-png --with-tiff --with-webp --with-zlib --with-modules --with-xml --with-x --without-perl --without-fpx --without-jbig --without-jp2 --without-wmf --without-gvc --without-rsvg --without-lqr --without-pango --with-gs-font-dir=/opt/local/share/fonts/urw-fonts --with-quantum-depth=16 :info:configure Exit code: 1 :error:configure org.macports.configure for port ImageMagick returned: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed while executing $procedure $targetname :info:configure Warning: targets not executed for ImageMagick: org.macports.install org.macports.configure org.macports.build org.macports.destroot :notice:configure Please see the log file for port ImageMagick for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_ImageMagick/ImageMagick/main.log ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
mcrypt and PHP
Current versions of: Mac OS: 10.7.4 PHP: 5.3.10 (pretty sure it came with the OS) phpMyAdmin: 3.5.0 The front page of phpMyAdmin has a warning in red: The mcrypt extension is missing. Please check your PHP configuration. I've seen some instructions that involve (I think) recompiling PHP with the extension but I'm hoping that's not necessary. On Sep 3, 2012, at 9:53 PM, Ryan Schmidt wrote: On Sep 3, 2012, at 23:33, G R Lewis wrote: Also: do you know anything about mcryptlib? My phpMyAdmin always complains that it isn't installed but it shows up on my list. What I know about mcryptlib is that we have a port for it (called libmcrypt), and ports for the PHP interface to that library (php5-mcrypt, php53-mcrypt, php54-mcrypt), and that the phpmyadmin port declares a dependency on the appropriate PHP interface port. Which version of PHP (specifically which PHP port) are you running in your web server? Which variant of the phpmyadmin port is installed? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
Duplicate and triplicate installs?
OK, I've upgraded everything that was outdated--no more errors. But when I list the installed ports, most of them show 2 or 3 copies, like this: $ port list installed autoconf @2.69 devel/autoconf autoconf @2.69 devel/autoconf automake @1.12.3 devel/automake automake @1.12.3 devel/automake bzip2 @1.0.6 archivers/bzip2 bzip2 @1.0.6 archivers/bzip2 db46 @4.6.21 databases/db46 expat @2.1.0 textproc/expat expat @2.1.0 textproc/expat fftw-3 @3.3.2 math/fftw-3 fontconfig @2.9.0 graphics/fontconfig fontconfig @2.9.0 graphics/fontconfig freetype @2.4.10 print/freetype freetype @2.4.10 print/freetype freetype @2.4.10 print/freetype gdbm @1.10 databases/gdbm gettext@0.18.1.1 devel/gettext gettext@0.18.1.1 devel/gettext ghostscript@9.05 print/ghostscript glib2 @2.32.4 devel/glib2 gperf @3.0.4 devel/gperf gperf @3.0.4 devel/gperf help2man @1.40.10textproc/help2man help2man @1.40.10textproc/help2man ImageMagick@6.7.9-0graphics/ImageMagick ImageMagick@6.7.9-0graphics/ImageMagick ImageMagick@6.7.9-0graphics/ImageMagick jbig2dec @0.11 graphics/jbig2dec jpeg @8d graphics/jpeg jpeg @8d graphics/jpeg jpeg @8d graphics/jpeg lcms @1.19 graphics/lcms lcms2 @2.3graphics/lcms2 libedit@20120601-3.0 devel/libedit libffi @3.0.11 devel/libffi libiconv @1.14 textproc/libiconv libiconv @1.14 textproc/libiconv libiconv @1.14 textproc/libiconv libidn @1.25 mail/libidn libmcrypt @2.5.8 devel/libmcrypt libpaper @1.1.24 print/libpaper libpng @1.5.12 graphics/libpng libpng @1.5.12 graphics/libpng libpng @1.5.12 graphics/libpng libtool@2.4.2 devel/libtool libtool@2.4.2 devel/libtool libtool@2.4.2 devel/libtool libxml2@2.7.8 textproc/libxml2 libxml2@2.7.8 textproc/libxml2 libxml2@2.7.8 textproc/libxml2 m4 @1.4.16 devel/m4 m4 @1.4.16 devel/m4 m4 @1.4.16 devel/m4 mcrypt @2.6.8 sysutils/mcrypt mhash @0.9.9.9devel/mhash ncurses@5.9devel/ncurses ncurses@5.9devel/ncurses openssl@1.0.1c devel/openssl p5-locale-gettext @1.50.0 perl/p5-locale-gettext p5.12-locale-gettext @1.50.0 perl/p5-locale-gettext p7zip @9.20.1 archivers/p7zip p7zip @9.20.1 archivers/p7zip perl5 @5.12.4 lang/perl5 perl5.12 @5.12.4 lang/perl5.12 pkgconfig @0.27 devel/pkgconfig pkgconfig @0.27 devel/pkgconfig python27 @2.7.3 lang/python27 python_select @0.3sysutils/python_select sqlite3@3.7.14 databases/sqlite3 tiff @3.9.5 graphics/tiff tiff @3.9.5 graphics/tiff tiff @3.9.5 graphics/tiff urw-fonts @1.0.7pre44 x11/urw-fonts webp @0.2.0 graphics/webp xorg-bigreqsproto @1.1.2 x11/xorg-bigreqsproto xorg-bigreqsproto @1.1.2 x11/xorg-bigreqsproto xorg-inputproto@2.2x11/xorg-inputproto
selfupdate failure
The Terminal session says it all… (Error message near the bottom. OS 10.7.4 with XCode 4.4 installed.) MiniMe:~ robbo$ sudo port -v selfupdate --- Updating the ports tree Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/ receiving file list ... done sent 36 bytes received 686117 bytes 196043.71 bytes/sec total size is 108113724 speedup is 157.57 --- Updating MacPorts base sources using rsync receiving file list ... done ./ deleting config.log sent 42 bytes received 8238 bytes 16560.00 bytes/sec total size is 3261808 speedup is 393.94 MacPorts base version 1.8.2 installed, MacPorts base version 2.1.2 downloaded. --- MacPorts base is outdated, installing new version 2.1.2 Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl checking build system type... i386-apple-darwin11.4.0 checking host system type... i386-apple-darwin11.4.0 checking target system type... i386-apple-darwin11.4.0 checking MacPorts version... 2.1.2 checking for sw_vers... /usr/bin/sw_vers checking for defaults... /usr/bin/defaults checking for xcode-select... /usr/bin/xcode-select checking Mac OS X version... 10.7.4 checking Xcode location... /Developer checking Xcode version... 3.2.6 checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: in `/opt/local/var/macports/sources/rsync.macports.org/release/base': configure: error: no acceptable C compiler found in $PATH See `config.log' for more details Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command cd /opt/local/var/macports/sources/rsync.macports.org/release/base ./configure --prefix=/opt/local --with-tclpackage=/Library/Tcl --with-install-user=root --with-install-group=admin --with-directory-mode=0755 --enable-readline make make install returned error 1 MiniMe:~ robbo$ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users