Opened 14 years ago

Closed 14 years ago

#26421 closed defect (fixed)

Building ImageMagick 6.6.4-0 with +no_x11 fails because of wrong configure

Reported by: list-ener@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: raimue (Rainer Müller)
Port: ImageMagick

Description

fails with missing dependency libXau, because the replacement of --with-x by --without-x in the configure arguments did not happen. See attached log.

The only difference of the no_x11 variant in the portfile compared to the others was a missing description. Adding this did not help.

As a temporary workaround I changed the default configure.args to say --without-x

Attachments (1)

main.log (346.0 KB) - added by list-ener@… 14 years ago.
Failing port install of ImageMagick

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by list-ener@…

Attachment: main.log added

Failing port install of ImageMagick

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: raimue@… added
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

I caused this by switching ImageMagick to use the new -replace syntax in r70377. There were two reasons for the problem. The first is that on the line preceding the configure.args-replace there was an erroneous backslash so the configure.args-replace was never being executed. The second problem is that when I asked it to replace "--with-x" with "--without-x" in the configure.args, in fact it replaced "--with-xml" with "--without-xml". This demonstrates that using the -replace feature is ill advised as it matches substrings.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

I reverted r70377 in r71331 and removed the erroneous backslashes in r71332.

Note: See TracTickets for help on using tickets.