Hi Lars, Since you installed player and stage to /usr/local/psg did you add that path to LD_LIBRARY_PATH as well as CPATH. Try this:
>> export CPATH=$CPATH:/usr/local/psg/include >> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/psg/lib Also, did you remember to add the player pkgconfig information to your environment, like this: >> export PKG_CONFIG_PATH:$PKG_CONFIG_PATH:/usr/local/psg/lib/pkgconfig See if it works now. If it still doesn't, try looking at config.log to see why it is failing. Nate On Jul 20, 2007, at 9:41 AM, lvmogensen wrote: > > Hi, > > I have a newbie problem with Gazebo. I cannot get it compile since the > PLAYER program if not found when doing ./configure. > > I compiled and ran Player and Stage successfully, but now I am > stranded. > > With both of the other I used: './configure --prefix=/usr/local/ > psg' and it > worked after I figured out the dependency problems. That is just > not enough > here. > > I am running Debian. > > Can anyone help me? > > /Lars > > > OUTPUT: > > [EMAIL PROTECTED]:~/src/PSG/gazebo-0.7.0$ ./configure > --prefix=/usr/local/psg > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking whether make sets $(MAKE)... (cached) yes > checking for gcc... gcc > 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 gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking for g++... g++ > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking dependency style of g++... gcc3 > checking how to run the C preprocessor... gcc -E > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for /usr/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking whether ln -s works... yes > checking how to recognise dependent libraries... pass_all > 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 dlfcn.h usability... yes > checking dlfcn.h presence... yes > checking for dlfcn.h... yes > checking how to run the C++ preprocessor... g++ -E > checking for g77... no > checking for f77... no > checking for xlf... no > checking for frt... no > checking for pgf77... no > checking for cf77... no > checking for fort77... no > checking for fl32... no > checking for af77... no > checking for f90... no > checking for xlf90... no > checking for pgf90... no > checking for pghpf... no > checking for epcf90... no > checking for gfortran... no > checking for g95... no > checking for f95... no > checking for fort... no > checking for xlf95... no > checking for ifort... no > checking for ifc... no > checking for efc... no > checking for pgf95... no > checking for lf95... no > checking for ftn... no > checking whether we are using the GNU Fortran 77 compiler... no > checking whether accepts -g... no > checking the maximum length of command line arguments... 32768 > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for objdir... .libs > checking for ar... ar > checking for ranlib... ranlib > checking for strip... strip > checking for correct ltmain.sh version... yes > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC > checking if gcc PIC flag -fPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking whether the gcc linker (/usr/bin/ld) supports shared > libraries... > yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > configure: creating libtool > appending configuration tag "CXX" to libtool > checking for ld used by g++... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking whether the g++ linker (/usr/bin/ld) supports shared > libraries... > yes > checking for g++ option to produce PIC... -fPIC > checking if g++ PIC flag -fPIC works... yes > checking if g++ static flag -static works... yes > checking if g++ supports -c -o file.o... yes > checking whether the g++ linker (/usr/bin/ld) supports shared > libraries... > yes > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > appending configuration tag "F77" to libtool > checking for a BSD-compatible install... /usr/bin/install -c > checking for stdint.h... (cached) yes > checking for scandir... yes > checking for poll... yes > checking for dirname... yes > checking for alphasort... yes > checking for strndup... yes > checking for dlopen in -ldl... yes > checking checking for union semun... no > checking GL/gl.h usability... yes > checking GL/gl.h presence... yes > checking for GL/gl.h... yes > checking GL/glu.h usability... yes > checking GL/glu.h presence... yes > checking for GL/glu.h... yes > checking GL/glut.h usability... yes > checking GL/glut.h presence... yes > checking for GL/glut.h... yes > checking whether glXCreateGLXPbufferSGIX is declared... yes > checking for xml2-config... yes > checking for ode > checking ode/ode.h usability... yes > checking ode/ode.h presence... yes > checking for ode/ode.h... yes > checking for dWorldCreate in -lode... yes > checking for dJointGetHinge2Anchor2 in -lode... yes > checking for dGeomTriMeshDataCreate in -lode... no > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for GDK_PIXBUF... yes > checking zlib.h usability... yes > checking zlib.h presence... yes > checking for zlib.h... yes > checking for lib3ds-config... yes > checking projects.h usability... yes > checking projects.h presence... yes > checking for projects.h... yes > checking for PLAYER... no > configure: WARNING: Player was not found. > checking for python... yes > checking for swig... yes > checking for python... (cached) yes > checking gdal_priv.h usability... no > checking gdal_priv.h presence... no > checking for gdal_priv.h... no > configure: creating ./config.status > config.status: creating Makefile > config.status: creating worlds/Makefile > config.status: creating replace/Makefile > config.status: creating libgazebo/Makefile > config.status: creating libgazebo/bindings/Makefile > config.status: creating libgazebo/bindings/python/Makefile > config.status: creating server/Makefile > config.status: creating server/bodies/Makefile > config.status: creating server/models/Makefile > config.status: creating server/models/AvatarHeli/Makefile > config.status: creating server/models/Blimp/Makefile > config.status: creating server/models/CarChassis/Makefile > config.status: creating server/models/ClodBuster/Makefile > config.status: creating server/models/Factory/Makefile > config.status: creating server/models/GarminGPS/Makefile > config.status: creating server/models/GroundPlane/Makefile > config.status: creating server/models/LightSource/Makefile > config.status: creating server/models/MonoCam/Makefile > config.status: creating server/models/Pioneer2AT/Makefile > config.status: creating server/models/Pioneer2DX/Makefile > config.status: creating server/models/PeopleBot/Makefile > config.status: creating server/models/Road/Makefile > config.status: creating server/models/SegwayRMP/Makefile > config.status: creating server/models/Shrimp/Makefile > config.status: creating server/models/SickLMS200/Makefile > config.status: creating server/models/SimpleSolid/Makefile > config.status: creating server/models/SkyDome/Makefile > config.status: creating server/models/SonyVID30/Makefile > config.status: creating server/models/CanonVCC4/Makefile > config.status: creating server/models/StereoHead/Makefile > config.status: creating server/models/Terrain/Makefile > config.status: creating server/models/TruthWidget/Makefile > config.status: creating server/models/WheelChair/Makefile > config.status: creating server/models/Pioneer2Gripper/Makefile > config.status: creating server/models/ObserverCam/Makefile > config.status: creating server/models/B21R/Makefile > config.status: creating server/models/Atrv/Makefile > config.status: creating server/models/Bandit/Makefile > config.status: creating server/sensors/Makefile > config.status: creating server/sensors/Camera/Makefile > config.status: creating server/sensors/RayProximity/Makefile > config.status: creating gui/Makefile > config.status: creating gui/wx/Makefile > config.status: creating gui/wx/panels/Makefile > config.status: creating examples/Makefile > config.status: creating examples/plugins/Makefile > config.status: creating examples/plugins/ExampleModel/Makefile > config.status: creating examples/libgazebo/Makefile > config.status: creating examples/libgazebo/simple/Makefile > config.status: creating examples/libgazebo/python/Makefile > config.status: creating utils/Makefile > config.status: creating utils/builder/Makefile > config.status: creating player/Makefile > config.status: creating gazebo.pc > config.status: creating config.h > config.status: config.h is unchanged > config.status: executing depfiles commands > > ************************************************************* > > Gazebo will be built on a i686-pc-linux-gnu system to run > on a i686-pc-linux-gnu system, with the following tools: > Preprocessor: -DGLX_GLXEXT_PROTOTYPES=1 > C compiler: gcc -g -O2 > C++ compiler: g++ -g -g -O2 > > Gazebo will build models using: > CPPFLAGS: -Wall -I. -I$(top_srcdir)/server -I$(top_srcdir)/ > server/bodies > -I$(top_srcdir)/server/sensors -I$(top_srcdir)/server/gui > -I$(top_srcdir)/libgazebo -I/usr/include/libxml2 > > Gazebo will build sensors using: > CPPFLAGS: -Wall -I. -I$(top_srcdir)/server -I$(top_srcdir)/ > server/bodies > -I$(top_srcdir)/server/sensors -I$(top_srcdir)/server/gui > -I$(top_srcdir)/libgazebo -I/usr/include/libxml2 > > Gazebo will build the server using: > CPPFLAGS: -Wall -I. -I$(top_srcdir)/replace -I$(top_srcdir)/ > libgazebo > -I$(top_srcdir)/server -I$(top_srcdir)/server/bodies > -I$(top_srcdir)/server/sensors -I$(top_srcdir)/libgazebo > -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/include/ > glib-2.0 > -I/usr/lib/glib-2.0/include > LDFLAGS: -Wl,--export-dynamic -L$(top_builddir)/libgazebo > -L$(top_builddir)/server/bodies -L/usr/X11R6/lib > LDADD: -lm -lpthread models/AvatarHeli/libavatarheli.a > models/Blimp/libblimp.a models/ClodBuster/libclodbuster.a > models/CarChassis/libcarchassis.a models/Factory/libfactory.a > models/GarminGPS/libgarmingps.a models/GroundPlane/libgroundplane.a > models/LightSource/liblightsource.a models/MonoCam/libmonocam.a > models/ObserverCam/libobservercam.a models/Pioneer2AT/libpioneer2at.a > models/Pioneer2DX/libpioneer2dx.a > models/Pioneer2Gripper/libpioneer2gripper.a models/PeopleBot/ > libpeoplebot.a > models/SegwayRMP/libsegwayrmp.a models/Shrimp/libshrimp.a > models/SickLMS200/libsicklms200.a models/SimpleSolid/libsimplesolid.a > models/SkyDome/libskydome.a models/SonyVID30/libsonyvid30.a > models/CanonVCC4/libcanonvcc4.a models/StereoHead/libstereohead.a > models/TruthWidget/libtruthwidget.a models/WheelChair/libwheelchair.a > models/Bandit/libbandit.a sensors/Camera/libcamera.a > sensors/RayProximity/librayproximity.a > -lgazebobodies $(top_builddir)/replace/libreplace.a -lgazebo -lX11 > -lXi > -lXmu -L/usr/lib -lxml2 -lode -lGL -lGLU -lglut -l3ds -lproj > -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 > > Gazebo will build Python bindings > > Gazebo will build wxgazebo (GUI) > > Gazebo will NOT build the gzbuilder utility: > could not find gdal_priv.h > > The following device models will be included: > AvatarHeli > Blimp > ClodBuster > CarChassis > Factory > GarminGPS > GroundPlane > LightSource > MonoCam > ObserverCam > Pioneer2AT > Pioneer2DX > Pioneer2Gripper > PeopleBot > SegwayRMP > Shrimp > SickLMS200 > SimpleSolid > SkyDome > SonyVID30 > CanonVCC4 > StereoHead > TruthWidget > WheelChair > Bandit > > The following device sensors will be included: > camera > rayproximity > > The following device models will NOT be included: > B21R -- disabled by default; use --enable-b21r to enable > Atrv -- disabled by default; use --enable-atrv to enable > Road -- no trimesh support in ODE > Terrain -- no trimesh support in ODE > > The following device sensors will NOT be included: > > Gazebo will be installed in: > /usr/local/psg/ > > You can specify a different installation directory like this: > ./configure --prefix=<install dir> > > To see the other configuration options, do: > ./configure --help > > > When you're satisfied with the configuration, type 'make install'. > > [EMAIL PROTECTED]:~/src/PSG/gazebo-0.7.0$ > > -- > View this message in context: http://www.nabble.com/Build-problem- > with-Gazebo-tf4117125.html#a11708287 > Sent from the playerstage-gazebo mailing list archive at Nabble.com. > > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Playerstage-gazebo mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
