[Slackbuilds-users] Why Might a SBo Application Look in /usr/local?
I've been running R-2.13.0 and decided to upgrade to -2.13.1. I downloaded the new scripts and source, built and upgraded the package. When I try to invoke it I see: [rshepard@salmo ~]$ R -bash: /usr/local/bin/R: No such file or directory I've no idea where to look to see where the shell is getting the wrong location. I've been using the SlackBuild packages for several versions now and haven't before come across this issue. Any ideas? Rich ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/
Re: [Slackbuilds-users] Why Might a SBo Application Look in /usr/local?
The output of On Mon, Aug 29, 2011 at 7:28 PM, Rich Shepard rshep...@appl-ecosys.com wrote: I've been running R-2.13.0 and decided to upgrade to -2.13.1. I downloaded the new scripts and source, built and upgraded the package. When I try to invoke it I see: [rshepard@salmo ~]$ R -bash: /usr/local/bin/R: No such file or directory I've no idea where to look to see where the shell is getting the wrong location. I've been using the SlackBuild packages for several versions now and haven't before come across this issue. It's a bit difficult to help with so few details about your system and what you did to build the new R. I can tell you that I did this same upgrade today on a Slackware 13.37 x86_64 system, downloading and building the package from slackbuilds.org with sbopkg, and R 2.13.1 works fine, and the R executable is in /usr/bin, where you'd expect it to be. Any ideas- To try to help you, I'd be interested in knowing the architecture and version of the Slackware system you are running and seeing the result of ls -l /var/adm/packages/R* cat /var/adm/packages/R-2.13.1* hash and echo $PATH from the instance of bash giving you the error would be useful. /Don Allen Rich ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/ ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/
Re: [Slackbuilds-users] Why Might a SBo Application Look in /usr/local?
On Mon, 29 Aug 2011, Donald Allen wrote: To try to help you, I'd be interested in knowing the architecture and version of the Slackware system you are running and seeing the result of ls -l /var/adm/packages/R* Don, (Slackware-13.1/32-bit) [rshepard@salmo ~]$ ll /var/log/packages/R* -rw-r--r-- 1 root root 73083 2011-08-29 16:29 /var/log/packages/R-2.13.1-i486-1_SBo -rw-r--r-- 1 root root 13272 2010-11-08 09:49 /var/log/packages/ReportLab_1_20 cat /var/adm/packages/R-2.13.1* PACKAGE NAME: R-2.13.1-i486-1_SBo COMPRESSED PACKAGE SIZE: 25620K UNCOMPRESSED PACKAGE SIZE: 42140K PACKAGE LOCATION: /tmp/R-2.13.1-i486-1_SBo.tgz PACKAGE DESCRIPTION: R: R (language and environment for statistical computing) R: R: R is a language and environment for statistical computing and R: graphics. It is a GNU project which is similar to the S language R: and environment which was developed at Bell Laboratories R: by John Chambers and colleagues. R can be considered as a R: different implementation of S. There are some important R: differences, but much code written for S runs unaltered under R. R: R: R: FILE LIST: ./ usr/ usr/lib/ usr/lib/R/ usr/lib/R/etc/ usr/lib/R/etc/repositories usr/lib/R/etc/Makeconf etc. hash and echo $PATH from the instance of bash giving you the error would be useful. [rshepard@salmo ~]$ R -bash: /usr/local/bin/R: No such file or directory [rshepard@salmo ~]$ echo $PATH /opt/db-main/bin:/home/rshepard/bin:/usr/local/bin/java:/opt/qt/bin:opt/wx/2.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/java/bin:/usr/lib/kde4/libexec:/usr/lib/qt/bin:/usr/share/texmf/bin:. Makes no sense to me, either. ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/
Re: [Slackbuilds-users] Why Might a SBo Application Look in /usr/local?
On Mon, 29 Aug 2011, Donald Allen wrote: cat /var/adm/packages/R-2.13.1* Here's the tail, after everything in /usr/lib: usr/doc/ usr/doc/R-2.13.1/ usr/doc/R-2.13.1/README usr/doc/R-2.13.1/R.SlackBuild usr/doc/R-2.13.1/OLDER_NEWS.tgz usr/bin/ usr/bin/R usr/bin/Rscript usr/man/ usr/man/man1/ usr/man/man1/R.1.gz usr/man/man1/Rscript.1.gz install/ install/slack-desc There's nothing pointing to usr/local/bin. Rich ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/
Re: [Slackbuilds-users] Why Might a SBo Application Look in /usr/local?
On Mon, Aug 29, 2011 at 10:29 PM, Rich Shepard rshep...@appl-ecosys.com wrote: On Mon, 29 Aug 2011, Donald Allen wrote: cat /var/adm/packages/R-2.13.1* Here's the tail, after everything in /usr/lib: usr/doc/ usr/doc/R-2.13.1/ usr/doc/R-2.13.1/README usr/doc/R-2.13.1/R.SlackBuild usr/doc/R-2.13.1/OLDER_NEWS.tgz usr/bin/ usr/bin/R usr/bin/Rscript usr/man/ usr/man/man1/ usr/man/man1/R.1.gz usr/man/man1/Rscript.1.gz install/ install/slack-desc There's nothing pointing to usr/local/bin. Rich What does $ which R give you? -- Niels Horn ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/
Re: [Slackbuilds-users] Why Might a SBo Application Look in /usr/local? [SOLVED]
On Mon, 29 Aug 2011, Rich Shepard wrote: I've no idea where to look to see where the shell is getting the wrong location. I've been using the SlackBuild packages for several versions now and haven't before come across this issue. Well, I came up with the right idea and looked in ~/.bash_profile. For some reason I aliased R to look in /usr/local/bin. Since I installed R from the SBo packages over the past few years I've no idea why I did this nor do I know why R ran (from /usr/bin) until today. I am suitably embarrassed. Mea culpa! Rich ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/
Re: [Slackbuilds-users] Why Might a SBo Application Look in /usr/local? [SOLVED]
On Mon, Aug 29, 2011 at 10:34 PM, Rich Shepard rshep...@appl-ecosys.com wrote: On Mon, 29 Aug 2011, Rich Shepard wrote: I've no idea where to look to see where the shell is getting the wrong location. I've been using the SlackBuild packages for several versions now and haven't before come across this issue. Well, I came up with the right idea and looked in ~/.bash_profile. For some reason I aliased R to look in /usr/local/bin. Since I installed R from the SBo packages over the past few years I've no idea why I did this nor do I know why R ran (from /usr/bin) until today. I am suitably embarrassed. Well, you should be; no one else has ever done anything that dumb before, certainly not me :-) (Believe me, I really am kidding!) For years, I've talked about writing a book about the various strange and wonderful ways we screw ourselves with computers (not a particularly original idea). If you can stand a war story, 35+ years ago, I worked on and later ran the Tenex project at BBN. BBN was one of the key companies that built the ARPAnet (the predecessor of the Internet) and Tenex, an operating system developed by us for the DEC PDP-10, was the most common host OS on the network. One of the guys in the Tenex group wrote a backup and archiving system. The first time he ran it in production, it archived its own executable and source files. Archived files could only be read by the archiving program. Me: So should be no problem -- you have a copy of all that stuff on DECTape, right? Him: Um, no. /Don Mea culpa! Rich ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/ ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - http://slackbuilds.org/faq/