Hi Tim,
Thanks a tonne Tim for the pointer on how bltwish is handled in debian.

A symlink from /usr/bin/wish to /usr/bin/bltwish.

Seems to at-least start ccp4i. Now to see if it will also plot my graphs

Hari



On Wed, Apr 14, 2010 at 10:23 AM, Tim Gruene <t...@shelx.uni-ac.gwdg.de> wrote:
> Dear Hari,
>
> blt is, as far as I know, pretty deprecated and probably not updated anymore.
> It also depends on tcl/tk version 8.4, not version 8.5 which is installed on
> your system.  Maybe you can try to downgrade and recompile.
>
> Another, simpler way might be the following which works on the last 4 PCs I
> installed with Debian stable recently:
> Debian comes with the package blt which provides blt as a library, probably 
> the
> same as with ubuntu. Since there is only a 'wish' binary on your system but
> not 'bltwish', you have to change all occurences of bltwish in the scripts in
> $CCP4/ccp4i/bin with 'wish'.
>
> With Debian stable this works, even - which surprised me - for the loggraphs 
> (it
> didn't work previously for the graphs which was, as far as I understand, the
> reason why blt was provided as package by Bill Scott).
>
> Good luck, Tim
>
>
> On Wed, Apr 14, 2010 at 09:49:50AM -0400, hari jayaram wrote:
>> Hi I installed ccp4-6.1.3 on an ubuntu 10.04 beta box.
>> It does not have bltwish and I was trying to install it using gcc 4.4.3 on a
>> 64 bit ubuntu machine
>>
>> The known patches for getting blt2.4z are already applied to the source ,
>> the documented problems on the ccp4i problems page are also as they should
>> be in the code .
>>
>> When I configure
>>
>> ./configure --with-tcl=/usr/lib64/tcl8.5 --with-tk=/usr/lib64/tk8.5
>>
>> ANd then make I get the following errors which are beyong my troubleshooting
>> abilities . Any help will be greatly appreciated
>> Thanks
>> Hari
>>
>> h...@hari:~/tcltk++/blt2.4z$ make
>> (cd src; make all)
>> make[1]: Entering directory `/home/hari/tcltk++/blt2.4z/src'
>> gcc -c -Wall -O6   -I. -I.  -I/usr/include/tcl8.5/tk-private/generic
>> -I/usr/include/tcl8.5 bltAlloc.c
>> In file included from bltInt.h:80,
>>                  from bltAlloc.c:1:
>> bltNsUtil.h:50: error: conflicting types for ‘Tcl_FindCommand’
>> /usr/include/tcl8.5/tclDecls.h:3123: note: previous declaration of
>> ‘Tcl_FindCommand’ was here
>> bltNsUtil.h:67: error: conflicting types for ‘Tcl_CreateNamespace’
>> /usr/include/tcl8.5/tclDecls.h:3068: note: previous declaration of
>> ‘Tcl_CreateNamespace’ was here
>> bltNsUtil.h:72: error: conflicting types for ‘Tcl_FindNamespace’
>> /usr/include/tcl8.5/tclDecls.h:3116: note: previous declaration of
>> ‘Tcl_FindNamespace’ was here
>> bltNsUtil.h:75: error: conflicting types for ‘Tcl_Export’
>> /usr/include/tcl8.5/tclDecls.h:3086: note: previous declaration of
>> ‘Tcl_Export’ was here
>> make[1]: *** [bltAlloc.o] Error 1
>> make[1]: Leaving directory `/home/hari/tcltk++/blt2.4z/src'
>> make: *** [all] Error 2
>
> --
> --
> Tim Gruene
> Institut fuer anorganische Chemie
> Tammannstr. 4
> D-37077 Goettingen
>
> GPG Key ID = A46BEE1A
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iD8DBQFLxc/TUxlJ7aRr7hoRAnLzAKCp3iUF3PBcVGRMtxbrraNqQ1OyIgCg3y+9
> whWOmUYOgC20NHgMZA4iolI=
> =4dy/
> -----END PGP SIGNATURE-----
>
>

Reply via email to