Have you or someone installed version 0.8-pre1 or later on Mac OS X?
A small installation HOWTO for OS X is really lacking in the documentation
and can help other users.
On Jan 12, 2008 5:37 AM, Sawyer <[EMAIL PROTECTED]> wrote:
> In the configure file replace this line:
> GAZEBO_SERVER_LDFLAGS='-Wl,--export-dynamic -L$(top_builddir)/libgazebo
> -L$(top_builddir)/server/bodies'"
> $X11_LDFLAGS"
>
> with this line:
> GAZEBO_SERVER_LDFLAGS='-Wl -L$(top_builddir)/libgazebo
> -L$(top_builddir)/server/bodies'"
> $X11_LDFLAGS"
>
> Also instead of setting:
> DYLD_LIBRARY_PATH
>
> try setting DYLD_FALLBACK_LIBRARY_PATH instead (This was required for
> things
> like pixbuf to be recognized).
> DYLD_FALLBACK_LIBRARY_PATH=/Users/binder/PlayerStage/lib
>
> I got pixbuf installed with the gdk2 package. The standalone fink pixbuf
> package did not work.
>
> I had tried both fink and darwinports and ended up using darwinports
> before I
> found that the main problems with my fink libraries not being recognized
> (same thing happened with darwinports) was the DYLD_FALLBACK_LIBRARY_PATH
> vs.
> DYLD_LIBRARY_PATH issue.
>
> Also PKG_CONFIG_Path should probably be:
> PKG_CONFIG_PATH=/Users/binder/PlayerStage/lib:/sw/lib:
>
> instead of:
> PKG_CONFIG_PATH=/Users/binder/PlayerStage/lib/pkgconfig:/sw/lib:
>
> If you are interested in using the lib3ds library there were a couple
> modifications that needed to be made for compiling to work, my solutions
> were
> nasty hacks and I will not post them here unless requested.
>
> Hope this helps.
>
> Sawyer
>
> PS. I did an install on one OSX machine that had run time problems with
> wxPython. Switching from wxPython-2.8.... to wxPython-2.6... fixed the
> issue.
> I have run it successfully using wxPython-2.8... on other OSX machines.
>
> On Friday 11 January 2008 11:58:19 am Frank Binder wrote:
> > Hi,
> >
> > installing gazebo-0.7 for Mac OS X 10.4 is causing me some trouble. Does
> > anyone have a suggestion?
> >
> > Problem: error during 'make install' (after './configure' completed
> > without errors and just 3 warnings - details below)
> >
> > Here's the error with a preceeding line:
> >
> > /usr/bin/ld: unknown flag: --export-dynamic
> > collect2: ld returned 1 exit status
> > make[2]: *** [gazebo] Error 1
> > make[1]: *** [install-recursive] Error 1
> > make: *** [install-recursive] Error 1
> >
> > Does this have anything to do with CFLAGS or other settings? I
> > am not exactly an expert in this ... Can anyone suggest a workaround?
> >
> >
> > I am trying to install in a local directory within my home dir and I
> > have been following the instructions from
> >
> >
> http://playerstage.sourceforge.net/doc/Gazebo-manual-0.7.0-html/install_osx
> >.html
> >
> > Thanks for any ideas that you may have! =o)
> >
> > Please ask, if you need more info ...
> >
> > Regards,
> > Frank
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --- Here are some snips from the output of configure, that seem dubious
> > (all other "checks" were answered with "yes")
> >
> >
> > checking for GDK_PIXBUF... Package gdk-pixbuf-2.0 was not found in the
> > pkg-config search path.
> > Perhaps you should add the directory containing `gdk-pixbuf-2.0.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'gdk-pixbuf-2.0' found
> > no
> > configure: WARNING: GDK_pixbuf not found; some functionality will be
> > disabled
> >
> > checking for lib3ds-config... no
> > configure: WARNING: LIB3DS library not found; some functionality will be
> > disabled
> >
> > checking for PLAYER... Package playercore was not found in the
> > pkg-config search path.
> > Perhaps you should add the directory containing `playercore.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'playercore' found
> > no
> > configure: WARNING: Player was not found.
> >
> >
> >
> >
> >
> > --- The configure summary seems ok, doesn't it?
> >
> >
> > *************************************************************
> >
> > Gazebo will be built on a powerpc-apple-darwin8.11.0 system to run
> > on a powerpc-apple-darwin8.11.0 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/sw/include/libxml2 -I/sw/include
> >
> > 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/sw/include/libxml2 -I/sw/include
> >
> > 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/sw/include/libxml2 -I/sw/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/sw/lib -lxml2 -lz -lpthread -L/sw/lib -liconv -lm -lode -lGL -lGLU
> > -lglut -lproj
> >
> > 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
> >
> > 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:
> > /Users/binder/PlayerStage/
> >
> > You can specify a different installation directory like this:
> > ./configure --prefix=<install dir>
> >
> > To see the other configuration options, do:
> > ./configure --help
> >
> > Apple OS X users should read the build instructions included in the
> manual:
> > http://playerstage.sourceforge.net/doc/
> >
> > When you're satisfied with the configuration, type 'make install'.
> >
> >
> >
> >
> > -- Here is an excerpt from my current environment:
> >
> > BASH=/bin/bash
> > BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release"
> > [5]="powerpc-apple-darwin8.0")
> > BASH_VERSION='2.05b.0(1)-release'
> > COLUMNS=123
> > CPATH=/Users/binder/PlayerStage/include:/usr/X11R6/include:/sw/include
> > CPPFLAGS=-no-cpp-precomp
> > CVSEDITOR=emacs
> > CVS_RSH=ssh
> > DIRSTACK=()
> > DISPLAY=:0
> > DYLD_LIBRARY_PATH=/Users/binder/PlayerStage/lib:
> > HOME=/Users/binder
> > HOSTTYPE=powerpc
> > INFOPATH=/sw/share/info:/sw/info:/usr/share/info
> > LIBRARY_PATH=/usr/X11R6/lib:/sw/lib:/Users/binder/PlayerStage/lib:
> > MACHTYPE=powerpc-apple-darwin8.0
> >
> MANPATH=/sw/share/man:/usr/share/man:/usr/local/share/man:/usr/X11R6/man:/s
> >w/lib/perl5/5.8.6/man OSTYPE=darwin8.0
> >
> PATH=/sw/bin:/sw/sbin:/Users/binder/PlayerStage/bin:/usr/bin:/bin:/usr/sbin
>
> >:/sbin:.:/usr/local/bin:/Users/binder/bin:/Users/binder/bin/chat2xml:/usr/X1
> >1R6/bin PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
> > PKG_CONFIG_PATH=/Users/binder/PlayerStage/lib/pkgconfig:/sw/lib:
> > PLAYER_STAGE_PREFIX=/Users/binder/PlayerStage
> >
> PYTHONPATH=/Users/binder/PlayerStage/lib/python2.3/site-packages:/System/Li
>
> >brary/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages:/
> >sw/lib/python2.3/site-packages:
> QMAKESPEC=/sw/share/qt3/mkspecs/darwin-g++
> > QTDIR=/sw
> > SHELL=/bin/bash
> >
> SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments
> >:monitor TERM=xterm
> > TERM_PROGRAM=Apple_Terminal
> > TERM_PROGRAM_VERSION=133
> > osMajorVer=8
> > osMinorVer=11
> > perlversion=5.8.6
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> -------------------------------------------------------------------------
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> >
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplac
> >e _______________________________________________
> > Playerstage-gazebo mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
--
Jordi Polo Carres
Natural language processing laboratory
NAIST
http://www.bahasara.org
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo