Opened 14 years ago
Closed 13 years ago
#28220 closed defect (fixed)
p5-net-libidn 0.12_0 failed to find libidn
Reported by: | Lars.Rasmusson@… | Owned by: | mni@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | p5-net-libidn |
Description (last modified by mf2k (Frank Schima))
To build p5-net-libidn, one must first create the make file from Makefile.PL
When I tried to install the latest version, 0.12_0, the Makefile that was created didn't pick up the correct settings from the $libdir and $incdir which caused the linking to fail because it tried to link with the standard os x libraries.
The command that failed was the
cd <workdir> && /opt/local/bin/perl Makefile.PL INSTALLDIRS=vendor
The "perl Makefile.PL" command can take the arguments --with-libidn and --with-libidn-inc and I was able to use them to set the correct paths,
cd <workdir> && /opt/local/bin/perl Makefile.PL --with-libidn=/opt/local/lib --with-libidn-inc=/opt/local/include
but there is probably a better way to solve that. Perhaps the correct paths could/should be picked up automatically - but for some reason they weren't.
I just wanted to file this as a bug in case someone else has a problem with it.
Attachments (1)
Change History (5)
comment:1 Changed 14 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to mni@… |
comment:2 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Changed 13 years ago by pixilla (Bradley Giesbrecht)
Attachment: | patch-28220.diff added |
---|
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | haspatch added |
Summary: | failed to build p5-net-libidn 0.12_0 → p5-net-libidn 0.12_0 failed to find libidn |
Curious, it builds fine for me without the patch. But a duplicate #30560 has been filed so apparently it still affects some users.
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch-28220.diff