Compile problems

More
8 years 3 months ago #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 to join the conversation.

More
8 years 3 months ago #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 to join the conversation.

More
8 years 3 months ago #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 to join the conversation.

More
8 years 3 months ago #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 !

Please Log in to join the conversation.

  • AnnoyingMutt
  • New Member
  • New Member
More
8 years 3 months ago #114918 by AnnoyingMutt
Replied by AnnoyingMutt on topic Open NC files in AXIS
Not a strange message just a "debian thing" lol

Please Log in to join the conversation.

More
3 years 7 months ago #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
    Code:
    sudo apt remove libreadline-dev
  2. and install still GPL2 compatible libreadline via
    Code:
    sudo apt install libeditreadline-dev
  3. Build the package again by
    Code:
    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 to join the conversation.

Time to create page: 0.350 seconds
Powered by Kunena Forum