[Erp5-users] Installation on ubuntu

Collins Areba arebacollins at gmail.com
Tue Jan 4 12:02:41 CET 2011


well, its completed, but with errors, particularly with egg. the last bunch
of lines show the most errors and i still cant run anything like
bin/instance run

here are the last error messages.

Got lxml 2.2.8.
Getting distribution for 'PyXML'.
warning: no files found matching '*.html' under directory 'extensions/expat'
warning: no files found matching '*Makefile' under directory
'extensions/expat'
warning: no files found matching '*.dsp' under directory 'extensions/expat'
warning: no previously-included files matching '*/CVS/*' found anywhere in
distribution
extensions/sgmlop.c:718: warning: ‘intargfunc’ is deprecated
SyntaxError: ('invalid syntax',
('build/bdist.linux-i686/egg/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py',
31, 10, "        as =
ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')\n"))

SyntaxError: ('invalid syntax',
('build/bdist.linux-i686/egg/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py',
27, 10, "        as =
ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')\n"))

zip_safe flag not set; analyzing archive contents...
_xmlplus.FtCore: module references __file__
_xmlplus.xpath.XPathParserBase: module references __file__
SyntaxError: ('invalid syntax',
('/home/arebalice/erp5-buildout/eggs/tmpGLvkY6/PyXML-0.8.4-py2.6-linux-i686.egg/_xmlplus/xpath/ParsedAbbreviatedRelativeLocationPath.py',
31, 10, "        as =
ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')\n"))

SyntaxError: ('invalid syntax',
('/home/arebalice/erp5-buildout/eggs/tmpGLvkY6/PyXML-0.8.4-py2.6-linux-i686.egg/_xmlplus/xpath/ParsedAbbreviatedAbsoluteLocationPath.py',
27, 10, "        as =
ParsedAxisSpecifier.ParsedAxisSpecifier('descendant-or-self')\n"))

Got PyXML 0.8.4.
Getting distribution for 'xml-marshaller'.
Got xml-marshaller 0.9.7.
Getting distribution for 'MySQL-python'.
sh: mysql_config: not found
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py",
line 1712, in main
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py",
line 1700, in with_ei_usage
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py",
line 1716, in <lambda>
  File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py",
line 211, in run
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py",
line 427, in easy_install
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py",
line 476, in install_item
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py",
line 655, in install_eggs
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py",
line 930, in build_and_install
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/command/easy_install.py",
line 919, in run_setup
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/sandbox.py",
line 62, in run_setup
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/sandbox.py",
line 105, in run
  File
"/home/arebalice/erp5-buildout/eggs/setuptools-0.6c12dev_r85381-py2.6.egg/setuptools/sandbox.py",
line 64, in <lambda>
  File "setup.py", line 15, in <module>
  File "/tmp/easy_install-tg7GhS/MySQL-python-1.2.3/setup_posix.py", line
43, in get_config
  File "/tmp/easy_install-tg7GhS/MySQL-python-1.2.3/setup_posix.py", line
24, in mysql_config
EnvironmentError: mysql_config not found
An error occurred when trying to install MySQL-python 1.2.3. Look above this
message for any errors that were output by easy_install.
While:
  Installing eggs.
  Getting distribution for 'MySQL-python'.
Error: Couldn't install: MySQL-python 1.2.3
You have new mail in /var/mail/root
root at Arebalice:/home/arebalice/erp5-buildout# bin/instance start
bash: bin/instance: No such file or directory
root at Arebalice:/home/arebalice/erp5-buildout# pwd
/home/arebalice/erp5-buildout
root at Arebalice:/home/arebalice/erp5-buildout# ls
addon_default_security_base.cfg  bootstrap.py           develop-eggs
 erp5_ru.cfg       patches-zope
backup.cfg                       bt5                    downloads       etc
              src
base_bt5.cfg                     buildout.cfg           eggs
 hg.cfg            test.cfg
base.cfg                         buildout.cfg.template  erp5
 parts             wsgi.cfg
bin                              debian                 erp5_admin.cfg
 patches-products  zeo.cfg
root at Arebalice:/home/arebalice/erp5-buildout# cd bin
root at Arebalice:/home/arebalice/erp5-buildout/bin# instance start
instance: command not found
root at Arebalice:/home/arebalice/erp5-buildout/bin# ls
buildout  bup  clean_repo
root at Arebalice:/home/arebalice/erp5-buildout/bin#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20110104/8e40bc48/attachment.htm>


More information about the Erp5-users mailing list