So basically you want the ACLOCALDIR to be hardwired to
/usr/share/aclocal ?
Danny
On Mon, 2004-10-18 at 12:52, Martin Simmons wrote:
> >>>>> On Sun, 17 Oct 2004 17:52:32 +0200, Danny Backx <[EMAIL PROTECTED]> said:
>
> Danny> I've taken the conditional out of configure.in, and exported the macro
> Danny> so lesstif.spec gets configured to use the correct path.
>
> Danny> I trust this is better. Can you test ?
>
> It looks good in configure, but it won't fix lesstif.spec. The problem is
> that lesstif.spec is in the .src.rpm so it captures the the configure from the
> machine that built the .src.rpm ("dell" for the 0.93.95b-1 downloads). The
> setup of that machine is different from typical RH machines where people want
> to use the .src.rpm, leading to issue 3 below.
>
>
> Danny> On Fri, 2004-10-15 at 13:14, Martin Simmons wrote:
> >> 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
--
Danny Backx - danny.backx-at-planetinternet.be http://up.to/danny.backx
-------------------------------------------------------
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