#garfield Logs

Nov 06 2019

#garfield Calendar

09:27 PM Tom_L: linux is full of dependency hell
09:32 PM rue_mohr: its getting worse
09:32 PM rue_mohr: what issue are you having
09:32 PM Tom_L: nothing you can fix
09:32 PM rue_mohr: well do tell
09:32 PM Tom_L: building freecad from source on buster (debian 10)
09:32 PM rue_mohr: ouch
09:32 PM rue_mohr: did you do apt-get source freecad first?
09:32 PM Tom_L: they've got good directions
09:32 PM rue_mohr: so that it would grab the library dependancies?
09:32 PM Tom_L: gt4 is old an not supported
09:32 PM Tom_L: gt5 isn't in their build list
09:32 PM Tom_L: or some such bull shit
09:32 PM Tom_L: https://www.freecadweb.org/wiki/CompileOnUnix
09:32 PM rue_mohr: yea
09:32 PM Tom_L: i'm all ears if you think you can fix it
09:35 PM Tom_L: gotta boot linux first
09:36 PM Tom_L: i did git clone freecad
09:38 PM rue_mohr: yea never mind that for a sec
09:38 PM rue_mohr: 1) cd /usr/src
09:38 PM rue_mohr: 2) apt-get source freecad
09:38 PM rue_mohr: 3) tell rue when its done
09:38 PM Tom_dev: dpkg-source: info: applying remove_doc-files.patch
09:38 PM Tom_dev: W: Download is performed unsandboxed as root as file 'freecad_0.18~pre1+dfsg1-5.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
09:38 PM rue_mohr: hahaha
09:38 PM rue_mohr: thats halarious I was just fighting that issue yesterday
09:38 PM rue_mohr: with asterisk
09:38 PM Tom_L: i have 99.9% of the dependencies installed
09:38 PM rue_mohr: but the line above, it did the patches, right?
09:39 PM Tom_L: yes
09:39 PM rue_mohr: did it install anything else with the source?
09:39 PM Tom_L: i'll paste ti
09:40 PM rue_mohr: I think I know another command we need
09:40 PM Tom_dev: http://paste.debian.net/1114899/
09:40 PM Tom_L: it says to use git clone instead
09:40 PM rue_mohr: no
09:40 PM Tom_L: and that's what i did the first time
09:40 PM rue_mohr: no
09:40 PM rue_mohr: its ok, they are always saying this
09:41 PM rue_mohr: wait
09:41 PM Tom_L: i have that source in freecad-source just so you know
09:41 PM rue_mohr: you ignored th first step
09:41 PM rue_mohr: so you have to do it again
09:41 PM rue_mohr: 1) cd /usr/src
09:41 PM rue_mohr: 2) apt-get source freecad
09:41 PM rue_mohr: its ok, the up-to-date freecad source has nothing to do with this setup
09:42 PM rue_mohr: 1) cd /usr/src
09:42 PM rue_mohr: ^^^^ do that
09:42 PM Tom_L: yeah it's empty
09:42 PM rue_mohr: (you just filled roots home with a bunch of source mess)
09:42 PM rue_mohr: 2) apt-get source freecad
09:42 PM Tom_L: sudo apt-get source freecad
09:42 PM rue_mohr: now that your IN /usr/src, run that AGIAN
09:43 PM Tom_L: i just did
09:43 PM rue_mohr: ok
09:43 PM Tom_L: same error
09:43 PM rue_mohr: 4) apt-get build-dep freecad
09:43 PM Tom_L: 0 changed
09:43 PM Tom_L: etc
09:43 PM rue_mohr: aha!
09:44 PM rue_mohr: it didn't get ANY packages?
09:44 PM Tom_L: nothing
09:44 PM rue_mohr: ok!
09:44 PM rue_mohr: cd freecad-(whatever)
09:44 PM Tom_L: source dir?
09:44 PM rue_mohr: yup
09:44 PM rue_mohr: not the newer one you downloaded, the one it just made in /usr/src
09:44 PM Tom_L: they say cd to the build dir
09:44 PM rue_mohr: just go with me
09:45 PM Tom_L: oh
09:45 PM rue_mohr: they will have some version junk on the directory name
09:45 PM rue_mohr: did you do that?
09:45 PM rue_mohr: \/usr/src/freecad-(something)
09:46 PM Tom_L: ok
09:46 PM Tom_L:  /usr/src/freecad098q740239
09:46 PM rue_mohr: ok
09:46 PM rue_mohr: make
09:46 PM rue_mohr: (?)
09:47 PM Tom_L: no targets specified and no make found
09:47 PM rue_mohr: I dont know if you need to do ./conifugre
09:47 PM rue_mohr: ok try ./configure, I'm going to start up a scrap machine I can try this on
09:48 PM Tom_L: this is only on buster etc
09:48 PM Tom_L: new debian
09:48 PM rue_mohr: yea
09:48 PM Tom_L: because of the dependencies
09:48 PM rue_mohr: did ./configure do anything?
09:48 PM Tom_L: no
09:48 PM Tom_L: they use cmake
09:49 PM rue_mohr: ok, what I want to know is if debians modified version will compile
09:49 PM rue_mohr: so far, its not adding anything to the system to do it, which is interesting
09:50 PM rue_mohr: the debian version will be older
09:50 PM rue_mohr: but should build
09:50 PM Tom_L: i think ou need to run cmake to build the makefile
09:50 PM rue_mohr: I'm catching up
09:51 PM Tom_L: mkdir freecad-build
09:51 PM Tom_L: cd freecad-build
09:51 PM Tom_L: cmake ../freecad-source
09:51 PM Tom_L: make -j$(nproc --ignore=2)
09:51 PM rue_mohr: your using your new source again aren't ya?
09:51 PM Tom_L: no i posted that from their website
09:52 PM rue_mohr: no
09:52 PM Tom_L: sitting here waiting for you to catch up
09:52 PM rue_mohr: well kinda
09:52 PM rue_mohr: yea, me too
09:52 PM rue_mohr: the 'computer in the spare room' is a bit out of date
09:53 PM zhanx: ?
09:53 PM zhanx: what did i miss
09:53 PM rue_mohr: tyom is trying to compile freecad
09:53 PM Tom_L: all of it
09:53 PM zhanx: oh
09:54 PM zhanx: git clone?
09:54 PM Tom_L: they use an appimage but i want to mod some source so i need to build it from source
09:54 PM rue_mohr: there are debian dependency issues
09:54 PM Tom_L: did clone already
09:54 PM Tom_L: gonna take the dog pee. bbiab
09:54 PM zhanx: depend issues
09:55 PM rue_mohr: zhanx, see if you can get the _debian_ source for it to build _first_
09:55 PM rue_mohr: then try the new source
09:55 PM rue_mohr: if there are things missing on the machine for a real build you will kow
09:56 PM zhanx: Tom_L, link me the source you got when the dog is done
09:56 PM rue_mohr: no
09:56 PM rue_mohr: zhanx, build the debian version first!!!!
09:56 PM zhanx: ok fine
09:56 PM rue_mohr: if you cant, you will never be able to build the new version
09:57 PM rue_mohr: then atleast you know its a version thing between the sources
09:57 PM zhanx: its cloning now
09:58 PM rue_mohr: my test machine is getting 481 dependency libraries
09:58 PM zhanx: spam in bound
09:58 PM zhanx: sudo apt install cmake cmake-gui libboost-date-time-dev libboost-dev libboost-filesystem-dev libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev libboost-serialization-dev libboost-signals-dev libboost-thread-dev libcoin-dev libeigen3-dev libgts-bin libgts-dev libkdtree++-dev libmedc-dev libocct-data-exchange-dev libocct-ocaf-dev libocct-visualization-dev libopencv-dev libproj-dev
09:58 PM zhanx: libpyside2-dev libqt5opengl5-dev libqt5svg5-dev libqt5webkit5-dev libqt5x11extras5-dev libqt5xmlpatterns5-dev libshiboken2-dev libspnav-dev libvtk7-dev libx11-dev libxerces-c-dev libzipios++-dev occt-draw pyside2-tools python3-dev python3-matplotlib python3-pivy python3-ply python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qtsvg python3-pyside2.qtwidgets python3-pyside2uic qtbase5-dev qttools5-dev swig
09:59 PM zhanx: needs all those
09:59 PM rue_mohr: now paste the dependencies FOR all of those
09:59 PM zhanx: no that would be worse
09:59 PM rue_mohr: apt-get build-dep freecad
09:59 PM Tom_L: ok bak
09:59 PM Tom_L: z i did all that already
10:00 PM rue_mohr: Tom_L, I'm waiting for 481 packages to install new and 189 to update
10:00 PM zhanx: i am waiting also
10:00 PM Tom_L: i'm waiting as well
10:01 PM Tom_L: funny thing is, i'm not planning to use freecad
10:01 PM Tom_L: just wanted to see what it was about and if it was any good
10:01 PM zhanx: Tom_L, me an rue_mohr talked about this deps for outdated stuff sucks
10:01 PM rue_mohr: well I'm glad that _apt run thing isnt just me
10:02 PM zhanx: freecad is terrible fyi
10:02 PM Tom_L: it's come a long ways
10:02 PM Tom_L: i got gcode out of it
10:02 PM Tom_L: nothing i would use though
10:02 PM rue_mohr: heh, my CAM software only required motif-dev
10:03 PM rue_mohr: it worked ya know
10:03 PM zhanx: openscad import stl export etc?
10:03 PM Tom_L: i got stuff way better than tis to use
10:03 PM rue_mohr: 2.5d
10:03 PM rue_mohr: but its the ONLY linux CAM softare
10:03 PM zhanx: 23% of 8 gigs
10:03 PM rue_mohr: ever made
10:03 PM Tom_L: which is?
10:03 PM rue_mohr: the one I wrote
10:04 PM Tom_L: freecad was on a roll until ich died
10:04 PM rue_mohr: sounds right...
10:04 PM Tom_L: he was a german professor
10:04 PM rue_mohr: someone will start a new, inferior program and the cycle will repeat
10:04 PM rue_mohr: over and over and over
10:04 PM Tom_L: he was helping, i think they're still developing ti
10:05 PM zhanx: 8 gigs of data to help Tom_L, thankfully i got n upgrade
10:05 PM Tom_L: so which do you bitch about most? that or windows?
10:05 PM rue_mohr: 616M sofar here
10:06 PM zhanx: rue_mohr, i am way behind on updates also
10:06 PM rue_mohr: oh and I'm just on dependencies for building, not the source
10:06 PM zhanx: doing both at the same time
10:06 PM rue_mohr: yea, I'm doing this ont he machine I put in the guest bedroom
10:06 PM Tom_L: will likely resume this another day from the sound of it
10:07 PM rue_mohr: did you try to compile the debian version
10:07 PM Tom_L: rue_mohr, have you ever used freecad?
10:07 PM rue_mohr: you said cmake
10:07 PM Tom_L: which one?
10:07 PM rue_mohr: yea, it was something I threw out as garbage long ago
10:07 PM rue_mohr: the debian version
10:07 PM Tom_L: what ver did you try?
10:07 PM rue_mohr: get the debian one working first
10:07 PM rue_mohr: oh back in 2002
10:08 PM Tom_L: yours or the one i downloaded?
10:08 PM zhanx: freecad has been garbage for a while
10:08 PM zhanx: i tried it last year hated it
10:08 PM Tom_L: just doing it for something to do
10:08 PM rue_mohr: oh good to know
10:08 PM Tom_L: i have no plans to use it
10:08 PM Tom_L: :)
10:08 PM rue_mohr: look were a posee :)
10:08 PM Tom_L: i may do a model start to finish
10:09 PM Tom_L: i've got way better tools for that already
10:09 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Screenshot%20at%202019-11-05%2023-13-49.png
10:09 PM Tom_L: i got that far with it
10:09 PM rue_mohr: tom did you try running cmake then?
10:10 PM Tom_L: not on the original directory
10:10 PM Tom_L: and i don't know what to cmake in yours
10:10 PM rue_mohr: just run cmake
10:10 PM rue_mohr: there might be magic
10:10 PM Tom_L: just a help screen
10:10 PM rue_mohr: the directory thing youposted was funkey and shouldnt quite be right
10:11 PM Tom_dev: freecad-0.18~pre1+dfsg1
10:11 PM Tom_L: that?
10:14 PM rue_mohr: looks right
10:14 PM rue_mohr: you didn't cd into it yet?
10:14 PM Tom_L: i did
10:14 PM rue_mohr: oh, to us all:
10:15 PM rue_mohr: apparently 'apt-get source' is designed to NOT work properly when run as root
10:15 PM zhanx: cd build
10:15 PM rue_mohr: heh, I'm still installing updates
10:15 PM rue_mohr: and libraries
10:16 PM Tom_L: walk me thru the whole /usr/src part again
10:16 PM Tom_L: i'm doing it as user this time
10:16 PM rue_mohr: cd /usr/src
10:16 PM Tom_L: i did sudo last eime
10:17 PM rue_mohr: apt-get source freecad
10:17 PM rue_mohr: cd freecad-(something)
10:21 PM Tom_L: permission denied
10:22 PM Tom_dev: NOTICE: 'freecad' packaging is maintained in the 'Git' version control system at:
10:22 PM Tom_dev: https://salsa.debian.org/science-team/freecad.git
10:22 PM Tom_dev: Please use:
10:22 PM Tom_dev: git clone https://salsa.debian.org/science-team/freecad.git
10:24 PM rue_mohr: ok! source installed
10:24 PM Tom_L: not mine
10:24 PM Tom_L: i get denied now
10:24 PM rue_mohr: I had to change permission on /usr/src and install the source as a normal user
10:24 PM rue_mohr: (no errors)
10:25 PM Tom_L: how?
10:25 PM rue_mohr: Tom_L, please get the debain stuff working first
10:25 PM rue_mohr: 1) cd /usr/src
10:25 PM rue_mohr: 2) chmod 777 /usr/src
10:25 PM rue_mohr: apt-get source freecad <-- NOT as root!
10:25 PM Tom_L: ok
10:25 PM rue_mohr: cd freecad-0.18~pre1+dfsg1/
10:25 PM Tom_L: except sudo chmod
10:26 PM rue_mohr: I'm always root
10:26 PM Tom_L: ok cd .....
10:26 PM rue_mohr: gahc f****ers
10:26 PM Tom_L: command not found
10:27 PM rue_mohr: aha cd src
10:28 PM rue_mohr: cmake ../src
10:28 PM rue_mohr: (thats just stupid)
10:28 PM rue_mohr: aha! it errored out
10:29 PM rue_mohr: they screwed up the build dependencies
10:29 PM Tom_dev: CMake Error at Build/CMakeLists.txt:18 (fc_copy_file_if_different):
10:29 PM Tom_dev: Unknown CMake command "fc_copy_file_if_different".
10:29 PM Tom_dev: CMake Warning (dev) in CMakeLists.txt:
10:29 PM Tom_dev: No cmake_minimum_required command is present. A line of code such as
10:29 PM Tom_dev: cmake_minimum_required(VERSION 3.13)
10:29 PM Tom_dev: should be added at the top of the file. The version specified may be lower
10:29 PM Tom_dev: if you wish to support older CMake versions for this project. For more
10:29 PM Tom_dev: information run "cmake --help-policy CMP0000".
10:29 PM Tom_dev: This warning is for project developers. Use -Wno-dev to suppress it.
10:29 PM Tom_dev: -- Configuring incomplete, errors occurred!
10:29 PM Tom_dev: See also "/usr/src/freecad-0.18~pre1+dfsg1/src/CMakeFiles/CMakeOutput.log".
10:29 PM rue_mohr: yup
10:29 PM rue_mohr: I'm trying apt-get build-essential
10:30 PM Tom_L: i got that already
10:30 PM rue_mohr: I think its missing an obscure cmake thing
10:31 PM rue_mohr: nope, same
10:31 PM Tom_L: how do i find a file in these directories?
10:31 PM Tom_L: i wanna search while you're looking
10:32 PM rue_mohr: find |grep -i something
10:32 PM Tom_L: already found it
10:32 PM rue_mohr: what did you find?
10:32 PM Tom_L: linuxcnc_post.py
10:33 PM rue_mohr: !?
10:36 PM Tom_L: it's the file i wanna fix
10:44 PM Tom_L: any luck?
10:45 PM rue_mohr: well, the debian people say there is no problem
10:45 PM Tom_L: of course they do
10:46 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/practice_drawings/Assembly_project.JPG
10:46 PM Tom_L: my final assembly project
10:46 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/practice_drawings/Assembly_project1.JPG
10:46 PM Tom_L: got a bottle jack
10:46 PM Tom_L: took it apart
10:47 PM Tom_L: measured it all
10:47 PM Tom_L: drew drawings for it all
10:47 PM Tom_L: modeled all the parts
10:47 PM Tom_L: and did the assembly
10:47 PM zhanx: neighbors dog shit on my door step, though it was funny, its in his car now
10:48 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/practice_drawings/Assembly_project_base.JPG
10:48 PM Tom_L: that took a while
10:48 PM Tom_L: whoz laughin now?
10:48 PM zhanx: he might leash his dog now
10:48 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/practice_drawings/Assembly_project_base1.JPG
10:48 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/practice_drawings/Assembly_project_base2.JPG
10:48 PM zhanx: leather seats
10:48 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/practice_drawings/Assembly_project_base3.JPG
10:48 PM Tom_L: woops
10:50 PM rue_mohr: looks like a dry valve for a F/A system
10:50 PM Tom_L: it's a bottle jack
10:51 PM rue_mohr: nic
10:51 PM rue_mohr: e
10:51 PM Tom_L: that one was done completely from scratch
10:52 PM Tom_L: you might like this one: http://tom-itx.no-ip.biz:81/~webpage/cnc/practice_drawings/Arm_assembly.jpg
10:53 PM rue_mohr: heh
10:53 PM Tom_L: had to move too
10:53 PM Tom_L: within constraints
10:53 PM rue_mohr: #debian wont help till I'v upgraded the system, Its going to take a while, shall we try again tommorow?
10:53 PM rue_mohr: hey, whats in your /etc/debian_version on that machine
10:53 PM Tom_L: yeah, i'm kinda tired anyway
10:54 PM Tom_L: i just installed buster
10:54 PM Tom_L: 10.1
10:55 PM Tom_L: shutting down for the night
10:55 PM Tom_L: i just wanted to be able to mod that post and make it for imperial
10:56 PM Tom_L: or save it as a new one
11:07 PM rue_mohr: I need supper
11:07 PM rue_mohr: the source doesn't compile, because nobody compiles source anymore
11:07 PM rue_mohr: ""
11:07 PM rue_mohr: they send it to the cloud and are told if there is a problem
11:31 PM rue_mohr: :)omg, I was looking for a library for the adc I want to use, and what I found is so terrible
11:39 PM rue_mohr: they dont wait for the adc to say its finished, they wait 8ms
11:39 PM rue_mohr: AAAAAAAAAAHHHHHHHHHH