Menu

Can't Compile...

Help
K. Moore
2004-11-24
2013-01-15
  • K. Moore

    K. Moore - 2004-11-24

    Running Fedora Core 3 and cannot compile:

    /usr/lib/qt-3.3/include/qfile.h: In constructor `RKPlugin::RKPlugin(const QString&)':
    /usr/lib/qt-3.3/include/qfile.h:115: error: `QFile::QFile(const QFile&)' is private
    rkplugin.cpp:78: error: within this context
    rkplugin.cpp: At global scope:
    rkplugin.cpp:604: fatal error: opening dependency file .deps/rkplugin.TPo: Permission denied
    compilation terminated.
    make[3]: *** [rkplugin.o] Error 1
    make[3]: Leaving directory `/home/kat/rkward-0.3.0/rkward/plugin'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/kat/rkward-0.3.0/rkward'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/kat/rkward-0.3.0'
    make: *** [all] Error 2

    Any suggestion would be much appreciated. :)

     
    • Anonymous

      Anonymous - 2004-12-18

      Hi,

      same problem here. Using Fedora Core 3, qt-3.3.3-15.1.3.kde, gcc-3.4.2-6.fc3, I also get the error:

      (...)
      Making all in plugin
      make[3]: Entering directory `/usr/src/rkward-0.3.0/rkward/plugin'
      source='rkplugin.cpp' object='rkplugin.o' libtool=no \ depfile='.deps/rkplugin.Po' tmpdepfile='.deps/rkplugin.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o rkplugin.o `test -f 'rkplugin.cpp' || echo './'`rkplugin.cpp
      /usr/lib/qt-3.3/include/qfile.h: In constructor `RKPlugin::RKPlugin(const QString&)':
      /usr/lib/qt-3.3/include/qfile.h:115: Fehler: `QFile::QFile(const QFile&)' is private
      rkplugin.cpp:78: Fehler: within this context
      make[3]: *** [rkplugin.o] Fehler 1
      make[3]: Leaving directory `/usr/src/rkward-0.3.0/rkward/plugin'
      make[2]: *** [all-recursive] Fehler 1
      make[2]: Leaving directory `/usr/src/rkward-0.3.0/rkward'
      make[1]: *** [all-recursive] Fehler 1
      make[1]: Leaving directory `/usr/src/rkward-0.3.0'
      make: *** [all] Fehler 2

       
    • K. Moore

      K. Moore - 2004-12-18

      My setup's the same as yours.  It'd be nice if someone'd respond with suggestions.

       
    • Michael Rutter

      Michael Rutter - 2005-01-30

      I had the same problem on a Mandrake 10.1 system.  I was able to compile and install with the following changes.

      1.  I changed line 78 in ./plugin/rkplugin.cpp to be

          QString dummy = QFileInfo (filename).dirPath () + "/code.php";

      2.  Then I had to add the folowing to ./main.cpp

      static const char *version =
          I18N_NOOP("0.3.0");

      and change VERSION to version in line 51 of main.cpp

      Then things worked OK.  I hope this helps.

      Mike Rutter