[xcrysden] problem in compiling Xcrysden

محمد ارشد فرحان arshadfarhan at hotmail.com
Fri Mar 9 06:40:21 CET 2012


Dear Prof. Kokaljas you had guided me, i was able to install both Mesa Library and fftw library.however, i could not manage to solve the problem for meschach (atleast i think i could not) the Xcrysden compilation this time gives a relatively small error which reads: "In file included from fft3d.c:6:
shankland.h:4:30: error: meschach/matrix2.h: No such file or directory
In file included from fft3d.c:6:
shankland.h:65: error: expected declaration specifiers or ‘...’ before ‘MAT’
shankland.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
shankland.h:69: error: expected declaration specifiers or ‘...’ before ‘MAT’
make[2]: *** [fft3d.o] Error 1
make[2]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/C'
make[1]: *** [compile] Error 2
make[1]: Leaving directory `/home/mafarhan/programs/XCrySDen-1.5.24-src-all/C'
make: *** [src-C] Error 2
" Kindly guide me more.thanking you in anticipation,Best Regards,M. Arshad Farhan
 > From: tone.kokalj at ijs.si
> To: xcrysden at democritos.it
> Date: Thu, 8 Mar 2012 10:13:20 +0100
> Subject: Re: [xcrysden] problem in compiling Xcrysden
> 
> 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
> 
> _______________________________________________
> XCrySDen mailing list
> XCrySDen at democritos.it
> http://www.democritos.it/mailman/listinfo/xcrysden
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.democritos.it/pipermail/xcrysden/attachments/20120309/e5865717/attachment.htm 


More information about the XCrySDen mailing list