Re: amber-developers: gleap/sleap issues

From: Wei Zhang <zweig.scripps.edu>
Date: Thu, 25 Oct 2007 08:57:36 -0500

David A. Case wrote:

>On Wed, Oct 24, 2007, Mengjuei Hsieh wrote:
>
>
>>It seem that the current makefile for src/gleap needs some revisions,
>>first of all, it includes ../config.h, which should be ../
>>config_amber.h now.
>>
>>
>
>This is not the correct solution, although I would understand that it's not
>obvious to anyone but me... :-)
>
>You need to run amber10/src/configure_at first (which creates
>amber10/src/config.h), then the Makefile should work.
>
>sleap/gleap are now part of amber_tools, and (currently) are configured via
>"configure_at" and are compiled via amber10/src/Makefile_at. Please see
>amber10/README_at for more info.
>
>Sometime soon, the "configure" and "configure_at" scripts will be merged (we
>hope!) into a single unified script. Until then, see if the info in README_at
>helps.
>
>
>
>>Also the make clean rule for src/gleap doesn't remove *.a files.
>>
>>
>
>I'll take a look at this.
>
>
>
>>In sleap's own repository of readline, the readline/xmalloc.h is
>>trying to include readline/readline/rlstdc.h, which may need to be
>>taken care of. In some operating systems, gcc -I. get to read the
>>rlstdc.h without problem, but that's not the case in my linux fc6 and
>>macosx.
>>
>>
>
>My recommendation is to change amber10/src/gleap/freelib/readline/xmalloc.h
>as follows:
>
>
>
>c.h 4 May 2007 17:49:11 -0000 1.1
>--- xmalloc.h 25 Oct 2007 00:13:35 -0000
>***************
>*** 23,33 ****
> #if !defined (_XMALLOC_H_)
> #define _XMALLOC_H_
>
>! #if defined (READLINE_LIBRARY)
>! # include "rlstdc.h"
>! #else
>! # include <readline/rlstdc.h>
>! #endif
>
> #ifndef PTR_T
>
>--- 23,29 ----
> #if !defined (_XMALLOC_H_)
> #define _XMALLOC_H_
>
>! #include "rlstdc.h"
>
> #ifndef PTR_T
>
>
>
>Mengjeui: would this change fix things for you?
>Wei: is there a reason not to do this?
>
>
I do not see any reason not do this.



>...thanks for the input....dave
>
>
>
Received on Sun Oct 28 2007 - 06:07:23 PDT
Custom Search