[xcrysden] Success: Building XCD 1.5.24 with shared libs on OS X

Tone Kokalj tone.kokalj at ijs.si
Tue Jul 26 18:01:46 CEST 2011


On Mon, 2011-07-25 at 12:31 -0600, David M. Wood wrote:
> Howdy all!
> 
> After long travails, I have succeeded in building a functioning version of 1.5.24.  It is somewhat disturbing how difficult this has been.

David, 

This is absolutely great!

> I readily made a XCrySDen-1.5.24-bin-shared.tar.gz file but assume this won't work unless boatloads of libraries (above) are present.
> Hope this helps!

I would recommend to also prepare a semishared version.

The "bindist-semishared" target can assist you in doing that. But prior
running it, copy all the necessary libraries in
$XCRYSDEN_TOPDIR/external/lib/
(you need to copy Tcl/Tl, GL/GLU, fftw and meschach libraries)

E.g., here is a listing from the linux semishared version:

drwxr-xr-x 7 tone tone     4096 Jan 17  2011 bwidget-1.9.4
lrwxrwxrwx 1 tone tone       17 Apr  1 11:27 libfftw3.so -> libfftw3.so.3.2.4
lrwxrwxrwx 1 tone tone       17 Apr  1 11:32 libfftw3.so.3 -> libfftw3.so.3.2.4
-rw-r--r-- 1 tone tone  1044376 Apr  1 11:27 libfftw3.so.3.2.4
lrwxrwxrwx 1 tone tone       10 Apr  1 12:21 libGL.so -> libGL.so.1
lrwxrwxrwx 1 tone tone       19 Apr  1 12:21 libGL.so.1 -> libGL.so.1.5.071000
-rwxr-xr-x 1 tone tone 17465488 Jul 31  2009 libGL.so.1.5.070200
-rwxr-xr-x 1 tone tone 20022882 Apr  1 12:21 libGL.so.1.5.071000
lrwxrwxrwx 1 tone tone       11 Apr  1 12:24 libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 tone tone       20 Apr  1 12:24 libGLU.so.1 -> libGLU.so.1.3.071000
-rwxr-xr-x 1 tone tone  2156047 Jul 31  2009 libGLU.so.1.3.070200
-rwxr-xr-x 1 tone tone  2284040 Apr  1 12:24 libGLU.so.1.3.071000
lrwxrwxrwx 1 tone tone       18 Apr  1 11:27 libmeschach.so -> libmeschach.so.1.2
-rw-r--r-- 1 tone tone   300152 Apr  1 11:27 libmeschach.so.1.2
-r-xr-xr-x 1 tone tone  1265855 Apr  1 11:15 libtcl8.5.so
-r-xr-xr-x 1 tone tone  1479857 Apr  1 11:16 libtk8.5.so
drwxr-xr-x 6 tone tone     4096 Apr  1 11:15 tcl8.5
drwxr-xr-x 5 tone tone     4096 Apr  1 11:16 tk8.5


Then edit the EXTERNAL_LIB_FILES and EXTERNAL_SHAREDLIB_FILES variables
in top Makefile and finally execute make bindist-shared.

Let me know your progress.

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