Menu

Trouble Compiling

Help
Anonymous
2002-03-30
2002-03-31
  • Anonymous

    Anonymous - 2002-03-30

    Hi, I'm having trouble compiling PLP Tools. On a vanilla configure, using make gives me some errors about missing include files.
    Now it looked to me as if the missing files were hidden in /usr/include/g++-2, so I tried "configure --includedir=/usr/include/g++-2"

    This got me a little further, but then tripped up:
    <snip>

    make[1]: Entering directory `/home/mike/tmp/plpt/plptools-0.10/lib'
    /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl    -g -O2 -c bufferarray.cc
    mkdir .libs
    c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl -g -O2 -c bufferarray.cc  -fPIC -DPIC -o .libs/bufferarray.lo
    bufferarray.cc:25: stream.h: No such file or directory
    bufferarray.cc:26: iomanip.h: No such file or directory
    make[1]: *** [bufferarray.lo] Error 1                                                              

    Am I going in the right direction, or am I missing something fundamental???

    Any help appreciated, either here or to plp at mykd dot demon dot co dot uk.

    Thanks, Mike

     
    • Fritz Elfert

      Fritz Elfert - 2002-03-31

      Your g++ installation looks outdated/incomplete

      On my system it's /usr/include/g++-3 and
      rpm -qf /usr/include/g++-3/iomanip.h prints:

      libstdc++-devel-2.96-98

      (which belongs to the g++ package)

      Ciao
      -Fritz
      Apart from that: Either wait a week (approx), there will be a new release.
      Or if you don't want to wait, get CVS stuff and build this - There have been lot of bugs fixed since 0.10.

       

Log in to post a comment.