Hi,
On Monday, May 22, 2006 at 01:44:39, Marc Collin wrote:
i begin to create rpm for suse
configure: error: IMWheel depends on the X11 libraries!
i don't understand why it don't get the X11 librairies, i copied all the dvd in /opt/dvd_suse
You are probably missing BuildRequires to xorg-x11-libs and xorg-x11-devel
Henne
ya know that compile i read this tutorial http://www-128.ibm.com/developerworks/library/l-rpm1/ i get: build --rpms /opt/dvd_suse error: Installed (but unpackaged) file(s) found: /usr/X11/bin/imwheel /usr/local/man/man1/imwheel.1.gz i tried to add in the spec file: %config(noreplace) /etc/imwheelrc /usr/X11R6/bin/imwheel %attr(0755, root, root) %{prefix}/bin/imwheel %{prefix}/man/man1/imwheel.1x.bz2 but i get RPM build errors: File not found: /var/tmp/imwheel-1.0.0pre12-build/etc/imwheelrc File not found: /var/tmp/imwheel-1.0.0pre12-build/usr/X11R6/bin/imwheel linux64:/usr/src/packages/SOURCES/imwheel # build --rpms /opt/dvd_suse logging output to /var/tmp/build-root/.build.log... ---- www.laboiteaprog.com
On Mon, May 22, 2006 at 10:56:12AM -0400, Marc Collin wrote:
Hi,
On Monday, May 22, 2006 at 01:44:39, Marc Collin wrote:
i begin to create rpm for suse
configure: error: IMWheel depends on the X11 libraries!
i don't understand why it don't get the X11 librairies, i copied all the dvd in /opt/dvd_suse
You are probably missing BuildRequires to xorg-x11-libs and xorg-x11-devel
Henne
ya know that compile
i read this tutorial http://www-128.ibm.com/developerworks/library/l-rpm1/
i get: build --rpms /opt/dvd_suse
error: Installed (but unpackaged) file(s) found: /usr/X11/bin/imwheel /usr/local/man/man1/imwheel.1.gz
i tried to add in the spec file: %config(noreplace) /etc/imwheelrc /usr/X11R6/bin/imwheel %attr(0755, root, root) %{prefix}/bin/imwheel %{prefix}/man/man1/imwheel.1x.bz2
but i get
RPM build errors: File not found: /var/tmp/imwheel-1.0.0pre12-build/etc/imwheelrc File not found: /var/tmp/imwheel-1.0.0pre12-build/usr/X11R6/bin/imwheel linux64:/usr/src/packages/SOURCES/imwheel # build --rpms /opt/dvd_suse logging output to /var/tmp/build-root/.build.log...
Likely the DESTDIR got applied twice. Check with find //var/tmp/imwheel-1.0.0pre12-build Ciao, Marcus
Le Lundi 22 Mai 2006 10:54, Marcus Meissner a écrit :
Likely the DESTDIR got applied twice.
Check with find //var/tmp/imwheel-1.0.0pre12-build
Ciao, Marcus
don't find nothing.... but find /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/ /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/ /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/X11 /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/X11/bin /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/X11/bin/imwheel /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/local /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/local/man /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/local/man/man1 /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/local/man/man1/imwheel.1.gz /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share/doc /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share/doc/packages /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share/doc/packages/imwheel /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share/doc/packages/imwheel/BUGS /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share/doc/packages/imwheel/NEWS /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share/doc/packages/imwheel/TODO /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share/doc/packages/imwheel/EMACS /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share/doc/packages/imwheel/README /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share/doc/packages/imwheel/AUTHORS /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share/doc/packages/imwheel/INSTALL /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/usr/share/doc/packages/imwheel/COPYING
On Mon, May 22, 2006 at 11:46:01AM -0400, Marc Collin wrote:
Le Lundi 22 Mai 2006 10:54, Marcus Meissner a écrit :
Likely the DESTDIR got applied twice.
Check with find //var/tmp/imwheel-1.0.0pre12-build
Ciao, Marcus
don't find nothing....
but
find /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/
Its there twice. You need to kill one level of /var/tmp/xxx/ Ciao, Marcus
Le Lundi 22 Mai 2006 11:45, Marcus Meissner a écrit :
On Mon, May 22, 2006 at 11:46:01AM -0400, Marc Collin wrote:
Le Lundi 22 Mai 2006 10:54, Marcus Meissner a écrit :
Likely the DESTDIR got applied twice.
Check with find //var/tmp/imwheel-1.0.0pre12-build
Ciao, Marcus
don't find nothing....
but
find /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/
Its there twice. You need to kill one level of /var/tmp/xxx/
Ciao, Marcus
how to do that? why with: %config(noreplace) /etc/imwheelrc i get RPM build errors: File not found: /var/tmp/imwheel-1.0.0pre12-build/etc/imwheelrc file seem to be /var/tmp/build-root/var/tmp (don't have imwheelrc there anyway....) not in /var/tmp/....
On Mon, May 22, 2006 at 12:07:11PM -0400, Marc Collin wrote:
Le Lundi 22 Mai 2006 11:45, Marcus Meissner a écrit :
On Mon, May 22, 2006 at 11:46:01AM -0400, Marc Collin wrote:
Le Lundi 22 Mai 2006 10:54, Marcus Meissner a écrit :
Likely the DESTDIR got applied twice.
Check with find //var/tmp/imwheel-1.0.0pre12-build
Ciao, Marcus
don't find nothing....
but
find /var/tmp/build-root/var/tmp/imwheel-1.0.0pre12-build/
Its there twice. You need to kill one level of /var/tmp/xxx/
Ciao, Marcus
how to do that?
why with: %config(noreplace) /etc/imwheelrc
i get RPM build errors: File not found: /var/tmp/imwheel-1.0.0pre12-build/etc/imwheelrc
file seem to be /var/tmp/build-root/var/tmp (don't have imwheelrc there anyway....) not in /var/tmp/....
Care to show us the whole .spec file again? Ciao, Marcus
Le Lundi 22 Mai 2006 12:31, Marcus Meissner a écrit :
Care to show us the whole .spec file again?
Ciao, Marcus
work fine now..... i show you the spec file.... you can maybe said me some tips to improve it..... # # Define some variables here # %define version 1.0.0pre12 %define prefix /usr/X11 %define cfg /etc/X11 %define ins /usr/bin/install %define bz2 /usr/bin/bzip2 # # imwheel.spec # Marc Collin # 21/05/2006 # Name: imwheel Version: %{version} Release: 1 License: GPL Summary: A utility to make wheel mice work under X Group: User Interface/X Hardware Support Source: http://www.jonatkins.org/imwheel/files/imwheel-%{version}.tar.gz URL: http://www.jonatkins.org/imwheel Packager: Marc Collin <collinm@laboiteaprog.com> BuildRequires: xorg-x11-libs, xorg-x11-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This is the imwheel utility for X. It supports a variety of wheel mice including the MS Intellimouse. %prep %setup %build ./configure --bindir=%{prefix}/bin --disable-gpm --sysconfdir=%{cfg} make %install rm -rf $RPM_BUILD_ROOT install -c -d -o root -g root -m 0755 $RPM_BUILD_ROOT%{prefix}/bin install -c -o root -g root -m 0755 imwheel $RPM_BUILD_ROOT%{prefix}/bin/imwheel install -c -d -o root -g root -m 0755 $RPM_BUILD_ROOT%{prefix}/man/man1 install -c -o root -g root -m 0644 imwheel.1 $RPM_BUILD_ROOT%{prefix}/man/man1/imwheel.1x %{bz2} -9 $RPM_BUILD_ROOT%{prefix}/man/man1/imwheel.1x install -c -d -o root -g root -m 0755 $RPM_BUILD_ROOT/%{cfg} install -c -o root -g root -m 0644 imwheelrc $RPM_BUILD_ROOT/%{cfg}/imwheelrc %files %config(noreplace) %{cfg}/imwheelrc %{prefix}/bin/imwheel %{prefix}/man/man1/imwheel.1x.bz2 %doc BUGS NEWS COPYING EMACS README TODO AUTHORS INSTALL %clean %post %postun %Changelog * Sun May 21 2006 <collinm@laboiteaprog.com> -- Initial Version (based off the Suse 10.1 spec file by Marc Collin)
On 2006-05-22 12:45:12 -0400, Marc Collin wrote:
* Sun May 21 2006 <collinm@laboiteaprog.com> -- Initial Version (based off the Suse 10.1 spec file by Marc Collin)
why not just recompile the suse spec on 10.0? the y2build from 10.1 can do that. see the suse build tutorial in the wiki [1]. darix [1] http://en.opensuse.org/SUSE_Build_Tutorial -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org
Le Lundi 22 Mai 2006 12:47, Marcus Rueckert a écrit :
On 2006-05-22 12:45:12 -0400, Marc Collin wrote:
* Sun May 21 2006 <collinm@laboiteaprog.com> -- Initial Version (based off the Suse 10.1 spec file by Marc Collin)
why not just recompile the suse spec on 10.0? the y2build from 10.1 can do that. see the suse build tutorial in the wiki [1].
darix
i tried but i found this tutorial not very explicit......... like step two don't said how to setup y2pmbuild..... don't provide any information about that.....
On Mon, May 22, 2006 at 12:45:12PM -0400, Marc Collin wrote:
Le Lundi 22 Mai 2006 12:31, Marcus Meissner a écrit :
Care to show us the whole .spec file again?
Ciao, Marcus
work fine now..... i show you the spec file.... you can maybe said me some tips to improve it.....
before trying again, rm -rf /var/tmp/imwheel* ... it might just be left overs from earlier builds. (in %clean you should also rm -rf $RPM_BUILD_ROOT ) Ciao, Marcus
Le Lundi 22 Mai 2006 12:52, Marcus Meissner a écrit :
On Mon, May 22, 2006 at 12:45:12PM -0400, Marc Collin wrote:
Le Lundi 22 Mai 2006 12:31, Marcus Meissner a écrit :
Care to show us the whole .spec file again?
Ciao, Marcus
work fine now..... i show you the spec file.... you can maybe said me some tips to improve it.....
before trying again, rm -rf /var/tmp/imwheel* ... it might just be left overs from earlier builds.
(in %clean you should also rm -rf $RPM_BUILD_ROOT )
Ciao, Marcus
i use an amd 64 bits...... i get only a build for x86_64..... is there a way to get it also for x86? thanks
participants (3)
-
Marc Collin
-
Marcus Meissner
-
Marcus Rueckert