***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


Sir,
A pre-compiled version of Bltwsh is now available along with CCP4 package for download.

http://www.ccp4.ac.uk/download/downloadman.php

It just works fine for me in intel mac book pro.

sincerely
sankar


Arun Malhotra wrote:
***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***


Hi folks:

I have the same problem as Jeffrey Wilson - CCP4i fails on a Macbook Pro (OS 10.4.7 Intel) due to bltwish:

******
Segmentation fault

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x5c637273

Thread 0 Crashed:
0 libX11.6.dylib 0x9b4adb3f XInternAtom + 46
1 bltwish 0x0002d512 Blt_DragDropInit + 211 (crt.c:305)
2 bltwish 0x00002355 Blt_Init + 242 (crt.c:305)
3 bltwish 0x0000210d Tcl_AppInit + 86 (crt.c:305)
4 libtk8.4.dylib 0x9accc2eb Tk_MainEx + 761
5 bltwish 0x000020af main + 49 (crt.c:305)
6 bltwish 0x00002026 _start + 228 (crt.c:272)
7 bltwish 0x00001f41 start + 41

Thread 1:
0 libSystem.B.dylib 0x9001aafc select + 12
1 libSystem.B.dylib 0x90024b07 _pthread_body + 84

******

When I get the the TCL/TK/BLT source from the ccp4 site (ftp://ftp.ccp4.ac.uk/tcltk/TclTk-8.4/tcl_tk_blt.tar.gz), the "build_tcltkblt.sh" build script gives an error with blt (after the CC flag is set to gcc):

*****
...
bltUnixImage.o definition of common _redAdjust (size 16)
/usr/bin/libtool: internal link edit command failed
make[2]: *** [libBLT24.so] Error 1
make[1]: *** [install-lib] Error 2
make: *** [install-all] Error 2
*****

The "build_nonshared_tcltkblt.sh" work fine (the permissions on "blt2.4z-configure.nonshared" need to be set to executable), but the resulting bltwish gives the same segmentation fault.

I cannot seem to get precompiled bltwish for the Macintel OS - most Tcl/TK binaries do not seem to include BLT (I tried TCL/TK-batteries-included and the ActiveState's Tcl).

Any other ideas?

Of course, if all else fails, we can try the fink approach (thanks to Bill Scott!)

Arun Malhotra



William Scott wrote:

Thanks, Raj!

By the way, if you don't want to use fink, you can still look to see what changes (if any) needed to be made to a package to compile it and to get it to work right.

eg: http://xanana.ucsc.edu/fink_intel/fink/10.4/unstable/main/finkinfo/languages/tcltk.info http://xanana.ucsc.edu/fink_intel/fink/10.4/unstable/main/finkinfo/languages/tcltk.patch

Bill



On Thu, 24 Aug 2006, S. Shanmuga Sundara Raj wrote:

Hi Jeffrery,

I installed almost all the crystallography packages using Fink without any problem. Thanks to Scott.

http://xanana.ucsc.edu/~wgscott/xtal/wiki/index.php/Quick_Start_:_Intel-based_OS_X

BTW, apple has latest XCODE package on its website.

raj

Serge Cohen <[EMAIL PROTECTED]> wrote: *** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Jeffrey;

I had absolutely no problem with installing CCP4 v6.0.1 using sources
on a MacBookPro, but for that you need a fortran compiler (and in my
case I used the intel fortran).

Now the fact is that your trouble looks like they are lying tcl/tk/
blt, these you can compile from source just using the software dev.
tools (because tcl/tk/blt are C, no fortran involved) coming with the
machine (basically using apple's distribution of gcc).
So what you can try is to get the sources of tcl/tk/blt from the CCP4
server (to be sure they correspond to the proper version), and then
compile/build them, Finally use this version to replace the one which
are coming along the binary distribution of CCP4 (keeping the rest of
the binaries from the CCP4 distribution).

Hope this helps;

Serge.

PS: You can find on the CCP4 server a script to compile tcl/tk/
blt ... if ever it does not work (or you want more details), I have a
page explaining how to build ccp4 on intel macs (just remove the
'CC=icc ' in front of the configure lines for tcl and tk, and remove
the '--with-cc=icc' option for blt, to be sure to use gcc) : http://
xtal.nki.nl/~serge/CCP4-v6.0-intel.html

Le 24 ao?t 06 ? 13:38, Roberto Steiner a ?crit :

Hi Jeffrey,

I had the same problem in the past.
In my case the solution was installing it again in /sw/bin using fink.

HTH,
Roberto

On 24 Aug 2006, at 12:03, Jeffrey Wilson wrote:

While this is resurrecting an old thread, I did not see a
resolution to the problem. Steven Muchmore posted on June 7th
that bltwish was segfaulting on his Intel Core Duo Mac. I too am
having this problem with bltwish as shipped with ccp4-6.0.1-osx-
i386.dmg. Essentially the same crash log on my MacBook Pro:
-----------------------------------
Date/Time: 2006-08-23 21:48:13.975 -0400
OS Version: 10.4.7 (Build 8J2135a)
Report Version: 4

Command: bltwish
Path: ./bltwish
Parent: tcsh [3015]

Version: ??? (???)

PID: 4779
Thread: 0

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0x74657320

Thread 0 Crashed:
0 libX11.6.dylib 0x9b8ea800 _XInternAtom + 80
1 libX11.6.dylib 0x9b8eab62 XInternAtom + 81
2 bltwish 0x00036f8d Blt_DragDropInit + 234
3 bltwish 0x000029a9 Blt_Init + 815
4 bltwish 0x00002343 Tcl_AppInit + 115
5 libtk8.4.dylib 0x9b1022eb Tk_MainEx + 761
6 bltwish 0x000022c5 main + 51
7 bltwish 0x0000223a _start + 228 (crt.c:272)
8 bltwish 0x00002155 start + 41
...
-----------------------------------

Now what is strange is that if I move the /usr/local/tcl8.4
directory to tcl8.4_tmp, make a new tcl8.4 directory, and copy
init.tcl back into it, ccp4i and bltwish will start. HOWEVER,
none of the buttons then work and errors popup on the commandline:

jeff% ccp4i
Application initialization failed: invalid command name
"tcl_findLibrary"
Top level CCP4 directory is /usr/local/ccp4-6.0.1
Using CCP4 programs from /usr/local/ccp4-6.0.1/bin
invalid command name "tk::ScreenChanged"
while executing
"tk::ScreenChanged :0.0"
(changing screen in event binding)

The "tk::ScreenChanged" part of the error comes when you try to
mouseover the window.

When I run "otool -L" on bltsh, bltwish,tclsh, and wish, they are
trying to look for /usr/local/lib/libtcl8.4.dylib and /usr/local/
lib/libtk8.4.dylib which don't exist. Only libBLT.2.4.dylib is
supplied. I am not sure if this is a big deal since these files
also exist in /usr/lib from the OS X distribution, but their
version numbers (8.4.0) are likely different than those of the
person who created this distribution.

So, other than Charles Ballard, has anyone got ccp4i running on an
intel Mac using the distribution provided by CCP4 (not fink)?

Jeff

Jeffrey Wilson, Ph.D.
University of Cincinnati College of Medicine
Molecular Genetics Department
231 Albert Sabin Way
MSB 3109A
Cincinnati, OH 45267-0524
(513) 558-4651



---
Dr. Roberto Steiner
Randall Division of Cell and Molecular Biophysics
New Hunt's House
King's College London
Guy's Campus
London, SE1 1UL
Phone +44 (0)20-7848-8216
Fax +44 (0)20-7848-6435
e-mail [EMAIL PROTECTED]





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFE7aob5EPeG5y7WPsRAjR3AKDOyumc7ZcwyDNpLhnitc7rWZdjhQCeJKYz
7jP3rHscKYvngeLSP6hLoEw=
=36m+
-----END PGP SIGNATURE-----




---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2?/min or less.




Reply via email to