[Erp5-users] Installing on Ubuntu 9.10 and 10.04

Kurt Miebach kwmiebach at gmail.com
Fri Sep 3 14:02:28 CEST 2010


Hi,

thank you for the numerous and immediate responses to my question (
http://mail.nexedi.com/pipermail/erp5-users/2010-September/thread.html
).

1) I will probably setup a second ubuntu 10.04-64 vm during the next
days to also try out with aptitude and the provided packages from:

http://www.raskon.org/trac/erp5/wiki/Erp5Ubuntu


2) With the links you showed me I started from a fresh ubuntu 10.04
64bit machine yesterday, using the newer tutorial this time:

http://www.erp5.com/download/linux/Howto-Install.erp5.From.Buildout

Everything looked good before the make. (I installed all the packages from
erp5-software/helpers/mandriva2010.0.sh with aptitude by hand,
seemed fine on this 10.04-64 machine)


I ran the "make" overnight in a gnu-screen session, because it takes a
while. The last lines of what I found in the morning:

    Downloading
http://www.nexedi.org/static/packages/source/ocropus/iulib-0.4.4.tar.gz
    iulib: Extracting package to /home/ad/erp5-software/parts/iulib__compile__
    iulib: Applying patches
    patching file SConstruct
    scons: Reading SConscript files ...
    compiling with high optimization
    Checking for png_byte in C library png... yes
    Checking for jpeg_std_error() in C library jpeg... yes
    Checking for inflate in C library z... yes
    Checking for TIFFOpen() in C library tiff... yes
    Checking for C++ header file SDL/SDL_gfxPrimitives.h... no
    AssertionError: SDL requested, but can't find it:
      File "/home/ad/erp5-software/parts/iulib__compile__/iulib-0.4.4/SConstruct",
line 72:
        assert have_sdl,"SDL requested, but can't find it"
    iulib: Error executing command: ./configure
--prefix=/home/ad/erp5-software/parts/iulib
    iulib: Compilation error. The package is left as is at
/home/ad/erp5-software/parts/iulib__compile__/iulib-0.4.4 where you
can inspect what went wrong
    While:
      Installing iulib.
    Error: System error
    *********************************************
    Writing picked versions to dumped-versions.cfg
    *********************************************
    *********************************************
    Overwriting dumped-versions.cfg
    *********************************************
    ad at erp5:~/erp5-software$


I do not have the whole screen-session buffer, but a big part at the
end of it (the above lines are at the very end):

http://dl.dropbox.com/u/1508092/permanent/erp5-make-buffer.txt

I found some lines who could be of interest in the middle:

    Could not locate executable g77
    Could not locate executable f77
    Could not locate executable ifort
    Could not locate executable ifc
    Could not locate executable lf95
    Could not locate executable pgf90
    Could not locate executable pgf77
    Could not locate executable f90
    Could not locate executable f95
    Could not locate executable fort
    Could not locate executable efort
    Could not locate executable efc
    Could not locate executable gfortran
    Could not locate executable g95
    don't know how to compile Fortran code on platform 'posix'

The last line "..Fortran.." repeats many times.

Another part of it that could be interesting:

    ### Warning:  Using unoptimized lapack ###
    don't know how to compile Fortran code on platform 'posix'
    In file included from numpy/core/src/arrayobject.c:547,
                     from numpy/core/src/multiarraymodule.c:105:
    numpy/core/src/arraytypes.inc.src: In function ‘UNICODE_getitem’:
    numpy/core/src/arraytypes.inc.src:261: warning: pointer targets in
passing argument 1 of ‘PyUnicodeUCS4_FromUnicode’ differ in signedness
    /home/ad/erp5-software/parts/python2.4/include/python2.4/unicodeobject.h:421:
note: expected ‘const Py_UNICODE *’ but argument is of type ‘npy_ucs4
*’
    In file included from numpy/core/src/multiarraymodule.c:105:
    numpy/core/src/arrayobject.c: In function ‘descr_repeat’:
    numpy/core/src/arrayobject.c:12912: warning: format ‘%ld’ expects
type ‘long int’, but argument 3 has type ‘Py_ssize_t’
    zip_safe flag not set; analyzing archive contents...
    numpy.version: module references __file__
    numpy._import_tools: module references __file__
    numpy._import_tools: module references __path__
    numpy.testing.utils: module references __file__
    numpy.testing.numpytest: module references __file__
    numpy.testing.nosetester: module references __file__
    numpy.testing.noseclasses: module references __file__
    numpy.core.scons_support: module references __file__
    numpy.core.setup: module references __file__
    numpy.core.generate_numpy_api: module references __file__
    numpy.f2py.f2py2e: module references __file__
    numpy.f2py.setupscons: module references __file__
    numpy.f2py.diagnose: module references __file__
    numpy.f2py.setup: module references __file__
    numpy.ma.core: module MAY be using inspect.trace
    numpy.doc.__init__: module references __file__
    numpy.numarray.util: module references __file__
    numpy.distutils.system_info: module references __file__
    numpy.distutils.exec_command: module references __file__
    numpy.distutils.misc_util: module references __file__
    numpy.distutils.command.build_src: module references __file__
    numpy.distutils.command.scons: module references __file__
    numpy.distutils.fcompiler.__init__: module references __file__
    numpy.distutils.fcompiler.compaq: module references __file__
    numpy.lib.utils: module references __file__
    numpy.lib.utils: module references __path__
    numpy.lib.utils: module MAY be using inspect.getsource
    numpy.lib.utils: module MAY be using inspect.getsourcefile
    numpy.lib.utils: module MAY be using inspect.stack
    Error in atexit._run_exitfuncs:
    Traceback (most recent call last):
      File "/home/ad/erp5-software/parts/python2.4/lib/python2.4/atexit.py",
line 24, in _run_exitfuncs
        func(*targs, **kargs)
      File "/tmp/easy_install--XmLFP/numpy-1.3.0/numpy/distutils/misc_util.py",
line 219, in clean_up_temporary_directory
    ImportError: No module named numpy.distutils
    Error in sys.exitfunc:
    Traceback (most recent call last):
      File "/home/ad/erp5-software/parts/python2.4/lib/python2.4/atexit.py",
line 24, in _run_exitfuncs
        func(*targs, **kargs)
      File "/tmp/easy_install--XmLFP/numpy-1.3.0/numpy/distutils/misc_util.py",
line 219, in clean_up_temporary_directory
    ImportError: No module named numpy.distutils
    Got numpy 1.3.0.


I am doing this on a virtual machine and I can easily go back now to
the snapshot before the make, I can also start again from a fresh
ubuntu 10.04-64, but I will just wait and maybe someone has advice
after seeing this output.


Thank you very much again for doing all this great work and helping out.

Kurt Miebach



More information about the Erp5-users mailing list