Saturday, December 29, 2012

powerpc-eabi-ranlib: command not found

I'm trying to compile wiimc, these two pages have proved very helpful setting up my compile environment and getting to the point of building wiimc. However, my make in wiimc directory falls over complaining:

libtool: install: chmod 644 /opt/devkitpro/portlibs/ppc/lib/libfribidi.a
libtool: install: powerpc-eabi-ranlib /opt/devkitpro/portlibs/ppc/lib/libfribidi.a
../libtool: line 947: powerpc-eabi-ranlib: command not found

The solution I found is to run make with dir1, dir2 and dir3, then to cd into the directories for dir1, dir2, dir3 and run make install separately. Like this:

$ make dir1; make dir2; make dir3
$ cd ./fribidi; make install; cd ..
$ cd ./libexif; make install; cd ..
$ cd ./libiconv; make install; cd ..

This is suitably hacky for my needs.