[gpaw-users] Installation problems
Christian Glinsvad
christian.glinsvad at fysik.dtu.dk
Wed May 4 16:19:05 CEST 2011
Ask Hjorth Larsen wrote:
> Hi
>
> On Wed, 4 May 2011, Jakob Arendt Rasmussen wrote:
>
>> Hi.
>>
>> On a rather new installation of kubuntu on my laptop I get the following
>> error when i try to compile gpaw (python setup.py build_ext):
>>
>> error: command 'gcc' failed with exit status 1
>>
>> The output in fulll length is attached.
>>
>> I hope anyone can tell me what I'm doing wrong...
>>
>> Jakob.
>>
>
> Did you install python-dev?
>
> Regards
> Ask
> _______________________________________________
> gpaw-users mailing list
> gpaw-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/gpaw-users
>
That's probably it. The package python2.6-dev provides the header file
/usr/include/python2.6/pyport.h which defines the missing "Py_intptr_t"
that the compiler is complaining about on line 181 of ndarrayobject.h
Regards
Christian Glinsvad
More information about the gpaw-users
mailing list