[gold-users] Bug: configure.ac patch

Jonas Juselius jonas.juselius at uit.no
Tue Oct 9 01:38:19 MDT 2012


Hi Scott!

On 10/08/2012 09:16 PM, Scott Jackson wrote:
> Hi Jonas,
> 
> Thanks for the patch. In looking at this, to me it appears that this
> will cure the problem in the install process, but I believe it will
> break the LOG_DIR substitutions in the goldsh histfile and  the
> Log.Filename in each of the configuration files, since these will not
> know how to resolve "${prefix}". I will need to resolve these issues
> before applying the patch.
> 

Oh, damn... I guess the easy solution is to create an expanded version
of LOG_DIR, e.g. _LOG_DIR=${prefix}/log, and use it for substitution in
the perl scripts instead. Not very pretty, but it should work. I have
attached a patch.

Jonas

> Thanks,
> 
> Scott
> 
> 
> On Mon, Oct 8, 2012 at 9:22 AM, Jonas Juselius <jonas.juselius at uit.no
> <mailto:jonas.juselius at uit.no>> wrote:
> 
>     There is a minor bug in the configure.ac <http://configure.ac> file
>     which causes
> 
>     $ make prefix=/somewhere/else install
> 
>     to fail. The problem is that ${prefix} gets expanded too early. I have
>     included a patch which fixes the bug:
> 
>     $ patch -p1 < prefix.patch
> 
>     Regards, Jonas
> 
>     --
>     Dr. Jonas Juselius <jonas.juselius at uit.no
>     <mailto:jonas.juselius at uit.no>>
>     High Performance Computing Group, University of Tromsø
>     Tel. +47 776 60400 <tel:%2B47%20776%2060400> Mobile. +47 47419869
>     <tel:%2B47%2047419869>
> 
> 
>     _______________________________________________
>     gold-users mailing list
>     gold-users at supercluster.org <mailto:gold-users at supercluster.org>
>     http://www.supercluster.org/mailman/listinfo/gold-users
> 
> 
> 
> 
> _______________________________________________
> gold-users mailing list
> gold-users at supercluster.org
> http://www.supercluster.org/mailman/listinfo/gold-users
> 

-- 
Dr. Jonas Juselius <jonas.juselius at uit.no>
High Performance Computing Group, University of Tromsø
Tel. +47 776 60400 Mobile. +47 47419869
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 2979 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/gold-users/attachments/20121009/69eb0c9a/attachment.bin 


More information about the gold-users mailing list