#1019 Make install fails under RHEL on ccache-swig.1

closed-fixed
5
2009-08-17
2009-05-27
No

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...]
Installing /usr/local/share/swig/1.3.39/std/std_wiostream.i
Installing /usr/local/share/swig/1.3.39/std/std_wsstream.i
Installing /usr/local/share/swig/1.3.39/std/std_wstreambuf.i
Installing /usr/local/share/swig/1.3.39/std/std_wstring.i
Installing /usr/local/share/swig/1.3.39/std/std_carray.swg
test -z "1" || (cd CCache && make install)
make[1]: Entering directory `/usr/local/src/swig-1.3.39/CCache'
yodl2man -o ccache-swig.1 ccache.yo
make[1]: yodl2man: Command not found
make[1]: [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[1]: *** [install] Error 1
make[1]: 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.

Discussion

  • William Fulton

    William Fulton - 2009-08-17

    This does not occur with a fresh tarball. However, I suspect you did a 'make clean' as then I can reproduce the problem. The 'make clean' target has been fixed for 1.3.40 so that if a 'make install' is then run the install work again without the yodl tools installed.

     
  • William Fulton

    William Fulton - 2009-08-17
    • assigned_to: nobody --> wsfulton
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks