It would help to see the entire build log, since I can't tell what happened
beforehand. Try running it like this:
cd $AMBERHOME
make clean uninstall
./configure gnu
make install 2>&1 > build.log
Then, attach the build.log.
Thanks!
Jason
On Thu, Jun 7, 2012 at 9:22 PM, Adam Jion <adamjion.yahoo.com> wrote:
> Hi Jason,
>
> Yes, I have Python in the directories:
> /usr/local/bin/python2.7
> and
> /usr/bin/python
>
> I configured without problem using:
> ./configure --with-python /usr/bin/python gnu
>
> But when I ran:
> make install
> I got the following error message:
> ./py_setup.sh /home/adam/amber12/bin /usr/bin/python
>
> Error importing cpinutil.py python modules! cpinutil will not work.
> make[2]: *** [python] Error 1
> make[2]: Leaving directory `/home/adam/amber12/AmberTools/src/etc'
> make[1]: *** [serial] Error 2
> make[1]: Leaving directory `/home/adam/amber12/AmberTools/src'
> make: *** [install] Error 2
>
> Regards,
> Adam
>
> ------------------------------
> *From:* Jason Swails <jason.swails.gmail.com>
> *To:* Adam Jion <adamjion.yahoo.com>; AMBER Mailing List <
> amber.ambermd.org>
> *Sent:* Thursday, June 7, 2012 10:40 PM
> *Subject:* Re: [AMBER] Problems installing AmberTools12 on Ubuntu
>
> Is there a /usr/local/bin/python2.7?
>
> Is there a /usr/bin/python?
>
> If so, then use the configure command:
>
> ./configure --with-python /usr/bin/python gnu
>
> HTH,
> Jason
>
> On Thu, Jun 7, 2012 at 4:47 AM, Adam Jion <adamjion.yahoo.com> wrote:
>
> > Hi,
> >
> > I'm having problems installing AmberTools12 on my Ubuntu machine.
> > Most likely is due to an incorrect path to Python.
> > Can anyone tell me which version of Python I should use, and into which
> > the directory I should install Python for AmberTools12 to work out of the
> > box?
> >
> > Regards,
> > Adam
> >
> > ps. The error log is given below:
> > ./py_setup.sh /home/adam/amber12/bin /usr/local/bin/python2.7
> > Error importing cpinutil.py python modules! cpinutil will not work.
> > make[2]: *** [python] Error 1
> > make[2]: Leaving directory `/home/adam/amber12/AmberTools/src/etc'
> > make[1]: *** [serial] Error 2
> > make[1]: Leaving directory `/home/adam/amber12/AmberTools/src'
> > make: *** [install] Error 2
> > _______________________________________________
> > 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
>
>
>
--
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 Thu Jun 07 2012 - 19:00:03 PDT