Changes between Initial Version and Version 1 of Ticket #20239
- Timestamp:
- Jul 9, 2009, 2:03:57 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #20239
- Property Cc jwa@… added
- Property Owner changed from macports-tickets@… to ryandesign@…
-
Ticket #20239 – Description
initial v1 1 {{{ 1 2 $ sudo port -v install ph5p 2 3 ... … … 12 13 Warning: the following items did not execute (for php5): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install 13 14 Error: Status 1 encountered during processing. 14 15 }}} 15 16 The libxml is happily installed, I checked with "sudo port install libxml", which ends up not installing it because the latest libxml already installed. If I look at the config.log (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php5/work/php-5.3.0/config.log), I see at the end: 16 17 18 {{{ 17 19 ... 18 20 configure:20354: /usr/bin/gcc-4.0 -o conftest -O2 -gstabs -fvisibility=hidden -I/opt/local/include -no-cpp-precomp -L/opt/local/lib -Wl,-rpath,/opt/local/lib -L/opt/local/lib conftest.c … … 29 31 return 0; 30 32 } 31 33 }}} 32 34 Which will not work since the compile command is missing -lxml. If I create conftest.c with the above content, and copy the confdefs.h from the directory of config.log, AND add the -lxml, the test compiles and links. If I leave out the -lxml, I get this error: 33 35 {{{ 34 36 Undefined symbols: 35 37 "_xmlInitParser", referenced from: … … 37 39 ld: symbol(s) not found 38 40 collect2: ld returned 1 exit status 39 41 }}} 40 42 So the configure test is missing -lxml?