[MacPorts] #19087: llvm-2.5 configure error: install places symbolic links in ocaml libraries incorrectly
MacPorts
noreply at macports.org
Tue Mar 31 03:47:27 PDT 2009
#19087: llvm-2.5 configure error: install places symbolic links in ocaml libraries
incorrectly
--------------------------------------------+-------------------------------
Reporter: Bernard.Sufrin@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: ocaml llvm | Port: llvm
--------------------------------------------+-------------------------------
The llvm port sets up ocaml libraries if ocaml is present when llvm is
installed. But it places incorrect symbolic links in
/opt/local/lib/ocaml.
The following appears to corrects the problem:
{{{
# *2 - correct the incorrect links in /opt/local/lib//ocaml
cd /opt/local/lib/ocaml
sudo rm libLLVM*.a rm LLVM*.o
sudo ln -s /opt/local/lib/libLLVM* .
}}}
There appear to be references in the compiled ocaml bindings for llvm to
files in the directory:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/build/Release/lib/
But after a port clean this directory doesn't exist. The following appears
to fix the problem:
{{{
# *1 - link all the LLVM*.o files to the place where (ocalbuild) thinks
they are
sudo mkdir -p
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/build/Release/lib/
sudo ln -s /opt/local/lib/LLVM*.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_llvm/work/build/Release/lib/
}}}
I apologise that I am not a macports adept and do not know how to correct
the port itself.
--
Ticket URL: <http://trac.macports.org/ticket/19087>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list