Opened 12 years ago

Closed 12 years ago

#35170 closed defect (fixed)

pdf2djvu: can't compile on Lion

Reported by: NicosPavlov Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: santiago.caballero.benitez@…
Port: pdf2djvu

Description

Issue originally pointed out by Santiago Caballero, who seems to have issues submitting tickets.

On Lion with XCode 4.3, compilation interrupts with undeclared types errors. The attached main.log file shows similar errors when attempting to circumvent the issue with the command

sudo port install pdf2djvu configure.compiler=llvm-gcc-4.2

Attachments (1)

main.log (105.2 KB) - added by NicosPavlov 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by NicosPavlov

Attachment: main.log added

comment:1 Changed 12 years ago by NicosPavlov

It seems that it is necessary to force the use of system types with -DHAVE_SYS_TYPES_H=1 in the case of llvm-gcc and clang, which was added in the Portfile in r95417.

comment:2 Changed 12 years ago by NicosPavlov

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.