Is IO::Socket::IP absolutely necessary?

瀏覽次數:41 次
跳到第一則未讀訊息

Alejandro Imass

未讀,
2017年9月11日 下午4:16:462017/9/11
收件者:Mojolicious
Hi,

I am trying to install Mojo on an Arduino Yún. I am very close but IO::Socket::IP requires Test::More and that in turn requires some XS stuff and make which I cannot install on OpenWRT.

So is there a way for Mojo to work w/o IO::Socket::IP ? Would it be very hard to replace with IO::Socket::INET for this environment ?

TIA,
Alex

Dan Book

未讀,
2017年9月11日 下午5:52:272017/9/11
收件者:mojol...@googlegroups.com
It is deeply embedded in the logic of Mojo servers and clients, but you may be able to replace it with IO::Socket::INET adjusting calls as needed (so you'd need to maintain a fork with these changes essentially), if you don't need ipv6.

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+unsubscribe@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.

Dan Book

未讀,
2017年9月11日 下午5:54:572017/9/11
收件者:mojol...@googlegroups.com
However, even the latest version of IO::Socket::IP only requires Test::More version 0.88, which is core on any version of perl supported by Mojolicious.

Alejandro Imass

未讀,
2017年9月11日 晚上9:15:132017/9/11
收件者:Mojolicious
True, but Test::More requires Storable (for reasons not very clear to me) and that in turn requires XS. 

I got gcc and gnu make working on OpenWRT but EXTERN.h is missing from the Perl core and I'm trying to figure out why.

I just can't stand Python this and Python that in the IoT world.... I really want to promote Perl in the Arduino community but they are making it very hard :-D

Thanks for all your comments.

-- 
Alex


On Monday, September 11, 2017 at 5:54:57 PM UTC-4, Dan Book wrote:
However, even the latest version of IO::Socket::IP only requires Test::More version 0.88, which is core on any version of perl supported by Mojolicious.
On Mon, Sep 11, 2017 at 5:52 PM, Dan Book <gri...@gmail.com> wrote:
It is deeply embedded in the logic of Mojo servers and clients, but you may be able to replace it with IO::Socket::INET adjusting calls as needed (so you'd need to maintain a fork with these changes essentially), if you don't need ipv6.
On Mon, Sep 11, 2017 at 4:16 PM, Alejandro Imass <aim...@yabarana.com> wrote:
Hi,

I am trying to install Mojo on an Arduino Yún. I am very close but IO::Socket::IP requires Test::More and that in turn requires some XS stuff and make which I cannot install on OpenWRT.

So is there a way for Mojo to work w/o IO::Socket::IP ? Would it be very hard to replace with IO::Socket::INET for this environment ?

TIA,
Alex

--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious...@googlegroups.com.

Alejandro Imass

未讀,
2017年9月11日 晚上10:59:582017/9/11
收件者:Mojolicious
回覆所有人
回覆作者
轉寄
0 則新訊息