Hello SuSE people Running 9.2 on an AMD 64 bit system with the latest kernel Downloaded an .src for libdvdread. Installed it, then went to build the SPEC file and make an rpm. Failed. here are the last few lines of the build. make[1]: Leaving directory `/usr/src/packages/BUILD/libdvdread-0.9.4' + cd /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib /var/tmp/rpm-tmp.97757: line 26: cd: /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) EasyStreet:/usr/src/packages/SPECS # The next to last entry from make states "/usr/lib: No such file or Directory" That is true, but I have a /usr/lib64 directory and there are 5 libdvd files in it. Any ideas on how I can make this rpm build for me ?? Bob S.
make[1]: Leaving directory `/usr/src/packages/BUILD/libdvdread-0.9.4' + cd /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib /var/tmp/rpm-tmp.97757: line 26: cd: /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) EasyStreet:/usr/src/packages/SPECS #
The next to last entry from make states "/usr/lib: No such file or Directory" That is true, but I have a /usr/lib64 directory and there are 5 libdvd files in it.
Any ideas on how I can make this rpm build for me ??
Bob S.
You may adapt the libpath with an option of "configure" command or you can build a rpm w/o the spec file provided with the source using "checkinstall -t rpm make install". Try it, works fine for me. Maybe checkinstall is not installed yet on your system, so try "yast2 -i checkinstall". Hope that helps The Polarizer Polarizers at its best http://www.glasspolarizer.com
On Tue, 2005-02-15 at 00:26, B. Stia wrote:
Hello SuSE people
Running 9.2 on an AMD 64 bit system with the latest kernel
Downloaded an .src for libdvdread. Installed it, then went to build the SPEC file and make an rpm. Failed. here are the last few lines of the build.
make[1]: Leaving directory `/usr/src/packages/BUILD/libdvdread-0.9.4' + cd /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib /var/tmp/rpm-tmp.97757: line 26: cd: /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) EasyStreet:/usr/src/packages/SPECS #
The next to last entry from make states "/usr/lib: No such file or Directory" That is true, but I have a /usr/lib64 directory and there are 5 libdvd files in it.
Any ideas on how I can make this rpm build for me ??
Edit the SPEC file to point to the correct location. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
Ken Schneider wrote:
On Tue, 2005-02-15 at 00:26, B. Stia wrote: [snip]
make[1]: Leaving directory `/usr/src/packages/BUILD/libdvdread-0.9.4' + cd /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib /var/tmp/rpm-tmp.97757: line 26: cd: /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) EasyStreet:/usr/src/packages/SPECS #
The next to last entry from make states "/usr/lib: No such file or Directory" That is true, but I have a /usr/lib64 directory and there are 5 libdvd files in it.
Any ideas on how I can make this rpm build for me ??
See this: http://blog.mecworks.com/index.php?p=40 It's a quick write-up of how I build some RPMs for SuSE 9.2 x86_64. -- Marc Christensen http://www.mecworks.com http://blog.mecworks.com http://gallery.mecworks.com
Another one that uses "reply to all" I see. I was trying to help the OP out and did not need TWO copies if your reply. Try NOT being so lazy that can't edit the To: line in your email. On Tue, 2005-02-15 at 08:48, Marc Christensen wrote:
Ken Schneider wrote:
On Tue, 2005-02-15 at 00:26, B. Stia wrote: [snip]
make[1]: Leaving directory `/usr/src/packages/BUILD/libdvdread-0.9.4' + cd /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib /var/tmp/rpm-tmp.97757: line 26: cd: /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) RPM build errors:
And yes I know I top posted as well. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 * Only reply to the list please* "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
make[1]: Leaving directory `/usr/src/packages/BUILD/libdvdread-0.9.4' + cd /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib /var/tmp/rpm-tmp.97757: line 26: cd: /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) EasyStreet:/usr/src/packages/SPECS #
The next to last entry from make states "/usr/lib: No such file or Directory" That is true, but I have a /usr/lib64 directory and there are 5 libdvd files in it.
Any ideas on how I can make this rpm build for me ?? Correct the files section of your spec file. It appears to be looking in /usr/lib instead of /usr/lib64. You can either change it by adding
B. Stia wrote: the 64, or better by using %{_libdir}/, which will allow it to work for both platforms. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
On Tuesday 15 February 2005 09:54, Joe Morris (NTM) wrote:
B. Stia wrote:
make[1]: Leaving directory `/usr/src/packages/BUILD/libdvdread-0.9.4' + cd /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib /var/tmp/rpm-tmp.97757: line 26: cd: /var/tmp/libdvdread-0.9.4-2.pm.1/usr/lib: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.97757 (%install) EasyStreet:/usr/src/packages/SPECS #
The next to last entry from make states "/usr/lib: No such file or Directory" That is true, but I have a /usr/lib64 directory and there are 5 libdvd files in it.
Any ideas on how I can make this rpm build for me ??
Correct the files section of your spec file. It appears to be looking in /usr/lib instead of /usr/lib64. You can either change it by adding the 64, or better by using %{_libdir}/, which will allow it to work for both platforms.
Thanks to everybody who replied. Edited the SPEC file and it installed OK. Now all I have to do is learn how to use it ! Still learning - Bob S.
participants (5)
-
B. Stia
-
Joe Morris (NTM)
-
Ken Schneider
-
Marc Christensen
-
Polarizer