Lathe Macros

More
12 years 10 months ago #42147 by strykerg
Replied by strykerg on topic Lathe Macros
thanks for the info but I cant manage to install the latest dev version :(

1st, I couldn't find this: "To use these packages on your computer, put one of these stanzas in your /etc/apt/sources.list.d/linuxcnc-buildbot.list:" so instead I opened System>administration>software sources and put the two (lucid master-rt) lines in the other software tab (and unchecked the version 2.5). After that I did this:
Code:
root@strykernc:/home/strykernc# sudo apt-get update --a couple of pages of addresses here-- Reading package lists... Done root@strykernc:/home/strykernc# sudo apt-get install linuxcnc Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: linuxcnc: Depends: libmodbus5 but it is not installable Recommends: hostmot2-firmware but it is not installable E: Broken packages root@strykernc:/home/strykernc#

I hope that this isn't too much off-topic

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #42182 by andypugh
Replied by andypugh on topic Lathe Macros

strykerg wrote: 1st, I couldn't find this: "To use these packages on your computer, put one of these stanzas in your /etc/apt/sources.list.d/linuxcnc-buildbot.list:"

If the file doesn't exist then you have to create it. But...

so instead I opened System>administration>software sources and put the two (lucid master-rt) lines in the other software tab (and unchecked the version 2.5).

This achieves much the same thing. Either way out to work.

Ignore the following stuff, the stupid reply editor box greys-out if I delete a line-end character.






The following packages have unmet dependencies:
linuxcnc: Depends: libmodbus5 but it is not installable
Recommends: hostmot2-firmware but it is not installable


I think that the first thing can be avoided with sudo apt-get install libmodbus.
However, LinuxCNC ought to run without either of those packages.
Does linuxCNC run? What version does the splash-screen say it is?

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #42197 by ArcEye
Replied by ArcEye on topic Lathe Macros

andypugh wrote: [quote=

The following packages have unmet dependencies:
linuxcnc: Depends: libmodbus5 but it is not installable
Recommends: hostmot2-firmware but it is not installable


I think that the first thing can be avoided with sudo apt-get install libmodbus.
However, LinuxCNC ought to run without either of those packages.
Does linuxCNC run? What version does the splash-screen say it is?


libmodbus5 is required unless you change the configure options before build, hostmot2 is not

From configure --help
--with-libmodbus Specify whether or not to build the drivers that use libmodbus (defaults to "yes")


Try fetching libmodbus-dev,
I seem to remember that under Ubuntu 10.04 the package provides libmodbus5, just trying to install the lib does not work

They exist as separate packages under Debian

regards
Last edit: 12 years 10 months ago by ArcEye.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #42216 by strykerg
Replied by strykerg on topic Lathe Macros
the splash screen show 2.5.3 and yes currently it works perfectly.

I will try sudo apt-get install libmodbus and get back

ArcEye: Try fetching libmodbus-dev << this is Chinese to me :S

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #42217 by ArcEye
Replied by ArcEye on topic Lathe Macros

I will try sudo apt-get install libmodbus and get back

ArcEye: Try fetching libmodbus-dev << this is Chinese to me :S


Just try sudo apt-get install libmodbus-dev if just fetching libmodbus does not work

I remember I had problems with it under Ubuntu some while back , when it started to become a requirement for building the master.

Trying to fetch libmodbus5 did not work and I wanted the headers anyway, my notes seem to show that I switched to libmodbus-dev (which probably has libmodbus as a requirement so fetches it anyway)

regards
Last edit: 12 years 10 months ago by ArcEye.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #42219 by strykerg
Replied by strykerg on topic Lathe Macros
ok managed to install the dev version. I had to:

goto System>administration>software sources and re-tick the 2.5 version and untick the dev version.
do sudo apt-get update and sudo apt-get install libmodbus5 (I think libmodbus didn't work)
then change back the software sources to the dev and installed as per buildbot instructions.

it works, but when I added Andy's config I get an error (which I can understand I think) and I think I am missing the postgui hal file couldn't find it in the zip file
Code:
** (gladevcp:4014): CRITICAL **: clearlooks_style_draw_box_gap: assertion `height >= -1' failed custom_postgui.hal:9: Pin 'pyvcp.stop' does not exist /usr/bin/gladevcp:292: GtkWarning: GdkWindow 0x3e00003 unexpectedly destroyed gtk.main() **** GLADE VCP ERROR: X Protocol Error: 3

*edit*
oh I actually have a pyvcp.stop linked to halui.program.stop in my custom_postgui.hal :/
Last edit: 12 years 10 months ago by strykerg.

Please Log in or Create an account to join the conversation.

Time to create page: 0.409 seconds
Powered by Kunena Forum