Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^5: enc2xs not found! at Makefile.PL

by syphilis (Archbishop)
on Nov 25, 2019 at 07:51 UTC ( [id://11109172]=note: print w/replies, xml ) Need Help??


in reply to Re^4: enc2xs not found! at Makefile.PL
in thread enc2xs not found! at Makefile.PL

g++: error: Unicode.o: No such file or directory

I don't know how that error arises.
Encode-3.01 builds and tests fine for me on both 32-bit and 64-bit Strawberry Perl 5.30.0.
Also, you should already have Encode-3.01 installed (in perl\vendor\lib), and there is no point installing something you already have:
C:\>perl -MEncode -le "print $Encode::VERSION;" 3.01
Cheers,
Rob

Replies are listed 'Best First'.
Re^6: enc2xs not found! at Makefile.PL
by levW (Beadle) on Nov 25, 2019 at 11:00 UTC

    Correct - looks installed. However, back to my original issue when trying to install Parse::AFP :

    D:\perl64\cpan\sources\modules\encode-3.01\Encode-3.01>cpan install Pa +rse::AFP Loading internal logger. Log::Log4perl recommended for better logging CPAN: CPAN::SQLite loaded ok (v0.217) Database was generated on Sun, 24 Nov 2019 12:31:42 GMT Running install for module 'Parse::AFP' CPAN: Digest::SHA loaded ok (v6.02) CPAN: Compress::Zlib loaded ok (v2.086) Checksum for D:\Strawberry\cpan\sources\authors\id\A\AU\AUDREYT\Parse- +AFP-0.25.tar.gz ok CPAN: Archive::Tar loaded ok (v2.32) CPAN: YAML::XS loaded ok (v0.78) CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: Parse::CPAN::Meta loaded ok (v2.150010) CPAN: CPAN::Meta loaded ok (v2.150010) CPAN: Module::CoreList loaded ok (v5.20190522) Configuring A/AU/AUDREYT/Parse-AFP-0.25.tar.gz with Makefile.PL Cannot determine perl version info from lib/Parse/AFP.pm Checking if your kit is complete... Looks good Warning: prerequisite Encode::IBM 0.01 not found. Generating a gmake-style Makefile Writing Makefile for Parse::AFP Invalid LICENSE value 'cc0' ignored Writing MYMETA.yml and MYMETA.json AUDREYT/Parse-AFP-0.25.tar.gz D:\Strawberry\perl\bin\perl.exe Makefile.PL -- OK Running make for A/AU/AUDREYT/Parse-AFP-0.25.tar.gz ---- Unsatisfied dependencies detected during ---- ---- AUDREYT/Parse-AFP-0.25.tar.gz ---- Encode::IBM [requires] Running install for module 'Encode::IBM' Checksum for D:\Strawberry\cpan\sources\authors\id\A\AU\AUDREYT\Encode +-IBM-0.11.tar.gz ok Configuring A/AU/AUDREYT/Encode-IBM-0.11.tar.gz with Makefile.PL enc2xs not found! at Makefile.PL line 28. Warning: No success on command[D:\Strawberry\perl\bin\perl.exe Makefil +e.PL] AUDREYT/Encode-IBM-0.11.tar.gz D:\Strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK Stopping: 'install' failed for 'Encode::IBM'. D:\perl64\cpan\sources\modules\encode-3.01\Encode-3.01>
      Stopping: 'install' failed for 'Encode::IBM'

      Yes, you'll need to install Encode-IBM-0.11 first - by amending its Makefile.PL as detailed earlier and then running 'perl Makefile.PL', 'gmake test' and 'gmake install'.
      When Encode-IBM-0.11 has been installed you should find that 'cpan install Parse::AFP' then works fine. (Worked for me.)

      Cheers,
      Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11109172]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-25 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found