Installing SWIG 1.3.39 from source failed for under RHEL4. I think the problem is either related to ccache or lack of yodl2man.
Here's what I did --
I downloaded the tarball and extracted into /usr/local/src/swig-1.3.39. Ran ./configure which included this output:
checking for yodl2man... no
checking for yodl2html... no
I ran make w/no problems. I then ran 'make install' which went OK until this:
[many lines snipped...]
test -z "1" || (cd CCache && make install)
make: Entering directory `/usr/local/src/swig-1.3.39/CCache'
yodl2man -o ccache-swig.1 ccache.yo
make: yodl2man: Command not found
make: [ccache-swig.1] Error 127 (ignored)
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c -m 755 ccache-swig /usr/local/bin/`echo ccache-swig | sed 's,x,x,'`
/usr/bin/install -c -d /usr/local/share/man/man1
/usr/bin/install -c -m 644 ./ccache-swig.1 /usr/local/share/man/man1/`echo ccache-swig | sed 's,x,x,'`.1
/usr/bin/install: cannot stat `./ccache-swig.1': No such file or directory
make: *** [install] Error 1
make: Leaving directory `/usr/local/src/swig-1.3.39/CCache'
make: *** [install-ccache] Error 2
As you can see, it is trying to execute yodl2man to create ccache-swig.1. That fails because yodl2man doesn't exist, and therefore the install fails because it can't find the file that yodl2man was supposed to create.
Running ./configure with --disable-ccache fixed the problem; make install completed successfully.
Log in to post a comment.