AMBER Archive (2003)

Subject: Re: AMBER: a problem with xleap

From: Scott Brozell (sbrozell_at_scripps.edu)
Date: Thu Oct 16 2003 - 13:19:29 CDT


Hello,

Using Google, I found that a very similar problem arose
in June 2003. See the 'LEAP compiling problem' thread at
http://amber.ch.ic.ac.uk/archive/200306/
This suggestion by Dave was reported to fix the problem:

I may have located something else to look at: in
$AMBERHOME/src/leap/src/Wc/Imakefile, line 28 looks like this:

/**/#########################################################################

For some reason, your version of imake may not like this(?). It still seems
like a configuration problem, since these files have worked for 15 years
on many different X installations. Still, you might try removing these
comments (and the other ones like this in the file), to see if that helps.

...good luck...dac

Scott

On Thu, 16 Oct 2003, Ye Mei wrote:

> David A. Case,
>
> Thank you for your reply. My OS is SuSE8.2 with XFree86-4.3.0-111.
> I tried as you told me to do. The error only occurs when I type "make World", it seems that it cannot recognize the syntax of "Imakefile". And following is the error message.
>
> Building LEaP for the X Window System Release 604
>
> Thu Oct 16 09:22:32 CST 2003
> make Makefile
> make[1]: Entering directory `/soft/amber7/src/leap'
> + rm -f Makefile.bak
> + mv -f Makefile Makefile.bak
> imake -DUseInstalled -I/usr/X11R6/lib/X11/config -DDoNormalLib=1 -DDoProfileLib=0 -DDoDebugLib=0 -DDoSharedLib=0 -DLEAP_CONFIG=0x0000 -Wundef -DTOPDIR=. -DCURDIR=.
> make[1]: Leaving directory `/soft/amber7/src/leap'
> make Makefiles
> make[1]: Entering directory `/soft/amber7/src/leap'
> making Makefiles in src/Wc...
> mv -f Makefile Makefile.bak
> make[2]: Entering directory `/soft/amber7/src/leap'
> In file included from Imakefile:26,
> from /usr/X11R6/lib/X11/config/Imake.tmpl:2030,
> from Imakefile.c:35:
> ../Leap_lib.tmpl:10: warning: "NormalLibX" redefined
> ../Leap_lib.tmpl:6: warning: this is the location of the previous definition
> In file included from /usr/X11R6/lib/X11/config/Imake.tmpl:2030,
> from Imakefile.c:35:
> Imakefile:28: invalid preprocessing directive ###
> Imakefile:29: invalid preprocessing directive ##
> Imakefile:47: invalid preprocessing directive #CREATE_DEFS
> Imakefile:63: invalid preprocessing directive ###
> Imakefile:64: invalid preprocessing directive ##
> Imakefile:168: invalid preprocessing directive ###
> Imakefile:196: invalid preprocessing directive ###
> imake: Exit code 1.
> Stop.
> make[2]: *** [src/Wc/Makefile] Error 1
> make[2]: Leaving directory `/soft/amber7/src/leap'
> make[1]: [Makefiles] Error 2 (ignored)
> make[1]: Leaving directory `/soft/amber7/src/leap'
> make cleandir
> make[1]: Entering directory `/soft/amber7/src/leap'
> rm -f -rf ./src/X11
> rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
> make[1]: Leaving directory `/soft/amber7/src/leap'
> make includes
> make[1]: Entering directory `/soft/amber7/src/leap'
> mkdir ./src/X11
> including in ./src/Wc...
> make[2]: Entering directory `/soft/amber7/src/leap/src/Wc'
> Makefile:8: *** missing separator. Stop.
> make[2]: Leaving directory `/soft/amber7/src/leap/src/Wc'
> make[1]: *** [includes] Error 2
> make[1]: Leaving directory `/soft/amber7/src/leap'
> make: *** [World] Error 2
>
>
> ======= 2003-10-15 07:31:00 =======
>
> >On Wed, Oct 15, 2003, Ye Mei wrote:
> >>
> >> I have a problem with compiling amber7 with pgf77_mpich. It gives the error
> >> message as follows, and I have no idea how to solve it. Could anyone help?
> >>
> >
> >Note that leap is purely a C program, so you are really using gcc. But it
> >looks like your X build environment is not correctly set up in some way.
> >Since you don't give any information about your operating system, it's hard
> >to be very specific. You might try the following: go to the src/leap
> >directory and type:
> >
> >make clean
> >xmkmf
> >make World
> >
> >It's not clear if this is what you did or not. The error log you included
> >is not complete enough.
> >
> >Sorry to ask so many questions, but we really need more information to be of
> >much help.
> >
> >..dac
> >
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu