[campcaster-support] problems compiling on fedora 11
  • hello everyone, i have a problem compiling campcaster 1.4.0 on my fedora 11.
    I've followed the steps in the install docs and I've got all the
    dependencies, but still I get an error when running a "make install" command
    and i can't figure it out. This is the error message (I've copied just the
    last part when it stops):

    make[4]: Entering directory
    `/home/sandro/campcaster/campcaster-1.4.0/src/tools/libodbc++/libodbc++-0.2.4pre4/tmp/libodbc++-0.2.4pre4/src'
    if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
    -I.. -I../include -I../include -DIN_ODBCXX -D_REENTRANT -D_GNU_SOURCE
    -g -O2 -MT resultset.lo -MD -MP -MF ".deps/resultset.Tpo" -c -o resultset.lo
    resultset.cpp; \
    then mv -f ".deps/resultset.Tpo" ".deps/resultset.Plo"; else rm -f
    ".deps/resultset.Tpo"; exit 1; fi
    g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DIN_ODBCXX
    -D_REENTRANT -D_GNU_SOURCE -g -O2 -MT resultset.lo -MD -MP -MF
    .deps/resultset.Tpo -c resultset.cpp -fPIC -DPIC -o .libs/resultset.o
    In file included from resultset.cpp:27:
    datastream.h: In member function
  • 1 Comment sorted by
  • On Tue, Oct 27, 2009 at 8:49 PM, Sandro Mehic wrote:
    >  g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DIN_ODBCXX
    > -D_REENTRANT -D_GNU_SOURCE -g -O2 -MT resultset.lo -MD -MP -MF
    > .deps/resultset.Tpo -c resultset.cpp  -fPIC -DPIC -o .libs/resultset.o
    > In file included from resultset.cpp:27:
    > datastream.h: In member function ‘virtual int
    > odbc::DataStreamBuf::overflow(int)’:
    > datastream.h:58: error: ‘EOF’ was not declared in this scope
    >
    > if somebody knows how to resolve this problem, please post, or if somebody
    > knows an easier way to install campcaster on fedora (there's no rpm
    > package!) i would appreciate it.

    Hi Sandro,

    It looks like libodbc++ could not be compiled. If you want to help us
    find out why, please download both version 0.2.4pre4 (used by
    Campcaster) and 0.2.5 (the latest version) from their Sourceforge page
    http://sourceforge.net/projects/libodbcxx/files/, and check if you can
    compile them.

    If you can compile 0.2.5 but not 0.2.4pre4, we will upgrade the
    version in Campcaster. If you can't compile 0.2.5, either, please
    file a bug report with Libodbc++. If you can compile 0.2.4pre4 on its
    own, but not in Campcaster, we'll try to find out why.

    If you would like to help, but you are not sure how to do any of the
    above, I will provide more details, just ask.

    Thanks,

    Ferenc