Re: [Fink-users] build error in pip-py27 was Re: No such file or directory on update

2015-06-09 Thread Radek Szklarczyk
I guess I corrupted my python packages with pip install and only removing all 
packages and python2.7, reinstalling and rebuilding python27 (necessary step) 
recovered my setup.Thanks! 


 On Tuesday, June 9, 2015 3:15 AM, Daniel Johnson 
daniel.johnso...@gmail.com wrote:
   

 
 On Jun 8, 2015, at 12:28 PM, Alexander Hansen alexanderk.han...@gmail.com 
 wrote:
 
 
 On Jun 8, 2015, at 08:18, Radek Szklarczyk kedar...@yahoo.com wrote:
 
 So I thought maybe something is wrong with my packages. So I removed 
 python2.7 from my system (with —recursive option) and deleted 
 /sw/lib/python2.7/site-packages directory. Then I tried to install python 
 2.7, which seemingly was successful, till I try to run it… Where I see OS X 
 python 2.7.6 instead 2.7.10
 
 $ fink list python27
 Information about 11273 packages read in 1 seconds.
 i  python27        1:2.7.10-1  Interpreted, object-oriented language
 i  python27-shlibs  1:2.7.10-1  Interpreted, object-oriented language
 $ ls /sw/lib/python2.7/site-packages
 README
 $ python2.7 -V
 Python 2.7.6
 $ which python2.7
 /sw/bin/python2.7
 $ python2.7
 Python 2.7.6 (default, Sep  9 2014, 15:04:36)
 [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
 Type help, copyright, credits or license for more information.
 
 $ /sw/bin/python2.7
 Python 2.7.6 (default, Sep  9 2014, 15:04:36)
 [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
 Type help, copyright, credits or license for more information.
 
 $ echo $PATH
 /sw/bin:/sw/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/sw/lib/coreutils/bin:/Users/Radek/bin:/Users/Radek/Science/workspace/Main/radek/bin
 
 
 
 
 That could explain the problem with your builds.  If you used “fink install 
 python27” or “fink reinstall python27” to install python27 again, try using 
 “fink rebuild python27”.
 
 --
 Alexander Hansen, Ph.D.
 Fink User Liaison

Just a FYI; Radek is having almost the same issue trying to install 
pycparser-py27 except he’s getting “error: cannot copy tree 
‘build/scripts-2.7’: not a directory”, which is true since that directory 
shouldn’t exist but I don’t know why setuptools is trying to install a 
non-existing script when nothing in setup.py tells it to. Maybe 
setuptools-tng-py27 is corrupt?

Daniel


  --
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] GUI - start?

2015-06-09 Thread Alexander Hansen

 On Jun 9, 2015, at 16:31, Ben Abbott bpabb...@mac.com wrote:
 
 On Jun 9, 2015, at 7:06 PM, Alexander Hansen alexanderk.han...@gmail.com 
 wrote:
 
 On Jun 9, 2015, at 16:02, Sunil Shah ssha...@gmail.com wrote:
 
 Hi Alexander,  
 
 What is the plan to get octave 4.0. on fink? 
 
 Thanks,
 
 Sunil
 
 
 The last thing I heard was that it wouldn’t build with clang on 10.9 and 
 10.10, so that was “None”.
 
 
 Alex,
 
 I don’t think the Octave development community is as proficient in building 
 apps using clang on 10.9 as *you* ;-)
 
 Any chance you’ll take a look?
 
 Ben

I can try, yeah.  I’ve got some potential avenues to investigate.  Now, if only 
there were more hours in the day… 

:-)


-- 
Alexander Hansen, Ph.D.
Fink User Liaison

--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] GUI - start?

2015-06-09 Thread Sunil Shah
Hi Alexander,

What is the plan to get octave 4.0. on fink?

Thanks,

Sunil

On Thu, Jun 4, 2015 at 5:54 PM, Alexander Hansen 
alexanderk.han...@gmail.com wrote:


 On Jun 4, 2015, at 16:28, Ben Abbott bpabb...@mac.com wrote:

  On Jun 3, 2015, at 10:53 PM, Alexander Hansen 
 alexanderk.han...@gmail.com wrote:
 
  This isn't specific to fltk13-aqua.  Updating any package with a
 PkgInfo file fails on Yosemite.
 
  While we work out a solution, the workaround would be to remove
 fltk13-aqua and then install it, since the issue only is triggered when
 upgrading.
 
  I can't add it to the FAQ because my computer is in the shop.
 
  Sent from my iPod
 
  After I also had trouble updating, I did as suggested …
 
 fink remove fltk13-aqua
 fink install fltk13-aqua
 
  That worked without complaint. Which surprised me as I have octave-3.8.2
 installed and show-deps indicates fltk13-aqua.
 
  Ben

 Fortunately fltk13-aqua is a build-time dependency, and so it can be
 removed freely--as long as you're not actively building something that
 needs it.
--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] GUI - start?

2015-06-09 Thread Sunil Shah
Is octave 3.8.2 is the last official version for fink on the latest mac
osx?  Or, are you waiting for some other dependency to resolve the issue?

On Tue, Jun 9, 2015 at 4:06 PM, Alexander Hansen 
alexanderk.han...@gmail.com wrote:


  On Jun 9, 2015, at 16:02, Sunil Shah ssha...@gmail.com wrote:
 
  Hi Alexander,
 
  What is the plan to get octave 4.0. on fink?
 
  Thanks,
 
  Sunil
 

 The last thing I heard was that it wouldn’t build with clang on 10.9 and
 10.10, so that was “None”.

 --
 Alexander Hansen, Ph.D.
 Fink User Liaison


--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] GUI - start?

2015-06-09 Thread Ben Abbott
 On Jun 9, 2015, at 7:06 PM, Alexander Hansen alexanderk.han...@gmail.com 
 wrote:
 
 On Jun 9, 2015, at 16:02, Sunil Shah ssha...@gmail.com wrote:
 
 Hi Alexander,  
 
 What is the plan to get octave 4.0. on fink? 
 
 Thanks,
 
 Sunil
 
 
 The last thing I heard was that it wouldn’t build with clang on 10.9 and 
 10.10, so that was “None”.
 

Alex,

I don’t think the Octave development community is as proficient in building 
apps using clang on 10.9 as *you* ;-)

Any chance you’ll take a look?

Ben



--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] GUI - start?

2015-06-09 Thread Alexander Hansen

 On Jun 9, 2015, at 18:48, Sunil Shah ssha...@gmail.com wrote:
 
 I should have been careful in my statement about what worked for me.  
 
 I am trying to understand the problem you referred to about octave 4.0.0 not 
 building on clang++. 
 
 I have been quite impressed with the  performance of Octave code on Mac OSX 
 using fink.  My tests used octave382-atlas-qtmac  3.8.2-6.  It has also been 
 quite reliable.  
 
 The fact that the code works much faster on four year old hardware with a lot 
 fewer cpu cores and even after using the latest Ubuntu tools / libraries on 
 the high end Intel machines on EC2 is remarkable. 
 
 Apple does claim that its Accelerate framework is much faster than standard 
 BLAS / ATLAS. A lot of the improvements were part of 10.9 / 10.10 update (see 
 WWDC 2013-2014 videos).  I will check if the default octave performs faster 
 than the octave-atlas version.
 
 Now, as you imply in your last email,  if the default octave variant uses 
 clang already, what is the issue with octave 4.0.0 and clang++? Or is it a 
 new issue in octave 4.0.0 in moving from 3.8.2?
 
   

Almost everything in Fink uses clang/clang++ to build on 10.7 and later.  I 
don’t happen to have a transcript handy, but it’s a new issue in moving from 
3.8.2, and the issue is that Apple’s clang doesn’t like some of the source code 
and thus Octave can’t be built.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison


--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] GUI - start?

2015-06-09 Thread Alexander Hansen

 On Jun 9, 2015, at 17:44, Sunil Shah ssha...@gmail.com wrote:
 
 Octave 3.8.2.6 did build with the -dev version on OSX 10.10.3 (latest 
 production release) on fink 0.38.5 
 

There’s no -dev version.  -dev means “contains stuff used for development, but 
not needed at runtime”, like headers and the mkoctfile build tool.

 Most of my octave code runs faster on the octave 3.8.2.x  build on iMacs 
 (late 2011, 4 core intel) than on Octave 4.0.0  on Ubuntu 36 core fastest 
 Amazon AWS EC2 instance (c4.8xlarge with SSD and 60 GB RAM).

 If there is some way to use Clang and Apple's Accelerate framework (Apple 
 tuned BLAS / LAPACK/Vecor libs)  on Mac OSX, it may really work very well.  
 
 

That’s what the default “octave” variant uses, as opposed to octave-atlas or 
octave-ref, so that’s already been implemented for a very long time.  

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] GUI - start?

2015-06-09 Thread Sunil Shah
Octave 3.8.2.6 did build with the -dev version on OSX 10.10.3 (latest
production release) on fink 0.38.5

Most of my octave code runs faster on the octave 3.8.2.x  build on iMacs
(late 2011, 4 core intel) than on Octave 4.0.0  on Ubuntu 36 core fastest
Amazon AWS EC2 instance (c4.8xlarge with SSD and 60 GB RAM).

If there is some way to use Clang and Apple's Accelerate framework (Apple
tuned BLAS / LAPACK/Vecor libs)  on Mac OSX, it may really work very well.


On Tue, Jun 9, 2015 at 4:41 PM, Alexander Hansen 
alexanderk.han...@gmail.com wrote:


 On Jun 9, 2015, at 16:31, Ben Abbott bpabb...@mac.com wrote:

 On Jun 9, 2015, at 7:06 PM, Alexander Hansen alexanderk.han...@gmail.com
 wrote:

 On Jun 9, 2015, at 16:02, Sunil Shah ssha...@gmail.com wrote:

 Hi Alexander,

 What is the plan to get octave 4.0. on fink?

 Thanks,

 Sunil


 The last thing I heard was that it wouldn’t build with clang on 10.9 and
 10.10, so that was “None”.


 Alex,

 I don’t think the Octave development community is as proficient in
 building apps using clang on 10.9 as *you* ;-)

 Any chance you’ll take a look?

 Ben


 I can try, yeah.  I’ve got some potential avenues to investigate.  Now, if
 only there were more hours in the day…

 :-)


 --
 Alexander Hansen, Ph.D.
 Fink User Liaison


--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] GUI - start?

2015-06-09 Thread Sunil Shah
I should have been careful in my statement about what worked for me.

I am trying to understand the problem you referred to about octave 4.0.0
not building on clang++.

I have been quite impressed with the  performance of Octave code on Mac OSX
using fink.  My tests used octave382-atlas-qtmac  3.8.2-6.  It has also
been quite reliable.

The fact that the code works much faster on four year old hardware with a
lot fewer cpu cores and even after using the latest Ubuntu tools /
libraries on the high end Intel machines on EC2 is remarkable.

Apple does claim that its Accelerate framework is much faster than standard
BLAS / ATLAS. A lot of the improvements were part of 10.9 / 10.10 update
(see WWDC 2013-2014 videos).  I will check if the default octave performs
faster than the octave-atlas version.

Now, as you imply in your last email,  if the default octave variant uses
clang already, what is the issue with octave 4.0.0 and clang++? Or is it a
new issue in octave 4.0.0 in moving from 3.8.2?





On Tue, Jun 9, 2015 at 5:57 PM, Alexander Hansen 
alexanderk.han...@gmail.com wrote:


  On Jun 9, 2015, at 17:44, Sunil Shah ssha...@gmail.com wrote:
 
  Octave 3.8.2.6 did build with the -dev version on OSX 10.10.3 (latest
 production release) on fink 0.38.5
 

 There’s no -dev version.  -dev means “contains stuff used for development,
 but not needed at runtime”, like headers and the mkoctfile build tool.

  Most of my octave code runs faster on the octave 3.8.2.x  build on iMacs
 (late 2011, 4 core intel) than on Octave 4.0.0  on Ubuntu 36 core fastest
 Amazon AWS EC2 instance (c4.8xlarge with SSD and 60 GB RAM).
 
  If there is some way to use Clang and Apple's Accelerate framework
 (Apple tuned BLAS / LAPACK/Vecor libs)  on Mac OSX, it may really work very
 well.
 
 

 That’s what the default “octave” variant uses, as opposed to octave-atlas
 or octave-ref, so that’s already been implemented for a very long time.

 --
 Alexander Hansen, Ph.D.
 Fink User Liaison


--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] GUI - start?

2015-06-09 Thread Ben Abbott
 On Jun 9, 2015, at 9:48 PM, Sunil Shah ssha...@gmail.com wrote:
 
 Now, as you imply in your last email,  if the default octave variant uses 
 clang already, what is the issue with octave 4.0.0 and clang++? Or is it a 
 new issue in octave 4.0.0 in moving from 3.8.2?

Yes. The problem is that the 4.0.0 code isn’t compatible with Apple’s clang.

Ben--
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users