Issue installing Python/Bittorrent

Larry Rosenman ler at lerctr.org
Sat Aug 2 07:54:10 PDT 2003


I sent a patch to tg@ and am waiting for his approval.

Here's one:

> --- Src/umathmodule.c.orig  Sat Aug  2 01:10:09 2003
> +++ Src/umathmodule.c Sat Aug  2 01:10:43 2003
> @@ -1,9 +1,9 @@
>
> +#include <math.h>
>  #include "Python.h"
>  #include "Numeric/arrayobject.h"
>  #include "Numeric/ufuncobject.h"
>  #include "abstract.h"
> -#include <math.h>
>
>  #ifndef CHAR_BIT
>  #define CHAR_BIT 8


--On Saturday, August 02, 2003 10:14:30 -0400 Dragoncrest 
<dragoncrest at voyager.net> wrote:

> Roger that.  Thanks.  Any word on when the patch is due out?  Is there a
> way to go back to a previous version of BT in order to make it work?
>
>> There's a PR filed, and it's awaiting approval from the maintainer to
>> issue a patch.
>>
>> LER
>>
>>
>> --On Saturday, August 02, 2003 09:19:35 -0400 Dragoncrest
>> <dragoncrest at voyager.net> wrote:
>>
>> > Well, what started all of this was my recent upgrade of Python to
>> > version 2.3 as part of my portupgrade cycle.  Well, as things would
>> > have it, bittorrent stopped working.  So I tried to force reinstall of
>> > BT but it fails when installing /usr/ports/math/py-numeric.  I get the
>> > following series of errors.
>> >
>> > rc/umathmodule.c:1952: `acosh' undeclared here (not in a function)
>> > Src/umathmodule.c:1952: initializer element is not constant
>> > Src/umathmodule.c:1952: (near initialization for `arccosh_data[0]')
>> > Src/umathmodule.c:1952: `acosh' undeclared here (not in a function)
>> > Src/umathmodule.c:1952: initializer element is not constant
>> > Src/umathmodule.c:1952: (near initialization for `arccosh_data[1]')
>> > Src/umathmodule.c:1953: `asinh' undeclared here (not in a function)
>> > Src/umathmodule.c:1953: initializer element is not constant
>> > Src/umathmodule.c:1953: (near initialization for `arcsinh_data[0]')
>> > Src/umathmodule.c:1953: `asinh' undeclared here (not in a function)
>> > Src/umathmodule.c:1953: initializer element is not constant
>> > Src/umathmodule.c:1953: (near initialization for `arcsinh_data[1]')
>> > Src/umathmodule.c:1954: `atanh' undeclared here (not in a function)
>> > Src/umathmodule.c:1954: initializer element is not constant
>> > Src/umathmodule.c:1954: (near initialization for `arctanh_data[0]')
>> > Src/umathmodule.c:1954: `atanh' undeclared here (not in a function)
>> > Src/umathmodule.c:1954: initializer element is not constant
>> > Src/umathmodule.c:1954: (near initialization for `arctanh_data[1]')
>> > error: command 'cc' failed with exit status 1
>> > *** Error code 1
>> >
>> > Stop in /usr/ports/math/py-numeric.
>> >
>> > Anyone know how to fix this?  Do I have to update one of my make
>> > programs or something?
>> >
>> > _______________________________________________
>> > freebsd-questions at freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> > To unsubscribe, send any mail to
>> > "freebsd-questions-unsubscribe at freebsd.org"
>> >
>>
>>
>>
>> --
>> Larry Rosenman                     http://www.lerctr.org/~ler
>> Phone: +1 972-414-9812                 E-Mail: ler at lerctr.org
>> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
>>
>>
>
>



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler at lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



More information about the freebsd-questions mailing list