[xcrysden] 1.5.23 on Mac OS X Snow Leopard: almost there!
Tone Kokalj
tone.kokalj at ijs.si
Fri Jun 10 09:47:28 CEST 2011
On Thu, 2011-06-09 at 11:00 -0600, David M. Wood wrote:
> Tone, thanks for your reply!
>
> My load problems were fixed by adding to Make.sys the lines
>
> MESCHACH_LIB = -L/opt/local/lib -lmeschach
> FFTW3_LIB = -L/opt/local/lib -lfftw3
>
> (I also added loads of include variables that appear quite unnecessary.)
>
> The last remaining problems appear to be with getline.h, used in circumventing the absence of getline in glibc on OS X. (I'm embarassed to know no C, so cannot readily detect what's going on.)
>
> /opt/local/bin/gcc-mp-4.4 -O3 -m64 -DXC_HAVE_NO_GETLINE -DUSE_FONTS -I/opt/local/include/meschach -I/opt/local/include -I/opt/local/include/meschach -I/usr/X11R6/include -I/opt/local/include -c getline.c
> In file included from getline.c:25:
> getline.h:4: error: expected declaration specifiers or '...' before 'size_t'
I corrected the error (hopefully). Please replace the C/getline.c with
the attached file and let me know if it works!
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getline.c
Type: text/x-csrc
Size: 3169 bytes
Desc: not available
Url : http://www.democritos.it/pipermail/xcrysden/attachments/20110610/ec70590b/attachment.c
More information about the XCrySDen
mailing list