Hello, You need to tell python where to find wxgazebo:
For example: export PYTHONPATH=~/local/lib/python2.3/site-packages:$PYTHONPATH -nate On 6/22/07, Vaibhav Ghadiok <[EMAIL PROTECTED]> wrote: > hi > > 1. I am able to run gazebo in the batch mode but am unable to run wxgazebo. > When I run wxGazebo I get an error stating: > > Traceback (most recent call last): > File "/usr/local/bin/wxgazebo", line 4, in ? > from wxgazebo.main import main > ImportError: No module named wxgazebo.main > > > I have installed SWIG, wxPython (including devel), GL, GLU, GLUT, libxml2, > zlib, GDAL etc. > > Do I need Python-devel Package also? > > 2. On configuring I get these two warnings: > > checking for lib3ds-config... no > configure: WARNING: LIB3DS library not found; some functionality will be > disabled > checking projects.h usability... no > checking projects.h presence... no > checking for projects.h... no > configure: WARNING: Proj4 library not found; some functionality will be > disabled > > The entire configure message is attached below. > > Cheers > Vaibhav > > > > > ____________________________________________________________ > > [EMAIL PROTECTED] gazebo-0.7.0]$ ./configure > > 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... gawk > > 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... gfortran > > checking whether we are using the GNU Fortran 77 compiler... yes > > checking whether gfortran accepts -g... yes > > 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 if libtool supports shared libraries... yes > > checking whether to build shared libraries... yes > > checking whether to build static libraries... yes > > checking for gfortran option to produce PIC... -fPIC > > checking if gfortran PIC flag -fPIC works... yes > > checking if gfortran static flag -static works... yes > > checking if gfortran supports -c -o file.o... yes > > checking whether the gfortran 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 > > 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... yes > > 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... no > > configure: WARNING: LIB3DS library not found; some functionality will be > disabled > > checking projects.h usability... no > > checking projects.h presence... no > > checking for projects.h... no > > configure: WARNING: Proj4 library not found; some functionality will be > disabled > > checking for PLAYER... yes > > checking for python... yes > > checking for swig... yes > > checking for python... (cached) yes > > checking gdal_priv.h usability... yes > > checking gdal_priv.h presence... yes > > checking for gdal_priv.h... yes > > checking for GDALAllRegister in -lgdal... yes > > 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 models/Road/libroad.a models/Terrain/libterrain.a > sensors/Camera/libcamera.a > sensors/RayProximity/librayproximity.a > -lgazebobodies > $(top_builddir)/replace/libreplace.a -lgazebo -lX11 -lXi > -lXmu -L/usr/lib -lxml2 -lz -lm -lode -lGL -lGLU -lglut -L/lib > -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 build the gzbuilder utility > > > > 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 > > Road > > Terrain > > > > 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 > > > > The following device sensors will NOT be included: > > > > Gazebo will be installed in: > > /usr/local/ > > > > 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'. > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > Playerstage-gazebo mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
