Opened 13 years ago

Last modified 13 years ago

#27892 closed defect

pdflib install fails, but macports doesn't know it — at Initial Version

Reported by: ejtttje@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: pdflib

Description

pdflib 7.0.5_0 does not actually install the library... it fails during install, as shown in the debug log:

../../config/install-sh -c -m 644 pdflib.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/include ../../libtool --silent ../../config/install-sh -c -m 644 libpdf.la /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/lib; libtool: you must specify a MODE libtool: Try `libtool --help' for more information. make[2]: * [install] Error 1 make[1]: * [install] Error 2 make[3]: Nothing to be done for `install'. make[3]: Nothing to be done for `install'.

However, somehow the install continues...

mkdir -p /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/bin ../../config/install-sh -c pdfimage text2pdf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_pdflib/work/destroot/opt/local/bin

....and so on.

So MacPorts believes the library has been installed, but actually only the header file is available: $ port contents pdflib Port pdflib contains:

/opt/local/bin/pdfimage /opt/local/bin/pdflib-config /opt/local/bin/text2pdf /opt/local/include/pdflib.h /opt/local/share/doc/pdflib/changes.txt /opt/local/share/doc/pdflib/compatibility.txt /opt/local/share/doc/pdflib/licensekeys.txt /opt/local/share/doc/pdflib/PDFlib-API-reference.pdf /opt/local/share/doc/pdflib/PDFlib-Lite-license.pdf /opt/local/share/doc/pdflib/PDFlib-tutorial.pdf /opt/local/share/doc/pdflib/readme-source-unix.txt /opt/local/share/doc/pdflib/readme-source-windows.txt /opt/local/share/doc/pdflib/readme.txt

I'd help fix this, but I've never really grokked libtool. :(

Change History (0)

Note: See TracTickets for help on using tickets.