Mailinglist Archive: opensuse (2008 mails)

< Previous Next >
Re: [opensuse] yum, python 2.6 and Suse 11.1 - A sad tale
  • From: Anders Johansson <ajohansson@xxxxxxx>
  • Date: Sat, 25 Apr 2009 19:05:21 +0200
  • Message-id: <200904251905.21797.ajohansson@xxxxxxx>
On Saturday 25 April 2009 18:56:01 Carlos E. R. wrote:
On Saturday, 2009-04-25 at 18:20 +0200, Anders Johansson wrote:
On Saturday 25 April 2009 17:14:44 Carlos E. R. wrote:
On Saturday, 2009-04-25 at 09:44 -0400, peby@xxxxxxxxxxx wrote:
I normally try to run checkinstall to make an rpm rather than 'make
install' - but this had a bug too, it just need a directory to be
manually created.

I wrote a bugzilla about that problem time ago.

My guess is that the makefile creates the directory relative to the
installation root, but then tries to install not relative to it, into the
real file system

It happens with many Makefile files I have tried, I have no idea why. A
project would compile on openSUSE 10.3, then it failed in 11.0.

Example:

/usr/bin/install -c .libs/libdvdcss.a /usr/local/lib/libdvdcss.a
chmod 644 /usr/local/lib/libdvdcss.a

Exactly. A hard coded path directly into the file system. This doesn't work
when you want to create an rpm, everything has to be relative to the
installation root.

This is a very common bug in makefiles

chmod: changing permissions of `/usr/local/lib/libdvdcss.a': No such file
or directory make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory


This is Bug 432497, if you are interested.

I am, but it is still a problem with the makefiles

Anders
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >