Re: Device driver Comedi --- conflict

Peter Soetens <[email protected]> Wed, 28 Jun 2006 14:26:41 +0200
Newsgroups gmane.science.robotics.orocos.user
Organization FMTC
Message-ID <[email protected]>
On Wednesday 28 June 2006 14:09, sailendra sethi wrote:
> Dear  Johan,
>
> yes i give the path/to/comedi as
>
> ../configure --with-comedi=/root/comedi-0.7.70

It apears you need to write:

../configure --with-comedi=/root/comedi-0.7.70/include

as 

../configure --help

would have shown. This is a bit inconsistent with other paths. however, 
the 'Getting Started manual' clearly states:

2.6.1. Comedi and ComediLib
 Orocos has a ported small part of the ComediLib interface in its C++ device 
interface. To use these classes, the Orocos configure script must first 
detect a valid installation. This can be done by providing this option to 
configure : 

  ../configure --with-comedi=/path/to/comedi/include 

 If found, the Comedi support package will be generated, and you will be able 
to add the Orocos Comedi Device Driver to your configuration. 
[Important]  Important
 Orocos can use ComediLib from the GNU/Linux or Xenomai target (non realtime 
interface), in which case you must point configure to the 'comedilib' path 
(for example /usr/src/comedilib/include) and the LXRT target ( realtime 
interface ), in which case you must configure to the 'comedi' path (for 
example /usr/src/comedi/include).

Peter
>
> but it gives error as i wrote before as :
>
> [root@Sailendra build]# ../configure --with-comedi=/root/comedi-0.7.70
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for g++... g++
> checking for C++ compiler default output file name... a.out
> checking whether the C++ compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for style of include used by make... GNU
> checking dependency style of g++... gcc3
> checking for gcc... gcc
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking dependency style of gcc... gcc3
> checking for gawk... (cached) gawk
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for ranlib... ranlib
> checking for colorgcc... no
> checking for xsltproc... xsltproc
> checking for doxygen... doxygen
> checking for dia... dia
> checking for fop... no
> checking how to run the C++ preprocessor... g++ -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking cppunit/Test.h usability... yes
> checking cppunit/Test.h presence... yes
> checking for cppunit/Test.h... yes
> checking for cppunit-config... no
> checking for Cppunit - version >= 1.9.6... checking for an ANSI
> C-conforming const... yes
> checking for inline... inline
> checking for GCC library... /usr/lib/gcc/i386-redhat-linux/3.4.2
> checking for Standard C++ library...
> /usr/lib/gcc/i386-redhat-linux/3.4.2/libstdc++.a
> checking which target OS you want to configure for... GNU/Linux
> checking boost/call_traits.hpp usability... yes
> checking boost/call_traits.hpp presence... yes
> checking for boost/call_traits.hpp... yes
> checking for ecosconfig... /opt/orocos/orocos-0.20.1/tools/bin/ecosconfig
> checking for configtool... /opt/orocos/orocos-0.20.1/tools/bin/configtool
> checking for repository... /opt/orocos/orocos-0.20.1/packages
> checking for docdir... /opt/orocos/orocos-0.20.1/doc
> checking to build tests... yes
> checking to build profiling... no
> Running configure in packages...
> ./configure --with-comedi=/root/comedi-0.7.70
> checking for subversion... yes
> checking for g++... g++
> checking for C++ compiler default output file name... a.out
> checking whether the C++ compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for gcc... gcc
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for python... python
> checking for tclsh... tclsh
> checking how to run the C++ preprocessor... g++ -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking boost/call_traits.hpp usability... yes
> checking boost/call_traits.hpp presence... yes
> checking for boost/call_traits.hpp... yes
> checking boost/graph/adjacency_list.hpp usability... yes
> checking boost/graph/adjacency_list.hpp presence... yes
> checking for boost/graph/adjacency_list.hpp... yes
> checking boost/signal.hpp usability... yes
> checking boost/signal.hpp presence... yes
> checking for boost/signal.hpp... yes
> checking boost/spirit.hpp usability... yes
> checking boost/spirit.hpp presence... yes
> checking for boost/spirit.hpp... yes
> checking xercesc/sax2/SAX2XMLReader.hpp usability... yes
> checking xercesc/sax2/SAX2XMLReader.hpp presence... yes
> checking for xercesc/sax2/SAX2XMLReader.hpp... yes
> checking for Comedi dir... not found
> ///////////////////////////////////////////////////////////////////////////
>///// here it is
> configure: WARNING: No comedi installation found !
>    (tried : /root/comedi-0.7.70/comedilib.h and
> /root/comedi-0.7.70/linux/comedilib.h).
>    Comedi will be unavailable.
> checking how to run the C preprocessor... gcc -E
> checking readline/readline.h usability... yes
> checking readline/readline.h presence... yes
> checking for readline/readline.h... yes
> checking for RTAI/LXRT Installation... /usr/realtime with kernel headers in
> /usr/src/linux/include
> checking rtai_config.h usability... no
> checking rtai_config.h presence... no
> checking for rtai_config.h... no
> checking rtai_lxrt_user.h usability... no
> checking rtai_lxrt_user.h presence... no
> checking for rtai_lxrt_user.h... no
> configure: WARNING: No RTAI/LXRT installation found ( rtai_lxrt_user.h ).
> LXRT will be unavailable.
> checking for GCC version... gcc3
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating support/gcc/current/gcc.cdl
> config.status: creating support/readline/current/readline.cdl
> config.status: creating support/xercesc/current/xercesc.cdl
> config.status: creating support/boost/current/boost.cdl
> config.status: creating support/common/current/support.cdl
>
> ************************************************************
> Configuration:
>    Version:                             0.20.1
>    Generated Packages:                  support/gcc/current/gcc.cdl
> support/readline/current/readline.cdl support/xercesc/current/xercesc.cdl
> support/boost/current/boost.cdl support/common/current/support.cdl
> ************************************************************
>
>
> The configure script
> made some pseudo packages which inform the ecos system what is
> installed on your system. You should only re-run the bootstrap.sh script if
> you have installed new libraries.
>
> Running Make db in packages...
> config.status: creating Makefile
> config.status: creating support/gcc/current/gcc.cdl
> config.status: creating support/readline/current/readline.cdl
> config.status: creating support/xercesc/current/xercesc.cdl
> config.status: creating support/boost/current/boost.cdl
> config.status: creating support/common/current/support.cdl
> Generating ecos.db file ...
> processing package OROPKG_DEVICE_INTERFACE_IO
> processing package OROPKG_DEVICE_INTERFACE_LOGICAL
> processing package OROPKG_DEVICE_INTERFACE
> processing package OROPKG_DEVICE_INTERFACE_ENCODER
> processing package OROPKG_DEVICE_DRIVERS_LOGICAL
> processing package OROPKG_DEVICE_DRIVERS_CANOPEN
> processing package OROPKG_DEVICE_DRIVERS_K600
> processing package OROPKG_DEVICE_DRIVERS_PORTS
> processing package OROPKG_DEVICE_DRIVERS
> processing package OROPKG_DEVICE_DRIVERS_CANPIE
> processing package OROPKG_DEVICE_DRIVERS_APCI
> processing package OROPKG_DEVICE_DRIVERS_COMEDI
> processing package OROPKG_OS_GNULINUX
> processing package OROPKG_OS
> processing package OROPKG_OS_LXRT
> processing package OROPKG_KINDYN_ARCH
> processing package OROPKG_KINDYN
> processing package OROPKG_SIGNAL_PROCESSING
> processing package OROPKG_SUPPORT_BOOST
> processing package OROPKG_SUPPORT_READLINE
> processing package OROPKG_SUPPORT_GCC
> processing package OROPKG_SUPPORT
> processing package OROPKG_SUPPORT_XERCESC
> processing package OROPKG_GEOMETRY
> processing package OROPKG_CONTROL_KERNEL_SERVER
> processing package OROPKG_CONTROL_KERNEL
> processing package OROPKG_CONTROL_FRAMEWORK
> processing package OROPKG_CONTROL_KERNEL_COMPONENTS_HARDWARE
> processing package OROPKG_CONTROL_KERNEL_COMPONENTS
> processing package OROPKG_CONTROL_KERNEL_COMPONENTS_MOTION_CONTROL_AXIS
> processing package OROPKG_CONTROL_KERNEL_COMPONENTS_MOTION_CONTROL_N_AXIS
> processing package OROPKG_CONTROL_KERNEL_COMPONENTS_MOTION_CONTROL
> processing package
> OROPKG_CONTROL_KERNEL_COMPONENTS_MOTION_CONTROL_CARTESIAN processing
> package OROPKG_CONTROL_KERNEL_COMPONENTS_PROCESS_CONTROL processing package
> OROPKG_CORELIB_EVENTS
> processing package OROPKG_CORELIB_TASKS
> processing package OROPKG_CORELIB_PROPERTIES
> processing package OROPKG_CORELIB_PROPERTIES_MARSHALLING
> processing package OROPKG_CORELIB_COMMANDS
> processing package OROPKG_CORELIB
> processing package OROPKG_CORELIB_CONDITIONS
> processing package OROPKG_CORELIB_BUFFERS
> processing package OROPKG_CORELIB_REPORTING
> processing package OROPKG_CORELIB_TIMING
> processing package OROPKG_EXECUTION_PROGRAM_PARSER
> processing package OROPKG_EXECUTION_TASK_CONTEXT
> processing package OROPKG_EXECUTION_PROGRAM_PROCESSOR
> processing package OROPKG_EXECUTION
> processing target gnulinux
> processing target rtai
> processing target lxrt
> processing target rtlinux
> removing target rtai
> removing target rtlinux
> /opt/orocos/orocos-0.20.1/build
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating doc/Makefile
> config.status: creating doc/catalog.xml
> config.status: creating tests/Makefile
> config.status: creating Doxyfile
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
>
> Configuration:
>    Source code location:                /opt/orocos/orocos-0.20.1/packages
>    Version:                             0.20.1
>    Target:                              gnulinux
>
>    Compiler:                            g++
>    C compiler flags:
>    C++ compiler flags:
>    Preprocessor flags:
>    Includes:
>
> Run 'make docs' to generate the documentation.
> Type 'make new_packages' to create a package build directory
> Type 'make configure_packages' to configure the packages
> Type 'make all_packages' to build the configured system
>
> Alternatively, you can 'make all' to use the default configuration.
>
> Read the Orocos Installation Manual for detailed instructions
> on what these targets mean.
> [root@Sailendra build]#
>
> _________________________________________________________________
> Spice up your IM conversations. New, colorful and animated emoticons. Get
> chatting! http://server1.msn.co.in/SP05/emoticons/
>
> _______________________________________________
> Orocos mailing list
> [email protected]
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos

-- 
Peter Soetens -- FMTC -- <http://www.fmtc.be>