
hi i begin to create rpm for suse i installed build i don't find a good tutorial about specfile in my spec file i have: %define prefix /usr/X11 ... ... %prep rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT %setup %build ./configure make all %install mkdir -p $RPM_BUILD_ROOT%{prefix}/bin $RPM_BUILD_ROOT%{prefix}/man/man1 $RPM_BUILD_ROOT%{prefix}/etc /usr/bin/install -c -d -o root -g root -m 0755 $RPM_BUILD_ROOT%{prefix}/bin /usr/bin/install -c -o root -g root -m 0755 imwheel $RPM_BUILD_ROOT%{prefix}/bin/imwheel /usr/bin/install -c -d -o root -g root -m 0755 $RPM_BUILD_ROOT%{prefix}/man/man1 /usr/bin/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 /usr/bin/install -c -d -o root -g root -m 0755 $RPM_BUILD_ROOT/%{cfg} /usr/bin/install -c -o root -g root -m 0644 imwheelrc $RPM_BUILD_ROOT/%{cfg}/imwheelrc when i do: /usr/src/packages/SOURCES/imwheel # build --rpms /opt/dvd_suse/ i get: hecking where the pid file goes... /tmp checking if we suid imwheel at install... no checking if we use the included getopts... no checking if we build mdetect... no checking if we build mdump... no checking if we build extras... no checking for gpm-1.19.3/gpm.c... no checking if we build gpm-imwheel... no checking for X... no checking for XCreateWindow in -lX11... no configure: error: IMWheel depends on the X11 libraries! linux64:/usr/src/packages/SOURCES/imwheel # error: Bad exit status from /var/tmp/rpm-tmp.84858 (%build) i don't understand why it don't get the X11 librairies, i copied all the dvd in /opt/dvd_suse if i use only the source ./configure make all work without problem thank -- www.laboiteaprog.com

Hi, On Monday, May 22, 2006 at 01:44:39, Marc Collin wrote:
You are probably missing BuildRequires to xorg-x11-libs and xorg-x11-devel Henne -- Henne Vogelsang, Core Services "Rules change. The Game remains the same." - Omar (The Wire)

Hi, On Monday, May 22, 2006 at 01:44:39, Marc Collin wrote:
You are probably missing BuildRequires to xorg-x11-libs and xorg-x11-devel Henne -- Henne Vogelsang, Core Services "Rules change. The Game remains the same." - Omar (The Wire)
participants (2)
-
Henne Vogelsang
-
Marc Collin