[xcrysden] problem in compiling Xcrysden

Tone Kokalj tone.kokalj at ijs.si
Thu Mar 8 10:13:20 CET 2012


On Thu, 2012-03-08 at 10:21 +0900, محمد ارشد فرحان wrote:

> one error with a lot of warnings is :
>  
> "SyntaxError: invalid syntax
> make[5]: *** No rule to make target `depend', needed by `default'.
> Stop.
> make[5]: Leaving directory
> `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/src/mapi/vgapi'

The problem appears in compiling the external Mesa library. You have two
options: either use the system-wide libGL and libGLU libraries (if they
are present on your computer) or go
to /home/mafarhan/programs/XCrySDen-1.5.24-src-all/external/src/Mesa-7.10.1/ and try to compile it from there (read the corresponding Mesa documentation about compilation).

> & the error in the end of comilation is reads :
>  
> "fft3d.c:4:19: error: fftw3.h: No such file or directory

Well, you also need a development version of fftw3 library (i.e.
libfftw3.* library and fftw3.h header file. In addition, you will also
need a Meschach library. These two libs are available from:
http://www.fftw.org
http://www.math.uiowa.edu/~dstewart/meschach

Why don't you try first one of the available compiled packages? And if
none turns out to be suitable, you may consider compiling the source
package.

Regards, Tone

-- 
Anton Kokalj
J. Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia 
(tel: +386-1-477-3523 // fax:+386-1-477-3822)

Please, if possible, avoid sending me Word or PowerPoint attachments.
See:  http://www.gnu.org/philosophy/no-word-attachments.html



More information about the XCrySDen mailing list