Hi there,

    Dear Sawyer, thank you for your hints about 10 days ago. They
solved the errors I had in my previous mail. (Although appearently not
all were necessary, see below for details.) Since then, I have
been able to run a "somewhat" successful "make install".

    Dear Jordi, I have not tried version 0.8-pre1 of gazebo, basically
because it required SCons, which in turn I found only available as
source or via Darwinports. I have neither SCons nor Darwinports on this
machine, so when starting this, I tried to avoid those additional
dependencies ... =o) ... Furthermore, I took the installation
instructions for gazebo 0.7. on Mac OS X [0] as an indicator for "Yes,
someone has done that, so I'll dare to follow", and I did not want to
get lost in 0.8 ...

    The current state is that I managed to run a "somewhat successful"
"make install" for gazebo-0.7.0 on my Mac OSX 10.4. That is to say, it
ran to completeion without errors, but with quite some warnings. To make
that happen, I had to disable the gazebo builder and use.

./configure --prefix=$PLAYER_STAGE_PREFIX --disable-gzbuilder


    So far, so good.

    Then however, gazebo crashes. And anyway, both the remaining
warnings and the fact that I have to disable gzbuilder are not
satisfying. Not to speak of my attempts to install it on another Mac OS
X 10.4 machine, wich were another quite different experience, with even
less success ...

    But for those remaining problems I will probably send individual and
more precise descriptions.

    Thanks for your help, and good luck with everything ..=o)

Frank




[0]
http://playerstage.sourceforge.net/doc/Gazebo-manual-0.7.0-html/install_osx.html






-------- Original Message --------
Subject: Re: [PlayerStage-Gazebo] problems installing gazebo-0.7 on
Mac OS X        10.4
Date: Fri, 11 Jan 2008 13:37:20 -0700
From: Sawyer <[EMAIL PROTECTED]>
Reply-To: Gazebo developers <[email protected]>
To: Gazebo developers <[email protected]>

> 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"

this helped, thanks

> 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

This did not seem to be necessary for configure to complete with no but
2 remaining and expected warnings (about player and lib3ds missing).
Hmm, does it help with the remaining "make install"-problems?

> 
> I got pixbuf installed with the gdk2 package. The standalone fink pixbuf 
> package did not work.

Thanks! After I had installed the "gtk+-2" packages via fink,
gazebo-0.7.0's configure no longer complained about missing pixbuf,
thanks for the (close) hint ;-)


> 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.

So far, I have only used fink. Darwinports is not set up on my machine.

> 
> 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:

thanks. did that.

> 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.
   >

As indicated, lib3ds is appearently not available - do I need it for
anything? If so, please post your workarounds.

> 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.

I currently have wxPython 2.8 installed, using a dmg package from [1].
Strangely, the OSX package installer always reports that "there were
errors during the installation " (don't know what went wrong, nothing
written to console.log), but the installation seems to have completed
anyway (i.e. their uninstall script lists it and I can uninstall it =o)
) Some of their demos [2] work, like XRCed, but most do not, incl.
Editra and "xwPython Demo". Switching to a 2.6 package [3] does not make
a difference - erm - and the one I have seems to be for OSX 10.3. Which
one have you been using? Can you run their demos? Anyway, thanks for
your thoughts. I do not currently have any other app using python, and I
am not exactly familiar with it.



[1] http://www.wxpython.org/download.php#binaries
[2] wxPython2.8-osx-docs-demos-2.8.7.1-universal-py2.3.dmg
[3] wxPython2.6-osx-unicode-2.6.4.0-macosx10.3-py2.3.dmg





Here is an updated excerpt from my 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'
CPATH=/Users/binder/PlayerStage/include:/usr/X11R6/include:/sw/include:
DYLD_LIBRARY_PATH=/Users/binder/PlayerStage/lib:
GDK_USE_XFT=1
HOME=/Users/binder
HOSTTYPE=powerpc
LIBRARY_PATH=/usr/X11R6/lib:/sw/lib:/Users/binder/PlayerStage/lib:
MACHTYPE=powerpc-apple-darwin8.0
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/X11R6/bin
PKG_CONFIG_PATH=/Users/binder/PlayerStage/lib:/sw/lib:
PLAYER_STAGE_PREFIX=/Users/binder/PlayerStage
PWD=/Users/binder
PYTHONPATH=/Users/binder/PlayerStage/lib/python2.3/site-packages:/System/Library/Frameworks/Python.framework/Versions/2.3/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
XML_CATALOG_FILES=/sw/etc/xml/catalog
osMajorVer=8
osMinorVer=11
perlversion=5.8.6







> 
> 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
>>










-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to