boost and opencv on Openindiana.

Sun workstations/servers and operating systems (SunOS, Solaris and OpenSolaris)
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
User avatar
PymbleSoftware
Posts: 1887
Joined: Tue Jul 15, 2008 5:48 pm
Location: P.O. Box 529, Gordon, Sydney, NSW 2072, Australia.
Contact:

boost and opencv on Openindiana.

Unread postby PymbleSoftware » Wed May 25, 2011 3:48 am

So I am asked to port some software... It requires boost and opencv.
On the Mac, I go "sudo port boost" and "sudo port opencv" and "make" and the code just builds.
Total effort almost zero.
right, Mac code done.

I go looking for boost and opencv on OpenIndiana.

Not in the openindiana package repository.
pkg list | grep opencv
pkg list | grep boost

sunfreeware.com has boost but its from 2008 (ver 1.36 or so and latest is 1.46) and the code I am responsible for uses newer features of boost.

Blastwave doesn't have boost or opencv.

Building either package with either gcc or the sun studio compiler gives tons of errors.

I really need boost and opencv and have no time to fix all the compile issues.

R.
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.

Sold: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

Twitter @PymbleSoftware
Current Apps (iOS) -> https://itunes.apple.com/au/artist/pymb ... d553990081
(Android) https://play.google.com/store/apps/deve ... +Ltd&hl=en
(Onyx2) Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
(0300s) Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware

User avatar
ianj
Posts: 155
Joined: Wed Nov 14, 2007 11:43 am
Location: 費府

Re: boost and opencv on Openindiana.

Unread postby ianj » Wed May 25, 2011 5:13 am

If you can't find something in the standard repository, SFE is the first place to look. Blastwave et. al. are severely out of date and were never intended for anything newer than Solaris 10. OpenIndiana is hosting an IPS repository of prebuilt SFE packages, which you should add:

Code: Select all

pfexec pkg set-publisher -O http://staticdev.uk.openindiana.org:10002/ oi-sfe


It contains boost packages, but not opencv. Try building it yourself from the SFE spec. Also, keep in mind that pkg list will only print packages installed on your system. You'll need to use pkg list -a to print the entire contents of the repo.

Also be aware that the location and organization of oi-sfe might change. OpenIndiana hasn't finalized how they want to handle packages yet.
:Fuel: :Octane: :Octane2: :Indigo2IMP: :O3x0:

User avatar
gkl
Posts: 59
Joined: Thu Aug 13, 2009 9:49 am
Location: New Jersey, USA
Contact:

Re: boost and opencv on Openindiana.

Unread postby gkl » Wed May 25, 2011 5:24 am

Not very helpful, but OpenCSW has an even older version of boost(1.33.1). I've found those guys to be reasonably friendly though, so if you're desperate, it may be worth contacting the maintainer for his porting notes.
:Fuel: :O2: HP C8000, IBM RS/6000 43p 150, and lots of Suns in my collection

User avatar
PymbleSoftware
Posts: 1887
Joined: Tue Jul 15, 2008 5:48 pm
Location: P.O. Box 529, Gordon, Sydney, NSW 2072, Australia.
Contact:

Re: boost and opencv on Openindiana.

Unread postby PymbleSoftware » Wed May 25, 2011 4:48 pm

ianj wrote:If you can't find something in the standard repository, SFE is the first place to look. Blastwave et. al. are severely out of date and were never intended for anything newer than Solaris 10. OpenIndiana is hosting an IPS repository of prebuilt SFE packages, which you should add:

Code: Select all

pfexec pkg set-publisher -O http://staticdev.uk.openindiana.org:10002/ oi-sfe


It contains boost packages, but not opencv. Try building it yourself from the SFE spec. Also, keep in mind that pkg list will only print packages installed on your system. You'll need to use pkg list -a to print the entire contents of the repo.

Also be aware that the location and organization of oi-sfe might change. OpenIndiana hasn't finalized how they want to handle packages yet.



Thanks. I added the SFE repo with the pfexec command you specified above and this version had enough that the boost portions of code that were failing to compile previously actually compiled this time.
Digging around I found http://staticdev.uk.openindiana.org:100 ... ion=Search
So now, OpenCV is my only concern for this part of the project.

Edit: After installing pkg-config 0.25 from sunfreeware.com I did get OpenCV 1.0.0 to build, but not 1.1.
Hopefully there are no dependancies on newer versions.
But now there are other issues to deal with and should be doing other work anyway.

R.
死の神はりんごだけ食べる

開いた括弧は必ず閉じる -- あるプログラマー

:Tezro: :Tezro: :Onyx2R: :Onyx2RE: :Onyx2: :O3x04R: :O3x0: :O200: :Octane: :Octane2: :O2: :O2: :Indigo2IMP: :PI: :PI: :1600SW: :1600SW: :Indy: :Indy: :Indy: :Indy: :Indy:
:hpserv: J5600, 2 x Mac, 3 x SUN, Alpha DS20E, Alpha 800 5/550, 3 x RS/6000, Amiga 4000 VideoToaster, Amiga4000 -030, 733MHz Sam440 AmigaOS 4.1 update 1.

Sold: :Indy: :Indy: :Indy: :Indigo: Tandem Himalaya S-Series Nonstop S72000 ServerNet.

Twitter @PymbleSoftware
Current Apps (iOS) -> https://itunes.apple.com/au/artist/pymb ... d553990081
(Android) https://play.google.com/store/apps/deve ... +Ltd&hl=en
(Onyx2) Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
(0300s) Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware


Return to “Sun”

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests