Re: Lost "port" command
On May 3, 2014, at 16:11, Bill Christensen wrote: > The parallel machine shows: > > /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin > > Are the repeats in that unneeded? I'm seeing several "/opt/local/bin" > instances, for example. Yes, repeats are redundant. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Error upgrading Clang
On May 3, 2014, at 18:29, semaphor...@yahoo.com wrote: > I ran a sudo port upgrade outdated on my system as part of routine > maintenance, but found that clang 3.3 couldn't be rebuilt. In the log, I > found error: > > :info:build make[3]: *** > [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/clang-3.3/work/llvm-3.3.src/Release+Debug+Asserts/lib/clang/3.3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib] > Error 1 > > > As a result, it can't build clang, and exits with status 1. > > Is this a known problem? It’s impossible to tell, from the information you provided. Please search the issue tracker for open clang tickets, see if the complete error in the log (possibly tens or hundreds of lines before the line you quoted) matches your error; if not, file a new ticket with your main.log file attached. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Error upgrading Clang
Hello MP list, I ran a sudo port upgrade outdated on my system as part of routine maintenance, but found that clang 3.3 couldn't be rebuilt. In the log, I found error: :info:build make[3]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.3/clang-3.3/work/llvm-3.3.src/Release+Debug+Asserts/lib/clang/3.3/lib/darwin/libclang_rt.asan_osx_dynamic.dylib] Error 1 As a result, it can't build clang, and exits with status 1. Is this a known problem? Pat___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Lost "port" command
On 5/3/14 2:49 PM, Jan Stary wrote: On May 03 12:27:18, billc_li...@greenbuilder.com wrote: I installed a non-MacPorts package on my server the other day - WordPress command line interface (wp-cli) which uses the "wp" command. It's working properly. But I just went to do my regular updates using MacPorts, and I've lost my "port" command. I'm getting "command not found". Are you sure this installation did not fuck up your PATH? Some insane installations do. I suspect it did. There was some manual stuff that someone else did which probably overwrote it. How do I (a) re-establish the port command It is most probably still there, just not in your PATH. Can you run /opt/local/bin/port ? Thank you. That works. So do I just need to run something like export PATH=$PATH:/opt/local/bin:/opt/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11/bin Fortunately, I saved the terminal output from what the other guy did just in case, and have a parallel dev machine to refer to. This is from an echo $PATH command early in that session. The parallel machine shows: /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin Are the repeats in that unneeded? I'm seeing several "/opt/local/bin" instances, for example. and (b) keep the wp command? Install this software into /usr/local (or somewhere) and set your PATH accordingly. Right. So what happened is that the existing PATH to /opt/local/bin/port got wiped, I guess. Better yet, create a proper macport of this software, then install it via macports. Yeah, I checked for a port first and there isn't any yet. It's a fairly new creature. I don't know how to create a port, and though it would be a good way to give back I don't have the bandwidth at the moment to put a lot of time into something like that. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Lost "port" command
On May 03 12:27:18, billc_li...@greenbuilder.com wrote: > I installed a non-MacPorts package on my server the other day - > WordPress command line interface (wp-cli) which uses the "wp" > command. It's working properly. > > But I just went to do my regular updates using MacPorts, and I've > lost my "port" command. I'm getting "command not found". Are you sure this installation did not fuck up your PATH? Some insane installations do. > How do I (a) re-establish the port command It is most probably still there, just not in your PATH. Can you run /opt/local/bin/port ? > and (b) keep the wp command? Install this software into /usr/local (or somewhere) and set your PATH accordingly. Better yet, create a proper macport of this software, then install it via macports. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Re: Lost "port" command
On Sat, May 3, 2014 at 1:27 PM, Bill Christensen < billc_li...@greenbuilder.com> wrote: > I installed a non-MacPorts package on my server the other day - WordPress > command line interface (wp-cli) which uses the "wp" command. It's working > properly. > > But I just went to do my regular updates using MacPorts, and I've lost my > "port" command. I'm getting "command not found". > > How do I (a) re-establish the port command and (b) keep the wp command? > Find whatever is setting $PATH in your shell dotfiles and make it consistent so that it can find both. (Without knowing what/how it's being set, I can't say a whole lot more about how.) Likely files are ~/.profile ~/.bash_profile ~/.bashrc or if you use csh/tcsh ~/.login ~/.cshrc ~/.tcshrc and note that you may have ended up with a setting in one of those files overriding a setting in another. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com ballb...@sinenomine.net unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users
Lost "port" command
Hey folks, I installed a non-MacPorts package on my server the other day - WordPress command line interface (wp-cli) which uses the "wp" command. It's working properly. But I just went to do my regular updates using MacPorts, and I've lost my "port" command. I'm getting "command not found". How do I (a) re-establish the port command and (b) keep the wp command? Thanks in advance. ___ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users