List Info

Thread: Need help with weird builderror




Need help with weird builderror
country flaguser name
Netherlands
2007-03-29 08:20:32
Hi All,

See: 
http://buildsys.fedoraproj
ect.org/logs/fedora-development-extras/30683-dia-0.96-1.fc7/


This bombs with the following error:
checking for python module gtk... yes
checking for headers required to compile python
extensions... found
checking for libpython2.5.a... not found
configure: error: could not find files required to build
python plugin
error: Bad exit status from /var/tmp/rpm-tmp.45933 (%build)

The piece from the configure script giving this error is:
py_config_dir="$py_prefix/lib/python$/c
onfig"

py_makefile="$/Makefile"
if test -f "$py_makefile"; then
   py_localmodlibs=`sed -n -e 's/^LOCALMODLIBS=(.*)/1/p'
$py_makefile`
   py_basemodlibs=`sed -n -e 's/^BASEMODLIBS=(.*)/1/p'
$py_makefile`
   py_other_libs=`sed -n -e 's/^LIBS=(.*)/1/p'
$py_makefile`

   if test -e
"$/libpython$.a";
then
     PYTHON_LIBS="-L$
-lpython$ $py_localmodlibs
     echo "$as_me:$LINENO: result: found"
>&5
echo "$found" >&6
   else
     echo "$as_me:$LINENO: result: not found"
>&5
echo "$not found" >&6
   fi
else
   echo "$as_me:$LINENO: result: not found"
>&5
echo "$not found" >&6
fi


The Makefile and libpython2.5.a files this piece of bash
script looks for are 
both in python-devel (verified on my local machine),
python-devel is in the 
BuildRequires and according to root.log does get installed.
Also according to 
root.log the python package getting installed is the exact
same version as on 
my devel machine, which does have this packages?

So what am I missing? HELP!

Regards,

Hans


-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list

Re: Need help with weird builderror
user name
2007-03-29 08:47:14
Hans de Goede wrote:
> Hi All,
> 
> See: 
> http://buildsys.fedoraproj
ect.org/logs/fedora-development-extras/30683-dia-0.96-1.fc7/
 
> 
> 
> This bombs with the following error:
> checking for libpython2.5.a... not found

>
py_config_dir="$py_prefix/lib/python$/c
onfig"
> 
>   if test -e
"$/libpython$.a";
then

Perhaps configure expects libpython2.5.a to be under
/usr/*lib*/python2.5/config,
which actually this is under /usr/*lib64*/python2.5/config/
?

Mamoru

-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list

Re: Need help with weird builderror
country flaguser name
Netherlands
2007-03-29 09:19:04
Mamoru Tasaka wrote:
> Hans de Goede wrote:
>> Hi All,
>>
>> See: 
>> http://buildsys.fedoraproj
ect.org/logs/fedora-development-extras/30683-dia-0.96-1.fc7/
 
>>
>>
>> This bombs with the following error:
>> checking for libpython2.5.a... not found
> 
>>
py_config_dir="$py_prefix/lib/python$/c
onfig"
>>
>>   if test -e
"$/libpython$.a";
then
> 
> Perhaps configure expects libpython2.5.a to be under 
> /usr/*lib*/python2.5/config,
> which actually this is under
/usr/*lib64*/python2.5/config/ ?
> 

I think you may be right,

Thanks,

Hans



-- 
fedora-extras-list mailing list
fedora-extras-listredhat.com
https://www.redhat.com/mailman/listinfo/fedora-extras-
list

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )