[MacPorts] #28220: failed to build p5-net-libidn 0.12_0
#28220: failed to build p5-net-libidn 0.12_0 --------------------------------------+------------------------------------- Reporter: Lars.Rasmusson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: p5-net-libidn --------------------------------------+------------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/28220> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28220: failed to build p5-net-libidn 0.12_0 --------------------------------------+------------------------------------- Reporter: Lars.Rasmusson@… | Owner: mni@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: p5-net-libidn --------------------------------------+------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => mni@… Old description:
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.
New description: 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. -- -- Ticket URL: <https://trac.macports.org/ticket/28220#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28220: failed to build p5-net-libidn 0.12_0 --------------------------------------+------------------------------------- Reporter: Lars.Rasmusson@… | Owner: mni@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: p5-net-libidn --------------------------------------+------------------------------------- Comment(by pixilla@…): patch-28220.diff[[BR]] * adds libidn configure.args[[BR]] * removes fuzz from files/ patch -- Ticket URL: <https://trac.macports.org/ticket/28220#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28220: p5-net-libidn 0.12_0 failed to find libidn --------------------------------------+------------------------------------- Reporter: Lars.Rasmusson@… | Owner: mni@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: haspatch | Port: p5-net-libidn --------------------------------------+------------------------------------- Changes (by ryandesign@…): * keywords: => haspatch * cc: ryandesign@… (added) Comment: Curious, it builds fine for me without the patch. But a duplicate #30560 has been filed so apparently it still affects some users. -- Ticket URL: <https://trac.macports.org/ticket/28220#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28220: p5-net-libidn 0.12_0 failed to find libidn ---------------------------------------+------------------------------------ Reporter: Lars.Rasmusson@… | Owner: mni@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: haspatch Port: p5-net-libidn | ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: In #30560 we explored that the problem may only occur with clang, and I committed a fix in r81637. -- Ticket URL: <https://trac.macports.org/ticket/28220#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts