You are not logged in.

#1 2016-06-11 10:38:59

charliez1312
Member
Registered: 2015-11-23
Posts: 17

Repetier-host installation

Hi everyone, I need install on my Arch repetier-host. When I type yaourt -S repetier-host, I get this error.

[charlie@Thinkpad_X220_ArchLinux ~]$ yaourt -S repetier-host

==> Stahuje se PKGBUILD balíku repetier-host z AUR...
x .SRCINFO
x PKGBUILD
x repetier-host.install
Manjarohans commented on 2015-11-06 11:58			 
- Found repetier-host.install
== Validating source files with md5sums...
repetierHostLinux_1_5_6.tgz ... FAILED
repetier-host.install ... Passed
== ERROR: One or more files did not pass the validity check!
== ERROR: Makepkg was unable to build repetier-host.

nmaggioni commented on 2015-11-13 15:23			 
I suggest using this desktop file to be able to open .STL files with Repetier-Host after having associated them to it:

[Desktop Entry]
Name=Repetier-Host
Exec=repetierHost %U
Type=Application
StartupNotify=true
Comment=Repetier-Host 3d printer host software
Icon=/usr/share/repetierHost/repetier-logo.png

MeV commented on 2015-11-22 00:05			 
PKGBUILD for v1.6.0 :

# Maintainer: Somebody somebody[at]foo[dot]tld
pkgname=repetier-host
pkgver=1.6.0
pkgrel=1
pkgdesc="almost complete 3d-printing workflow"
url=('http://www.repetier.com/')
arch=('x86_64' 'i686')
license=('custom')
depends=('mono=3.2.0')
optdepends=('slic3r' 'skeinforge')
source=("http://download.repetier.com/files/host/linux/repetierHostLinux_1_6_0.tgz" "$pkgname.install")
md5sums=('dc475fec80cb9b0649ebdeb8d76fa61c'
'3bf735df87c6f3b9e807bbc82edd7a05')

PKGEXT=".pkg.tar"
install=$pkgname.install

build() {
cd ${srcdir}/RepetierHost/
DIR=/usr/share/repetierHost

OSBIT=`uname -m`
echo "System: ${OSBIT}"
if [ ${OSBIT} = "i686" ]; then
echo "Using 32 bit CuraEngine"
cp plugins/CuraEngine/CuraEngine32 plugins/CuraEngine/CuraEngine
else
echo "Using 64 bit CuraEngine"
cp plugins/CuraEngine/CuraEngine64 plugins/CuraEngine/CuraEngine
fi

echo "#!/bin/sh"  repetierHost
echo "cd ${DIR}"  repetierHost
echo "mono RepetierHost.exe -home ${DIR}"  repetierHost
chmod 755 repetierHost
chmod a+rx ../RepetierHost
chmod -R a+r *
chmod -R a+x data
chmod a+x installDep*
rm configureFirst.sh
rm installDependenciesDebian
rm installDependenciesFedora
rm createDesktopIcon.sh
g++ SetBaudrate.cpp -o SetBaudrate

echo "[Desktop Entry]
Name=Repetier-Host
Exec=mono RepetierHost.exe -home $dir
Type=Application
StartupNotify=true
Comment=Repetier-Host 3d printer host software
Path=$dir
Icon=$dir/repetier-logo.png
Comment[en_US.UTF-8]=Repetier Host
Name[en_US]=Repetier-Host
"  ${srcdir}/Repetier-Host.desktop
chmod +x ${srcdir}/Repetier-Host.desktop

}

package() {
mkdir -p $pkgdir/usr/share/
mkdir -p $pkgdir/usr/bin
ln -s /usr/share/repetierHost/repetierHost $pkgdir/usr/bin/repetierHost

install -Dm644 ${srcdir}/RepetierHost/Repetier-Host-licence.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
rm ${srcdir}/RepetierHost/Repetier-Host-licence.txt
cp -a ${srcdir}/RepetierHost $pkgdir/usr/share/repetierHost
install -Dm755 ${srcdir}/Repetier-Host.desktop  $pkgdir/usr/share/applications/Repetier-Host.desktop
}

# vim:set ts=2 sw=2 et:

themba commented on 2016-02-16 08:36			 
according to my makepkg version url cannot be an array. Please remove parentheses...

ZHoob2004 commented on 2016-05-23 06:09			 
I don't know if anyone else is having trouble, but I had to change 

SetBaudRate.cpp:71
-  if(abs(baud - ios.c_ispeed) * 100 / baud = 5) {
+  if(abs(baud - (int) ios.c_ispeed) * 100 / baud = 5) {

to get a successful build. Probably not the ideal way to do it, but I'm no programmer.

repetier-host 1.6.1-1  (2016-02-23 11:53)
( Nepodporovaný balík: Potenciálně nebezpečný ! )
==> Upravit PKGBUILD ? [A/n] ("P" pro přerušení)
==> --------------------------------------------
==> n

==> repetier-host závislostí:
 - desktop-file-utils (Již nainstalovaný)
 - mono (Již nainstalovaný)


==> Upravit repetier-host.install ? [A/n] ("P" pro přerušení)
==> ---------------------------------------------------------
==> n

==> Pokračovat v sestavení balíku repetier-host ?[A/n]
==> --------------------------------------------------
==> a

==> Postavení a instalace balíku
==> Vytváří se balíček: repetier-host 1.6.1-1 (So čen 11 12:33:50 CEST 2016)
==> Kontrola runtime závislostí...
==> Kontrola buildtime závislostí...
==> Získávají se zdrojové soubory...
  -> Stahuje se repetierHostLinux_1_6_1.tgz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11.8M  100 11.8M    0     0   146k      0  0:01:22  0:01:22 --:--:--  294k
==> Kontrola source souborů pomocí md5sums...
    repetierHostLinux_1_6_1.tgz ... Prošel
==> Rozbalují se zdrojové soubory...
  -> Rozbaluje se repetierHostLinux_1_6_1.tgz pomocí bsdtar
==> Spouští se build()...
System: x86_64
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); }
   ^~~
==> CHYBA: Došlo k chybě v build().
    Rušení...
==> CHYBA:Nástroji makepkg se nepodařilo sestavit balík repetier-host.
==> Spustit znovu sestavení balíku repetier-host ?[a/N]

Thanks everyone for help

Offline

#2 2016-06-11 11:07:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,530
Website

Re: Repetier-host installation

https://wiki.archlinux.org/index.php/Co … s_and_code

Also, if something fails, first use makepkg not yaourt, then report errors from makepkg.

Mod note: not an Apps & DE issue, moving to AUR issues.

EDIT: It's also apparent that you are not using the PKGBUILD currently in the AUR.  If you want help you need to tell us where you got your alternative PKGBUILD.  I suspect you may be using the one posted in the comments by MeV.  That would be a bad idea.  There is one compile error when I build, but the latest comment on the AUR page is sufficient to fix it.

EDIT: Nevermind the above comments about the PKGBUILD.  All the garbage spit out by yaourt was misleading, especially because much of it wasn't in English.  Your output included everyone else's errors before your own.  You really need to report just makepkg errors here, and in English.  You get the same error I do, and the fix is noted in the most recent AUR comment.  You need to read AUR comments - especially when something fails, that should be your first step.  It's particularly odd that you failed to do so when yaourt explicitly shows you each and every one of them.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2016-06-15 12:49:09

charliez1312
Member
Registered: 2015-11-23
Posts: 17

Re: Repetier-host installation

Thanks for answer. Next time I will use Englisch for errors report.

It is woriking now.

Thanks.

Offline

Board footer

Powered by FluxBB