Opened 13 years ago
Last modified 13 years ago
#1581 closed defect (fixed)
Can't install through MacPorts (linking problem during configure)
Reported by: | amadeus | Owned by: | amadeus |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | amadeus, |
Description
I have installed OpenModelica through Macports in May and started an update to OpenModelica 9576 but getting an Error. Debugging the configure & build process I realize the files in /opt/local/include are not found, although the files are there. Starting the configure manually with "./configure --prefix=/opt/local --with-omniORB=/opt/local --with-sendData-Qt", configure ends with:
checking for scandir... no checking for library containing dlopen... none required checking for library containing sqrt... none required checking for library containing colamd... no checking for library containing make_lp... no configure: error: linking failed
I attach the log-file, if this helps. The verbose mode inflate the file.
I'm using Mac OS X 10.6.8 and the actual MacPorts.
Attachments (1)
Change History (4)
by , 13 years ago
Attachment: | log-om.txt added |
---|
comment:1 by , 13 years ago
comment:2 by , 13 years ago
What does the following return for you? It fills up most of your log... If it's causing errors because of file system type or broken file system, I don't know. It seems like a very complicated way of doing "test -f /opt/local/include/plain/rml.h", so I might replace it anyway...
find /opt/local/include -follow -type d -name plain
comment:3 by , 13 years ago
Target {{{
openmodelica-devel +qt +gcc45
}}} works fine. I will try to fix this also for the apple cc (something to do with LDFLAGS for sure).
My stand-alone OpenModelica uses the following (with custom macports prefix):
I cannot actually test things right now because smlnj is broken on Lion...
I have one question though: Are you using XCode3 or XCode4? The find output seems a bit odd though... As if the macports user does not have read access to /opt/include ?