Menu

trouble compiling kphototools

Help
2004-05-25
2004-05-27
  • Rodney D. Myers

    Rodney D. Myers - 2004-05-25

    I'm running debian sarge, and having problems getting kphototools 0.1 compiled.

    I can get it configured using "./configure", and get this mesage when completed;

    configure: creating ./config.status
    fast creating Makefile
    fast creating doc/Makefile
    fast creating doc/en/Makefile
    fast creating po/Makefile
    fast creating src/Makefile
    config.status: creating config.h
    config.status: executing depfiles commands

    Good - your configure finished. Start make now

    But when I atempt to
    "make" th source code I'm getting this error message;

    make
    make  all-recursive
    make[1]: Entering directory `/home/rodney/waste/kphotools-0.1'
    Making all in doc
    make[2]: Entering directory `/home/rodney/waste/kphotools-0.1/doc'
    Making all in .
    make[3]: Entering directory `/home/rodney/waste/kphotools-0.1/doc'
    make[3]: Nothing to be done for `all-am'.
    make[3]: Leaving directory `/home/rodney/waste/kphotools-0.1/doc'
    Making all in en
    make[3]: Entering directory `/home/rodney/waste/kphotools-0.1/doc/en'
    /usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
    make[3]: Leaving directory `/home/rodney/waste/kphotools-0.1/doc/en'
    make[2]: Leaving directory `/home/rodney/waste/kphotools-0.1/doc'
    Making all in po
    make[2]: Entering directory `/home/rodney/waste/kphotools-0.1/po'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/rodney/waste/kphotools-0.1/po'
    Making all in src
    make[2]: Entering directory `/home/rodney/waste/kphotools-0.1/src'
    source='main.cpp' object='main.o' libtool=no \
    depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
    depmode=gcc3 /bin/sh ../admin/depcomp \
    g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -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 main.o `test -f 'main.cpp' || echo './'`main.cpp
    In file included from /usr/include/c++/3.3/backward/vector.h:59,
                     from ResizerDlg.h:19,
                     from MainDlg.h:16,
                     from main.cpp:6:
    /usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
    In file included from ResizerDlg.h:21,
                     from MainDlg.h:16,
                     from main.cpp:6:
    imgThread.h:14:20: Imlib2.h: No such file or directory
    In file included from ResizerDlg.h:21,
                     from MainDlg.h:16,
                     from main.cpp:6:
    imgThread.h: In member function `void imgThread::copy()':
    imgThread.h:78: error: `Imlib_Image' undeclared (first use this function)
    imgThread.h:78: error: (Each undeclared identifier is reported only once for
       each function it appears in.)
    imgThread.h:78: error: parse error before `;' token
    imgThread.h:86: error: `image' undeclared (first use this function)
    imgThread.h:86: error: `imlib_load_image_without_cache' undeclared (first use
       this function)
    imgThread.h:91: error: `imlib_context_set_image' undeclared (first use this
       function)
    imgThread.h:92: error: `imlib_image_orientate' undeclared (first use this
       function)
    imgThread.h:93: error: `imlib_image_get_height' undeclared (first use this
       function)
    imgThread.h:94: error: `imlib_image_get_width' undeclared (first use this
       function)
    imgThread.h:95: error: `imlib_image_set_format' undeclared (first use this
       function)
    imgThread.h:106: error: parse error before `;' token
    imgThread.h:112: error: `imgresized' undeclared (first use this function)
    imgThread.h:130: error: parse error before `;' token
    imgThread.h:131: error: `imageLogo' undeclared (first use this function)
    imgThread.h:141: error: `imlib_blend_image_onto_image' undeclared (first use
       this function)
    imgThread.h:160: error: `imlib_save_image' undeclared (first use this function)
    imgThread.h:164: error: `imlib_free_image' undeclared (first use this function)
    imgThread.h: In member function `void imgThread::resize(void*, QString)':
    imgThread.h:182: error: `Imlib_Image' undeclared (first use this function)
    imgThread.h:182: error: parse error before `;' token
    imgThread.h:188: error: `imgfinal' undeclared (first use this function)
    imgThread.h:188: error: `imlib_context_set_image' undeclared (first use this
       function)
    imgThread.h:191: error: `imlib_save_image' undeclared (first use this function)
    imgThread.h:193: error: parse error before `;' token
    make[2]: *** [main.o] Error 1
    make[2]: Leaving directory `/home/rodney/waste/kphotools-0.1/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/rodney/waste/kphotools-0.1'
    make: *** [all] Error 2

    I have imlib installed;

    dpkg -l | grep imlib
    ii  gdk-imlib1     1.9.14-14      imaging library for use with gtk (using libp
    ii  imlib-base     1.9.14-14      Common files needed by the Imlib/Gdk-Imlib p
    ii  imlib-progs    1.9.14-14      Configuration program for Imlib and GDK-Imli
    ii  imlib1         1.9.14-14      imaging library for X and X11 (using libpng2
    ii  imlib11        1.9.14-15      Imlib is an imaging library for X and X11
    ii  imlib11-dev    1.9.14-15      Imlib is an imaging library for X and X11

     
    • valen1982

      valen1982 - 2004-05-25

      hi,
      you need Imlib2 which is an idependant project an has nothing in common with imlib.
      If you are still getting errors try downloading vercion 0.1.2 which is online since a few minutes.

       
    • Rodney D. Myers

      Rodney D. Myers - 2004-05-26

      oky, heading to grab the file(s) now, and will report what happens.

      Thanks

       
    • Rodney D. Myers

      Rodney D. Myers - 2004-05-26

      still fails with;

      make
      make  all-recursive
      make[1]: Entering directory `/home/rodney/waste/kphotools-0.1'
      Making all in doc
      make[2]: Entering directory `/home/rodney/waste/kphotools-0.1/doc'
      Making all in .
      make[3]: Entering directory `/home/rodney/waste/kphotools-0.1/doc'
      make[3]: Nothing to be done for `all-am'.
      make[3]: Leaving directory `/home/rodney/waste/kphotools-0.1/doc'
      Making all in en
      make[3]: Entering directory `/home/rodney/waste/kphotools-0.1/doc/en'
      /usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
      make[3]: Leaving directory `/home/rodney/waste/kphotools-0.1/doc/en'
      make[2]: Leaving directory `/home/rodney/waste/kphotools-0.1/doc'
      Making all in po
      make[2]: Entering directory `/home/rodney/waste/kphotools-0.1/po'
      make[2]: Nothing to be done for `all'.
      make[2]: Leaving directory `/home/rodney/waste/kphotools-0.1/po'
      Making all in src
      make[2]: Entering directory `/home/rodney/waste/kphotools-0.1/src'
      source='main.cpp' object='main.o' libtool=no \
      depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
      depmode=gcc3 /bin/sh ../admin/depcomp \
      g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -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 main.o `test -f 'main.cpp' || echo './'`main.cpp
      In file included from /usr/include/c++/3.3/backward/vector.h:59,
                       from ResizerDlg.h:19,
                       from MainDlg.h:16,
                       from main.cpp:6:
      /usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
      /usr/share/qt3/bin/moc MainDlg.h -o MainDlg.moc
      rm -f MainDlg.cpp
      echo '#include <klocale.h>' > MainDlg.cpp
      /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload -tr tr2i18n -i MainDlg.h ./MainDlg.ui > MainDlg.cpp.temp ; ret=$?; \
      sed -e "s,tr2i18n( \"\" ),QString::null,g" MainDlg.cpp.temp | sed -e "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | sed -e "s,image\([0-9][0-9]*\)_data,img\1_MainDlg,g" >> MainDlg.cpp ;\
      rm -f MainDlg.cpp.temp ;\
      if test "$ret" = 0; then echo '#include "MainDlg.moc"' >> MainDlg.cpp; else rm -f MainDlg.cpp ; exit $ret ; fi
      uic: File generated with too recent version of Qt Designer (3.3 vs. 3.2.3)
      make[2]: *** [MainDlg.cpp] Error 1
      make[2]: Leaving directory `/home/rodney/waste/kphotools-0.1/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/home/rodney/waste/kphotools-0.1'
      make: *** [all] Error 2

      off to grab the latest

       
    • Rodney D. Myers

      Rodney D. Myers - 2004-05-26

      Just grabbed 0.1.2, and it fails while running "make";

      ] make
      make  all-recursive
      make[1]: Entering directory `/home/rodney/waste/kphotools-0.1.2'
      Making all in doc
      make[2]: Entering directory `/home/rodney/waste/kphotools-0.1.2/doc'
      Making all in .
      make[3]: Entering directory `/home/rodney/waste/kphotools-0.1.2/doc'
      make[3]: Nothing to be done for `all-am'.
      make[3]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/doc'
      Making all in en
      make[3]: Entering directory `/home/rodney/waste/kphotools-0.1.2/doc/en'
      /usr/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
      make[3]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/doc/en'
      make[2]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/doc'
      Making all in po
      make[2]: Entering directory `/home/rodney/waste/kphotools-0.1.2/po'
      make[2]: Nothing to be done for `all'.
      make[2]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/po'
      Making all in src
      make[2]: Entering directory `/home/rodney/waste/kphotools-0.1.2/src'
      Making all in data
      make[3]: Entering directory `/home/rodney/waste/kphotools-0.1.2/src/data'
      Making all in styles
      make[4]: Entering directory `/home/rodney/waste/kphotools-0.1.2/src/data/styles'
      Making all in orange
      make[5]: Entering directory `/home/rodney/waste/kphotools-0.1.2/src/data/styles/orange'
      make[5]: Nothing to be done for `all'.
      make[5]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/src/data/styles/orange'
      Making all in default
      make[5]: Entering directory `/home/rodney/waste/kphotools-0.1.2/src/data/styles/default'
      make[5]: Nothing to be done for `all'.
      make[5]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/src/data/styles/default'
      make[5]: Entering directory `/home/rodney/waste/kphotools-0.1.2/src/data/styles'
      make[5]: Nothing to be done for `all-am'.
      make[5]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/src/data/styles'
      make[4]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/src/data/styles'
      make[4]: Entering directory `/home/rodney/waste/kphotools-0.1.2/src/data'
      make[4]: Nothing to be done for `all-am'.
      make[4]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/src/data'
      make[3]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/src/data'
      make[3]: Entering directory `/home/rodney/waste/kphotools-0.1.2/src'
      source='main.cpp' object='main.o' libtool=no \
      depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
      depmode=gcc3 /bin/sh ../admin/depcomp \
      g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -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 main.o `test -f 'main.cpp' || echo './'`main.cpp
      In file included from /usr/include/c++/3.3/backward/vector.h:59,
                       from ResizerDlg.h:20,
                       from MainDlg.h:16,
                       from main.cpp:6:
      /usr/include/c++/3.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
      In file included from screenshot.h:18,
                       from MainDlg.h:18,
                       from main.cpp:6:
      scrshot.h: In member function `void screenThread::selectWindow(int, int, int,
         int)':
      scrshot.h:64: warning: format not a string literal and no format arguments
      scrshot.h: In member function `virtual void screenThread::run()':
      scrshot.h:97: warning: format not a string literal and no format arguments
      In file included from screenshot.h:19,
                       from MainDlg.h:18,
                       from main.cpp:6:
      previewbutton.h:37:3: warning: no newline at end of file
      In file included from screenshot.h:20,
                       from MainDlg.h:18,
                       from main.cpp:6:
      screenposmngr.h:35:3: warning: no newline at end of file
      /usr/share/qt3/bin/moc MainDlg.h -o MainDlg.moc
      rm -f MainDlg.cpp
      echo '#include <klocale.h>' > MainDlg.cpp
      /usr/share/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload -tr tr2i18n -i MainDlg.h ./MainDlg.ui > MainDlg.cpp.temp ; ret=$?; \
      sed -e "s,tr2i18n( \"\" ),QString::null,g" MainDlg.cpp.temp | sed -e "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | sed -e "s,image\([0-9][0-9]*\)_data,img\1_MainDlg,g" >> MainDlg.cpp ;\
      rm -f MainDlg.cpp.temp ;\
      if test "$ret" = 0; then echo '#include "MainDlg.moc"' >> MainDlg.cpp; else rm -f MainDlg.cpp ; exit $ret ; fi
      uic: File generated with too recent version of Qt Designer (3.3 vs. 3.2.3)
      make[3]: *** [MainDlg.cpp] Error 1
      make[3]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/src'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/home/rodney/waste/kphotools-0.1.2/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/home/rodney/waste/kphotools-0.1.2'
      make: *** [all] Error 2

       
    • valen1982

      valen1982 - 2004-05-26

      Hi here you see what's th problem:
      uic: File generated with too recent version of Qt Designer (3.3 vs. 3.2.3)

      hi, I think I have a never version of QT (at least of QT uic)
      so simply try to get a newer version (>3.3) then it should work

       
    • valen1982

      valen1982 - 2004-05-26

      can you tell me please if that was the bug? so that if not I could fix the packages.

       
    • Rodney D. Myers

      Rodney D. Myers - 2004-05-26

      I didn't have QT Designer installed. just installed qt3-designer, and running "make"; and it still fails. Don't want to downgrade to anything , that would break too many things I've already compiled.

      I'll try bck later.

      Thanks

       
    • valen1982

      valen1982 - 2004-05-26

      You need to upgrade not to downgrade.
      Normaly QT is backward compatible so nothing should brake.
      The whole bug is just a simple version problem.
      Hope when you have it works on other machines.
      Thanks how ever for the try.

       
    • Rodney D. Myers

      Rodney D. Myers - 2004-05-27

      unfortunatly, upgrading would break more than it would help..

      Thanks

       

Log in to post a comment.

MongoDB Logo MongoDB