Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#69426 closed defect (duplicate)

pdf2htmlex @0.11: Error: cannot locate fontforge.h

Reported by: HASHtechvishal (vishal arora) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: iapain@…, Dave-Allured (Dave Allured)
Port: pdf2htmlex

Description (last modified by jmroot (Joshua Root))

  Computing dependencies for pdf2htmlex
--->  Fetching archive for pdf2htmlex
--->  Attempting to fetch pdf2htmlex-0.11_23.darwin_20.x86_64.tbz2 from https://packages.macports.org/pdf2htmlex
--->  Attempting to fetch pdf2htmlex-0.11_23.darwin_20.x86_64.tbz2 from https://cph.dk.packages.macports.org/pdf2htmlex
--->  Attempting to fetch pdf2htmlex-0.11_23.darwin_20.x86_64.tbz2 from https://nue.de.packages.macports.org/pdf2htmlex
--->  Configuring pdf2htmlex
Error: Failed to configure pdf2htmlex: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_pdf2htmlex/pdf2htmlex/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port pdf2htmlex failed

Attachments (1)

main.log.bz2 (37.5 KB) - added by jmroot (Joshua Root) 8 months ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 months ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to mojca
Port: pdf2htmlex added
Status: newassigned
Summary: facing error to install pdf2htmlex my macports is uptodatepdf2htmlex configure failure

Please add the main.log to the ticket as an attachment.

comment:2 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: iapain@… added
Resolution: duplicate
Status: assignedclosed
Summary: pdf2htmlex configure failurepdf2htmlex @0.11: Error: cannot locate fontforge.h

The error in the log is:

:info:configure -- Checking for module 'libfontforge>=2.0.0'
:info:configure --   No package 'libfontforge' found
:info:configure Trying to locate old versions of fontforge...
:info:configure CMake Error at CMakeLists.txt:97 (message):
:info:configure   Error: cannot locate fontforge.h
:info:configure -- Configuring incomplete, errors occurred!

Duplicate of #56803. pdf2htmlex was discontinued by its developer years ago and is obsolete. It relies on old versions of fontforge and poppler which are no longer in MacPorts. It would need to use years-old versions of fontforge and poppler which may be vulnerable to certain security issues. Please find some other software to accomplish your goal.

Changed 8 months ago by jmroot (Joshua Root)

Attachment: main.log.bz2 added

comment:3 Changed 8 months ago by HASHtechvishal (vishal arora)

do you have any option on how to convert pdf to HTML? should I install pdf2htmlex manually from GitHub

comment:4 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

I have no experience with PDF-to-HTML conversion but I see in #56803 that the pdf2htmlex project has been revived by a new developer so perhaps getting the MacPorts port working again is something we could do. Until then, if you want to try to build it manually, their instructions are here.

comment:5 Changed 8 months ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added
Note: See TracTickets for help on using tickets.