On Fri, 29 Mar 2019, Bruce Dubbs via blfs-dev wrote:

On 3/29/19 6:42 AM, Roger Koehler via blfs-dev wrote:
I am using the Sys V version:

make[1]: Entering directory '/sources/yaml/libyaml-0.2.2'
make[1]: *** No rule to make target 'build'.  Stop


You are supposed to be IN directory build.

mkdir build &&
cd    build &&
cmake ... &&
make

If you are scripting, note that after extracting, you need to cd to libyaml-0.2.2 and not yaml-0.2.2.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


The first line of the installation of YAML 0.2.2 reads:

make build &&
cd   build &&

That should be "mkdir build && cd build &&"
I believe that's what's causing Rogers's error.

There are other issues with this version of YAML that I wanted to write
about:

Firstly, the download link saves the file libyam-0.2.2.tar.gz and
extracts to the same file name, so the line that reads "This package
expands to libyaml-0.2.2, not the expected yaml-0.2.2" does not seem
valid for this version.

Secondly, the build system for yaml 0.2.2 is CMake, which does not build
and install the pkconfig file yaml-0.1.pc (although yaml-0.1.pc.in is in
the directory).  Instead there are a few *.cmake files (under
/usr/cmake).  Because of this some packages cannot find libyaml in order
to build (one of them is libblockdev).

I needed to revert to the autotools build system to get yaml working:

./bootstrap && ./configure .. etc.

Cheers,

   -- Ryan
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to