[MacPorts] #32934: Mac Os X Lion - magic vlsi fails: tclmagic.dylib image not found similar to #25214
#32934: Mac Os X Lion - magic vlsi fails: tclmagic.dylib image not found similar to #25214 ----------------------------------------+----------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ----------------------------------------+----------------------------------- I just install the port but it does not find the dynamic library. -- Ticket URL: <https://trac.macports.org/ticket/32934> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: Mac Os X Lion - magic vlsi fails: tclmagic.dylib image not found similar to #25214 -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: magic | -----------------------------------------+---------------------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => duplicate * port: => magic Comment: #25214 -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: Mac Os X Lion - magic vlsi fails: tclmagic.dylib image not found similar to #25214 -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: magic | -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * cc: waqar@…, ryandesign@…, macsforever2000@… (added) Comment: How can it be a duplicate of a ticket resolved 7 months ago? It would be good to get a complete main.log so we can analyze this. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: Mac Os X Lion - magic vlsi fails: tclmagic.dylib image not found similar to #25214 -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: magic | -----------------------------------------+---------------------------------- Comment(by yannick.heinrich@…): Where can I find this file ? The program does not crash at compilation time but at runtime in the tcl window. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: Mac Os X Lion - magic vlsi fails: tclmagic.dylib image not found similar to #25214 -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: magic | -----------------------------------------+---------------------------------- Comment(by macsforever2000@…): Based on the very little information provided by the reporter, it looks like a duplicate to me. Open a new terminal window. Then type the following and attach the output: {{{ sudo port clean magic sudo port -d install magic }}} -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * status: closed => reopened * resolution: duplicate => Comment: I'm able to reproduce the issue. The problem is tclmagic.dylib does not get built, due to various prior build errors, and the build system nevertheless exits 0, so the install proceeds. Either the fix from #25214 did not fix it, or the problem has recurred. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Comment(by yannick.heinrich@…): Ok I just see your ticket. Do I need to attach the log file ? -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Comment(by ryandesign@…): I've attached my main.log, config.log and make.log. In my case there appear to be at least two problems: * In the config.log, I see: {{{ g++: Error: You should be using ${configure.cxx} See http://trac.macports.org/wiki/UsingTheRightCompiler }}} I am indeed using the instructions at UsingTheRightCompiler in order to expose errors like this. I'll see if I can fix this problem. * In the make.log, I see: {{{ /opt/local/include/gcr/gcr.h:25:18: error: glib.h: No such file or directory }}} I don't know if this is a consequence of the first or a separate problem. Please attach your versions of these three files so we can see if the cause is the same on your system. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Comment(by yannick.heinrich@…): During the installation process, it cleans me the directory containing the log files :( -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Comment(by ryandesign@…): Yes it does. To keep the main.log file, edit macports.conf and set "keeplogs yes". To keep the build directory, which contains the config.log and for this particular port the make.log, use "sudo port -k install magic". -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Comment(by ryandesign@…): Replying to [comment:7 ryandesign@…]:
{{{ g++: Error: You should be using ${configure.cxx} See http://trac.macports.org/wiki/UsingTheRightCompiler }}} This problem was the configure script clearing the CXX variable. Fixed in r89126.
{{{ /opt/local/include/gcr/gcr.h:25:18: error: glib.h: No such file or directory }}} Here the problem is that /opt/local/include/gcr/gcr.h exists at all. It's provided by the gnome-session port, which is not in magic's dependency chain, I just happen to have it installed for other reasons. And magic just happens to provide a completely different file of the same name in a directory of the same name in its source distribution. It's trying to get that file, but because somewhere the include flags are in the wrong order, it's getting system files before its own. The workaround for this would be to deactivate the gnome-session port before trying to install the magic port. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Comment(by ryandesign@…): Replying to [comment:10 ryandesign@…]:
the gnome-session port
Correction: the gnome-keyring port. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Comment(by ryandesign@…): In r89145 I added a check to the port so that it will exit with an error message if tclmagic.dylib doesn't get built (since the magic build system clearly doesn't do that on its own). -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Comment(by yannick.heinrich@…): Hello, I retried to install it today and I wen further. I first install blt with the gcc compiler {{{ $ sudo port -d install blt configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2 }}} Then I did the same with magic {{{ $ sudo port -d install magic configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2 }}} I launch the magic program. It tells me that section in technologies files is missing. I went in the corresponding directory and noticed that all tech files (scmos.tech) are zero-byte size. I downloaded the last version of magic and unarchieve it. {{{ ./configure cd scmos make }}} and I copy all the generated files in /opt/local/lib/magic/sys directory. Then the editor appears. I'm to new with this software and can not tell if it is enough to work with it. May be someone have been further. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: waqar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => waqar@… * cc: waqar@… (removed) * status: reopened => new -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: waqar@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Comment(by jmr@…): Version 7.5.220 is available upstream BTW. Probably want to update before working on this problem any more. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found -----------------------------------------+---------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * owner: waqar@… => macports-tickets@… Comment: waqar has retired. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found ---------------------------------+-------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | ---------------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:10 ryandesign@…]:
Here the problem is that /opt/local/include/gcr/gcr.h exists at all. It's provided by the gnome-keyring port, which is not in magic's dependency chain, I just happen to have it installed for other reasons. And magic just happens to provide a completely different file of the same name in a directory of the same name in its source distribution. It's trying to get that file, but because somewhere the include flags are in the wrong order, it's getting system files before its own. The workaround for this would be to deactivate the gnome-keyring port before trying to install the magic port.
Added detection for this situation in r97857. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found ---------------------------------+-------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: magic | ---------------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:15 jmr@…]:
Version 7.5.220 is available upstream BTW.
Updated to 7.5.221 in r97862. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32934: magic vlsi fails: tclmagic.dylib image not found ---------------------------------+-------------------------------- Reporter: yannick.heinrich@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: magic | ---------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:13 yannick.heinrich@…]:
I launch the magic program. It tells me that section in technologies files is missing. I went in the corresponding directory and noticed that all tech files (scmos.tech) are zero-byte size. I downloaded the last version of magic and unarchieve it.
{{{ ./configure cd scmos make }}}
and I copy all the generated files in /opt/local/lib/magic/sys directory. Then the editor appears. I'm to new with this software and can not tell if it is enough to work with it. May be someone have been further.
Thank you, that was helpful. Fixed in r97864. -- Ticket URL: <https://trac.macports.org/ticket/32934#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts