[SCIM] skim: rpm and German manual for SuSE Linux 9.1

LiuCougar liucougar at gmail.com
Mon Aug 23 12:02:32 PDT 2004


On Mon, 23 Aug 2004 18:08:30 +0200, Jan Hefti <j.hefti at hamburg.de> wrote:
> >Thanks.
> >But I do think that if your use
> >%configure
> >rather than ./configure
> >I think it would honor the prefix (and other parameters)
> >Of course, I have no environment to test. Only FYI
> >(scim use only %configure, so you may want to give it a try)
> >
> >
> (Please correct me if I am wrong.)
> I think %configure honors the system-wide configuration, not the values
> passed on to the ./configure script used to create the Makefile. That is
> ok for scim and scim-chinese because they are expected to be installed
> under the usual program paths (i.e. /usr/... on SuSE Linux). But skim is
> a KDE program, and SuSE expects all KDE programs to be installed in
> /opt/kde3. Unfortunately, rpmbuild does not distinguish between KDE,
> Gnome and other programs, so we have to set the correct paths ourselves.
> There are certainly solutions that look much more elegant than mine, but
> mine works for SuSE (and should work for other distros as well, as long
> as ./configure is called with the correct --prefix if necessary), while
> using %configure (without other modifications) in the .spec file does not.
> 
> That is why I added the rather awkward looking header (%define ...) to
> your .spec file, and used ./configure instead of %configure.
> 
Thanks for you detailed explanation.

I know what's your points now.

James, do you know any other solutions to this kind of issue? a more
official approach?

Thanks again for your contribute, Jan ;)

Regards,

-- 
"People's characters are strengthened through struggle against
difficulties; they are weakened by comfort."
- Old Chinese adage


More information about the scim mailing list