#51317 closed defect (fixed)
erlsom @1.2.1_1 Configure error causes build failure
Reported by: | afbrand@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | erlsom |
Description (last modified by mf2k (Frank Schima))
Erlsom build fails during the configure phase. It reports that that the dependency Erlang is broken, citing a missing path. Nevertheless, the path exists and Erlang executes normally.
The configure.log error line reads:
configure:1920: error: Broken Erlang installation, "/opt/local/lib/erlang" does not exist!
Erlang not only exists, but this path is valid and Erlang runs normally.
Attachments (2)
Change History (11)
Changed 9 years ago by afbrand@…
Attachment: | config.log added |
---|
comment:2 Changed 9 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 Changed 9 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:4 follow-up: 5 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
I see from your main.log that you're using trace mode. Does the problem persist when not using trace mode?
comment:5 Changed 9 years ago by afbrand@…
Replying to ryandesign@…:
I see from your main.log that you're using trace mode. Does the problem persist when not using trace mode?
Yes, the same thing happens. I have trace on, because I believe I saw somewhere in the docs that recommended it. The suggestion was that a traced log was more helpful for those troubleshooting a ticket.
comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Ok, I see this too.
The problem is that erlsom's configure script just reads the erl
launcher script and takes all the characters after ROOTDIR=
as the path to use. The problem is that in erlang 18.3, the line in the erl
script reads:
ROOTDIR="/opt/local/lib/erlang"
erlsom's configure script is therefore taking "/opt/local/lib/erlang"
-- with the quotation marks -- as the path to use, and that path does not exist. Maybe previous versions of erlang did not enclose the path in quotation marks and therefore didn't expose this problem.
comment:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
comment:8 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Erlsom build configuration log file.