[MacPorts] #19087: llvm-2.5 configure error: install places symbolic links in ocaml libraries incorrectly

MacPorts noreply at macports.org
Tue May 12 20:15:42 PDT 2009


#19087: llvm-2.5 configure error: install places symbolic  links in ocaml libraries
incorrectly
-------------------------------------------+--------------------------------
Reporter:  Bernard.Sufrin@…                |       Owner:  erickt@…           
    Type:  defect                          |      Status:  new                
Priority:  Normal                          |   Component:  ports              
 Version:  1.7.0                           |    Keywords:  ocaml llvm         
    Port:  llvm                            |  
-------------------------------------------+--------------------------------

Comment(by birenroy@…):

 I also encountered this issue. I installed llvm without +ocaml first, and
 encountered problems compiling anything using the llvm_executionengine
 library. I tried uninstalling llvm, and installing the +ocaml variant, but
 the problem persists. Here's some more info:

 {{{
 $ port installed | grep ocaml
   llvm @2.5_0+ocaml (active)
   ocaml @3.10.2_0+darwin_9
   ocaml @3.11.0_0 (active)
   ocaml-mode.el @3.05_0 (active)

 $ strings /opt/local/lib/ocaml/llvm_executionengine.cma | grep _opt_
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/build/Release/lib/LLVMJIT.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/build/Release/lib/LLVMExecutionEngine.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/build/Release/lib/LLVMInterpreter.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/build/Release/lib/LLVMX86CodeGen.o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/build/Release/lib/LLVMX86AsmPrinter.o

 }}}

 As you can see, the llvm_executionengine.cma library refers to the build
 directory.

 The steps I followed to try to get my install working were:

 {{{
 $ sudo port deactivate llvm
 $ sudo port uninstall llvm
 $ sudo port clean llvm
 $ sudo port install llvm +ocaml
 }}}

 Before installing llvm, I made sure that there were no llvm libraries in
 /opt/local/lib or /opt/local/lib/ocaml. Please let me know if you have any
 suggestions.

-- 
Ticket URL: <http://trac.macports.org/ticket/19087#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list