[Mono-winforms-list] winelib install problems

Diego Iastrubni elcuco@kdemail.net
Thu, 13 May 2004 19:08:47 +0000

Hi all,

I am trying to package winelib, and I got into problems. I am making my rpms 
as a normal user, and I dont have write access to /usr/lib. 

However, the "make install" script tyies to write into those areas:

_list="winelib"; for i in $_list; do (cd $i; make install) || exit 1; done
make[1]: Entering directory `/home/cuco/rpm/BUILD/winelib-0.2/winelib'
_list="winelib.exe.so "; for i in $_list; do install $i /usr/lib; done
install: cannot create regular file `/usr/lib/winelib.exe.so': Permission 
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/cuco/rpm/BUILD/winelib-0.2/winelib'
make: *** [install] Error 1
error: Bad exit status from /home/cuco/rpm/tmp/rpm-tmp.78276 (%install)

Any ideas how can I fix this?
building it as root will not work, since it modifies the root dir.
Apparently I have to put this code in the post install script of the package. 

What code should I use? how do I disable this option from the "make install"?


diego, kde-il translation team

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Free MS-Office replacement for most platforms