Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
Any advice would be much appreciated

I don't really have any advice but this module builds, tests and installs ok for me on 64-bit Strawberry-5.18.2 (portable).
I'm even getting the same compiler warnings, and the same warnings regarding the absence of 'pkg-config'.

However, I'm not getting the
"Use of assignment to $[ is deprecated at C:/strawberry/perl/lib/getop +ts.pl line 19"
warning that you're getting.
I don't know what that's about, or if it might be relevant to the problem, but there's obviously something wrong with the ./sombok/libsombok.a that your build has created.

Update: My full build log is below my sig.

Cheers,
Rob
C:\sisyphusion\Unicode-LineBreak-2013.11>perl Makefile.PL 'pkg-config' is not recognized as an internal or external command, operable program or batch file. 'pkg-config' is not recognized as an internal or external command, operable program or batch file. Use bundled sombok 2.3.1 with Unicode 6.3.0 Checking if your kit is complete... Looks good Generating a dmake-style Makefile Writing Makefile for sombok Writing MYMETA.yml and MYMETA.json Generating a dmake-style Makefile Writing Makefile for Unicode::LineBreak Writing MYMETA.yml and MYMETA.json C:\sisyphusion\Unicode-LineBreak-2013.11>dmake cp lib/Unicode/LineBreak.pm blib\lib\Unicode\LineBreak.pm cp lib/Unicode/GCString.pm blib\lib\Unicode\GCString.pm cp lib/POD2/JA/Unicode/LineBreak.pod blib\lib\POD2\JA\Unicode\LineBrea +k.pod cp lib/Unicode/LineBreak/Defaults.pm.sample blib\lib\Unicode\LineBreak +\Defaults.pm.sample cp lib/Text/LineFold.pm blib\lib\Text\LineFold.pm cp lib/Unicode/GCString.pod blib\lib\Unicode\GCString.pod cp lib/POD2/JA/Text/LineFold.pod blib\lib\POD2\JA\Text\LineFold.pod cp lib/Unicode/LineBreak/Constants.pm blib\lib\Unicode\LineBreak\Const +ants.pm cp lib/Unicode/LineBreak.pod blib\lib\Unicode\LineBreak.pod cp lib/POD2/JA/Unicode/GCString.pod blib\lib\POD2\JA\Unicode\GCString. +pod cd sombok && dmake all cd lib && gcc -c "-IC:\_64\strawberry5.18.2\perl\lib\CORE" "-IC:/sisy +phusion/Unicode-LineBreak-2013.11/sombok\include" -s -O2 -DWIN32 +-DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEX +T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-bitfield +s -s -O2 -DVERSION=\"\" -DXS_VERSION=\"\" "-IC:\_64\strawb +erry5.18.2\perl\lib\CORE" -DWIN32 -DPERL_STATIC_SYMS ..\lib\6.3.0.c cd lib && gcc -c "-IC:\_64\strawberry5.18.2\perl\lib\CORE" "-IC:/sisy +phusion/Unicode-LineBreak-2013.11/sombok\include" -s -O2 -DWIN32 +-DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEX +T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-bitfield +s -s -O2 -DVERSION=\"\" -DXS_VERSION=\"\" "-IC:\_64\strawb +erry5.18.2\perl\lib\CORE" -DWIN32 -DPERL_STATIC_SYMS ..\lib\break.c cd lib && gcc -c "-IC:\_64\strawberry5.18.2\perl\lib\CORE" "-IC:/sisy +phusion/Unicode-LineBreak-2013.11/sombok\include" -s -O2 -DWIN32 +-DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEX +T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-bitfield +s -s -O2 -DVERSION=\"\" -DXS_VERSION=\"\" "-IC:\_64\strawb +erry5.18.2\perl\lib\CORE" -DWIN32 -DPERL_STATIC_SYMS ..\lib\charprop +.c ..\lib\charprop.c: In function 'linebreak_charprop': ..\lib\charprop.c:156:10: warning: assignment discards 'const' qualifi +er from pointer target type [enabled by default] cd lib && gcc -c "-IC:\_64\strawberry5.18.2\perl\lib\CORE" "-IC:/sisy +phusion/Unicode-LineBreak-2013.11/sombok\include" -s -O2 -DWIN32 +-DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEX +T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-bitfield +s -s -O2 -DVERSION=\"\" -DXS_VERSION=\"\" "-IC:\_64\strawb +erry5.18.2\perl\lib\CORE" -DWIN32 -DPERL_STATIC_SYMS ..\lib\gcstring +.c cd lib && gcc -c "-IC:\_64\strawberry5.18.2\perl\lib\CORE" "-IC:/sisy +phusion/Unicode-LineBreak-2013.11/sombok\include" -s -O2 -DWIN32 +-DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEX +T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-bitfield +s -s -O2 -DVERSION=\"\" -DXS_VERSION=\"\" "-IC:\_64\strawb +erry5.18.2\perl\lib\CORE" -DWIN32 -DPERL_STATIC_SYMS ..\lib\linebrea +k.c cd lib && gcc -c "-IC:\_64\strawberry5.18.2\perl\lib\CORE" "-IC:/sisy +phusion/Unicode-LineBreak-2013.11/sombok\include" -s -O2 -DWIN32 +-DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEX +T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-bitfield +s -s -O2 -DVERSION=\"\" -DXS_VERSION=\"\" "-IC:\_64\strawb +erry5.18.2\perl\lib\CORE" -DWIN32 -DPERL_STATIC_SYMS ..\lib\southeas +tasian.c cd lib && gcc -c "-IC:\_64\strawberry5.18.2\perl\lib\CORE" "-IC:/sisy +phusion/Unicode-LineBreak-2013.11/sombok\include" -s -O2 -DWIN32 +-DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEX +T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-bitfield +s -s -O2 -DVERSION=\"\" -DXS_VERSION=\"\" "-IC:\_64\strawb +erry5.18.2\perl\lib\CORE" -DWIN32 -DPERL_STATIC_SYMS ..\lib\utf8.c cd lib && gcc -c "-IC:\_64\strawberry5.18.2\perl\lib\CORE" "-IC:/sisy +phusion/Unicode-LineBreak-2013.11/sombok\include" -s -O2 -DWIN32 +-DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEX +T -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fno-strict-aliasing -mms-bitfield +s -s -O2 -DVERSION=\"\" -DXS_VERSION=\"\" "-IC:\_64\strawb +erry5.18.2\perl\lib\CORE" -DWIN32 -DPERL_STATIC_SYMS ..\lib\utils.c C:\_64\strawberry5.18.2\perl\bin\perl.exe -MExtUtils::Command -e rm_rf + -- libsombok.a ar -ru libsombok.a lib/6.3.0.o lib/break.o lib/charprop.o +lib/gcstring.o lib/linebreak.o lib/southeastasian.o lib/u +tf8.o lib/utils.o ar: creating libsombok.a C:\_64\strawberry5.18.2\perl\bin\perl.exe -MExtUtils::Command -e chmod + -- 755 libsombok.a Running Mkbootstrap for Unicode::LineBreak () C:\_64\strawberry5.18.2\perl\bin\perl.exe -MExtUtils::Command -e chmod + -- 644 LineBreak.bs C:\_64\strawberry5.18.2\perl\bin\perl.exe C:\_64\strawberry5.18.2\perl +\lib\ExtUtils\xsubpp -typemap C:\_64\strawberry5.18.2\perl\lib\ExtUt +ils\typemap -typemap typemap LineBreak.xs > LineBreak.xsc && C:\_64\ +strawberry5.18.2\perl\bin\perl.exe -MExtUtils::Command -e mv -- LineB +reak.xsc LineBreak.c gcc -c -Isombok\include -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DP +ERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUS +E_PERLIO -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\ +"2013.11\" -DXS_VERSION=\"2013.11\" "-IC:\_64\strawberry5.18.2\p +erl\lib\CORE" LineBreak.c LineBreak.xs: In function 'XS_Unicode__LineBreak_as_scalarref': LineBreak.xs:1061:4: warning: cast from pointer to integer of differen +t size [-Wpointer-to-int-cast] LineBreak.xs: In function 'XS_Unicode__LineBreak_as_string': LineBreak.xs:1074:4: warning: cast from pointer to integer of differen +t size [-Wpointer-to-int-cast] LineBreak.xs: In function 'XS_Unicode__GCString_as_scalarref': LineBreak.xs:1306:4: warning: cast from pointer to integer of differen +t size [-Wpointer-to-int-cast] C:\_64\strawberry5.18.2\perl\bin\perl.exe -MExtUtils::Mksymlists \ -e "Mksymlists('NAME'=>\"Unicode::LineBreak\", 'DLBASE' => 'LineB +reak', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_V +ARS' => []);" dlltool --def LineBreak.def --output-exp dll.exp g++.exe -o blib\arch\auto\Unicode\LineBreak\LineBreak.dll -Wl,--base-f +ile -Wl,dll.base -mdll -s -L"C:\_64\strawberry5.18.2\perl\lib\CORE" - +L"C:\_64\strawberry5.18.2\c\lib" LineBreak.o sombok\libsombok.a C:\_ +64\strawberry5.18.2\perl\lib\CORE\libperl518.a -lmoldname -lkernel32 +-luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 - +loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 + -lodbccp32 -lcomctl32 dll.exp dlltool --def LineBreak.def --base-file dll.base --output-exp dll.exp g++.exe -o blib\arch\auto\Unicode\LineBreak\LineBreak.dll -mdll -s -L" +C:\_64\strawberry5.18.2\perl\lib\CORE" -L"C:\_64\strawberry5.18.2\c\l +ib" LineBreak.o sombok\libsombok.a C:\_64\strawberry5.18.2\perl\lib\ +CORE\libperl518.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool - +lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid - +lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.ex +p C:\_64\strawberry5.18.2\perl\bin\perl.exe -MExtUtils::Command -e chmod + -- 755 blib\arch\auto\Unicode\LineBreak\LineBreak.dll C:\sisyphusion\Unicode-LineBreak-2013.11>dmake test C:\_64\strawberry5.18.2\perl\bin\perl.exe "-MExtUtils::Command::MM" "- +MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, + 'blib\lib', 'blib\arch')" t/*.t # sombok 2.3.1 with Unicode 6.3.0 t/000.t .................. ok # GraphemeBreakTest-6.3.0.txt Date: 2012-12-20, 22:18:29 GMT [MD] t/00GraphemeBreakTest.t .. ok # LineBreakTest-6.3.0.txt Date: 2012-12-20, 22:18:30 GMT [MD] t/00LineBreakTest.t ...... ok t/01break.t .............. ok t/02hangul.t ............. ok t/03ns.t ................. ok t/04fold.t ............... ok t/05urgent.t ............. ok t/06context.t ............ ok t/07sea.t ................ skipped: SA word segmentation not supported +. t/08partial.t ............ ok t/09uri.t ................ ok t/10gcstring.t ........... ok t/11format.t ............. ok t/12fold2.t .............. ok t/13flowedsp.t ........... ok t/14sea_al.t ............. ok t/15array.t .............. ok t/16regex.t .............. ok t/17prop.t ............... ok t/18currency.t ........... ok t/pod.t .................. skipped: Test::Pod 1.00 or later required f +or testing POD All tests successful. Files=22, Tests=6947, 4 wallclock secs ( 0.42 usr + 0.03 sys = 0.45 + CPU) Result: PASS 'No tests defined for sombok extension.'

In reply to Re: Installing Unicode::LineBreak on Strawberry Perl v 5.16.2 by syphilis
in thread Installing Unicode::LineBreak on Strawberry Perl v 5.18.2 by wind

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2023-02-04 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (30 votes). Check out past polls.

    Notices?