Cant install 0.17 on Arch-Linux

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
ingod
Posts: 4
Joined: Mon Apr 16, 2018 9:02 pm

Cant install 0.17 on Arch-Linux

Post by ingod »

Hi,

I tried to install on an Arch-Linux with

sudo pacman -S freecad

Error (in german):

Code: Select all

Warnung: Kann "boost-libs<1.66.0" nicht auflösen (eine Abhängigkeit von "freecad-oce")
:: Das folgende Paket kann aufgrund nicht auflösbarer Abhängigkeiten nicht aktualisiert werden:
      freecad-oce

Fehler: Konnte den Vorgang nicht vorbereiten (Kann Abhängigkeiten nicht erfüllen)
:: freecad-oce: benötigt boost-libs<1.66.0
so, freecad requires boost-libs<1.66.0

actual boost-libs is 1.66.0-2
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Cant install 0.17 on Arch-Linux

Post by triplus »

Hi @ingod and welcome.

To be honest i don't know what is the current situation regarding FreeCAD on rolling releases such as Arch. Mainly due to Qt5 situation and availability of dependencies. Maybe another Arch user will have more insight on that.

What you can try out is the AppImage option and see how that goes:

https://github.com/FreeCAD/FreeCAD/releases
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Cant install 0.17 on Arch-Linux

Post by NormandC »

Hi,

ingod wrote: Mon Apr 16, 2018 9:14 pm

Code: Select all

Warning: Unable to resolve "boost-libs <1.66.0" (a dependency on "freecad-oce")
:: The following package can not be updated due to unresolvable dependencies:
       freecad-oce

Error: Could not prepare the operation (Can not fulfill dependencies)
:: freecad-oce: needs boost-libs <1.66.0
Odd, are you sure you got the right package? Apparently the 0.17-1 package should be built with opencascade-7.2 rather than oce.

https://aur.archlinux.org/packages/freecad/

OCE is extremely dated. It is still based on opencascade (OCCT) 6.9.1 from 2015. FC 0.17 runs best with OCCT 7.1.0 or 7.2.0.
J.Martinsson
Posts: 5
Joined: Sun Nov 10, 2013 10:48 am

Re: Cant install 0.17 on Arch-Linux

Post by J.Martinsson »

First:

Run

Code: Select all

$ export LC_ALL="C"
and the then the command you wish to execute to get messages in english.

This will affect only the current terminal and will stop taking effect when the terminal is closed.

Eg:

Code: Select all

$ export LC_ALL="C"
$ sudo pacman -S freecad
Second:
Freecad isn't in the Arch linux (binary) repsoitorys in anymore. Dropped for for a week or two. Is your installation attempt older or do you not using Arch Linux but some derivate?

It is avalible in the AUR in some different flavours
https://aur.archlinux.org/packages/?O=0&K=freecad
or as Appimage as staded above.
ingod
Posts: 4
Joined: Mon Apr 16, 2018 9:02 pm

Re: Cant install 0.17 on Arch-Linux

Post by ingod »

triplus wrote: Tue Apr 17, 2018 12:30 am What you can try out is the AppImage option and see how that goes:
Tried AppImage

Code: Select all

FreeCAD 0.18, Libs: 0.18R13516 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

failed to create drawable
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
freecad-daily: xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)
ingod
Posts: 4
Joined: Mon Apr 16, 2018 9:02 pm

Re: Cant install 0.17 on Arch-Linux

Post by ingod »

J.Martinsson wrote: Tue Apr 17, 2018 7:01 am First:

Run

Code: Select all

$ export LC_ALL="C"
and the then the command you wish to execute to get messages in english.
..... saved it in my brain :-)

Thanks
Ingo
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Cant install 0.17 on Arch-Linux

Post by triplus »

ingod wrote: Tue Apr 17, 2018 6:48 pm Tried AppImage
Try this from terminal:

Code: Select all

export LIBGL_DRI3_DISABLE=1
path/to/FreeCAD.AppImage
https://forum.freecadweb.org/viewtopic. ... 51#p227251
ingod
Posts: 4
Joined: Mon Apr 16, 2018 9:02 pm

Re: Cant install 0.17 on Arch-Linux

Post by ingod »

triplus wrote: Tue Apr 17, 2018 9:04 pm Try this from terminal:

Code: Select all

export LIBGL_DRI3_DISABLE=1
path/to/FreeCAD.AppImage
Hey, it works. :-)

Thank you !!!!

Ingo
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Cant install 0.17 on Arch-Linux

Post by triplus »

ingod wrote: Tue Apr 17, 2018 9:35 pm Hey, it works. :-)

Thank you !!!!

Ingo
You're welcome.
Post Reply