Am 21.07.19 um 14:03 schrieb Andrei Borzenkov:
21.07.2019 12:17, Daniel Bauer пишет:
Hi,
I am trying to compile kuickshow for 15.1, but I fail. Here's the complete output of my rpmbuild command:
https://www.daniel-bauer.com/div/kuickshow_rpmbuild.txt
what I did:
- downloaded kuickshow-0.9.2-4.1.src.rpm from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_42.3/...
(tried to install it directly instead of downloading it, but nothing was installed,
Installing source RPM just copies files under %buildroot which by default is ~/rpmbuild for non-root user; for root user this is /usr/src/packages. I am not sure how you checked what was installed.
tried again to install the downloaded package with Yast, but again nothing was installed)
- unpacked the files and copied to /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-composite-menu.patch /usr/src/packages/SOURCES/kuickshow-0.9.2-fix-imlib-init.patch /usr/src/packages/SOURCES/kuickshow-0.9.2.tar.bz2 /usr/src/packages/SPECS/kuickshow.spec
These files are not used when you run rpmbuild as non-root user (non-root user does not have necessary write permissions anyway) and you should not in general build anything as root.
- run rpmbuild -bc /usr/src/packages/SPECS/kuickshow.spec but it said it couldn't find files in /home/daniel/rpmbuild...
so I copied the files to the appropriate directories in /home/daniel/rpmbuild/
after running it again, it said that it was missing libkde4-devel (installed it with Yast) imlib-nogdk-devel-1.9.15 (installed it from http://download.opensuse.org/repositories/home:/mad_soft/openSUSE_Leap_15.1/... )
- after running again the rpmbuild command it looked good, but it terminated with
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.In3X4c (%build)
(complete output in the link above)
Well, that's where I am. Can anybody bring me a step forward? Please note: I have no idea about compiling, rpm and such, I just give it a try because I /need/ this program...
make[2]: *** No rule to make target '/usr/lib64/libImlib.so', needed by 'lib/libkdeinit4_kuickshow.so'. Stop.
Do you have this file? Can you access it?
I have file:///usr/lib64/libImlib.so file:///usr/lib64/libImlib.so.1 file:///usr/lib64/libImlib.so.1.9.15 the first two links to the third one all are owned by root with (l/-)rwxr-xr-x -- Daniel Bauer photographer Basel Málaga https://www.patreon.com/danielbauer https://www.daniel-bauer.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org