Re: [AMBER] AmberTools 1.4 Installation on Mac OSX 10.6

From: Daniel Roe <daniel.r.roe.gmail.com>
Date: Sat, 24 Sep 2011 11:48:53 -0400

Hi,

Just to clarify, I was referring to these error messages:

> io.c:782: error: conflicting types for 'gzipFileSize'
> io.c:681: note: previous definition of 'gzipFileSize' was here
> io.c:814: error: conflicting types for 'bzip2FileSize'
> io.c:728: note: previous definition of 'bzip2FileSize' was here

I have seen this behavior before with early versions of a bugfix
(bugfix.4 for AT 1.4) - the way the patch was initially created
allowed it to be recursively applied, so that each application of the
bugfix would insert new instances of gzipFileSize and bzipFileSize
into $AMBERHOME/AmberTools/src/ptraj/io.c, resulting in the above
error messages (I believe the problem has since been fixed). Since OP
said he had copied the installation over from an earlier one this
problem probably carried over as well.

-Dan

On Sat, Sep 24, 2011 at 10:50 AM, Jason Swails <jason.swails.gmail.com> wrote:
> This is related to MacPorts, not to what Dan Roe stated.  gcc_select (and
> all of the MacPorts select scripts) have been incorporated directly into
> MacPorts itself.  Thus, instead of using
>
> sudo gcc_select mp-gcc44
>
> use the command
>
> sudo port select gcc mp-gcc44
>
> Perhaps one of the Amberonmac bloggers want to update this advice (although
> gcc_select *does* still need to be installed).  Admittedly the MacPorts
> folks don't tell normal users anywhere they're doing this, and I had to ask
> on the macports email list to find out about that solution.
>
> HTH,
> Jason
>
> On Sat, Sep 24, 2011 at 7:08 AM, George Tzotzos <gtzotzos.me.com> wrote:
>
>> Following my earlier message and after some searching around I found that
>> MacPorts did not install gcc_select.
>>
>> I did a quick and dirty job (copied it from another installation and move
>> it to /opt/local/bin).
>>
>> Then
>>
>> $ sudo gcc_select mp-gcc44
>> Selecting version "mp-gcc44" for gcc
>>
>> I proceed then to configure AmberTools. Then in the make install I get a
>> number of errors of the type
>>
>> io.c:782: error: conflicting types for 'gzipFileSize'
>> io.c:681: note: previous definition of 'gzipFileSize' was here
>> io.c:814: error: conflicting types for 'bzip2FileSize'
>> io.c:728: note: previous definition of 'bzip2FileSize' was here
>>
>> Would appreciate any help in solving this one.
>>
>> George
>>
>>
>> On Sep 24, 2011, at 11:41 AM, George Tzotzos wrote:
>>
>> > Hi everybody,
>> >
>> > Recently I lost my hard drive and, alas, my Amber11 installation.
>> >
>> > I've been trying to repeat the steps of my last installation which were
>> taken to a large extent from
>> http://amberonmac.blogspot.com/2010/04/step-by-step-ambertools-14-installation.html
>> >
>> > I'm installing gcc44 from MacPorts
>> >
>> > sudo port install gcc44
>> > ..............
>> > --->  Installing gcc_select .0.1_5
>> > --->  Activating gcc_select .0.1_5
>> > --->  Cleaning gcc_select
>> > ...............
>> > --->  Installing gcc44 .4.4.6_0
>> > --->  Activating gcc44 .4.4.6_0
>> > --->  Cleaning gcc44
>> >
>> > Then do
>> >
>> > sudo port install gcc_select
>> > --->  Cleaning gcc_select
>> >
>> > But doing
>> >
>> > sudo gcc_select mp-gcc44
>> >
>> > returns
>> >
>> > Error: Port mp-gcc44 not found
>> >
>> > This never happened in the past and I've done 3 different installations
>> following this routine.
>> >
>> > I'm using OSX 10.6.5 on a Mac Pro 12 core machine.
>> >
>> > Needless to say that your help in overcoming this problem will be
>> invaluable
>> >
>> > Thanks in advance
>> >
>> > George
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > 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
Received on Sat Sep 24 2011 - 09:00:04 PDT
Custom Search