Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Separating source files in YAML::XS

by marto (Cardinal)
on Apr 27, 2019 at 20:38 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1233058]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-19 07:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found