Compile problems

More
26 Jul 2018 11:26 #114869 by SINGH
Open NC files in AXIS was created by SINGH
please tell me how to fix this problem....?


checking whether readline license is compatible with GPL-2... no
configure: WARNING: The LinuxCNC binary you are building may not be
distributable due to a license incompatibility with LinuxCNC (some portions
GPL-2 only) and Readline version 6 and greater (GPL-3 or later).
configure: error: To configure LinuxCNC in this way, you must
invoke configure with "--enable-non-distributable=yes". Note that on
Debian-based systems, you may be able to use libreadline-gplv2-dev instead.

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

More
26 Jul 2018 14:58 #114889 by andypugh
Replied by andypugh on topic Open NC files in AXIS
Query moved here and renamed. Was originally in the Axis section.

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

More
26 Jul 2018 15:43 #114897 by PCW
Replied by PCW on topic Open NC files in AXIS

Note that on Debian-based systems, you may be able to use libreadline-gplv2-dev instead.


did you try:

sudo apt-get install libreadline-gplv2-dev

?

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

More
26 Jul 2018 16:57 - 26 Jul 2018 17:03 #114901 by Grotius
Replied by Grotius on topic Open NC files in AXIS
Hi,

If i read this :

To configure LinuxCNC in this way, you must
invoke configure with "--enable-non-distributable=yes"


Can the solution be in terminal at the point of mr.singh installation :

cd src
./autogen.sh
./configure --enable-non-distributable=yes

document : github.com/KurtJacobson/RF45-CNC/wiki/Bu...LinuxCNC-From-Source

It's a very strange message. It looks like someone has made a macintosch or apple application inside linuxcnc. :laugh: :woohoo:

@Andy,
It's nice to see a admin doing his job !
Last edit: 26 Jul 2018 17:03 by Grotius.

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

More
26 Jul 2018 23:16 #114918 by InMyDarkestHour
Not a strange message just a "debian thing" lol

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

More
29 Mar 2023 11:19 #267788 by jalajc
Replied by jalajc on topic Open NC files in AXIS

please tell me how to fix this problem....?


checking whether readline license is compatible with GPL-2... no
configure: WARNING: The LinuxCNC binary you are building may not be
distributable due to a license incompatibility with LinuxCNC (some portions
GPL-2 only) and Readline version 6 and greater (GPL-3 or later).
configure: error: To configure LinuxCNC in this way, you must
invoke configure with "--enable-non-distributable=yes". Note that on
Debian-based systems, you may be able to use libreadline-gplv2-dev instead.
 

Solution: on recent version of Debian and Ubuntu, please install libeditreadline-dev which is still GPL2 for dependency fullfillment.
  1. if you have installed libreadline-dev remove by
    sudo apt remove libreadline-dev
  2. and install still GPL2 compatible libreadline via
    sudo apt install libeditreadline-dev
  3. Build the package again by
    dpkg-buildpackage -b -uc
You should not encounter the error now.
Background: I faced the same problem, and I was compiling on RPi 400 (4GB) with Ubuntu 22.04 LTS (jammy). Reason was readline versions are GPL3 (libreadline-dev) but Latest repo of Debian and Ubuntu don't have GPL2 compatible versions on standalone. Some other product was facing this issue (matter of fact MariaDB) so they used libeditreadline-dev as GPL2 compliant requirement is fullfilled by this flavor of readline. worked for me too.

____
if you think my solution helped, please appreciate so that I know, other people are also trying similar stuffs


 

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

Time to create page: 0.100 seconds
Powered by Kunena Forum