[Mono-winforms-list] winelib install problems

Peter Dennis Bartok peter@novonyx.com
Thu, 13 May 2004 10:16:06 -0600


Chnage your prefix to an area where you have rights. You then also need to
compile wine with the same prefix and mono and mcs with the same prefix.

Peter

-----Original Message-----
From: "Diego Iastrubni" <elcuco@kdemail.net>
To: <mono-winforms-list@lists.ximian.com>
Date: 13 May, 2004 10:10
Subject: [Mono-winforms-list] winelib install problems


>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
>denied
>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
>http://www.openoffice.org/
>_______________________________________________
>Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>