Re: [AMBER] installation of amberTools on lion fails

From: Jason Swails <jason.swails.gmail.com>
Date: Mon, 21 Nov 2011 16:03:22 -0500

You probably need a sudo. I changed the permissions and ownership on my
/opt/local bin so I don't need it.

On Mon, Nov 21, 2011 at 3:41 PM, Jorgen Simonsen <jorgen589.gmail.com>wrote:

> something like that so I keep pn getting errors on this issue
>
> port -d selfupdate
>
> ---> Updating MacPorts base sources using rsync
> receiving file list ... done
> rsync: mkstemp "/opt/local/var/macports/sources/
> rsync.macports.org/release/tarballs/.base.tar.RiFm5C"
> failed: Permission denied (13)
>
> sent 10864 bytes received 111 bytes 3135.71 bytes/sec
> total size is 3226624 speedup is 294.00
> rsync error: some files could not be transferred (code 23) at
> /SourceCache/rsync/rsync-42/rsync/main.c(1400) [generator=2.6.9]
> shell command "/usr/bin/rsync -rtzv --delete-after
> rsync://rsync.macports.org/release/tarballs/base.tar
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs"
> returned error 23
> DEBUG: Error synchronizing MacPorts sources: shell command failed (see
> log for details)
> while executing
> "macports::selfupdate [array get global_options] base_updated"
> Error: /opt/local/bin/port: port selfupdate failed: Error
> synchronizing MacPorts sources: shell command failed (see log for
> details)
>
>
>
> On Mon, Nov 21, 2011 at 9:21 PM, Jason Swails <jason.swails.gmail.com>
> wrote:
> > On Mon, Nov 21, 2011 at 3:01 PM, Jorgen Simonsen <jorgen589.gmail.com
> >wrote:
> >
> >> ok so I changed the gcc
> >>
> >> sudo port select gcc mp-gcc44
> >>
> >> but now the libraries are not linked correctly
> >>
> >> gcc -v
> >>
> >> gcc-mp-4.4: error trying to exec
> >> '/opt/local/bin/i686-apple-darwin11-llvm-gcc-4.2': execvp: No such
> >> file or directory
> >>
> >
> > Let me guess. You just upgraded from Mac OS X 10.6 Snow Leopard to Mac
> OS
> > X 10.7 Lion from the App store, right? If so, your MacPorts is
> completely
> > busted. All of the binaries were compiled for the Darwin 10 kernel
> > (they're now on Darwin 11). You'll have to re-install all of your ports.
> > On the MacPorts website itself they suggest just blowing away the whole
> > /opt/local directory and starting over (you can get a list of installed
> > ports via "port installed").
> >
> > If you run "port outdated", it should show you a complete list of all
> ports
> > that you have installed with a little note about the change in Darwin
> > versions. (I just bit the bullet and upgraded a week or 2 ago so I could
> > see what issues people would be running into).
> >
> > Your other option is to run "sudo port upgrade outdated" and watch
> MacPorts
> > try to rebuild every binary it has installed. It will take awhile, and
> > you'll likely run into occasional errors (that was the route I chose). I
> > have everything up and working now after that, though.
> >
> > HTH,
> > Jason
> >
> >
> >>
> >>
> >> On Mon, Nov 21, 2011 at 8:40 PM, Jason Swails <jason.swails.gmail.com>
> >> wrote:
> >> > On Mon, Nov 21, 2011 at 2:32 PM, Jorgen Simonsen <jorgen589.gmail.com
> >> >wrote:
> >> >
> >> >> my gcc -v is
> >> >>
> >> >> Using built-in specs.
> >> >> Target: i686-apple-darwin11
> >> >> Configured with:
> >> >> /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure
> >> >> --disable-checking --enable-werror
> >> >> --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man
> >> >> --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm-
> >> >> --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
> >> >> --with-slibdir=/usr/lib --build=i686-apple-darwin11
> >> >>
> >> >>
> >>
> --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local
> >> >> --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11
> >> >> --target=i686-apple-darwin11
> >> >> --with-gxx-include-dir=/usr/include/c++/4.2.1
> >> >> Thread model: posix
> >> >> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
> >> 2335.15.00)
> >> >>
> >> >
> >> > This is a problem. Your GCC is the 4.2.1 version that comes prebuilt
> >> with
> >> > XCode. You need to use the same gcc version as your gfortran version
> >> > (4.4.6), most likely from MacPorts.
> >> >
> >> > HTH,
> >> > Jason
> >> >
> >> > --
> >> > Jason M. Swails
> >> > Quantum Theory Project,
> >> > University of Florida
> >> > Ph.D. Candidate
> >> > 352-392-4032
> >> > _______________________________________________
> >> > AMBER mailing list
> >> > AMBER.ambermd.org
> >> > http://lists.ambermd.org/mailman/listinfo/amber
> >> >
> >>
> >> _______________________________________________
> >> AMBER mailing list
> >> AMBER.ambermd.org
> >> http://lists.ambermd.org/mailman/listinfo/amber
> >>
> >
> >
> >
> > --
> > Jason M. Swails
> > Quantum Theory Project,
> > University of Florida
> > Ph.D. Candidate
> > 352-392-4032
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
> >
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Nov 21 2011 - 13:30:03 PST
Custom Search