[Bug 661] New: Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

Summary: Not integrated within Macports package manager
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Build System
AssignedTo: orocos-dev [..] ...
ReportedBy: kiwi [dot] net [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

No way to build in package manager on Mac OS X.

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

S Roderick <kiwi [dot] net [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution| |FIXED
Status|NEW |RESOLVED

--- Comment #12 from S Roderick <kiwi [dot] net [..] ...> 2009-07-29 04:35:30 ---
See http://orocos.org/wiki/rtt/installation/installing-macports-mac-os-x for up
to date instructions and port files.

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

--- Comment #10 from S Roderick <kiwi [dot] net [..] ...> 2009-06-20 17:35:58 ---
To build against MacPorts-installed OROCOS, add the following to your
environment before CMake'ing your project
&#10;export CMAKE_PREFIX_PATH=/opt/local&#10;
If you already have CMAKE_PREFIX_PATH set, then append "/opt/local" to your
existing entry.

To run using MacPorts-installed OROCOS, add the following to your environment
&#10;export&#10;DYLD_FALLBACK_LIBRARY_PATH=/opt/local/lib:/opt/local/lib/rtt/macosx/plugins&#10;
If you already have DYLD_FALLBACK_LIBRARY_PATH set, then append the above to
your existing entry.

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

--- Comment #11 from S Roderick <kiwi [dot] net [..] ...> 2009-06-20 17:36:38 ---
The previous documentation for building/running with MacPorts-installed Orocos
should go somewhere else. Where?

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

S Roderick <kiwi [dot] net [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #439 is|0 |1
obsolete| |

--- Comment #9 from S Roderick <kiwi [dot] net [..] ...> 2009-06-20 17:33:07 ---
Created an attachment (id=451)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=451)
OCL portfile

NB the v1.8.0 version of OCL contains a bug in the deployer. To pass TAO
options through you should add a fake option after "--" but before any actual
TAO options. This option is swallowed and does not affect anything.

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

S Roderick <kiwi [dot] net [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #437 is|0 |1
obsolete| |

--- Comment #8 from S Roderick <kiwi [dot] net [..] ...> 2009-06-20 17:31:49 ---
Created an attachment (id=450)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=450)
KDL portfile updated for v1.0.0-alpha release, and eigen dependancies

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

S Roderick <kiwi [dot] net [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #436 is|0 |1
obsolete| |

--- Comment #7 from S Roderick <kiwi [dot] net [..] ...> 2009-06-20 17:31:08 ---
Created an attachment (id=449)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=449)
RTT portfile updated for v1.8.4 release

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

--- Comment #6 from S Roderick <kiwi [dot] net [..] ...> 2009-05-29 23:29:50 ---
We should probably put these in to the SVN repository somewhere?

Once we get the patches for 662 and 657 checked in, and another release for all
the projects, I will update the checksums and then submit the portfiles to
Macports for inclusion.

Also, these portfiles work around 658, 659, and 660. Fixes for those bugs will
require fixes here.

Use of Macports combined

Use of Macports combined with ''DYLD_LIBRARY_PATH'' can expose the following problem

http://www.nabble.com/Incorrect-libjpeg.dylib-after-installing-ImageMagi...

Use DYLD_FALLBACK_LIBRARY_PATH to set ''/opt/local/lib'' and ''/opt/local/lib/rtt/macosx/plugins''.

For further details see

http://developer.apple.com/documentation/DeveloperTools/Conceptual/Dynam...

Use of Macports combined

Use of Macports combined with ''DYLD_LIBRARY_PATH'' can expose the following problem

http://www.nabble.com/Incorrect-libjpeg.dylib-after-installing-ImageMagick-td22625866.html

Use DYLD_FALLBACK_LIBRARY_PATH to set ''/opt/local/lib'' and ''/opt/local/lib/rtt/macosx/plugins''.

For further details see

http://developer.apple.com/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryUsageGuidelines.html

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

S Roderick <kiwi [dot] net [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #439|Portfile for OCL |Portfile for orocos-ocl
description| |

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

--- Comment #5 from S Roderick <kiwi [dot] net [..] ...> 2009-05-29 23:25:41 ---
Created an attachment (id=439)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=439)
Portfile for OCL

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

--- Comment #4 from S Roderick <kiwi [dot] net [..] ...> 2009-05-29 23:25:25 ---
Created an attachment (id=438)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=438)
Portfile for orocos-bfl

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

S Roderick <kiwi [dot] net [..] ...> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #436|application/octet-stream |text/plain
mime type| |

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

--- Comment #3 from S Roderick <kiwi [dot] net [..] ...> 2009-05-29 23:24:56 ---
Created an attachment (id=437)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=437)
Portfile for orocos-kdl

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

--- Comment #2 from S Roderick <kiwi [dot] net [..] ...> 2009-05-29 23:24:19 ---
Created an attachment (id=436)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=436)
Portfile for orocos-rtt

[Bug 661] Not integrated within Macports package manager

https://www.fmtc.be/bugzilla/orocos/show_bug.cgi?id=661

--- Comment #1 from S Roderick <kiwi [dot] net [..] ...> 2009-05-29 23:22:12 ---
Portfiles for RTT, KDL, BFL and OCL. Verified on Macports v1.7 under Mac OS X
10.5.7 on Intel.

WARNING these require the patches for bugs 662 and 657 (and of course then new
tarballs and updates to the checksums in the Portfiles). I had to manually
patch the tarballs to get clean builds.

Still some TODOs on the variants.

Create the following structure (you can set "/opt/myports/" to whatever
directory you want to hold this local repository) and copy the portfiles in as
indicated.

myports $ tree /opt/myports/
/opt/myports/
`-- devel
|-- orocos-bfl
| `-- Portfile
|-- orocos-kdl
| `-- Portfile
|-- orocos-ocl
| `-- Portfile
`-- orocos-rtt
`-- Portfile

Add "file:///opt/myports" (or whatever directory you used above) to the
following file BEFORE the
"rsync:///rsync.macports.org/..." line

/opt/local/etc/macports/sources.conf

Then do the following in a shell

cd /opt/myports
sudo portindex

This only needs to be done once, when you setup the local repository with the
Orocos portfiles.

And then install as usual

sudo port install orocos-rtt +corba
sudo port install orocos-kdl +corba
sudo port install orocos-bfl
sudo port install orocos-ocl +corba +helloworld

or whatever variants work for you.