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

Re: Separating source files in YAML::XS

by marto (Archbishop)
on Apr 27, 2019 at 20:38 UTC ( #1233058=note: print w/replies, xml ) Need Help??


in reply to Separating source files in YAML::XS

Following your instructions I get:

./perl_libyaml.h:16:10: fatal error: yaml.h: No such file or directory #include <yaml.h> ^~~~~~~~ compilation terminated.

Which I get past by adding "INC" => "-I../LibYAML/include/", to the Makefile.PL. The tests then fail with things like:

# Failed test 'require YAML::XS;Can't load '/home/marto/code/yaml-li +byaml-pm/YAML-LibYAML-0.77/blib/arch/auto/YAML/XS/LibYAML/LibYAML.so' + for module YAML::XS::LibYAML: /home/marto/code/yaml-libyaml-pm/YAML- +LibYAML-0.77/blib/arch/auto/YAML/XS/LibYAML/LibYAML.so: undefined sym +bol: yaml_sequence_start_event_initialize at /usr/lib/i386-linux-gnu/ +perl/5.26/DynaLoader.pm line 187

I'll do some more digging in the morning.

Replies are listed 'Best First'.
Re^2: Separating source files in YAML::XS
by tinita (Parson) on Apr 28, 2019 at 09:26 UTC
    Oh right, I think I don't get the first error because I have the libyaml package installed, so it's finding the yaml.h from that one instead.

    Tux is actually also working on this...

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-05-31 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (175 votes). Check out past polls.

    Notices?