This looks closer, the relevant part from the config.log is this: configure:8072: g++ -o conftest -g -O2 -std=c++11 -I/usr/include/python2.7 conftest.cpp -lXinerama -lpython2.7 -lboost_python-py27 >&5 /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_python-py27 collect2: error: ld returned 1 exit status
So it's looking for the correct library name now, and you said earlier you have it here: /usr/lib64/libboost_python-2.7.so So try adding LDFLAGS=-L/usr/lib64, either as an environment variable or via the configure flag. On April 23, 2017 11:08:33 AM MDT, Evan Foss <[email protected]> wrote: >On Sun, Apr 23, 2017 at 2:55 PM, Sebastian Kuzminsky <[email protected]> >wrote: >> On 04/22/2017 09:25 PM, Evan Foss wrote: >>> On Sat, Apr 22, 2017 at 1:56 PM, Sebastian Kuzminsky ><[email protected]> wrote: >>>>>> From the configure --help output: >>>>>> >>>>>>> --with-boost-python Specify the boost python shared >library to use. For >>>>>>> instance, >--with-boost-python=boost_python-py25. >>>>>>> Defaults to boost-python. If you use >this then you >>>>>>> should probably set PYTHON too, to >avoid using >>>>>>> multiple python versions. >>>>>> >>>>> >>>>> I tried adding --with-boost-python=boost_python-py27 it didn't >help. >> >> I've led you astray. But in my defense, that --help output led *me* >astray. >> >> Our configure script actually wants just this: >> >> --with-boost-python=py27 >> >> Try that, and if it works like I think it will, I'll update the >--help info. > >I tried the following line. >./configure --enable-non-distributable=yes --without-libmodbus >--prefix=/home/user1/programs/linuxcnc --with-realtime=uspace >--with-python=/usr/bin/python2.7 --with-boost-python=py27 > >and this is the end of the output. (config.log attached) >.... >checking for msgfmt... /usr/bin/msgfmt >checking for --tcl support in msgfmt... yes >checking for Python support... yes >checking python version... OK >checking version of python libraries... python2.7 >checking match between tk and Tkinter versions... 8.5 >checking location of Python header files... /usr/include/python2.7 >checking for Python headers... -I/usr/include/python2.7 >checking for Python libraries... -lpthread -ldl -lutil >checking whether the Boost::Python headers are available... yes >checking for boost::python shared library... >configure: error: boost::python is required to build LinuxCNC > > > >> -- >> Sebastian Kuzminsky >> >> >------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> Emc-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > >-- >Home >http://evanfoss.googlepages.com/ >Work >http://forge.abcd.harvard.edu/gf/project/epl_engineering/wiki/ > >-----BEGIN PGP PUBLIC KEY BLOCK----- >Version: GnuPG v2 > >mQENBFYy4RYBCAC183JomLtbdAlcKiaPDoVHq52LDmVmH75aiEc69m7YxDt54/ai >VtYCAobbGVIyn3Hlz3uhF6LnPl/6Lm1VdnCfpwu3KQhCO6ds10ow2C30X4ohCqOd >hCVg5C+ILmQkEffFrFODy3ji+PYTF4pADvHCWsTMv0hf0llwFOJsBCK6cl02IffE >JPqy4PjM1nZ9HpzT84JBaG/4OGvTZ8SQ2yFUl265jagvygPTf88H1xpZHH1r8dB1 >stjUHLmPH8AOyDgKxFchgGeDc3p/vJtgDDIXAFfDXG0NSRovLmtaQdGxe47Zf/go >bXiEM7YL2WqQe5zfEA919JxkEwlDKYniOSVzABEBAAG0N0V2YW4gRm9zcyAoVGhp >cyBpcyBteSBwdWJsaWMga2V5LikgPGV2YW5mb3NzQGdtYWlsLmNvbT6JATkEEwEC >ACMFAlYy4RYCGwMHCwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRCIpQTcE8nN >bbBaCACAm8pU5lG1ev2Fsw68Axtcl57SJrYieqX96c3YuYH9JpqMqJRnd9nDKw9X >tQuvuH7tUk0VbOaDqReOYJVI/4c5wb9AaOFp6K2DUcupq6XhgXpvz3HzoPwjAdIj >XuQzdRUx5+innTJrSkGuBYW/CZ2zqEx4xfLlq4rO0hoTUMR8QVp2cCrkw6BT0m86 >APIw/ZnjoxM8IEzr7MxfRIg3qpzrZk28rmhx+k78Jyk61UhwcCPGIm/pjUopTwYJ >3YBdRB2cYD2aN7A1JVf5cRmSQYooHBGpH0kYvomGk97PKqypVuJ7OpG9xM58wUcC >qUVt9hKlePLzP8csYjt8onqI7qIIuQENBFYy4RYBCADlH8spG3WkCx62vB5mr5Z0 >SCDd/RcyA4A5y5EOj5KurQkrSWpgi9Ho1yKruMJ6blQR2qkc66KqH9pnXDm/ZI1M >K/wdW3ngETxBmXoozzFMT89aEWIVR5/PFodWK1elekE9iJxACuR98Zg2QttTD3x8 >A9w8VEyMLOXcDTrPFpHegMKswFBg5iuMulAdXAoGejWTI3n+qKFpabHm2Lfs6wjk >5rjucpTdeFK6UeWF1xAvNxXibuu5BlGwv53930qIXRwO/Gn2Rh5DXWxKU2fEIme/ >xgQQmIsDeUoWbfybdjw/x7Q0LW4mINiLDQcGHHRQKFIxbAJCT3USPLGh5xwE9/Er >ABEBAAGJAR8EGAECAAkFAlYy4RYCGwwACgkQiKUE3BPJzW0uYAf9Hf30n8tM3mR2 >Zo6ESE0ivgdgjaJtAWrBUx7JzAzPjBnBOlNnu5Y9lVEqetvUPH6e3PvaHYUuaUU8 >0HwxuKBW9nUprgV6uIu1DZmlcp+SxpbuCy7RDpNocRLNWWFMaYYzznmTgfnTgD4D >gCq8Mf1mcfrluTkOAo+QNqbMfl1GISClopRqxVuAo59ewgMnFujwgd8w12BwWl24 >CzqOs5HqcUslePj+LzcjSNgVCklYwKl+0dsb/fctMOCtHodwqm2CBJ+zydvNmYkD >fxda/J91Z1xrah5ec++FL0L4vs+jCiIWJeupJFKlr1hCMZiiGH7W554loK5l4jv3 >EY347EidAw== >=Ta4p >-----END PGP PUBLIC KEY BLOCK----- -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
