Opened 13 years ago

Closed 12 years ago

#29718 closed defect (fixed)

error when installing p5-perlmagick

Reported by: holtzermann17@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: perl Cc: astricker@…
Port: p5-perlmagick

Change History (3)

comment:1 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to ryandesign@…

comment:2 Changed 12 years ago by astricker@…

I can't reproduce the error. For me it builds successful. I suspect an issue with compiler environment.

I see in your output /usr/bin/gcc-4.2, while on my system the compiler called is /usr/bin/llvm-gcc-4.2. I don't have the very recent XCode installed, it's still in my pipeline (well, as long as all is working this hasn't a high priority).

The first error produce looks like a typical compiler issue:

:info:build Magick.xs:230: warning: missing initializer
:info:build Magick.xs:230: warning: (near initialization for 'Methods[8].arguments')

Could you determine which compiler you've installed? And please also check if your macports installation is up-to-date too (port selfupdate).

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

This bug report is almost a year old, and dates from before the time when p5-perlmagick and ImageMagick were built from the same sources. At that time, I was updating ImageMagick regularly, as I still do, but p5-perlmagick lagged far behind, and so often could not be compiled with the current ImageMagick.

In r84084 we unified the two ports so they use the same source code, and now I update ImageMagick and p5-perlmagick simultaneously so this kind of problem shouldn't happen anymore.

Note: See TracTickets for help on using tickets.