[Chandler-dev] Problem building on RHEL4
Mike Taylor
bear at code-bear.com
Mon Nov 5 13:08:00 PST 2007
Poojan,
We do include our own python. Did you do a full build to generate a
Chandler Python or is this a quick build only?
Quick build is our way of saying have you checked out the source from http://svn.osafoundation.org/chandler/trunk/chandler
and then run "make install" in that directory?
Do that will pull the 32bit linux Python binary we use which should
have MD5 in it. hmm, unless we are linking to the system lib without
realizing it.
Guess I'll be doing a VM install of RHEL4 tonight :)
thanks,
bear
On Nov 5, 2007, at 3:42 PM, Poojan Wagh wrote:
> I'm having trouble building desktop on a 32-bit RHEL4. (I'm not
> running Ubuntu because it is a work machine.) I get the following:
>
> cd /home/wagh/downloads/chandler_trunk/external/setuptools/
> setuptools-0.6c6; \
> MACOSX_DEPLOYMENT_TARGET= \
> /home/wagh/downloads/chandler_trunk/external/release/bin/
> python
> setup.py build --build-base=build_release \
> install --force
> running build
> running build_py
> running install
> Traceback (most recent call last):
> File "setup.py", line 94, in <module>
> scripts = scripts,
> File "/home/wagh/downloads/chandler_trunk/external/release/lib/
> python2.5/distutils/core.py",
> line 151, in setup
> dist.run_commands()
> File "/home/wagh/downloads/chandler_trunk/external/release/lib/
> python2.5/distutils/dist.py",
> line 974, in run_commands
> self.run_command(cmd)
> File "/home/wagh/downloads/chandler_trunk/external/release/lib/
> python2.5/distutils/dist.py",
> line 994, in run_command
> cmd_obj.run()
> File "/home/wagh/downloads/chandler_trunk/external/setuptools/
> setuptools-0.6c6/setuptools/command/install.py",
> line 76, in run
> self.do_egg_install()
> File "/home/wagh/downloads/chandler_trunk/external/setuptools/
> setuptools-0.6c6/setuptools/command/install.py",
> line 85, in do_egg_install
> easy_install = self.distribution.get_command_class('easy_install')
> File "/home/wagh/downloads/chandler_trunk/external/setuptools/
> setuptools-0.6c6/setuptools/dist.py",
> line 354, in get_command_class
> self.cmdclass[command] = cmdclass = ep.load()
> File "/home/wagh/downloads/chandler_trunk/external/setuptools/
> setuptools-0.6c6/pkg_resources.py",
> line 1912, in load
> entry = __import__(self.module_name, globals(),globals(),
> ['__name__'])
> File "/home/wagh/downloads/chandler_trunk/external/setuptools/
> setuptools-0.6c6/setuptools/command/easy_install.py",
> line 21, in <module>
> from setuptools.package_index import PackageIndex,
> parse_bdist_wininst
> File "/home/wagh/downloads/chandler_trunk/external/setuptools/
> setuptools-0.6c6/setuptools/package_index.py",
> line 3, in <module>
> import sys, os.path, re, urlparse, urllib2, shutil, random,
> socket, cStringIO
> File "/home/wagh/downloads/chandler_trunk/external/release/lib/
> python2.5/urllib2.py",
> line 88, in <module>
> import hashlib
> File "/home/wagh/downloads/chandler_trunk/external/release/lib/
> python2.5/hashlib.py",
> line 133, in <module>
> md5 = __get_builtin_constructor('md5')
> File "/home/wagh/downloads/chandler_trunk/external/release/lib/
> python2.5/hashlib.py",
> line 60, in __get_builtin_constructor
> import _md5
> ImportError: No module named _md5
> make[1]: *** [build] Error 1
> make[1]: Leaving directory
> `/home/wagh/downloads/chandler_trunk/external/setuptools'
> make: *** [setuptools] Error 2
>
>> From doing a Google search, it seems that I am missing this _md5
> module and that it is included (normally) with python. (I thought that
> the Chandler build procedure compiles its own custom Python in
> $BUILD_ROOT/external/python.) Where do I find this _md5 module, and
> where do I put it?
>
> Thanks for the great product. (Just want it enjoy it on all my
> available computers.)
> --
> Poojan
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "chandler-dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/chandler-dev
>
--
bear
Build and Release Engineer
Open Source Applications Foundation (OSAF)
bear at osafoundation.org
http://www.osafoundation.org
bear at code-bear.com
http://code-bear.com
More information about the chandler-dev
mailing list