Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Sat Aug 30, 2014 4:11 am

All times are UTC - 8 hours


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 4 posts ] 
Author Message
Unread postPosted: Wed May 25, 2011 2:48 am 
Offline
User avatar

Joined: Tue Jul 15, 2008 4:48 pm
Posts: 1887
Location: P.O. Box 121, Pymble, Sydney, NSW 2073, Australia.
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.

@PymbleSoftware
Current Apps -> https://itunes.apple.com/au/artist/pymb ... d553990081
Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware
Visit http://www.pymblesoftware.com
Search for "Pymble", "InstaElf", "CryWhy" or "Cricket Score Sheet" in the iPad App store or search for "Pymble" or "CryWhy" in the iPhone App store.


Top
 Profile  
 
Unread postPosted: Wed May 25, 2011 4:13 am 
Offline
User avatar

Joined: Wed Nov 14, 2007 11:43 am
Posts: 155
Location: 費府
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:
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:


Top
 Profile  
 
Unread postPosted: Wed May 25, 2011 4:24 am 
Offline
User avatar

Joined: Thu Aug 13, 2009 8:49 am
Posts: 59
Location: New Jersey, USA
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


Top
 Profile  
 
Unread postPosted: Wed May 25, 2011 3:48 pm 
Offline
User avatar

Joined: Tue Jul 15, 2008 4:48 pm
Posts: 1887
Location: P.O. Box 121, Pymble, Sydney, NSW 2073, Australia.
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:
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.

@PymbleSoftware
Current Apps -> https://itunes.apple.com/au/artist/pymb ... d553990081
Cortex ---> http://www.facebook.com/pages/Cortex-th ... 11?sk=info
Minnie ---> http://www.facebook.com/pages/Minnie-th ... 02?sk=info
Github ---> https://github.com/pymblesoftware
Visit http://www.pymblesoftware.com
Search for "Pymble", "InstaElf", "CryWhy" or "Cricket Score Sheet" in the iPad App store or search for "Pymble" or "CryWhy" in the iPhone App store.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group