2006-01-25 Software

Started Kino, wanted to create a VCD for Claudia from one of her tapes. It seems that every single time I do this, something has changed. Maybe I should just have created a DVD instead of a VCD. Anyway, K3b required tools I did not have...

K3b

First I had to get VCDImager. It wouldn’t configure because I also need libcdio. Gah! Got libcdio 0.76, compiled, installed using `make install prefix=/usr/local/stow/libcdio`. I had to `rm /usr/local/stow/libcdio/info/dir` before I could `stow libcdio` from my stow directory. (I added the only entry from that dir file to _usr_local/info/dir, of course.)

VCDImager

libcdio

Problem not solved:

checking for libcdio >= 0.72... Package libcdio was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcdio.pc' to the PKG_CONFIG_PATH environment variable
No package 'libcdio' found
configure: error: Required libcdio library not found. Please get libcdio from http://www.gnu.org/software/libcdio/ and install it.

Grrrr! > ?

I’m rerunning `make install prefix=/usr/local/stow/libcdio` for libcdio again and finding the following: `libtool: install: error: cannot install`libiso9660.la’ to a directory not ending in _usr_local/lib`

Ah... No stow for this sucker, eh?

Ok, will use a simple `make install`.

And back to VCDImager. “No package ’libcdio’ found”. Again!? That’s right. Use `PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./configure`

make[2]: Entering directory `/mnt/src/vcdimager-0.7.23/lib'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ -I../lib/ -I/usr/local/include      -g -O2  -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -MT info.lo -MD -MP -MF ".deps/info.Tpo" -c -o info.lo info.c; \
then mv -f ".deps/info.Tpo" ".deps/info.Plo"; else rm -f ".deps/info.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ -I../lib/ -I/usr/local/include -g -O2 -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -MT info.lo -MD -MP -MF .deps/info.Tpo -c info.c  -fPIC -DPIC -o .libs/info.o
In file included from info.c:28:
info_private.h:33:23: cdio/cdio.h: No such file or directory
info_private.h:34:21: cdio/ds.h: No such file or directory
info_private.h:35:26: cdio/iso9660.h: No such file or directory
In file included from info_private.h:36,
                 from info.c:28:
../include/libvcd/types.h:24:24: cdio/types.h: No such file or directory
In file included from info_private.h:36,
                 from info.c:28:
../include/libvcd/types.h:62: error: syntax error before "lid_t"

...

A gazillion error messages follow.

WTF – where did the cdio directory disappear to? It turns out that the previous stow failure had left a symbolic link in _usr_local/include which did not get overwritten by the next install. The sadness.

I feel so tired.

Now the simple `make` for VCDImager works, `make install prefix=/usr/local/stow/vcdimager` works, a message tells me to run `libtool --finish /usr/local/lib`, and it seems I’m set.

Of course I first forgot to rerun stow, which means that no binaries were on my PATH, and then I noticed another conflict for the dir file which I had to resolve.

At last, I could ask K3b to “Create New Video CD Project”.

​#Software