Magic Mailing List |
|
From: Stefan Robert (srobert AT hermes DOT usherb.ca) Date: Wed Jul 09 2003 - 16:28:55 EDT
Hi Tim, you were right. This was caused by a bad installation... maybe the problem is in the installation script. I had the .dstyle files from rev36 installed instead of the ones from rev41. cleaned-up everything and installed rev36 (got the problem) and after this I installed rev41 (I know I jumped a couple of rev... I do not have the source codes of the other ones). It seems the installation script from rev41 does not install correctly the .dstyle files on my machine (running MacOS X 10.2.6) Below are the different steps I did to install magic rev36 and 41 and did an ls -l on the CAD_HOME/lib/magic/sys between each step. You can see the time stamp did not change from rev36 to rev41 on some files and by installing rev41 correctly you can see the change in time stamp (of course) and the difference in size for some of the .dstyle files.. [robs2102:lib/magic/sys] stefan% cd ~/unix/src/magic-7.2.36 [robs2102:~/unix/src/magic-7.2.38] stefan% sudo make install-tcl --- installing to /usr/local [robs2102:local/lib/magic] stefan% cd /usr/local/lib/magic/sys [robs2102:lib/magic/sys] stefan% ls -l total 1128 -rw-r--r-- 1 root wheel 11561 Jul 9 16:17 bw.glyphs -rw-r--r-- 1 root wheel 11544 Jul 9 16:17 color.glyphs -rw-r--r-- 1 root wheel 2956 Jul 9 16:17 magicps.pro -rw-r--r-- 1 root wheel 320 Jul 9 16:17 minimum.tech -rw-r--r-- 1 root wheel 15023 Jul 9 16:17 mos.24bit.dstyle -rw-r--r-- 1 root wheel 16563 Jul 9 16:17 mos.7bit.dstyle -rw-r--r-- 1 root wheel 918 Jul 9 16:17 mos.7bit.mraster.cmap -rw-r--r-- 1 root wheel 3188 Jul 9 16:17 mos.7bit.mraster_dstyle -rw-r--r-- 1 root wheel 894 Jul 9 16:17 mos.7bit.std.cmap -rw-r--r-- 1 root wheel 14678 Jul 9 16:17 mos.OpenGL.dstyle -rw-r--r-- 1 root wheel 914 Jul 9 16:17 mos.OpenGL.std.cmap -rw-r--r-- 1 root wheel 79671 Jul 9 16:17 scmos-sub.tech -rw-r--r-- 1 root wheel 100031 Jul 9 16:17 scmos-tm.tech -rw-r--r-- 1 root wheel 134391 Jul 9 16:17 scmos.tech -rw-r--r-- 1 root wheel 134345 Jul 9 16:17 scmosWR.tech -rw-r--r-- 1 root wheel 1487 Jul 9 16:17 windows11.glyphs -rw-r--r-- 1 root wheel 2285 Jul 9 16:17 windows14.glyphs -rw-r--r-- 1 root wheel 5116 Jul 9 16:17 windows22.glyphs -rw-r--r-- 1 root wheel 788 Jul 9 16:17 windows7.glyphs [robs2102:lib/magic/sys] stefan% cd ~/unix/src/magic-7.2.41 [robs2102:~/unix/src/magic-7.2.41] stefan% sudo make install-tcl --- installing to /usr/local [robs2102:~/unix/src/magic-7.2.41] stefan% cd /usr/local/lib/magic/sys [robs2102:lib/magic/sys] stefan% ls -l total 1128 -rw-r--r-- 1 root wheel 11561 Jul 9 16:17 bw.glyphs -rw-r--r-- 1 root wheel 11544 Jul 9 16:17 color.glyphs -rw-r--r-- 1 root wheel 2956 Jul 9 16:17 magicps.pro -rw-r--r-- 1 root wheel 320 Jul 9 16:17 minimum.tech -rw-r--r-- 1 root wheel 15023 Jul 9 16:17 mos.24bit.dstyle -rw-r--r-- 1 root wheel 16563 Jul 9 16:17 mos.7bit.dstyle -rw-r--r-- 1 root wheel 918 Jul 9 16:17 mos.7bit.mraster.cmap -rw-r--r-- 1 root wheel 3188 Jul 9 16:17 mos.7bit.mraster_dstyle -rw-r--r-- 1 root wheel 894 Jul 9 16:17 mos.7bit.std.cmap -rw-r--r-- 1 root wheel 14678 Jul 9 16:17 mos.OpenGL.dstyle -rw-r--r-- 1 root wheel 914 Jul 9 16:17 mos.OpenGL.std.cmap -rw-r--r-- 1 root wheel 79671 Jul 9 16:17 scmos-sub.tech -rw-r--r-- 1 root wheel 100031 Jul 9 16:17 scmos-tm.tech -rw-r--r-- 1 root wheel 134391 Jul 9 16:17 scmos.tech -rw-r--r-- 1 root wheel 134345 Jul 9 16:17 scmosWR.tech -rw-r--r-- 1 root wheel 1487 Jul 9 16:20 windows11.glyphs -rw-r--r-- 1 root wheel 2285 Jul 9 16:20 windows14.glyphs -rw-r--r-- 1 root wheel 5116 Jul 9 16:20 windows22.glyphs -rw-r--r-- 1 root wheel 788 Jul 9 16:20 windows7.glyphs [robs2102:lib/magic/sys] stefan% sudo rm * [robs2102:lib/magic/sys] stefan% cd ~/unix/src/magic-7.2.41 [robs2102:~/unix/src/magic-7.2.41] stefan% sudo make install-tcl --- installing to /usr/local [robs2102:~/unix/src/magic-7.2.41] stefan% cd /usr/local/lib/magic/sys [robs2102:lib/magic/sys] stefan% ls -l total 1128 -rw-r--r-- 1 root wheel 11561 Jul 9 16:24 bw.glyphs -rw-r--r-- 1 root wheel 11544 Jul 9 16:24 color.glyphs -rw-r--r-- 1 root wheel 2956 Jul 9 16:24 magicps.pro -rw-r--r-- 1 root wheel 320 Jul 9 16:24 minimum.tech -rw-r--r-- 1 root wheel 15100 Jul 9 16:24 mos.24bit.dstyle -rw-r--r-- 1 root wheel 16640 Jul 9 16:24 mos.7bit.dstyle -rw-r--r-- 1 root wheel 918 Jul 9 16:24 mos.7bit.mraster.cmap -rw-r--r-- 1 root wheel 3188 Jul 9 16:24 mos.7bit.mraster_dstyle -rw-r--r-- 1 root wheel 894 Jul 9 16:24 mos.7bit.std.cmap -rw-r--r-- 1 root wheel 14755 Jul 9 16:24 mos.OpenGL.dstyle -rw-r--r-- 1 root wheel 914 Jul 9 16:24 mos.OpenGL.std.cmap -rw-r--r-- 1 root wheel 79652 Jul 9 16:24 scmos-sub.tech -rw-r--r-- 1 root wheel 100012 Jul 9 16:24 scmos-tm.tech -rw-r--r-- 1 root wheel 134372 Jul 9 16:24 scmos.tech -rw-r--r-- 1 root wheel 134326 Jul 9 16:24 scmosWR.tech -rw-r--r-- 1 root wheel 1487 Jul 9 16:24 windows11.glyphs -rw-r--r-- 1 root wheel 2285 Jul 9 16:24 windows14.glyphs -rw-r--r-- 1 root wheel 5116 Jul 9 16:24 windows22.glyphs -rw-r--r-- 1 root wheel 788 Jul 9 16:24 windows7.glyphs [robs2102:lib/magic/sys] stefan% Le mercredi, 9 jul 2003, à 15:23 America/Montreal, R. Timothy Edwards a écrit : > Dear Stefan, > > The question is not whether the display styles file defines 8 metal > layers, but from what revision the display style file comes from. > What you describe sounds like magic is picking up the ".dstyle6" files > which were relevant for a very few revisions before I changed the > suffix to ".dstyle" and put the version number (6) into the file > itself. In that revision, I also added two styles to the built-in > styles, #13 "ports" and #14 "port_connections", to go along with the > new "port" command. > > So check the CAD_HOME/magic/sys path and see what style files > exist---if there are no ".dstyle" files, but only ".dstyle6" files, > then something went wrong with the installation. > > There is no need in magic 7.2 to set variable CAD_HOME. Any value > you supply to CAD_HOME is going to override what was built in. > I doubt that's the problem, but you can un-set CAD_HOME to see if it > makes a difference in the search paths for magic. > > Note that ultimately this is my fault for not updating the style > file version number from 6 to 7 when I added the two new styles, or > magic would be clearer about what the error is. Mea culpa. > > Regards, > Tim >
|
|