Re: Can't build rpm package for Python 2.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 13, 2006 at 08:55:14PM +0100, Marcus Habermehl (BMH1980) wrote:
> Hi everybody.
> 
> I want to build a rpm package for Python 2.5. But it fails on %install 
> (make DESTDIR=%{buildroot} install).
> 
> On compiling time I get error messages like:
> 
> /usr/bin/ld: cannot find -lpython2.5
> collect2: ld returned 1 exit status

What is it trying to compile on make install?

Try setting LIBRARY_PATH to the possible directories (%{buildroot}%{_libdir},
etc.).

> 
> The strange thing is, if I'm using the same commands manually, outside 
> of rpmbuild I doesn't get the error messages and "make 
> DESTDIR=$buildroot install" is working.
> 
> But I don't know why and I can't find differences between ./configure 
> from rpmbuild and a manually ./configure.

Did you compare the resulting config.log?


-- 
lfr
0/0

Attachment: pgpgfGTm0XbUy.pgp
Description: PGP signature

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux