Installation on Arch Linux fails

Hello Folks,

I'm trying to install Repetier-Host on my Arch Linux machine. I've extracted the tgz and ran configureFirst.sh. There seems to be a issue with the compilation process. Unsurprisingly, RepetierHost won't start now.

Here's the shell output:

./configureFirst.sh
System: x86_64
Using 64 bit CuraEngine
Checking if you are in the dialout group.
1
User already in dialout group. Adding not required.
Compiling helper software to allow non ansi baud rates for some boards
depending on the used serial driver.
SetBaudrate.cpp:11:2: warning: #warning TCGETS2 [-Wcpp]
 #warning TCGETS2
  ^~~~~~~
SetBaudrate.cpp:40:2: warning: #warning TCGETS2 [-Wcpp]
 #warning TCGETS2
  ^~~~~~~
SetBaudrate.cpp: In function ‘int set_baudrate(int, int)’:
SetBaudrate.cpp:71:29: error: call of overloaded ‘abs(speed_t)’ is ambiguous
   if(abs(baud - ios.c_ispeed) * 100 / baud >= 5) {
                             ^
In file included from /usr/include/c++/6.1.1/cstdlib:75:0,
                 from /usr/include/c++/6.1.1/ext/string_conversions.h:41,
                 from /usr/include/c++/6.1.1/bits/basic_string.h:5402,
                 from /usr/include/c++/6.1.1/string:52,
                 from /usr/include/c++/6.1.1/bits/locale_classes.h:40,
                 from /usr/include/c++/6.1.1/bits/ios_base.h:41,
                 from /usr/include/c++/6.1.1/ios:42,
                 from /usr/include/c++/6.1.1/ostream:38,
                 from /usr/include/c++/6.1.1/iostream:39,
                 from SetBaudrate.cpp:18:
/usr/include/stdlib.h:774:12: note: candidate: int abs(int)
 extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
            ^~~
In file included from /usr/include/c++/6.1.1/ext/string_conversions.h:41:0,
                 from /usr/include/c++/6.1.1/bits/basic_string.h:5402,
                 from /usr/include/c++/6.1.1/string:52,
                 from /usr/include/c++/6.1.1/bits/locale_classes.h:40,
                 from /usr/include/c++/6.1.1/bits/ios_base.h:41,
                 from /usr/include/c++/6.1.1/ios:42,
                 from /usr/include/c++/6.1.1/ostream:38,
                 from /usr/include/c++/6.1.1/iostream:39,
                 from SetBaudrate.cpp:18:
/usr/include/c++/6.1.1/cstdlib:185:3: note: candidate: __int128 std::abs(__int128)
   abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
   ^~~
/usr/include/c++/6.1.1/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
   abs(long long __x) { return __builtin_llabs (__x); }
   ^~~
/usr/include/c++/6.1.1/cstdlib:172:3: note: candidate: long int std::abs(long int)
   abs(long __i) { return __builtin_labs(__i); }
   ^~~
Configuration finished.
IMPORTANT: In addition to the bundled CuraEngine, the host also
supports Slic3r and Skeinforge. These slicers are not bundled, so
need to install them according to their docs and then set the path
to them in Repetier-Host.
For Slic3r simply unpack the tar you get on http://slic3r.org in this directory.
The host will then register and add it automatically on next restart.

IMPORTANT: You need a recent mono version since the host uses .NET 4.0
If you see the following error message, your mono is too old!
>>> System.Windows.Forms.SplitContainer doesn't implement interface System.ComponentModel.ISupportInitialize <<<
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
This folder now contains a repetier-RepetierHost.desktop file
Copy it to your desktop to get a launch icon there

Comments

  • SetBaudrate is not needed for th ehost to function. It is only required for non ansi baudrates to function. So what is the error when you start repetierHost ?
  • I see. Starting repetierHost gives me this:

    Unhandled Exception:
    System.IndexOutOfRangeException: Index was outside the bounds of the array.
      at RepetierHost.view.utils.RegMemory.StringToWindowPos (System.Windows.Forms.Form f, System.String pos, Int32 screenId) <0x41658800 + 0x000a9> in <filename unknown>:0
      at RepetierHost.view.utils.RegMemory.RestoreWindowPos (System.String name, System.Windows.Forms.Form f) <0x41658760 + 0x0007f> in <filename unknown>:0
      at RepetierHost.Main..ctor () <0x41c30df0 + 0x0141b> in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
      at RepetierHost.Program.Main (System.String[] args) <0x41be81d0 + 0x00037> in <filename unknown>:0
    [ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Index was outside the bounds of the array.
      at RepetierHost.view.utils.RegMemory.StringToWindowPos (System.Windows.Forms.Form f, System.String pos, Int32 screenId) <0x41658800 + 0x000a9> in <filename unknown>:0
      at RepetierHost.view.utils.RegMemory.RestoreWindowPos (System.String name, System.Windows.Forms.Form f) <0x41658760 + 0x0007f> in <filename unknown>:0
      at RepetierHost.Main..ctor () <0x41c30df0 + 0x0141b> in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
      at RepetierHost.Program.Main (System.String[] args) <0x41be81d0 + 0x00037> in <filename unknown>:0
Sign In or Register to comment.