Opened 19 years ago
Closed 19 years ago
#8727 closed defect (fixed)
UPDATE: xmlsec 1.2.9 fails to build (with solution)
Reported by: | etiffany@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
The xmlsec port 1.2.9 fails to build under darwinports 1.211. This has several prereqs, including openssl, which all installed fine. However, the configure step for xmlsec seems to fail as follows:
checking for crypto library... configure: error: At least one crypto library should exist for xmlsec1 Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_security_xmlsec/work/xmlsec1-1.2.9" && CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 ./configure --prefix=/opt/local --with-libxml=/opt/local --with-libxslt=/opt/local --mandir=/opt/local/share/man" returned error 1
It appears that the portfile is missing an optional config arg to indicate the location of the openssl libs.
Here is a diff output of the modified portfile. Note that I added a "--with-openssl=${prefix}" line, but it would probably work to use the Mac OS X provided openssl using "--with-openssl=/usr". However, I didn't attempt this.
* /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/security/xmlsec/Portfile~ Sat Dec 17 05:46:54 2005 --- /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/security/xmlsec/Portfile Wed May 3 16:07:07 2006 * * 27,33
configure.args --with-libxml=${prefix} \
--with-libxslt=${prefix} \
! --mandir=${prefix}/share/man
test.run yes test.target check
--- 27,34 ----
configure.args --with-libxml=${prefix} \
--with-libxslt=${prefix} \
! --mandir=${prefix}/share/man \ ! --with-openssl=${prefix}
test.run yes test.target check
Change History (2)
comment:1 Changed 19 years ago by etiffany@…
severity: | normal → blocker |
---|---|
Summary: | xmlsec 1.2.9 fails to build → xmlsec 1.2.9 fails to build (with solution) |
comment:2 Changed 19 years ago by mww@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Summary: | xmlsec 1.2.9 fails to build (with solution) → UPDATE: xmlsec 1.2.9 fails to build (with solution) |
thanks, commited!