Cannot Compile

UberTech
2005-02-06
2013-04-17
1 2 > >> (Page 1 of 2)
  • UberTech

    UberTech - 2005-02-06

    Hi!

    The editor sounds quite interesting!

    I just downloaded version 0.5 today, but it does not compile (Suse 9.1, glibc-2.3.3-97)

    Here is some output:

    -----------------------------------
    Making all in dbg
    make[3]: Entering directory `/root/temp/protoeditor-0.5/src/dbg'
    if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src -I../../src/common -I../../src/commonphp -I../../src/dbg -I/opt/kde3/include -I/usr/lib/qt3/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  -MT dbgconfiguration.lo -MD -MP -MF ".deps/dbgconfiguration.Tpo" -c -o dbgconfiguration.lo dbgconfiguration.cpp; \ then mv -f ".deps/dbgconfiguration.Tpo" ".deps/dbgconfiguration.Plo"; else rm -f ".deps/dbgconfiguration.Tpo"; exit 1; fi
    /usr/lib/qt3/bin/moc ./dbgconnection.h -o dbgconnection.moc
    if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src -I../../src/common -I../../src/commonphp -I../../src/dbg -I/opt/kde3/include -I/usr/lib/qt3/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  -MT dbgconnection.lo -MD -MP -MF ".deps/dbgconnection.Tpo" -c -o dbgconnection.lo dbgconnection.cpp; \ then mv -f ".deps/dbgconnection.Tpo" ".deps/dbgconnection.Plo"; else rm -f ".deps/dbgconnection.Tpo"; exit 1; fi
    dbgconnection.cpp:65: error: prototype for `void
       DBGConnection::slotError(int*(*)())' does not match any in class `
       DBGConnection'
    dbgconnection.h:41: error: candidate is: void DBGConnection::slotError(int)
    make[3]: *** [dbgconnection.lo] Error 1
    make[3]: Leaving directory `/root/temp/protoeditor-0.5/src/dbg'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/root/temp/protoeditor-0.5/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/temp/protoeditor-0.5'
    make: *** [all] Error 2
    linux:~/temp/protoeditor-0.5 #
    -----------------------------------

     
    • Thiago Silva

      Thiago Silva - 2005-02-07

      Hello. Thanks for the interest and feedback. I will have a look at this. Meanwhile, try the new release :)

       
    • Thiago Silva

      Thiago Silva - 2005-02-07

      Thats a strange error. I downloaded and compiled here in two distros w/o problem, compared the error above with the sources and couldn't find a reason.
      Anyway, I hope you don't have problems with the new release. Also, I might create a simple RPM for the application this week in any case.

       
    • UberTech

      UberTech - 2005-02-07

      Hi again!

      I got the latest version, but the error remains :-(
      An rpm would do just fine - good idea, thank you for your time!

       
    • UberTech

      UberTech - 2005-02-07

      (...Just for additional information)

      I got rid of all slotError declarations, just to check what would happen during compilation.

      I think I might be running into incompatibilities:

      -----------------------------------------
      Making all in protoeditor
      make[3]: Entering directory `/root/temp/protoeditor-0.5.2-1/src/protoeditor'
      /usr/lib/qt3/bin/moc ./editortabwidget.h -o editortabwidget.moc
      if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/common -I../../src/dbg -I../../src/protoeditor -I../../src/settings -I../settings -I/opt/kde3/include -I/usr/lib/qt3/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  -MT editortabwidget.o -MD -MP -MF ".deps/editortabwidget.Tpo" -c -o editortabwidget.o editortabwidget.cpp; \ then mv -f ".deps/editortabwidget.Tpo" ".deps/editortabwidget.Po"; else rm -f ".deps/editortabwidget.Tpo"; exit 1; fi
      editortabwidget.cpp: In member function `void
         EditorTabWidget::markActiveBreakpoint(QString, int)':
      editortabwidget.cpp:211: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::unmarkActiveBreakpoint(QString, int)':
      editortabwidget.cpp:220: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::markDisabledBreakpoint(QString, int)':
      editortabwidget.cpp:229: error: `BreakpointDisabled' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::unmarkDisabledBreakpoint(QString, int)':
      editortabwidget.cpp:238: error: `BreakpointDisabled' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::markExecutionLine(QString, int)':
      editortabwidget.cpp:246: error: `Execution' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::unmarkExecutionLine(QString, int)':
      editortabwidget.cpp:253: error: `Execution' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::createDocument(KURL)':
      editortabwidget.cpp:288: error: `Execution' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:294: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:297: error: `BreakpointDisabled' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:300: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:302: error: `Bookmark' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:302: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::dispatchMark(KTextEditor::Mark&, bool)':
      editortabwidget.cpp:541: error: `BreakpointDisabled' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:542: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      make[3]: *** [editortabwidget.o] Error 1
      make[3]: Leaving directory `/root/temp/protoeditor-0.5.2-1/src/protoeditor'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/root/temp/protoeditor-0.5.2-1/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/root/temp/protoeditor-0.5.2-1'
      make: *** [all] Error 2
      linux:~/temp/protoeditor-0.5.2-1
      -----------------------------------------

      Any ideas?

      Thank you for your time.

       
    • Thiago Silva

      Thiago Silva - 2005-02-07

      Thats interesting. What KDE version are you using?
      More specifically, what kdelib-devel version?

      I've just woke up, so I'm going to eat something, and I do the RPM package ;-)

       
    • UberTech

      UberTech - 2005-02-07

      Good Morning!

      Here is what you wanted to know (and then some)...

      ----------------------------
      linux:~ # rpm -qa | grep -i kde
      kdepim3-3.2.1-35
      kdenetwork3-InstantMessenger-3.2.1-45
      kdenetwork3-3.2.1-45
      kdeartwork3-xscreensaver-3.2.1-53
      kdeutils3-3.2.1-61
      kdemultimedia3-video-3.2.1-43
      kdegames3-board-3.2.1-28
      kdemultimedia3-extra-3.2.1-43
      kdebindings3-javascript-3.2.1-28
      kdeartwork3-sound-3.2.1-53
      kdemultimedia3-3.2.1-43
      kdepim3-organizer-3.2.1-35
      kdebase3-samba-3.2.1-63
      kdemultimedia3-midi-3.2.1-43
      kdebindings3-c-3.2.1-28
      kdemultimedia3-CD-3.2.1-43
      kdeutils3-laptop-3.2.1-61
      kdeaddons3-kicker-3.2.1-44
      kdenetwork3-vnc-3.2.1-45
      kdegraphics3-kamera-3.2.1-63
      kdebluetooth-0.0.cvs20040216-42
      kdelibs3-devel-3.2.1-41
      kdegraphics3-devel-3.2.1-63
      kdelibs3-devel-doc-3.2.1-41
      kdesdk3-3.2.1-49
      kdevelop3-3.0.2-46
      kdemultimedia3-mixer-3.2.1-43
      kdegraphics3-scan-3.2.1-63
      kdeedu3-3.2.1-26
      kdegames3-tactic-3.2.1-28
      kdegraphics3-3D-3.2.1-63
      kdesdk3-translate-3.2.1-49
      kdebase3-extra-3.2.1-63
      kdebase3-ksysguardd-3.2.1-63
      kdenetwork3-news-3.2.1-45
      kdebase3-kdm-3.2.1-63
      kdegraphics3-fax-3.2.1-63
      kdeaddons3-konqueror-3.2.1-44
      kdemultimedia3-jukebox-3.2.1-43
      kdemultimedia3-sound-3.2.1-43
      kdemultimedia3-devel-3.2.1-43
      kdenetwork3-lan-3.2.1-45
      kdenetwork3-lisa-3.2.1-45
      kdegames3-arcade-3.2.1-28
      kdegraphics3-extra-3.2.1-63
      kdeutils3-devel-3.2.1-61
      kdebindings3-java-3.2.1-28
      kdebindings3-Csharp-3.2.1-28
      kdelibs3-3.2.1-41
      kdegraphics3-postscript-3.2.1-63
      kdegames3-3.2.1-28
      kdegraphics3-3.2.1-63
      kdeaddons3-kate-3.2.1-44
      kdebase3-nsplugin-3.2.1-63
      kdebindings3-perl-3.2.1-28
      kdetoys3-3.2.1-27
      kdeartwork3-3.2.1-53
      kdeutils3-extra-3.2.1-61
      xmms-kde-3.1-41
      kdebase3-3.2.1-63
      kdepim3-kpilot-3.2.1-35
      kdebase3-SuSE-9.1-10
      kdebase3-devel-3.2.1-63
      kdegames3-card-3.2.1-28
      kdesdk3-devel-3.2.1-49
      linux:~ #
      ----------------------------

       
    • Thiago Silva

      Thiago Silva - 2005-02-07

      Nice, thanks!
      So there it is. KDE has some incompatibilities along its versions so I'll have to setup an environment with the KDE 3.2.x and make Protoeditor works, since it was developed on a KDE 3.3.x.  I hope I can make this today.

      Good Morning! :-)

       
    • UberTech

      UberTech - 2005-02-07

      I'm very glad that you feel up to it!

      I really want to try out Protoeditor for providing a debugging interface for my latest (h-u-g-e) php project - the screenshots look very promising, and I'm developing php5 objects solely with Kate anyways (tried out different versions of Quanta a few times, but it just does not beat editing a magnitude of pure php5 objects  and Smarty Templates in Kate itself, IMHO, but other people (big Quanta fans) might disagree with me).

      A KDE-based GUI to DBG and KatePart-based php editing and debugging environment (which is basically what I understand that Protoeditor is all about) is just what the doctor ordered (for me, at least!).

      I'll definately keep you posted about compatibility issues, since I will probably install/compile it on KDE-3.2.x. That's what I have set-up at the moment, unfortunately I'll only move towards an updated (KDE-3.3.x) distro in November.

      Thank you for your efforts.

       
    • Thiago Silva

      Thiago Silva - 2005-02-07

      Thats exactly what the doctor ordered for me too :-)

      I created an RPM package using KDE 3.2.2. Also, submitted a patch for editortabwidget.cpp, if you want to try to build from source again.

      I quickly tested and hope it works. But I can expect not to, because I did in a hurry (I'm late to work... ).

       
    • Thiago Silva

      Thiago Silva - 2005-02-07

      Thats exatcly what the doctor ordered for me too :-)

      I created an RPM package using KDE 3.2.2. Also, submited a patch for editortabwidget.cpp, if you want to try to build from source again.

      I quickly tested and hope it works. But I can expect not to, because I did in a hurry (I'm late to work... ).

       
    • Thiago Silva

      Thiago Silva - 2005-02-07

      I just remembered. The RPM was created using Fedora Core 3. Your KDEDIR might be different. I suggest your do a rpm -qpl and check the path of the files from the package.

       
    • UberTech

      UberTech - 2005-02-08

      I got the rpm, thanks!

      It is a bit weird that the rpm does not show up in the file section - I thought this was a browser cache issue, but it is listed in:
      http://prdownloads.sourceforge.net/protoeditor - Still, I could swear I saw it in the file-list yesterday! :-)

      Alas, the rpm and source both does not install/compile, but by now, after all your time and effort, I think i've found the main problem/incompatibility on my system - libstdc++ !

      Since libstdc++.so.5 is distributed with Suse 9.1 (my system), and libstdc++.so.6 is needed by the rpm, that wasn't so hard for me to figure out - that is probably also the main cause of compilation errors due to unexpected class templates?

      I'm a bit concerned about updating libstdc++ - The first two things I've learned the hard way about libstdc++ a long time ago are basically:

      1) Never update libstdc++ on you system, unless you just play around on your linux box, no matter what your distributor/vendor promises (lol)
      2) No version of libstdc++ can ever see into the future (that's our problem here, I think).

      Still, I really can't expect from you to spend a lot of time on backward compatibility - What do you propose?

       
    • UberTech

      UberTech - 2005-02-08

      Oops, I forgot to elaborate...

      This is what I'm stuck with at the moment:

      libstdc++-3.3.3-41
      libstdc++-devel-3.3.3-41
      glibc-devel-2.3.3-97
      glibc-2.3.3-97

       
    • Thiago Silva

      Thiago Silva - 2005-02-08

      Yes, I remnoved    the RPM yesterday, can remember really why (I was very sleepy)..
      I think it was because I didn't specify it was a fedora RPM.

      I remember having installed libstdc++.so.5 on fedora (kde 3.2 required it as I recall), but it might not have being used on compilation.
      Yeah, I wouldn't sugest you mess up with your system too :-).
      I don't have access to a SuSe distro right now, but I'll see if I can get a distro with a clean KDE 3.2, or try again, on different approaches.
      My time is not too much money :) so with your help, I'll try to make it work. Could you tell me the errors you are getting?
      Also, the QT version you are using.
      Thanks for the feedback

       
    • UberTech

      UberTech - 2005-02-08

      Hi!

      If you still want to go for it, I'll be mighty pleased :-D

      Here is what you wanted to know:

      -----Qt-------------------------

      linux:~ # rpm -qa | grep -i qt
        QtPixmap-0.28-22
        qt3-devel-doc-3.3.1-33
        yast2-qt-2.9.21-0
        php4-qtdom-4.3.4-26
        lyx-1.3.5-1_qt
        qt3-3.3.1-33
        qt3-non-mt-3.3.1-36
        qt3-devel-tools-3.3.1-32
        unixODBC-gui-qt-2.2.8-55
        qt3-devel-3.3.1-33

      ---RPM-Error--------------------------

      linux:~ # rpm -ivh /data/downloads/protoeditor-0.5.2-1.i386.rpm
      error: Failed dependencies:
              libstdc++.so.6 is needed by protoeditor-0.5.2-1
              libstdc++.so.6(CXXABI_1.3) is needed by protoeditor-0.5.2-1
              libstdc++.so.6(GLIBCXX_3.4) is needed by protoeditor-0.5.2-1
      linux:~ #

      ---Make Error------------------------------

      .....
      Making all in dbg
      make[3]: Entering directory `/root/temp/protoeditor-0.5.2-1/src/dbg'
      if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/common -I../../src/commonphp -I../../src/dbg -I../../src/protoeditor -I../settings -I/opt/kde3/include -I/usr/lib/qt3/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  -MT dbgconnection.lo -MD -MP -MF ".deps/dbgconnection.Tpo" -c -o dbgconnection.lo dbgconnection.cpp; \ then mv -f ".deps/dbgconnection.Tpo" ".deps/dbgconnection.Plo"; else rm -f ".deps/dbgconnection.Tpo"; exit 1; fi
      dbgconnection.cpp:65: error: prototype for `void
         DBGConnection::slotError(int*(*)())' does not match any in class `
         DBGConnection'
      dbgconnection.h:41: error: candidate is: void DBGConnection::slotError(int)
      make[3]: *** [dbgconnection.lo] Error 1
      make[3]: Leaving directory `/root/temp/protoeditor-0.5.2-1/src/dbg'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/root/temp/protoeditor-0.5.2-1/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/root/temp/protoeditor-0.5.2-1'
      make: *** [all] Error 2
      linux:~/temp/protoeditor-0.5.2-1 #

      Let me know what I can do to help, I'm up for it - I will find the end-poduct extremely useful ;-)

       
    • Thiago Silva

      Thiago Silva - 2005-02-08

      Ok, right now I'm working on the RPM problem.

      About the compilation, it intrigues me.
      "dbgconnection.cpp:65: error: prototype for `void BGConnection::slotError(int*(*)())' does not match any in class ` DBGConnection' "

      This error is informing different function signature.

      On src/dbg/dbgconnection.cpp, line 65, it should have
      "void DBGConnection::slotError(int errno) {"

      as for src/dbg/dbgconnection.h, line 41:
      "void slotError(int);"

      I don't understand why the compiler informs "slotError(int*(*)())".

      Maybe, you could try the CVS files. I don't think it will make a difference, but who knows....

       
    • UberTech

      UberTech - 2005-02-08

      I did what you suggested - Following is all the output from configuring to making - Just after that I list the source as I got it from the latest available version.

      ===configure=output===========

      linux:~/temp/protoeditor-0.5.2-1 # ./configure
      checking build system type... i686-pc-linux-gnu
      checking host system type... i686-pc-linux-gnu
      checking target system type... i686-pc-linux-gnu
      checking for a BSD-compatible install... /usr/bin/install -c
      checking for -p flag to install... yes
      checking whether build environment is sane... yes
      checking for gawk... gawk
      checking whether make sets $(MAKE)... yes
      checking for style of include used by make... GNU
      checking for gcc... gcc
      checking for C compiler default output file name... a.out
      checking whether the C compiler works... yes
      checking whether we are cross compiling... no
      checking for suffix of executables...
      checking for suffix of object files... o
      checking whether we are using the GNU C compiler... yes
      checking whether gcc accepts -g... yes
      checking for gcc option to accept ANSI C... none needed
      checking dependency style of gcc... gcc3
      checking how to run the C preprocessor... gcc -E
      checking for g++... g++
      checking whether we are using the GNU C++ compiler... yes
      checking whether g++ accepts -g... yes
      checking dependency style of g++... gcc3
      checking whether g++ supports -Wmissing-format-attribute... yes
      checking whether g++ supports -Wundef... yes
      checking whether g++ supports -Wno-long-long... yes
      checking whether g++ supports -Wnon-virtual-dtor... yes
      checking whether g++ supports -fno-exceptions... yes
      checking whether g++ supports -fno-check-new... yes
      checking whether g++ supports -fno-common... yes
      checking whether g++ supports -fexceptions... yes
      checking how to run the C++ preprocessor... g++ -E
      checking whether g++ supports -O0... yes
      checking whether g++ supports -Wl,--no-undefined... yes
      checking whether g++ supports -Wl,--allow-shlib-undefined... yes
      not using lib directory suffix
      checking for a sed that does not truncate output... /usr/bin/sed
      checking for egrep... grep -E
      checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
      checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
      checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
      checking for BSD-compatible nm... /usr/bin/nm -B
      checking whether ln -s works... yes
      checking how to recognise dependent libraries... pass_all
      checking for ANSI C header files... yes
      checking for sys/types.h... yes
      checking for sys/stat.h... yes
      checking for stdlib.h... yes
      checking for string.h... yes
      checking for memory.h... yes
      checking for strings.h... yes
      checking for inttypes.h... yes
      checking for stdint.h... yes
      checking for unistd.h... yes
      checking dlfcn.h usability... yes
      checking dlfcn.h presence... yes
      checking for dlfcn.h... yes
      checking for g77... no
      checking for f77... no
      checking for xlf... no
      checking for frt... no
      checking for pgf77... no
      checking for fort77... no
      checking for fl32... no
      checking for af77... no
      checking for f90... no
      checking for xlf90... no
      checking for pgf90... no
      checking for epcf90... no
      checking for f95... no
      checking for fort... no
      checking for xlf95... no
      checking for ifc... no
      checking for efc... no
      checking for pgf95... no
      checking for lf95... no
      checking for gfortran... no
      checking whether we are using the GNU Fortran 77 compiler... no
      checking whether  accepts -g... no
      checking the maximum length of command line arguments... 32768
      checking command to parse /usr/bin/nm -B output from gcc object... ok
      checking for objdir... .libs
      checking for ar... ar
      checking for ranlib... ranlib
      checking for strip... strip
      checking if gcc static flag  works... yes
      checking if gcc supports -fno-rtti -fno-exceptions... no
      checking for gcc option to produce PIC... -fPIC
      checking if gcc PIC flag -fPIC works... yes
      checking if gcc supports -c -o file.o... yes
      checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
      checking whether -lc should be explicitly linked in... no
      checking dynamic linker characteristics... GNU/Linux ld.so
      checking how to hardcode library paths into programs... immediate
      checking whether stripping libraries is possible... yes
      checking for shl_load... no
      checking for shl_load in -ldld... no
      checking for dlopen... no
      checking for dlopen in -ldl... yes
      checking whether a program can dlopen itself... yes
      checking whether a statically linked program can dlopen itself... yes
      checking if libtool supports shared libraries... yes
      checking whether to build shared libraries... yes
      checking whether to build static libraries... no
      configure: creating libtool
      appending configuration tag "CXX" to libtool
      checking for ld used by g++... /usr/i586-suse-linux/bin/ld
      checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
      checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
      checking for g++ option to produce PIC... -fPIC
      checking if g++ PIC flag -fPIC works... yes
      checking if g++ supports -c -o file.o... yes
      checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
      checking dynamic linker characteristics... GNU/Linux ld.so
      checking how to hardcode library paths into programs... immediate
      checking whether stripping libraries is possible... yes
      checking for shl_load... (cached) no
      checking for shl_load in -ldld... (cached) no
      checking for dlopen... (cached) no
      checking for dlopen in -ldl... (cached) yes
      checking whether a program can dlopen itself... (cached) yes
      checking whether a statically linked program can dlopen itself... (cached) yes
      appending configuration tag "F77" to libtool
      checking for msgfmt... /usr/bin/msgfmt
      checking for gmsgfmt... /usr/bin/msgfmt
      checking for xgettext... /usr/bin/xgettext
      checking if C++ programs can be compiled... yes
      checking for strlcat... no
      checking if strlcat needs custom prototype... yes - in libkdefakes
      checking for strlcpy... no
      checking if strlcpy needs custom prototype... yes - in libkdefakes
      checking for main in -lutil... yes
      checking for main in -lcompat... no
      checking for crypt in -lcrypt... yes
      checking for socklen_t... socklen_t
      checking for dnet_ntoa in -ldnet... no
      checking for dnet_ntoa in -ldnet_stub... no
      checking for inet_ntoa... yes
      checking for connect... yes
      checking for remove... yes
      checking for shmat... yes
      checking for sys/types.h... (cached) yes
      checking for stdint.h... (cached) yes
      checking for poll in -lpoll... no
      checking CoreAudio/CoreAudio.h usability... no
      checking CoreAudio/CoreAudio.h presence... no
      checking for CoreAudio/CoreAudio.h... no
      checking if res_init needs -lresolv... yes
      checking if res_init is available... yes
      checking for killpg in -lucb... no
      checking for int... yes
      checking size of int... 4
      checking for short... yes
      checking size of short... 2
      checking for long... yes
      checking size of long... 4
      checking for char *... yes
      checking size of char *... 4
      checking for dlopen in -ldl... (cached) yes
      checking for shl_unload in -ldld... no
      checking for size_t... yes
      checking size of size_t... 4
      checking for unsigned long... yes
      checking size of unsigned long... 4
      checking sizeof size_t == sizeof unsigned long... yes
      checking crt_externs.h usability... no
      checking crt_externs.h presence... no
      checking for crt_externs.h... no
      checking for _NSGetEnviron... no
      checking for vsnprintf... yes
      checking for snprintf... yes
      checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
      checking for IceConnectionNumber in -lICE... yes
      checking for libXext... yes
      checking for pthread_create in -lpthread... yes
      checking for extra includes... no
      checking for extra libs... no
      checking for libz... -lz
      checking for libpng... -lpng -lz -lm
      checking for libjpeg6b... no
      checking for libjpeg... -ljpeg
      checking for perl... /usr/bin/perl
      checking for Qt... libraries /usr/lib/qt3/lib, headers /usr/lib/qt3/include using -mt
      checking for moc... /usr/lib/qt3/bin/moc
      checking for uic... /usr/lib/qt3/bin/uic
      checking whether uic supports -L ... yes
      checking whether uic supports -nounload ... yes
      checking if Qt needs -ljpeg... no
      checking for rpath... yes
      checking for KDE... libraries /opt/kde3/lib, headers /opt/kde3/include
      checking if UIC has KDE plugins available... yes
      checking for KDE paths... defaults
      checking for dcopidl... /opt/kde3/bin/dcopidl
      checking for dcopidl2cpp... /opt/kde3/bin/dcopidl2cpp
      checking for mcopidl... /opt/kde3/bin/mcopidl
      checking for artsc-config... /opt/kde3/bin/artsc-config
      checking for kde-config... /opt/kde3/bin/kde-config
      checking for meinproc... /opt/kde3/bin/meinproc
      checking for kconfig_compiler... /opt/kde3/bin/kconfig_compiler
      checking for dcopidlng... /opt/kde3/bin/dcopidlng
      checking for xmllint... /usr/bin/xmllint
      checking whether byte ordering is bigendian... no
      checking for MAXPATHLEN... 4096
      checking if data should be compiled... yes
      checking if src should be compiled... yes
      configure: creating ./config.status
      fast creating Makefile
      fast creating data/Makefile
      fast creating data/icons/Makefile
      fast creating src/Makefile
      fast creating src/common/Makefile
      fast creating src/commonphp/Makefile
      fast creating src/dbg/Makefile
      fast creating src/protoeditor/Makefile
      fast creating src/settings/Makefile
      config.pl: fast created 9 file(s).
      config.status: creating config.h
      config.status: executing depfiles commands

      Good - your configure finished. Start make now

      =====make=output==========

      linux:~/temp/protoeditor-0.5.2-1 # make
      make  all-recursive
      make[1]: Entering directory `/root/temp/protoeditor-0.5.2-1'
      Making all in data
      make[2]: Entering directory `/root/temp/protoeditor-0.5.2-1/data'
      Making all in icons
      make[3]: Entering directory `/root/temp/protoeditor-0.5.2-1/data/icons'
      make[3]: Nothing to be done for `all'.
      make[3]: Leaving directory `/root/temp/protoeditor-0.5.2-1/data/icons'
      make[3]: Entering directory `/root/temp/protoeditor-0.5.2-1/data'
      make[3]: Nothing to be done for `all-am'.
      make[3]: Leaving directory `/root/temp/protoeditor-0.5.2-1/data'
      make[2]: Leaving directory `/root/temp/protoeditor-0.5.2-1/data'
      Making all in src
      make[2]: Entering directory `/root/temp/protoeditor-0.5.2-1/src'
      Making all in settings
      make[3]: Entering directory `/root/temp/protoeditor-0.5.2-1/src/settings'
      /opt/kde3/bin/kconfig_compiler ./protoeditor.kcfg ./debuggersettings.kcfgc; ret=$?; \ if test "$ret" != 0; then rm -f debuggersettings.h ; exit $ret ;  fi
      /usr/lib/qt3/bin/moc ./debuggersettingswidget.h -o debuggersettingswidget.moc
      if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/settings -I/opt/kde3/include -I/usr/lib/qt3/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  -MT debuggersettingswidget.lo -MD -MP -MF ".deps/debuggersettingswidget.Tpo" -c -o debuggersettingswidget.lo debuggersettingswidget.cpp; \ then mv -f ".deps/debuggersettingswidget.Tpo" ".deps/debuggersettingswidget.Plo"; else rm -f ".deps/debuggersettingswidget.Tpo"; exit 1; fi
      if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/settings -I/opt/kde3/include -I/usr/lib/qt3/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  -MT debuggersettings.lo -MD -MP -MF ".deps/debuggersettings.Tpo" -c -o debuggersettings.lo debuggersettings.cpp; \ then mv -f ".deps/debuggersettings.Tpo" ".deps/debuggersettings.Plo"; else rm -f ".deps/debuggersettings.Tpo"; exit 1; fi
      /bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -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    -o libsettings.la  -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib  debuggersettingswidget.lo debuggersettings.lo
      make[3]: Leaving directory `/root/temp/protoeditor-0.5.2-1/src/settings'
      Making all in commonphp
      make[3]: Entering directory `/root/temp/protoeditor-0.5.2-1/src/commonphp'
      if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/common -I../../src/commonphp -I/opt/kde3/include -I/usr/lib/qt3/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  -MT phpvariable.lo -MD -MP -MF ".deps/phpvariable.Tpo" -c -o phpvariable.lo phpvariable.cpp; \ then mv -f ".deps/phpvariable.Tpo" ".deps/phpvariable.Plo"; else rm -f ".deps/phpvariable.Tpo"; exit 1; fi
      if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/common -I../../src/commonphp -I/opt/kde3/include -I/usr/lib/qt3/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  -MT variableparser.lo -MD -MP -MF ".deps/variableparser.Tpo" -c -o variableparser.lo variableparser.cpp; \ then mv -f ".deps/variableparser.Tpo" ".deps/variableparser.Plo"; else rm -f ".deps/variableparser.Tpo"; exit 1; fi
      /bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -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    -o libcommonphp.la  -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib  phpvariable.lo variableparser.lo
      make[3]: Leaving directory `/root/temp/protoeditor-0.5.2-1/src/commonphp'
      Making all in common
      make[3]: Entering directory `/root/temp/protoeditor-0.5.2-1/src/common'
      /usr/lib/qt3/bin/moc ./abstractdebugger.h -o abstractdebugger.moc
      if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/common -I../../src/protoeditor -I/opt/kde3/include -I/usr/lib/qt3/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  -MT abstractdebugger.lo -MD -MP -MF ".deps/abstractdebugger.Tpo" -c -o abstractdebugger.lo abstractdebugger.cpp; \ then mv -f ".deps/abstractdebugger.Tpo" ".deps/abstractdebugger.Plo"; else rm -f ".deps/abstractdebugger.Tpo"; exit 1; fi
      if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/common -I../../src/protoeditor -I/opt/kde3/include -I/usr/lib/qt3/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  -MT debuggerbreakpoint.lo -MD -MP -MF ".deps/debuggerbreakpoint.Tpo" -c -o debuggerbreakpoint.lo debuggerbreakpoint.cpp; \ then mv -f ".deps/debuggerbreakpoint.Tpo" ".deps/debuggerbreakpoint.Plo"; else rm -f ".deps/debuggerbreakpoint.Tpo"; exit 1; fi
      if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/common -I../../src/protoeditor -I/opt/kde3/include -I/usr/lib/qt3/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  -MT variable.lo -MD -MP -MF ".deps/variable.Tpo" -c -o variable.lo variable.cpp; \ then mv -f ".deps/variable.Tpo" ".deps/variable.Plo"; else rm -f ".deps/variable.Tpo"; exit 1; fi
      if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/common -I../../src/protoeditor -I/opt/kde3/include -I/usr/lib/qt3/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  -MT debuggerstack.lo -MD -MP -MF ".deps/debuggerstack.Tpo" -c -o debuggerstack.lo debuggerstack.cpp; \ then mv -f ".deps/debuggerstack.Tpo" ".deps/debuggerstack.Plo"; else rm -f ".deps/debuggerstack.Tpo"; exit 1; fi
      /bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -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    -o libcommon.la  -L/usr/X11R6/lib -L/usr/lib/qt3/lib -L/opt/kde3/lib  abstractdebugger.lo debuggerbreakpoint.lo variable.lo debuggerstack.lo
      make[3]: Leaving directory `/root/temp/protoeditor-0.5.2-1/src/common'
      Making all in dbg
      make[3]: Entering directory `/root/temp/protoeditor-0.5.2-1/src/dbg'
      if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/common -I../../src/commonphp -I../../src/dbg -I../../src/protoeditor -I../settings -I/opt/kde3/include -I/usr/lib/qt3/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  -MT dbgconfiguration.lo -MD -MP -MF ".deps/dbgconfiguration.Tpo" -c -o dbgconfiguration.lo dbgconfiguration.cpp; \ then mv -f ".deps/dbgconfiguration.Tpo" ".deps/dbgconfiguration.Plo"; else rm -f ".deps/dbgconfiguration.Tpo"; exit 1; fi
      /usr/lib/qt3/bin/moc ./dbgconnection.h -o dbgconnection.moc
      if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/common -I../../src/commonphp -I../../src/dbg -I../../src/protoeditor -I../settings -I/opt/kde3/include -I/usr/lib/qt3/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  -MT dbgconnection.lo -MD -MP -MF ".deps/dbgconnection.Tpo" -c -o dbgconnection.lo dbgconnection.cpp; \ then mv -f ".deps/dbgconnection.Tpo" ".deps/dbgconnection.Plo"; else rm -f ".deps/dbgconnection.Tpo"; exit 1; fi
      dbgconnection.cpp:65: error: prototype for `void
         DBGConnection::slotError(int*(*)())' does not match any in class `
         DBGConnection'
      dbgconnection.h:41: error: candidate is: void DBGConnection::slotError(int)
      make[3]: *** [dbgconnection.lo] Error 1
      make[3]: Leaving directory `/root/temp/protoeditor-0.5.2-1/src/dbg'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/root/temp/protoeditor-0.5.2-1/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/root/temp/protoeditor-0.5.2-1'
      make: *** [all] Error 2
      linux:~/temp/protoeditor-0.5.2-1 #

      ===source=snippet=of=src/dbg/dbgconnection.cpp===

      void DBGConnection::slotError(int errno) {
        switch(errno) {
          case QSocket::ErrConnectionRefused:
            emit sigError(QString("Connection refused"));
            break;
          case QSocket::ErrHostNotFound:
            emit sigError(QString("Host not found"));
            break;
          case QSocket::ErrSocketRead:
            emit sigError(QString("Error reading network data"));
            break;
        }
      }

      ===source=snippet=of=src/dbg/dbgconnection.h===

      class QSocket;

      class DBGConnection  : public QServerSocket {
      Q_OBJECT
      public:
        DBGConnection(const QHostAddress& host, int port, QObject * parent = 0, const char * name = 0);
        ~DBGConnection();

        virtual void newConnection(int socket);
        bool listening();

      private slots:
        void slotClosed();
        void slotError(int);

      signals:
        void sigAccepted(QSocket*);
        void sigClosed();
        void sigError(const QString&);

      private:
        void clearSocket();
        //QString m_error;
        bool m_listening;
        QSocket* m_currentSocket;
      };

      ==========================

      That's it. Good luck!

       
    • UberTech

      UberTech - 2005-02-08

      Hey, I just wondered - would it be possible for some other third party package to mess things up? Probably unlikely, eh?

       
    • Thiago Silva

      Thiago Silva - 2005-02-08

      Nice verbose! Thanks!
      Hmm, this compilation error is very strange indeed.
      I've tried to reproduce it here, even  on an older slackware 9.0 and compiled just fine. Since I'm very curious about this, I might download SuSe and try it here. For now, this is what you can do:

      1: Hack dbgconnection and simply comment the connection that uses slotError (I guess, line 55 of the .cpp):

      "connect(m_currentSocket, SIGNAL(error(int)), this, SLOT(slotError(int)));"

      and the declaration/implementation of slotError.

      It should be fine, since this is most for exceptional behavior if ever called (actually, I never saw that function been called).
      Having this setup, you can move to the next error that might appear during compilation :-)

      2: You can install a newer libstdc++, paralell to the one you have. I did this on Fedora yesterday. The RPM didn't complain and both versions lived toguether (however I'm no expert to be confident about it). As I recall, the libstdc++ rpm only have a few files and the lib itself.

       
    • Thiago Silva

      Thiago Silva - 2005-02-08

      Oh, and 3:
      (the simplest and not so good way to do it)

      -link your libstdc++ to libstdc++.so.6,
      - rpm -ivh --nodeps.protoeditor.xx.rpm

      Now, run protoeditor, and see if it works. if not, delete the link and remove the protoeditor rpm.

       
    • UberTech

      UberTech - 2005-02-08

      Hi!

      I tried "3",  and the RPM installed just fine (I linked libstdc++.so.5 to ...so.6). When executing protoeditor, I get discouraging news ;-)

      Here's the output:

      linux:/usr/lib # ln -s libstdc++.so.5.0.5 libstdc++.so.6
      linux:/usr/lib # rpm -ivh --nodeps /data/downloads/protoeditor-0.5.2-1.i386.rpm
      Preparing...                ########################################### [100%]
         1:protoeditor            ########################################### [100%]
      linux:/usr/lib # protoeditor
      protoeditor: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by protoeditor)
      protoeditor: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found (required by protoeditor)
      linux:/usr/lib # rpm -e protoeditor
      linux:/usr/lib # rm libstdc++.so.6
      linux:/usr/lib #
      ===============================

      ...but wait, there's more!...

      Then....

      I removed all sloterror declarations & implementations - It compiles past the dbgcommection units, but I still get the following errors:

      =================================
      Making all in protoeditor
      make[3]: Entering directory `/root/temp/protoeditor-0.5.2-1/src/protoeditor'
      /usr/lib/qt3/bin/moc ./editortabwidget.h -o editortabwidget.moc
      if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../. -I../../src/common -I../../src/dbg -I../../src/protoeditor -I../../src/settings -I../settings -I/opt/kde3/include -I/usr/lib/qt3/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  -MT editortabwidget.o -MD -MP -MF ".deps/editortabwidget.Tpo" -c -o editortabwidget.o editortabwidget.cpp; \ then mv -f ".deps/editortabwidget.Tpo" ".deps/editortabwidget.Po"; else rm -f ".deps/editortabwidget.Tpo"; exit 1; fi
      editortabwidget.cpp: In member function `void
         EditorTabWidget::markActiveBreakpoint(QString, int)':
      editortabwidget.cpp:211: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::unmarkActiveBreakpoint(QString, int)':
      editortabwidget.cpp:220: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::markDisabledBreakpoint(QString, int)':
      editortabwidget.cpp:229: error: `BreakpointDisabled' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::unmarkDisabledBreakpoint(QString, int)':
      editortabwidget.cpp:238: error: `BreakpointDisabled' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::markExecutionLine(QString, int)':
      editortabwidget.cpp:246: error: `Execution' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::unmarkExecutionLine(QString, int)':
      editortabwidget.cpp:253: error: `Execution' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::createDocument(KURL)':
      editortabwidget.cpp:288: error: `Execution' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:294: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:297: error: `BreakpointDisabled' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:300: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:302: error: `Bookmark' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:302: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp: In member function `void
         EditorTabWidget::dispatchMark(KTextEditor::Mark&, bool)':
      editortabwidget.cpp:541: error: `BreakpointDisabled' is not a member of type `
         KTextEditor::MarkInterface'
      editortabwidget.cpp:542: error: `BreakpointActive' is not a member of type `
         KTextEditor::MarkInterface'
      make[3]: *** [editortabwidget.o] Error 1
      make[3]: Leaving directory `/root/temp/protoeditor-0.5.2-1/src/protoeditor'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/root/temp/protoeditor-0.5.2-1/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/root/temp/protoeditor-0.5.2-1'
      make: *** [all] Error 2
      linux:~/temp/protoeditor-0.5.2-1 #
      ===================================

      Hope it helps!

       
    • Thiago Silva

      Thiago Silva - 2005-02-08

      All right, moving forward! :-)

      All the compile errors above are due to different KDE version. They were corrected (or so I belive) on CVS. Try checking out.

      If you prefeer to wait for a new release, I might create a new one by friday (I'm trying to create a new release every week).

      Hope it works!

       
    • UberTech

      UberTech - 2005-02-08

      Success!! It is compiled and runs on my machine.

      According to your suggestions, I did the following to make it work:
      1) Checked out CVS version
      2) Remoted all SlotError declarations and implementations (I get stuck on the same error if I skip this step)
      3) make -f Makefile.cvs
      4) ./configure
      5) Make
      6) ran src/protoeditor/protoeditor

      Now, I will see if I can figure out how the application works ;-)

      Thank you for all your help! My next post will hopefully start a new topic :-D

       
      • Thiago Silva

        Thiago Silva - 2005-02-08

        Great news!!! :-)
        I'm very glad it worked!

        I received an email asking for a solution to the same problem you had. I really have to give it some time to this issue.

        Now, I hope you like it and hope it is useful on your project. I haven't the the time to make appropriated documentations, but fell free to contact case you need.

        Thiago

         
1 2 > >> (Page 1 of 2)

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

Sign up for the SourceForge newsletter:





No, thanks