Bugzilla – Bug 3015
cannot compile perl module YAML-Syck-0.28
Last modified: 2011-03-16 04:34:09 UTC
When running the build-perl-modules.pl script for SlimServer_v2006-02-16, the compilation of the YAML-Syck-0.28 module fails using Sun Studio compilers: Downloading YAML-Syck-0.28.tar.gz to: /export/home/rab/software/slimserver/SlimServer_v2006-02-16 Uncompressing.. Configuring.. /usr/bin/perl Makefile.PL Building.. "gram.c", line 1115: warning: implicit function declaration: sycklex "node.c", line 125: void function cannot return value cc: acomp failed for node.c make: Fatal error: Command failed for target `node.o' Couldn't find a valid dynamic library for YAML-Syck-0.28.tar.gz - something is wrong. Exiting! Diffs for the fix are this: 125c125 < return syck_replace_str2( n, str, strlen( str ), style ); --- > syck_replace_str2( n, str, strlen( str ), style ); Funny though, after fixing the file and running the build-perl-modules.pl script again, it downloads a fresh copy (thus overwriting the diffs), the compilation fails again, but the script thinks it has succeeded: Downloading YAML-Syck-0.28.tar.gz to: /export/home/rab/software/slimserver/SlimServer_v2006-02-16 Uncompressing.. Configuring.. /usr/bin/perl Makefile.PL Building.. "gram.c", line 1115: warning: implicit function declaration: sycklex "node.c", line 125: void function cannot return value cc: acomp failed for node.c make: Fatal error: Command failed for target `node.o' Library for YAML-Syck-0.28.tar.gz is OK! All done!
We aren't using YAML::Syck right now. Newer nightlies don't have this.