On Friday 13 February 2009 06:48:11 am cswebb wrote:
> I've attempted to install Django via the rpm created with "setup.py
> bdist_rpm".  RPM is created, however when attempting to install it, I
> get the following dependency error:
>
> error: Failed dependencies:
>         /usr/local/bin/python is needed by Django-1.0.1_final-1.noarch
>
> Here's what a long listing shows for /usr/local/bin/python on my
> system:
>
> ls -l /usr/local/bin/python
> -rwxr-xr-x  2 root root 4428685 Feb  4 15:13 /usr/local/bin/python
>
>
> I've even tried to re-build the rpm by editing the spec file to
> directly call python2.6, but I get the same problem, except it
> complains about not being able to find /usr/local/bin/
> python2.6....which is also available.  What am I missing.  By the way
> extracting the tar ball and simply installing via setup.py install
> works just fine.  Thanks for any help.
>

Django is available via rpm for fedora, you might want to consult the SRPM for 
the spec file to see what's they are doing.

http://mirrors.kernel.org/fedora/releases/10/Everything/source/SRPMS/Django-1.0-1.fc10.src.rpm

Mike


-- 
I worked in a health food store once.  A guy came in and asked me,
"If I melt dry ice, can I take a bath without getting wet?"
                -- Steven Wright

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to