I was trying to rebuild the rpms on x86 RH9 from the sourceforge
lesstif-0.93.97-1.src.rpm using the command line
rpmbuild --rebuild --define "_topdir /u/martin/rpm-builds/build-area" --buildroot
/u/martin/rpm-builds/build-install lesstif-0.93.97-1.src.rpm
but this fails with
File not found:
/u/martin/rpm-builds/build-install/usr/local/share/aclocal/ac_find_motif.m4
The problem is that the install phase of rpm didn't install ac_find_motif.m4.
This happens because configure checks for `aclocal --print-ac-dir` being a
writable directory and I'm running rpmbuild as me (not root) so the system ac
dir is unwritable.
This looks wrong to me for 3 reasons:
1) In normal non-rpm builds, it should be possible to run configure and make
as a normal user and then run make install as root. With the current
configure, this won't install ac_find_motif.m4.
2) In the rpm build, the make install is done into a private directory so an
unwritable system ac dir is an irrelevance.
3) The system ac dir is /usr/share/aclocal but the spec file packages it in
/usr/local/share/aclocal/ac_find_motif.m4.
Any comments?
__Martin
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Lesstif-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lesstif-discuss