← Back to team overview

dolfin team mailing list archive

Re: ubuntu 7.10 amd64 install problem

 

I think you should be asking Python for the libdir, not using /usr/lib.
You would most likely come up with the directory under Sage where
he installed.

  Mat

On Mon, Apr 7, 2008 at 2:10 PM, Anders Logg <logg@xxxxxxxxx> wrote:
> On Mon, Apr 07, 2008 at 02:49:21PM -0400, David Joyner wrote:
>  > On Mon, Apr 7, 2008 at 1:55 PM, Anders Logg <logg@xxxxxxxxx> wrote:
>  > > On Mon, Apr 07, 2008 at 07:26:46AM -0400, David Joyner wrote:
>  > >  > Hi:
>  > >  >
>  > >  > I followed http://www.fenics.org/wiki/Installing_DOLFIN until I found
>  > >  > errors, then
>  > >  > created a wiki account and corrected them, but still found errors. Is
>  > >  > this the correct
>  > >  > email list to report install problems?
>  > >
>  > >  Yes.
>  > >
>  > >
>  > >  > If so, the problem seems to occur at the step
>  > >  > ./scons.local
>  > >  > where it seems to have trouble locating numpy. At least, one of the
>  > >  > error messages is
>  > >  > dolfin/swig/dolfin_wrap.cc:3287:31: error: numpy/arrayobject.h: No
>  > >  > such file or directory
>  > >  > Does this look familiar?
>  > >  >
>  > >  > This is on a ubuntu 7.10 amd64 box.
>  > >  >
>  > >  > - David Joyner
>  > >
>  > >  Do you have arrayobject.h on your system?
>  >
>  >
>  > Quite a few:-)
>  >
>  >
>  > wdj@wooster:~/wdj/computer_algebra/dolfin$ locate arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.2.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.2.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.9.alpha4/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.9.alpha4/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.9.alpha5/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.9.alpha5/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-0.10.3/local/include/python2.4/Numeric/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-0.10.3/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.8.6/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.8.6/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.4.alpha0/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.4.alpha0/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.3/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.3/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.8.13.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.8.13.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.4/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.4/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc5/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc5/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.11.rc0/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.11.rc0/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc2/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc2/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.3.rc1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.2.rc0/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.10.2.rc0/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.11.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/sagefiles/sage-2.11.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/sagefiles/sagestuff/numpy/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/.Trash-1000/files/sage-2.8.10.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /mnt/drive_hda1/.Trash-1000/files/sage-2.8.10.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage-sourceforge/sage/packages/archive/pygsl-0.3/Include/pygsl/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage-sourceforge/sage-0.10.1/local/include/python2.4/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage-sourceforge/sage-0.10.1/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.3.0/local/include/python2.4/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.3.0/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.4/local/include/python2.5/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.4/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.0.5/local/include/python2.4/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.0.5/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.10.12/local/include/python2.4/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.10.12/local/lib/python2.4/site-packages/numpy-0.9.5/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.10.12/local/lib/python2.4/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.10.12/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.9.4/local/include/python2.4/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.9.4/spkg/build/numpy-0.9.5/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.9.4/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.9.4/spkg/build/old/numpy-0.9.5/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-0.9.4/spkg/build/numpy/numpy/core/include/numpy/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.4.alpha2-20061002/local/include/python2.5/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.4.alpha2-20061002/spkg/build/numeric-24.2/Include/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.0.6/local/include/python2.4/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.4.1.2/local/include/python2.5/Numeric/arrayobject.h
>  > /mnt/drive_hda1/computer_algebra/sage/sage-1.3.6/local/include/python2.4/Numeric/arrayobject.h
>  > /home/wdj/sagestuff/sage-2.10.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/ndarrayobject.h
>  > /home/wdj/sagestuff/sage-2.10.alpha1/local/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>  > /usr/include/python2.5/Numeric/arrayobject.h
>  > /usr/include/python2.4/Numeric/arrayobject.h
>
>  This one seems to be missing:
>
>   /usr/lib/python2.5/site-packages/numpy/core/include/numpy/arrayobject.h
>
>  For me, this is in the python-numpy package.
>
>  --
>  Anders
>  _______________________________________________
>  DOLFIN-dev mailing list
>  DOLFIN-dev@xxxxxxxxxx
>  http://www.fenics.org/mailman/listinfo/dolfin-dev
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener


Follow ups

References