Thomas Funk <t.f...@web.de> wrote:
> Hi all,
>
> I've tried to build a rpm package on openSUSE 11.3 and 12.1 with make rpm-dist but both failed with
>
> Making all in bin
> make[4]: Entering directory `/home/tf/redhat/BUILD/fvwm-2.6.6/bin'
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -pthread -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2 -O2 -MT fvwm-root.o -MD -MP -MF .deps/fvwm-root.Tpo -c -o fvwm-root.o fvwm-root.c
> mv -f .deps/fvwm-root.Tpo .deps/fvwm-root.Po
> gcc -O2 -o fvwm-root fvwm-root.o -L../libs -lfvwm -lXpm -lXcursor -lSM -lICE -lXext -lX11 -lm -lXrender -lXcursor -lpng -lz -pthread -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lpng12 -lgthread-2.0 -lrt -lglib-2.0 -lcairo -lfontconfig > make[4]: *** No rule to make target `fvwm-menu-desktop-config.fpl', needed by `all-am'. Stop.
> make[4]: Leaving directory `/home/tf/redhat/BUILD/fvwm-2.6.6/bin'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/tf/redhat/BUILD/fvwm-2.6.6'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/tf/redhat/BUILD/fvwm-2.6.6'
> error: Bad exit status from /var/tmp/rpm-tmp.noRKXk (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.noRKXk (%build)
> make[1]: Leaving directory `/home/tf/Downloads/cvs/fvwm/rpm'

I've fixed this issue with the following:
- renamed bin/fvwm-menu-desktop-config.fpl to bin/fvwm-menu-desktop-config.fpl.in
- added in configure.ac after line 1766:
  bin/fvwm-menu-desktop-config.fpl

After './utils/configure_dev.sh' and 'make rpm-dist' a rpm is created without an error. Also fvwm-menu-desktop-config.fpl is installed in /usr/share/fvwm/ correctly.

> With make deb-inplace and make; make-install all works fine ...

'make deb-inplace' creates a deb package also and is installed correctly, too.

Only 'make; make-install' haven't tested yet because I haven't a vm for that.

I hope this is a correct implementation fix because I am a noob in autoconf
and co ...

Regards,
Thomas


Reply via email to