[Magic-dev] Magic trouble on Suse10.3 64bit
Ilan Barak
IlanB at raysat.com
Thu May 1 11:39:25 EDT 2008
OK, compiling rev 7.5.133 got it working.
I still get the following:
Configuration Summary (principle requirements):
X11: yes
OpenGL: yes
Tcl/Tk: yes
BLT: no
Tcl/Tk magic uses the BLT package to create a tree diagram
of the cell hierarchy in a design. Without it, this option
is unavailable. Consider installing the BLT package.
Please help
Thanks
Ilan
________________________________
From: magic-dev-bounces at csl.cornell.edu [mailto:magic-dev-bounces at csl.cornell.edu] On Behalf Of Ilan Barak
Sent: Friday, April 25, 2008 11:29 AM
To: magic-dev at vlsi.cornell.edu
Subject: [Magic-dev] Magic trouble on Suse10.3 64bit
I apologize for the long list, and hope it will help to explain may problem.
An example of the corrupt magic screen can be seen at http://barak.hopto.org/ilan/temp/x1.jpg
I am having trouble running (and configuring ) Magic on Suse 10.3 Linux x_64 (amd)
I have tcl installed
ilanlinux:/home/ilanb/downloads/magic # rpm -qa | grep tcl
tcl-32bit-8.4.15-22
tclx-8.4-406
tcl-8.4.15-22
tcllib-1.9-53
tcl-devel-8.4.15-22
and Tk
tk-devel-8.4.15-25.3
tk-8.4.15-25
and blt
blt-2.4z-301
when I run ./configure I get
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for library containing strerror... none required
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for gm4... no
checking for gnum4... no
checking for m4... /usr/bin/m4
checking for ld used by GCC... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for void *... yes
checking size of void *... 8
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 8
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking whether byte ordering is bigendian... no
checking for ANSI C header files... (cached) yes
checking for setenv... yes
checking for putenv... yes
checking for vfork... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking param.h usability... no
checking param.h presence... no
checking for param.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for va_copy... yes
checking for __va_copy... yes
checking for gcore... no
checking for csh... /usr/bin/csh
checking for X... libraries /usr/lib64, headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDevice in -lXi... yes
checking for XmuInternAtom in -lXmu... yes
checking for XextFindDisplay in -lXext... yes
checking for tclConfig.sh... /usr/local/lib/tclConfig.sh
checking for tkConfig.sh... /usr/local/lib/tkConfig.sh
checking for wish executable... /usr/local/bin/wish8.4
checking for tclsh executable... /usr/local/bin/tclsh8.4
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for glXCreateContext in -lGL... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
configure: creating ./config.status
config.status: creating defs.mak
-----------------------------------------------------------
Configuration Summary (principle requirements):
X11: yes
OpenGL: yes
Tcl/Tk: yes
BLT: no
Tcl/Tk magic uses the BLT package to create a tree diagram
of the cell hierarchy in a design. Without it, this option
is unavailable. Consider installing the BLT package.
-----------------------------------------------------------
Use 'make' to compile and 'make install' to install.
Errors may not be printed to stdout: see files 'make.log'
and 'install.log' for complete error summary.
-----------------------------------------------------------
I make and make install OK
ilanb at ilanlinux:~/downloads/magic> make
--- errors and warnings logged in file make.log
--- making modules
--- making Tcl shared libraries
ilanb at ilanlinux:~/downloads/magic> su
Password:
ilanlinux:/home/ilanb/downloads/magic # make install
--- installing executable to /usr/local/bin
--- installing runtime files to /usr/local/lib
ilanlinux:/home/ilanb/downloads/magic #
but magic crashes due to wish8.5 in tkcon.tcl
/usr/local/lib/magic/tcl/tkcon.tcl: line 3: /usr/local/bin/wish8.5: No such file or directory
/usr/local/lib/magic/tcl/tkcon.tcl: line 3: exec: /usr/local/bin/wish8.5: cannot execute: No such file or directory
When I correct the line in magic MAGIC_WISH=/usr/local/bin/wish8.5 to wish8.4 magic starts but the layout window is empty, no tools or menuse.
The console shows:
loading history file ... 0 events added
error in slave eval:
couldn't load file "/usr/local/lib/magic/tcl/tclmagic.so": /usr/local/lib/magic/tcl/tclmagic.so: undefined symbol: Tcl_PkgInitStubsCheck
Main console display active (Tcl8.4.19 / Tk8.4.19)
(magic-7.5.131) 1 %
Can anyone help
Ilan Barak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://vlsi.csl.cornell.edu/pipermail/magic-dev/attachments/20080501/55f88208/attachment.html
More information about the magic-dev
mailing list