[yast-devel] svn build issues (prefix/destdir, libtool)
Hi ! I want to build yast2 from svn. I tried using y2makeall and manually but I have problems: If i use "--prefix=/home/dl9pf/programme/yast-zypper-snapshot" i get: ----------------------- test -z "/home/dl9pf/programme/yast-zypper-snapshot/lib64" || /bin/mkdir -p "/home/dl9pf/programme/yast-zypper-snapshot/lib64" /bin/sh ../../libtool --mode=install /usr/bin/install -c -p 'liby2.la' '/home/dl9pf/programme/yast-zypper-snapshot/lib64/liby2.la' libtool: install: error: cannot install `liby2.la' to a directory not ending in /home/dl9pf/programme/yast-zypper-snapshot//lib64 make[4]: *** [install-libLTLIBRARIES] Fehler 1 ----------------------- If i use "--prefix=/home/dl9pf/programme/yast-zypper-snapshot/" i get: ------------------------ make[3]: Entering directory `/home/dl9pf/user/svn/yast-svn-trunk/core/agent-dummy/src' make[3]: Für das Ziel »install-exec-am« ist nichts zu tun. test -z "/home/dl9pf/programme/yast-zypper-snapshot//lib64/YaST2/plugin" || /bin/mkdir -p "/home/dl9pf/programme/yast-zypper-snapshot//lib64/YaST2/plugin" /bin/sh ../../libtool --mode=install /usr/bin/install -c -p 'libpy2ag_dummy.la' '/home/dl9pf/programme/yast-zypper-snapshot//lib64/YaST2/plugin/libpy2ag_dummy.la' libtool: install: error: cannot install `libpy2ag_dummy.la' to a directory not ending in /usr/lib64/YaST2/plugin make[3]: *** [install-pluginLTLIBRARIES] Fehler 1 ------------------------ So either way fails - chould someone check this ? Best regards Jan-Simon -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Tue, Jul 22, 2008 at 05:25:36PM +0200, Jan-Simon Möller wrote:
I want to build yast2 from svn. I tried using y2makeall and manually but I have problems:
If i use "--prefix=/home/dl9pf/programme/yast-zypper-snapshot" i get: libtool: install: error: cannot install `liby2.la' to a directory not ending in /home/dl9pf/programme/yast-zypper-snapshot//lib64
If i use "--prefix=/home/dl9pf/programme/yast-zypper-snapshot/" i get: libtool: install: error: cannot install `libpy2ag_dummy.la' to a directory not ending in /usr/lib64/YaST2/plugin
So either way fails - chould someone check this ?
I tried and it seems to fail if you try to install a library to one prefix but have previously compiled it for another prefix. Try "make clean" (or if it is too much, delete all *.la files) and retry. BTW svn.opensuse.org is currently down. Stay tuned. -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Am Mittwoch 23 Juli 2008 11:16:10 schrieb Martin Vidner:
I tried and it seems to fail if you try to install a library to one prefix but have previously compiled it for another prefix. Try "make clean" (or if it is too much, delete all *.la files) and retry.
BTW svn.opensuse.org is currently down. Stay tuned.
You're right - i need to clean all before y2makeall. Ok, cleaned it, rebuilt ... but: for "core": test -z "`pkg-config --print-errors --variable sysconfdir dbus-1`/dbus-1/system.d" || /bin/mkdir -p "`pkg-config --print-errors --variable sysconfdir dbus-1`/dbus-1/system.d" /usr/bin/install -c -p -m 644 'org.opensuse.yast.SCR.conf' '/etc/dbus-1/system.d/org.opensuse.yast.SCR.conf' /usr/bin/install: reguläre Datei „/etc/dbus-1/system.d/org.opensuse.yast.SCR.conf“ kann nicht angelegt werden: Keine Berechtigung make[3]: *** [install-dbus_confDATA] Fehler 1 -.-^^ best regards Jan-Simon ;) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Wed, Jul 23, 2008 at 01:41:49PM +0200, Jan-Simon Möller wrote:
for "core": test -z "`pkg-config --print-errors --variable sysconfdir dbus-1`/dbus-1/system.d" || /bin/mkdir -p "`pkg-config --print-errors --variable sysconfdir dbus-1`/dbus-1/system.d" /usr/bin/install -c -p -m 644 'org.opensuse.yast.SCR.conf' '/etc/dbus-1/system.d/org.opensuse.yast.SCR.conf' /usr/bin/install: reguläre Datei „/etc/dbus-1/system.d/org.opensuse.yast.SCR.conf“ kann nicht angelegt werden: Keine Berechtigung make[3]: *** [install-dbus_confDATA] Fehler 1
Yes, that slipped through when we merged some fresh changes recently, sorry. I'll think of a proper fix. Work around it by redirecting it at make-time: make install \ dbus_confdir=$yourprefix/etc/dbus-1/system.d \ dbus_servicesdir=$yourprefix/share/dbus-1/system-services or by giving yourself rights (that's what I did because I needed dbus to use these files): sudo setfacl -m u:dl9pf:rwx /etc/dbus-1/system.d /usr/share/dbus-1/system-services -- Martin Vidner, YaST developer http://en.opensuse.org/User:Mvidner Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (2)
-
Jan-Simon Möller
-
Martin Vidner