[opensource-dev] LL Windows Boost prebuilt not API-conformant? (was: Review Request: OPEN-67: make LLDirIterator implementation compatible to boost::filesystem v3 (as found in Boost 1.44 and newer))

2011-07-24 Thread Boroondas Gupte
On 07/23/2011 06:53 PM, Nicky Perian wrote:
> https://bitbucket.org/lindenlab/viewer-development/changeset/a0b400b5ff0e/
> The comments in this changeset describe the windows build / link
> issues for this CR.

Hmm ... interesting. Thanks for investigating this. Alone from the Boost
API documentation, I wouldn't have been able to find the cause of the
undefined symbols errors you're seeing, I guess.

>From Nat's comment
:
> While there is a boost::filesystem::path::string() call [...],
> invoking that [...] produces unresolved externals for
> boost::filesystem::path conversion machinery even though we can
> resolve other boost::filesystem symbols. Possibly those conversion
> routines aren't being built for Linden's Boost package.

Does that mean that LL's prebuilt windows binary for the Boost library
doesn't conform to the API set by the headers it ships with? Both const
std::string string() const

and const std::string generic_string() const

are declared in
build-windows/packages/include/boost/filesystem/v3/path.hpp for windows.

Is that somehow related to the compile flag mismatch mentioned in
changeset 740d8b8e509f
?

If the lib binary indeed deviates from the API, shouldn't we try to fix
the binary rather than hacking around these problems in the calling
viewer code?

Cheers,
Boroondas
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] LL Windows Boost prebuilt not API-conformant? (was: Review Request: OPEN-67: make LLDirIterator implementation compatible to boost::filesystem v3 (as found in Boost 1.44 and newer

2011-07-24 Thread Nat Goodspeed
On Jul 24, 2011, at 6:49 AM, Boroondas Gupte  wrote:

> Is that somehow related to the compile flag mismatch mentioned in changeset 
> 740d8b8e509f?
> 
> If the lib binary indeed deviates from the API, shouldn't we try to fix the 
> binary rather than hacking around these problems in the calling viewer code?

If I'm correct about that problem, then yes, the "right" fix would be to 
repackage our Boost library tarball, at least for Windows. Had I been writing 
viewer code, I would have tried that.

This particular bit of code was to add tests, and I was trying to get it done 
fairly quickly as my schedule window was closing. I was unaware that this 
problem was biting anyone else; indeed I assumed that if it had, it would 
already have been fixed.

May I recommend filing a Jira explaining the link errors you're encountering, 
along with the Boost mailing-list link and the cited Microsoft page?___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] LL Windows Boost prebuilt not API-conformant?

2011-07-24 Thread Boroondas Gupte
On 07/24/2011 01:35 PM, Nat Goodspeed wrote:
> I was unaware that this problem was biting anyone else; indeed I
> assumed that if it had, it would already have been fixed.
>
> May I recommend filing a Jira explaining the link errors you're
> encountering, along with the Boost mailing-list link and the cited
> Microsoft page?

The current viewer-development code isn't having this issue, only my
proposed fix for OPEN-67 
(being reviewed at https://codereview.secondlife.com/r/313/) will
exhibit it. As I build on Linux only, I didn't observe the problem
myself. NickyP made me aware of it in his review.

Cheers,
Boroondas
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

[opensource-dev] Python broken on Lion - autobuild doesn't work

2011-07-24 Thread Laurent Bechir

Hello,

I've just upgraded to Lion and python seems to be broken. I can't use either 
autobuild and git. :

autobuild
Traceback (most recent call last):
  File "/usr/local/bin/autobuild", line 5, in 
from pkg_resources import load_entry_point
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
 line 2603, in 
working_set.require(__requires__)
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
 line 666, in require
needed = self.resolve(parse_requirements(requirements))
  File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
 line 565, in resolve
raise DistributionNotFound(req)  # XXX put more info here
pkg_resources.DistributionNotFound: autobuild==0.8.5

And Xcode is suddenly half english, half eastern language...


Perhaps installing the new version of Xcode would solve the problem ? But I 
don't know if I can still build Second Life viewer with Xcode 4.1.

Thank you
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] Python broken on Lion - autobuild doesn't work

2011-07-24 Thread WolfPup Lowenhar
It looks like your trying to use python 2.7 there maybe be an issue when
autobuild is trying to run. I would suggest removing 2.7 and try it with 2.6
instead.

> -Original Message-
> From: opensource-dev-boun...@lists.secondlife.com [mailto:opensource-dev-
> boun...@lists.secondlife.com] On Behalf Of Laurent Bechir
> Sent: Sunday, July 24, 2011 9:13 AM
> To: Viewer
> Subject: [opensource-dev] Python broken on Lion - autobuild doesn't work
> 
> 
> Hello,
> 
> I've just upgraded to Lion and python seems to be broken. I can't use
either
> autobuild and git. :
> 
> autobuild
> Traceback (most recent call last):
>   File "/usr/local/bin/autobuild", line 5, in 
> from pkg_resources import load_entry_point
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/pyth
> on/pkg_resources.py", line 2603, in 
> working_set.require(__requires__)
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/pyth
> on/pkg_resources.py", line 666, in require
> needed = self.resolve(parse_requirements(requirements))
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/pyth
> on/pkg_resources.py", line 565, in resolve
> raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: autobuild==0.8.5
> 
> And Xcode is suddenly half english, half eastern language...
> 
> 
> Perhaps installing the new version of Xcode would solve the problem ? But
I
> don't know if I can still build Second Life viewer with Xcode 4.1.
> 
> Thank you
> ___
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/OpenSource-Dev
> Please read the policies before posting to keep unmoderated posting
> privileges
> -
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1390 / Virus Database: 1518/3785 - Release Date: 07/24/11

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


[opensource-dev] Pervious Version Archive?

2011-07-24 Thread Bunny Halberd
Hello!

Does anyone know if there's a place where the older viewer are
archived and still available for download?

I searched the Wiki and found this:
http://wiki.secondlife.com/wiki/Old_Viewer_versions  ...but it stops
around 2.2. I'm looking for something in the 2.7 line that's older
than 2.7.5.

Thanks!

- Bunny
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] Pervious Version Archive?

2011-07-24 Thread Boroondas Gupte
On 07/24/2011 06:06 PM, Bunny Halberd wrote:
> Does anyone know if there's a place where the older viewer are
> archived and still available for download?
>
> I searched the Wiki and found this:
> http://wiki.secondlife.com/wiki/Old_Viewer_versions  ...but it stops
> around 2.2. I'm looking for something in the 2.7 line that's older
> than 2.7.5.
The release notes page for each version usually has links to
corresponding downloads. All release notes pages should all be in
category Release Notes .
The link to 2.7.4 can also still be found on Supported Viewers > SL
Viewer Downloads  > Channel: Second Life Release
.

Cheers,
Boroondas
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Pervious Version Archive?

2011-07-24 Thread Bunny Halberd
On Sun, Jul 24, 2011 at 11:48 AM, Boroondas Gupte
 wrote:

> The release notes page for each version usually has links to corresponding
> downloads. All release notes pages should all be in category Release Notes.
> The link to 2.7.4 can also still be found on Supported Viewers > SL Viewer
> Downloads  > Channel: Second Life Release.

Ah, thank you! I knew I had seen that before but couldn't remember where.

- Bunny
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Python broken on Lion - autobuild doesn't work

2011-07-24 Thread Stone Linden
On Sun, Jul 24, 2011 at 6:13 AM, Laurent Bechir
wrote:

>
> Hello,
>
> I've just upgraded to Lion and python seems to be broken. I can't use
> either autobuild and git. :
>
> autobuild
> Traceback (most recent call last):
>  File "/usr/local/bin/autobuild", line 5, in 
>from pkg_resources import load_entry_point
>  File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
> line 2603, in 
>working_set.require(__requires__)
>  File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
> line 666, in require
>needed = self.resolve(parse_requirements(requirements))
>  File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
> line 565, in resolve
>raise DistributionNotFound(req)  # XXX put more info here
> pkg_resources.DistributionNotFound: autobuild==0.8.5
>
>
Did you easy_install autobuild under Snow Leopard? Try easy_install-ing it
again; the autobuild components were probably installed under the Python 2.6
search paths and so cannot be found under the 2.7 search paths.


> And Xcode is suddenly half english, half eastern language...
>
>
> Perhaps installing the new version of Xcode would solve the problem ? But I
> don't know if I can still build Second Life viewer with Xcode 4.1.
>


We continue to use Xcode 3.2 at LL and haven't started testing under 4.1 or
4.2 yet. You're welcome to try, but you'll be on your own!

Cheers,
Stone
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges

Re: [opensource-dev] Python broken on Lion - autobuild doesn't work

2011-07-24 Thread Sythos
On Sun, 24 Jul 2011 15:13:14 +0200
Laurent Bechir  wrote:

> 
> Hello,
> 
> I've just upgraded to Lion and python seems to be broken. I can't use
> either autobuild and git. :
> 
> autobuild
> Traceback (most recent call last):
>   File "/usr/local/bin/autobuild", line 5, in 
> from pkg_resources import load_entry_point
>   File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
> line 2603, in  working_set.require(__requires__) File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
> line 666, in require needed = self.resolve(parse_requirements
> (requirements)) File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py",
> line 565, in resolve raise DistributionNotFound(req)  # XXX put more
> info here pkg_resources.DistributionNotFound: autobuild==0.8.5
> 
> And Xcode is suddenly half english, half eastern language...
> 
> 
> Perhaps installing the new version of Xcode would solve the problem ?
> But I don't know if I can still build Second Life viewer with Xcode
> 4.1.

Lion is shipped with Pythn2.7, you need to install "by hand" from
python homepage 2.6 package for macosx and modify your autobuild script
(text editor) changing first line from trailing "python" to "python-2.6"
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] Python broken on Lion - autobuild doesn't work

2011-07-24 Thread Katharine Berry
On Jul 24, 2011, at 2:16 PM, Altair Sythos Memo wrote:
> Lion is shipped with Pythn2.7, you need to install "by hand" from
> python homepage 2.6 package for macosx and modify your autobuild script
> (text editor) changing first line from trailing "python" to "python-2.6"


Not true; Lion comes with 2.5, 2.6 and 2.7 preinstalled.

I'd recommend simply trying to easy_install autobuild again; changing python 
versions will require you to reinstall all your packages. Failing that, you can 
do this to universally switch back to 2.6 (unless you invoke python2.5, 
python2.6 or python2.7):

defaults write com.apple.versioner.python Version 2.6

As for fixing Xcode, I believe that only Xcode 4 is fully supported under Lion; 
good luck.

– Katharine Berry

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


Re: [opensource-dev] Python broken on Lion - autobuild doesn't work

2011-07-24 Thread Laurent Bechir

Le 24 juil. 2011 à 20:37, Katharine Berry a écrit :

> On Jul 24, 2011, at 2:16 PM, Altair Sythos Memo wrote:
>> Lion is shipped with Pythn2.7, you need to install "by hand" from
>> python homepage 2.6 package for macosx and modify your autobuild script
>> (text editor) changing first line from trailing "python" to "python-2.6"
> 
> 
> Not true; Lion comes with 2.5, 2.6 and 2.7 preinstalled.
> 
> I'd recommend simply trying to easy_install autobuild again; changing python 
> versions will require you to reinstall all your packages. Failing that, you 
> can do this to universally switch back to 2.6 (unless you invoke python2.5, 
> python2.6 or python2.7):
> 
> defaults write com.apple.versioner.python Version 2.6

I've removed autobuild in /usr/local/bin and set up the path to the one I had 
took from Second Life repository. It seems to work, now the problem comes from 
Xcode, CMAKE_MAKE_PROGRAM being not set. But I guess it is because XCode 3.2.x 
is not supported anymore with Lion.


> 
> As for fixing Xcode, I believe that only Xcode 4 is fully supported under 
> Lion; good luck.
> 
> – Katharine Berry
> 

Yes, only XCode 4 is supported on Lion. It's not possible anymore to install 
3.x versions. So I'll keep my fingers crossed and install it hoping it will 
work.
___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges


[opensource-dev] PAGEING ALL MAC Devs!!!!!!!!!!

2011-07-24 Thread WolfPup Lowenhar
Please refer to https://jira.secondlife.com/browse/OPEN-105 .I need a Mac
dev to help with getting this buildable for Mac. Please let me know if you
can help and also work for the tip of my repository listed in the JIRA.

___
Policies and (un)subscribe information available here:
http://wiki.secondlife.com/wiki/OpenSource-Dev
Please read the policies before posting to keep unmoderated posting privileges