On 15/10/13 08:57, Tomaz T. wrote: > $ ./configure --enable-run-in-place > > ends with: > > configure: error: libmodbus3 not found! > install with "sudo apt-get install libmodbus-dev" or disable with > > I'm trying to install libmodbus 3.1.0 but also doesn't pass without failure... > > ~/libmodbus-3.1.0$ ./autogen.sh > Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf > line 189. > Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line > 189. > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal --force > autoreconf: configure.ac: tracing > autoreconf: configure.ac: not using Libtool > autoreconf: running: /usr/bin/autoconf --force > autoreconf: running: /usr/bin/autoheader --force > autoreconf: running: automake --add-missing --copy --force-missing > src/Makefile.am:1: Libtool library used but `LIBTOOL' is undefined > src/Makefile.am:1: The usual way to define `LIBTOOL' is to add > `AC_PROG_LIBTOOL' > src/Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. > src/Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure > src/Makefile.am:1: its definition is in aclocal's search path. > autoreconf: automake failed with exit status: 1 > > libmodbus3 downloaded from here: http://www.libmodbus.org/ > > What else can I do to install it properly? > >> Looks like trying to run make without being configured properly >> >> Try >> >> git clean -xdf >> cd src >> ./autogen.sh >> ./configure --with-whatever-switches-apply >> make >> > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > > you should not need to install specifically libmodbus as this is available via package manager so
sudo apt-get install -y libmodbus-dev should do the work for you you may also try these sudo apt-get install -y libmodbus3-dev sudo apt-get install -y libmodbus5 if it helps here's a small script i use for building Linuxcnc run in place from my home directory make the file execuitable first #!/bin/bash source ./home/david/emc2-dev/scripts/rip-environment cd emc2-dev/src make clean make depclean make modclean ./autogen.sh ./configure make make install-menus sudo make setuid the 3 make clean lines are a good idea when you hit make problems to clean out any left behind config just comment them out when you do not want to run specificly ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users