<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bidimailui-charset-is-forced="true"
    bidimailui-detected-decoding-type="UTF-8" text="#000000"
    bgcolor="#ffffff">
    <span id="IDstID"></span><br>
    Le 06/27/2011 01:14 PM, Gonéri Le Bouder a écrit :
    <blockquote
      cite="mid:BANLkTi=66xk70fTwxK-nk-c21qfHX-V_hQ@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      2011/6/27 Amir Pakdel <span dir="ltr"><<a
          moz-do-not-send="true"
          href="mailto:a.pakdel@karafarinbank.net" target="_blank">a.pakdel@karafarinbank.net</a>></span><br>
      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          Dears,<br>
        </blockquote>
        <div>Hi Amir!<br>
        </div>
      </div>
    </blockquote>
    Hi <span id="IDstID">Gonéri,</span>
    <blockquote
      cite="mid:BANLkTi=66xk70fTwxK-nk-c21qfHX-V_hQ@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <div> </div>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <br>
          First working version of Fusioninventory-Agent Win32 Remote
          Installer is ready and available here:<br>
          <a moz-do-not-send="true"
            href="https://github.com/fusinv/fusioninventory-agent-gui"
            target="_blank">https://github.com/fusinv/fusioninventory-agent-gui</a><br>
        </blockquote>
        <div>I think you speak about this repository:<br>
            <a moz-do-not-send="true"
href="https://github.com/fusinv/fusioninventory-agent-win32-remote-installer"
            target="_blank">https://github.com/fusinv/fusioninventory-agent-win32-remote-installer</a><br>
        </div>
      </div>
    </blockquote>
    That's right, sorry :D<br>
    <blockquote
      cite="mid:BANLkTi=66xk70fTwxK-nk-c21qfHX-V_hQ@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <div>
          <br>
          I try the build on Linux, I had too apply this changes:<br>
          diff --git a/console.cpp b/console.cpp<br>
          index 024eda4..5e6bd26 100644<br>
          --- a/console.cpp<br>
          +++ b/console.cpp<br>
          @@ -150,7 +150,7 @@ Console::remoteExecError
          Console::startRemoteWin(QString curHost="") {<br>
                            .arg(config->get("server"));<br>
               processExec(tempWinexe, arguments);<br>
           <br>
          -    checkConsoleOut();<br>
          +    checkConsoleOut(targetHost);<br>
           <br>
               QFile(tempWinexe).remove();<br>
        </div>
      </div>
    </blockquote>
    targetHost in this function call is only needed in case of execution
    on windows and as the checkConsoleOut defaults targetHost to an
    empty string, a simple checkConsoleOut(); would do here. However,
    there is no harm in calling it with targetHost.<br>
    <blockquote
      cite="mid:BANLkTi=66xk70fTwxK-nk-c21qfHX-V_hQ@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">
        <div> <br>
           
          <br>
          And I got this error:<br>
          tosh-r630:~/tmp/fusioninventory-agent-win32-remote-installer
          (master)$make<br>
          g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT
          -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
          -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
          -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
          -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o
          console.o console.cpp<br>
          /usr/bin/moc-qt4 -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB
          -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
          -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
          -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
          -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. dialog.h
          -o moc_dialog.cpp<br>
          g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT
          -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
          -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
          -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
          -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o
          moc_dialog.o moc_dialog.cpp<br>
          /usr/bin/moc-qt4 -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB
          -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED
          -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
          -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
          -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. console.h
          -o moc_console.cpp<br>
          g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT
          -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
          -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
          -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
          -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o
          moc_console.o moc_console.cpp<br>
          /usr/bin/rcc -name FusionInventory FusionInventory.qrc -o
          qrc_FusionInventory.cpp<br>
          g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT
          -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
          -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I.
          -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
          -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o
          qrc_FusionInventory.o qrc_FusionInventory.cpp<br>
          g++ -m64 -Wl,-O1 -o agentWizard FusionInventory.exe
          FusionInventory.o main.o dialog.o config.o console.o
          moc_dialog.o moc_console.o qrc_FusionInventory.o    -L/usr/lib
          -lQtGui -lQtNetwork -lQtCore -lpthread <br>
          /usr/bin/ld: i386 architecture of input file
          `FusionInventory.exe' is incompatible with i386:x86-64 output<br>
          collect2: ld returned 1 exit status<br>
          make: *** [agentWizard] Erreur 1<br>
        </div>
      </div>
    </blockquote>
    Ooooh, I did not test it on 64bit systems. I will try to resolve it
    fast.<br>
    However, as a workaround, you can remove "FusionInventory.exe" from
    the last g++ command and execute the following:<br>
    g++ -m64 -Wl,-O1 -o agentWizard FusionInventory.o main.o dialog.o
    config.o console.o moc_dialog.o moc_console.o
    qrc_FusionInventory.o    -L/usr/lib -lQtGui -lQtNetwork -lQtCore
    -lpthread <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    Cheers,<br>
    <br>
    Amir<br>
  </body>
</html>