Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Build fail

Anonymous
2011-01-20
2013-05-28

  • Anonymous
    2011-01-20

    I downloaded the latest sources (2010-11-17), but they fail to compile:

    [quezak@qzk-lapc]~/packages/multiget>: make
    make  all-recursive
    make[1]: Wejście do katalogu `/home/quezak/packages/multiget'
    Making all in src
    make[2]: Wejście do katalogu `/home/quezak/packages/multiget/src'
      CXX    multiget-ByteRecord.o
    In file included from ByteRecord.cpp:2:
    ByteRecord.h:3:19: error: Tools.h: Nie ma takiego pliku ani katalogu
    In file included from ByteRecord.cpp:2:
    ByteRecord.h:8: error: expected ) before bytes
    ByteRecord.h:11: error: llong does not name a type
    ByteRecord.cpp:4: error: expected ) before bytes
    make[2]: *** [multiget-ByteRecord.o] Błąd 1
    make[2]: Opuszczenie katalogu `/home/quezak/packages/multiget/src'
    make[1]: *** [all-recursive] Błąd 1
    make[1]: Opuszczenie katalogu `/home/quezak/packages/multiget'
    make: *** [all] Błąd 2
    

    running ./configure finished with no errors, but still there really is no "Tools.h" in my system. Is it a bug in sources or is it just me?

    some version info:

    [quezak@qzk-lapc]~>: wx-config --version-full
    2.8.10.1
    [quezak@qzk-lapc]~>: uname -a
    Linux qzk-lapc 2.6.36-gentoo-r5 #6 SMP Wed Jan 19 12:19:31 CET 2011 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz GenuineIntel GNU/Linux
    [quezak@qzk-lapc]~>: g++ --version
    g++ (Gentoo 4.4.4-r2 p1.3, pie-0.4.5) 4.4.4
    
     

  • Anonymous
    2011-01-20

    oh, I forgot that  my make speaks Polish :) Here's what it says:

    [quezak@qzk-lapc]~/packages/multiget>: make
    ..
    make[2]: entering directory  `/home/quezak/packages/multiget/src'
      CXX    multiget-ByteRecord.o
    In file included from ByteRecord.cpp:2:
    ByteRecord.h:3:19: error: Tools.h: no such file or directory
    In file included from ByteRecord.cpp:2:
    ByteRecord.h:8: error: expected ‘)’ before ‘bytes’
    ByteRecord.h:11: error: ‘llong’ does not name a type
    ByteRecord.cpp:4: error: expected ‘)’ before ‘bytes’
    make[2]: *** [multiget-ByteRecord.o] Error 1
    

    ..

     
  • Stefan Husmann
    Stefan Husmann
    2011-03-28

    Confirmed, happens here, too.

     
  • Andy Zhu
    Andy Zhu
    2011-05-06

    If you download from the sf project window (2.0 alpha), it seems that the source code is targeted for VC++ and your output seems running in Linux. I am able to build multiget on Fedora 14 (x86_64) and successfully run the application.  Here is the solution:

    1. get source code directly from svn for Linux build: svn co https://multiget.svn.sourceforge.net/svnroot/multiget multiget
    2. fix the (possible) bug(s) in the src code.  The only bug for me is line 126 in mgapp.cpp; ::wxHandleFatalExceptions is not declared in the scope.  Just comment it out.
    3. Usual build process follows: ./configure, make, make install, etc.
    4. $ multiget will bring you a window.  At this time, a small icon will appear on your taskbar.  Right click this icon and switch off "show drop windown" you will come to see the multiget window and all the menus.
    5. Enjoy.

    I didn't try other dist'ns but think it will also work in a similar way.  Of course you need wxGTK.  I have 2.8.11-3.

     
  • clark
    clark
    2011-08-15

    我make  通过了,但是make  instal 时候出现以下错误提示,请问这个怎么改呢?
    make: Entering directory `/var/tmp/multiget/data'
    if test -z ""; then \
               echo "Updating Gtk icon cache."; \
               gtk-update-icon-cache -f -t /usr/local/share/icons/hicolor; \
            else \
               echo "*** Icon cache not updated.  After (un)install, run this:"; \
               echo "***   gtk-update-icon-cache -f -t /usr/local/share/icons/hicolor"; \
            fi
    Updating Gtk icon cache.
    Failed to write cache file: No such file or directory
    make: ***  错误 1
    make: Leaving directory `/var/tmp/multiget/data'
    make: ***  错误 2
    make: Leaving directory `/var/tmp/multiget/data'
    make: ***  错误 2
    make: Leaving directory `/var/tmp/multiget/data'
    make: ***  错误 1
    make: Leaving directory `/var/tmp/multiget/data'
    make: ***  错误 1

     
  • Andy Zhu
    Andy Zhu
    2011-08-15

    Hi, Clark-Idl:

    Your problem seems not related to package itself.  I guess you may use a distribution with Chinese locale.  I am not sure if this is the source of your problem in make install or some other your OS environment setting.  You may try ./configure -prefix=/path/to/some_folder_with_ascii_only, then run the build process (of couse you may run make distclean first).

    Good luck

     
  • clark
    clark
    2011-08-16

    Hi,andyzhu35:
    I have succeed in installing it though  still has some mistake.
    Thanks very much!   Sorry my poor  English!

    Hope You’re Happy!

     
  • Hi guys,

    I buid mutil get on microsoft visual studio 2008 and occur those errors:

    Error   1   fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\byterecord.h    3
    Error   2   fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\config.cpp  11
    Error   3   fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\dboperator.h    9
    Error   4   fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\gbasicinfo.h    8
    Error   5   fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\segment.h   3
    Error   6   fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\urlrecord.h 7
    Error   8   fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\gnewstreamtaskdlg.cpp   8
    Error   9   fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\gruninfo.h  8
    Error   10  fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\urlrecord.h 7
    Error   11  fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\gruninfo.h  8
    Error   12  fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\gruninfo.h  8
    Error   13  fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\segment.h   3
    Error   14  fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\dboperator.h    9
    Error   15  fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\segment.h   3
    Error   16  fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\segmentadmin.h  4
    Error   19  fatal error C1083: Cannot open include file: 'Tools.h': No such file or directory   c:\users\pham xuan toai\downloads\multiget\multiget\src\urlrecord.h 7
    Error   18  fatal error C1083: Cannot open include file: 'TimerClient.h': No such file or directory c:\users\pham xuan toai\downloads\multiget\multiget\src\urladmin.h  4
    Error   20  fatal error C1083: Cannot open include file: 'ThreadBase.h': No such file or directory  c:\users\pham xuan toai\downloads\multiget\multiget\src\workthread.h    7
    Error   17  fatal error C1083: Cannot open include file: 'exfile.h': No such file or directory  c:\users\pham xuan toai\downloads\multiget\multiget\src\storage.h   3
    

    can you help me!

    Thanks.