Can't run installers or buildout on Snow Leopard

11 messages Options
Embed this post
Permalink
matt_fisher () Can't run installers or buildout on Snow Leopard
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
I'm getting this error in /tmp/install.log when using the Mac OS X installer to try to install a new Plone 3.3.1

>./install.sh: /Applications/Plone/Python-2.4/bin/easy_install: /Applications/Plone/Python-2.4/bin/python: bad interpreter: Bad CPU type in executable

I get same when trying to rerun buildout on existing installs.
Depending on the site, I either get the Bad interpreter error above or
>cc1: error: unrecognized command line option "-Wno-long-double"
>error: Setup script exited with error: command 'gcc' failed with exit status 1

I can install and run Plone 4 fine, which leads me to think the problem is with Snow Leopard's 32 vs. 64 bit python config.
Seems pretty obvious it's not a Plone error, rather a problem at a lower level in my Mac environment.

By now, I've reinstalled XCode, python 2.4.6, readline, and gcc, and tried running buildout in & out of a virtualenv.  No effect.

I'm running:
fink 0.9
gcc i686-apple-darwin10-gcc-4.2.1
python Python 2.4.6
XCode 3.2.1
on Mac Book Pro Intel Core Duo running 10.6

I've tried following the instructions here:

But patch hangs when running Florian Schulze's patch and 
>CC="gcc -I/sw/include -L/sw/lib" ./configure MACOSX_DEPLOYMENT_TARGET=10.6 --disable-tk --prefix=$HOME/opt/Python-2.4.6
returns 
>CC=gcc -I/sw/include -L/sw/lib: Command not found

Also tried running Florian Schulze's workaround buildout referenced at the page above, but ./bin/buildout fails at
>checking whether the C compiler works... configure: error: cannot run C compiled programs.
while installing readline

Seems like gcc isn't really installed properly..? Any advice? 

Thanks very much in advance, 
Matt Fisher



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Steve McMahon-2 () Re: Can't run installers or buildout on Snow Leopard
Reply Threaded More More options
Print post
Permalink
Have you checked to make absolutely sure you're running the Snow Leopard version of the installer? There are now two OS X installers, as I wasn't able to figure out how to get the same one to work for Leopard and Snow Leopard.

2009/11/4 Matt Fisher <[hidden email]>
I'm getting this error in /tmp/install.log when using the Mac OS X installer to try to install a new Plone 3.3.1

>./install.sh: /Applications/Plone/Python-2.4/bin/easy_install: /Applications/Plone/Python-2.4/bin/python: bad interpreter: Bad CPU type in executable

I get same when trying to rerun buildout on existing installs.
Depending on the site, I either get the Bad interpreter error above or
>cc1: error: unrecognized command line option "-Wno-long-double"
>error: Setup script exited with error: command 'gcc' failed with exit status 1

I can install and run Plone 4 fine, which leads me to think the problem is with Snow Leopard's 32 vs. 64 bit python config.
Seems pretty obvious it's not a Plone error, rather a problem at a lower level in my Mac environment.

By now, I've reinstalled XCode, python 2.4.6, readline, and gcc, and tried running buildout in & out of a virtualenv.  No effect.

I'm running:
fink 0.9
gcc i686-apple-darwin10-gcc-4.2.1
python Python 2.4.6
XCode 3.2.1
on Mac Book Pro Intel Core Duo running 10.6

I've tried following the instructions here:

But patch hangs when running Florian Schulze's patch and 
>CC="gcc -I/sw/include -L/sw/lib" ./configure MACOSX_DEPLOYMENT_TARGET=10.6 --disable-tk --prefix=$HOME/opt/Python-2.4.6
returns 
>CC=gcc -I/sw/include -L/sw/lib: Command not found

Also tried running Florian Schulze's workaround buildout referenced at the page above, but ./bin/buildout fails at
>checking whether the C compiler works... configure: error: cannot run C compiled programs.
while installing readline

Seems like gcc isn't really installed properly..? Any advice? 

Thanks very much in advance, 
Matt Fisher



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
matt_fisher () Re: Can't run installers or buildout on Snow Leopard
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Thanks for the reply, Steve.

Pretty sure... the filename is Plone-3.3.1-SnowLeopard.dmg :)

I'm fairly certain it's not the installer's fault, rather some weird thing I and/or Snow Leopard have done. If I understand correctly, the kinds of errors I'm seeing refer to generic, low-ish level components, not specifically to Plone's installer.

And, it seems to happen regardless of whether I use the Mac or Unified installer or paster/buildout.

I generally avoid futzing with my system libraries aside from the very occasional macports install, and the only major thing I've done recently is upgrade to 10.6, so I figure that has to be related. I've never had this kind of issue with Plone/Zope install in the last five years...

My guess it that it's related to 32 v 64 bit architecture on the older Intel MBPs, though it's a barely-informed hunch. I'm running a Core Duo MBP, which wants to boot into EFI32, and I thought editing my com.apple.Boot.plist to enforce 64-bit boot might help (some people have posted as much), but so far no luck. I'm assuming the people with newer (Core 2 Duo+) laptops running 64-bit natively aren't seeing this problem.....

Figure there are enough Mac developers on this list that somebody might have already solved this headache.  I'd happily downgrade back to 10.5.x if that solves the problem...

-Matt


On Nov 4, 2009, at 5:58 PM, Steve McMahon wrote:

Have you checked to make absolutely sure you're running the Snow Leopard version of the installer? There are now two OS X installers, as I wasn't able to figure out how to get the same one to work for Leopard and Snow Leopard.

2009/11/4 Matt Fisher <[hidden email]>
I'm getting this error in /tmp/install.log when using the Mac OS X installer to try to install a new Plone 3.3.1

>./install.sh: /Applications/Plone/Python-2.4/bin/easy_install: /Applications/Plone/Python-2.4/bin/python: bad interpreter: Bad CPU type in executable

I get same when trying to rerun buildout on existing installs.
Depending on the site, I either get the Bad interpreter error above or
>cc1: error: unrecognized command line option "-Wno-long-double"
>error: Setup script exited with error: command 'gcc' failed with exit status 1

I can install and run Plone 4 fine, which leads me to think the problem is with Snow Leopard's 32 vs. 64 bit python config.
Seems pretty obvious it's not a Plone error, rather a problem at a lower level in my Mac environment.

By now, I've reinstalled XCode, python 2.4.6, readline, and gcc, and tried running buildout in & out of a virtualenv.  No effect.

I'm running:
fink 0.9
gcc i686-apple-darwin10-gcc-4.2.1
python Python 2.4.6
XCode 3.2.1
on Mac Book Pro Intel Core Duo running 10.6

I've tried following the instructions here:

But patch hangs when running Florian Schulze's patch and 
>CC="gcc -I/sw/include -L/sw/lib" ./configure MACOSX_DEPLOYMENT_TARGET=10.6 --disable-tk --prefix=$HOME/opt/Python-2.4.6
returns 
>CC=gcc -I/sw/include -L/sw/lib: Command not found

Also tried running Florian Schulze's workaround buildout referenced at the page above, but ./bin/buildout fails at
>checking whether the C compiler works... configure: error: cannot run C compiled programs.
while installing readline

Seems like gcc isn't really installed properly..? Any advice? 

Thanks very much in advance, 
Matt Fisher



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Takeshi Yamamoto () Re: Can't run installers or buildout on Snow Leopard
Reply Threaded More More options
Print post
Permalink
In reply to this post by Steve McMahon-2
I had a same problem on snow leopard.

My MacBook is also using Core Duo (32-bit CPU) and NOT Core 2 Duo.

Usually, I set the following line in .bash_profile to set environment  
valuable.
export ARCHFLAGS="-arch i386"

You will see following line when you issue the printenv command.
ARCHFLAGS=-arch i386

Most of the compiling will be Okay with this setup, but still Python  
installation fails within Plone 3.3.1 Mac installer.

Finally, I could installed Plone 3.3.1 with Unified Installer on to my  
MacBook, not with OSX installer.

Thanks.
Takeshi Yamamoto

On Nov 5, 2009, at 7:58 AM, Steve McMahon wrote:

> Have you checked to make absolutely sure you're running the Snow  
> Leopard version of the installer? There are now two OS X installers,  
> as I wasn't able to figure out how to get the same one to work for  
> Leopard and Snow Leopard.
>
> 2009/11/4 Matt Fisher <[hidden email]>
> I'm getting this error in /tmp/install.log when using the Mac OS X  
> installer to try to install a new Plone 3.3.1
>
> >./install.sh: /Applications/Plone/Python-2.4/bin/easy_install: /
> Applications/Plone/Python-2.4/bin/python: bad interpreter: Bad CPU  
> type in executable
>
> I get same when trying to rerun buildout on existing installs.
> Depending on the site, I either get the Bad interpreter error above or
> >cc1: error: unrecognized command line option "-Wno-long-double"
> >error: Setup script exited with error: command 'gcc' failed with  
> exit status 1
>
> I can install and run Plone 4 fine, which leads me to think the  
> problem is with Snow Leopard's 32 vs. 64 bit python config.
> Seems pretty obvious it's not a Plone error, rather a problem at a  
> lower level in my Mac environment.
>
> By now, I've reinstalled XCode, python 2.4.6, readline, and gcc, and  
> tried running buildout in & out of a virtualenv.  No effect.
>
> I'm running:
> fink 0.9
> gcc i686-apple-darwin10-gcc-4.2.1
> python Python 2.4.6
> XCode 3.2.1
> on Mac Book Pro Intel Core Duo running 10.6
>
> I've tried following the instructions here:
> http://plope.com/Members/chrism/compiling_24_snowleopard
>
> But patch hangs when running Florian Schulze's patch and
> >CC="gcc -I/sw/include -L/sw/lib" ./configure  
> MACOSX_DEPLOYMENT_TARGET=10.6 --disable-tk --prefix=$HOME/opt/
> Python-2.4.6
> returns
> >CC=gcc -I/sw/include -L/sw/lib: Command not found
>
> Also tried running Florian Schulze's workaround buildout referenced  
> at the page above, but ./bin/buildout fails at
> >checking whether the C compiler works... configure: error: cannot  
> run C compiled programs.
> while installing readline
>
> Seems like gcc isn't really installed properly..? Any advice?
>
> Thanks very much in advance,
> Matt Fisher
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Plone-Users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
> Plone-Users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/plone-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Luca-7 () Re: Can't run installers or buildout on Snow Leopard
Reply Threaded More More options
Print post
Permalink
I've the same problems... I found that can be related to
-Wno-long-double parameter. Problem can be related to a buggy GCC
version.
I've updated the gcc of the system using macports but someway my
buildout continue to use the old one...

I looked at this:
http://www.opensubscriber.com/message/lilypond-devel@.../11116744.html


On Thu, Nov 5, 2009 at 5:29 AM, Takeshi Yamamoto <[hidden email]> wrote:

> I had a same problem on snow leopard.
>
> My MacBook is also using Core Duo (32-bit CPU) and NOT Core 2 Duo.
>
> Usually, I set the following line in .bash_profile to set environment
> valuable.
> export ARCHFLAGS="-arch i386"
>
> You will see following line when you issue the printenv command.
> ARCHFLAGS=-arch i386
>
> Most of the compiling will be Okay with this setup, but still Python
> installation fails within Plone 3.3.1 Mac installer.
>
> Finally, I could installed Plone 3.3.1 with Unified Installer on to my
> MacBook, not with OSX installer.
>
> Thanks.
> Takeshi Yamamoto
>
> On Nov 5, 2009, at 7:58 AM, Steve McMahon wrote:
>
>> Have you checked to make absolutely sure you're running the Snow
>> Leopard version of the installer? There are now two OS X installers,
>> as I wasn't able to figure out how to get the same one to work for
>> Leopard and Snow Leopard.
>>
>> 2009/11/4 Matt Fisher <[hidden email]>
>> I'm getting this error in /tmp/install.log when using the Mac OS X
>> installer to try to install a new Plone 3.3.1
>>
>> >./install.sh: /Applications/Plone/Python-2.4/bin/easy_install: /
>> Applications/Plone/Python-2.4/bin/python: bad interpreter: Bad CPU
>> type in executable
>>
>> I get same when trying to rerun buildout on existing installs.
>> Depending on the site, I either get the Bad interpreter error above or
>> >cc1: error: unrecognized command line option "-Wno-long-double"
>> >error: Setup script exited with error: command 'gcc' failed with
>> exit status 1
>>
>> I can install and run Plone 4 fine, which leads me to think the
>> problem is with Snow Leopard's 32 vs. 64 bit python config.
>> Seems pretty obvious it's not a Plone error, rather a problem at a
>> lower level in my Mac environment.
>>
>> By now, I've reinstalled XCode, python 2.4.6, readline, and gcc, and
>> tried running buildout in & out of a virtualenv.  No effect.
>>
>> I'm running:
>> fink 0.9
>> gcc i686-apple-darwin10-gcc-4.2.1
>> python Python 2.4.6
>> XCode 3.2.1
>> on Mac Book Pro Intel Core Duo running 10.6
>>
>> I've tried following the instructions here:
>> http://plope.com/Members/chrism/compiling_24_snowleopard
>>
>> But patch hangs when running Florian Schulze's patch and
>> >CC="gcc -I/sw/include -L/sw/lib" ./configure
>> MACOSX_DEPLOYMENT_TARGET=10.6 --disable-tk --prefix=$HOME/opt/
>> Python-2.4.6
>> returns
>> >CC=gcc -I/sw/include -L/sw/lib: Command not found
>>
>> Also tried running Florian Schulze's workaround buildout referenced
>> at the page above, but ./bin/buildout fails at
>> >checking whether the C compiler works... configure: error: cannot
>> run C compiled programs.
>> while installing readline
>>
>> Seems like gcc isn't really installed properly..? Any advice?
>>
>> Thanks very much in advance,
>> Matt Fisher
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> Plone-Users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/plone-users
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and
>> focus on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
>> Plone-Users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/plone-users
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Plone-Users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/plone-users
>



--
-- luca

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
matt_fisher () Re: Can't run installers or buildout on Snow Leopard
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Thx gents, though these fixes don't seem to be helping me. Same errors as before, and I even just installed gcc 4.4. 

Sniffing around online, there seems to be no shortage of Snow Leopard gcc complaints, but I haven't seen signs of either a surefire fix or a comprehensive diagnostic method.

It's far enough from things that I understand that I'm thinking the next step is a downgrade back to Leopard, though I'm curious whether:

-there's anybody running a Core 2 Duo Mac & Snow Leopard  or
-there's anybody on Leopard running any kind of processor 

who's having these problems?

Matt


On Nov 5, 2009, at 4:34 AM, Luca wrote:

I've the same problems... I found that can be related to
-Wno-long-double parameter. Problem can be related to a buggy GCC
version.
I've updated the gcc of the system using macports but someway my
buildout continue to use the old one...

I looked at this:
http://www.opensubscriber.com/message/lilypond-devel@.../11116744.html


On Thu, Nov 5, 2009 at 5:29 AM, Takeshi Yamamoto <[hidden email]> wrote:
I had a same problem on snow leopard.

My MacBook is also using Core Duo (32-bit CPU) and NOT Core 2 Duo.

Usually, I set the following line in .bash_profile to set environment
valuable.
export ARCHFLAGS="-arch i386"

You will see following line when you issue the printenv command.
ARCHFLAGS=-arch i386

Most of the compiling will be Okay with this setup, but still Python
installation fails within Plone 3.3.1 Mac installer.

Finally, I could installed Plone 3.3.1 with Unified Installer on to my
MacBook, not with OSX installer.

Thanks.
Takeshi Yamamoto

On Nov 5, 2009, at 7:58 AM, Steve McMahon wrote:

Have you checked to make absolutely sure you're running the Snow
Leopard version of the installer? There are now two OS X installers,
as I wasn't able to figure out how to get the same one to work for
Leopard and Snow Leopard.

2009/11/4 Matt Fisher <[hidden email]>
I'm getting this error in /tmp/install.log when using the Mac OS X
installer to try to install a new Plone 3.3.1

./install.sh: /Applications/Plone/Python-2.4/bin/easy_install: /
Applications/Plone/Python-2.4/bin/python: bad interpreter: Bad CPU
type in executable

I get same when trying to rerun buildout on existing installs.
Depending on the site, I either get the Bad interpreter error above or
cc1: error: unrecognized command line option "-Wno-long-double"
error: Setup script exited with error: command 'gcc' failed with
exit status 1

I can install and run Plone 4 fine, which leads me to think the
problem is with Snow Leopard's 32 vs. 64 bit python config.
Seems pretty obvious it's not a Plone error, rather a problem at a
lower level in my Mac environment.

By now, I've reinstalled XCode, python 2.4.6, readline, and gcc, and
tried running buildout in & out of a virtualenv.  No effect.

I'm running:
fink 0.9
gcc i686-apple-darwin10-gcc-4.2.1
python Python 2.4.6
XCode 3.2.1
on Mac Book Pro Intel Core Duo running 10.6

I've tried following the instructions here:
http://plope.com/Members/chrism/compiling_24_snowleopard

But patch hangs when running Florian Schulze's patch and
CC="gcc -I/sw/include -L/sw/lib" ./configure
MACOSX_DEPLOYMENT_TARGET=10.6 --disable-tk --prefix=$HOME/opt/
Python-2.4.6
returns
CC=gcc -I/sw/include -L/sw/lib: Command not found

Also tried running Florian Schulze's workaround buildout referenced
at the page above, but ./bin/buildout fails at
checking whether the C compiler works... configure: error: cannot
run C compiled programs.
while installing readline

Seems like gcc isn't really installed properly..? Any advice?

Thanks very much in advance,
Matt Fisher



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day
trial. Simplify your report design, integration and deployment - and
focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users




--
-- luca

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Steve McMahon-2 () Re: Can't run installers or buildout on Snow Leopard
Reply Threaded More More options
Print post
Permalink
In reply to this post by matt_fisher
If you're having trouble with the binary OS X installer, and you've used macports, make sure *all* your macports are updated. You may even wish to temporarily rename /opt/local for diagnostics. Otherwise, you can pick up old libraries and live in misery.

For the Unified Installer, something in a recent Snow Leopard update has broken it. I'm still tracking that down.

2009/11/4 Matt Fisher <[hidden email]>
Thanks for the reply, Steve.

Pretty sure... the filename is Plone-3.3.1-SnowLeopard.dmg :)

I'm fairly certain it's not the installer's fault, rather some weird thing I and/or Snow Leopard have done. If I understand correctly, the kinds of errors I'm seeing refer to generic, low-ish level components, not specifically to Plone's installer.

And, it seems to happen regardless of whether I use the Mac or Unified installer or paster/buildout.

I generally avoid futzing with my system libraries aside from the very occasional macports install, and the only major thing I've done recently is upgrade to 10.6, so I figure that has to be related. I've never had this kind of issue with Plone/Zope install in the last five years...

My guess it that it's related to 32 v 64 bit architecture on the older Intel MBPs, though it's a barely-informed hunch. I'm running a Core Duo MBP, which wants to boot into EFI32, and I thought editing my com.apple.Boot.plist to enforce 64-bit boot might help (some people have posted as much), but so far no luck. I'm assuming the people with newer (Core 2 Duo+) laptops running 64-bit natively aren't seeing this problem.....

Figure there are enough Mac developers on this list that somebody might have already solved this headache.  I'd happily downgrade back to 10.5.x if that solves the problem...

-Matt


On Nov 4, 2009, at 5:58 PM, Steve McMahon wrote:

Have you checked to make absolutely sure you're running the Snow Leopard version of the installer? There are now two OS X installers, as I wasn't able to figure out how to get the same one to work for Leopard and Snow Leopard.

2009/11/4 Matt Fisher <[hidden email]>
I'm getting this error in /tmp/install.log when using the Mac OS X installer to try to install a new Plone 3.3.1

>./install.sh: /Applications/Plone/Python-2.4/bin/easy_install: /Applications/Plone/Python-2.4/bin/python: bad interpreter: Bad CPU type in executable

I get same when trying to rerun buildout on existing installs.
Depending on the site, I either get the Bad interpreter error above or
>cc1: error: unrecognized command line option "-Wno-long-double"
>error: Setup script exited with error: command 'gcc' failed with exit status 1

I can install and run Plone 4 fine, which leads me to think the problem is with Snow Leopard's 32 vs. 64 bit python config.
Seems pretty obvious it's not a Plone error, rather a problem at a lower level in my Mac environment.

By now, I've reinstalled XCode, python 2.4.6, readline, and gcc, and tried running buildout in & out of a virtualenv.  No effect.

I'm running:
fink 0.9
gcc i686-apple-darwin10-gcc-4.2.1
python Python 2.4.6
XCode 3.2.1
on Mac Book Pro Intel Core Duo running 10.6

I've tried following the instructions here:

But patch hangs when running Florian Schulze's patch and 
>CC="gcc -I/sw/include -L/sw/lib" ./configure MACOSX_DEPLOYMENT_TARGET=10.6 --disable-tk --prefix=$HOME/opt/Python-2.4.6
returns 
>CC=gcc -I/sw/include -L/sw/lib: Command not found

Also tried running Florian Schulze's workaround buildout referenced at the page above, but ./bin/buildout fails at
>checking whether the C compiler works... configure: error: cannot run C compiled programs.
while installing readline

Seems like gcc isn't really installed properly..? Any advice? 

Thanks very much in advance, 
Matt Fisher



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Luca-7 () Re: Can't run installers or buildout on Snow Leopard
Reply Threaded More More options
Print post
Permalink
In reply to this post by matt_fisher
2009/11/5 Matt Fisher <[hidden email]>:
> Thx gents, though these fixes don't seem to be helping me. Same errors as
> before, and I even just installed gcc 4.4.

When you run the command who launch GCC, you see the new gcc running
or the old ones? I've this problem: I see running the old (gcc4.2)
even if my system GCC is now 4.3 or 4.4...

--
-- luca

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
matt_fisher () Re: Can't run installers or buildout on Snow Leopard
Reply Threaded More More options
Print post
Permalink
matt% gcc --version
gcc (GCC) 4.4.2

however

matt% python
Python 2.4.6 (#1, Nov  4 2009, 13:22:52)
[GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin

And maybe I'm way off base, but my guess is that if my python 2.4.6 is  
hardwired to a buggy version of gcc (4.2.1), wouldn't that account for  
many of the errors in this thread? But I'm not so conversant here, so  
maybe the cause is something else entirely. I don't know how to force  
python 2.4.6 to use the newer version of gcc...

-Matt


On Nov 6, 2009, at 3:30 AM, Luca wrote:

> 2009/11/5 Matt Fisher <[hidden email]>:
>> Thx gents, though these fixes don't seem to be helping me. Same  
>> errors as
>> before, and I even just installed gcc 4.4.
>
> When you run the command who launch GCC, you see the new gcc running
> or the old ones? I've this problem: I see running the old (gcc4.2)
> even if my system GCC is now 4.3 or 4.4...
>
> --
> -- luca


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Luca-7 () Re: Can't run installers or buildout on Snow Leopard
Reply Threaded More More options
Print post
Permalink
On Fri, Nov 6, 2009 at 3:43 PM, Matt Fisher <[hidden email]> wrote:

> matt% gcc --version
> gcc (GCC) 4.4.2
>
> however
>
> matt% python
> Python 2.4.6 (#1, Nov  4 2009, 13:22:52)
> [GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
>
> And maybe I'm way off base, but my guess is that if my python 2.4.6 is
> hardwired to a buggy version of gcc (4.2.1), wouldn't that account for
> many of the errors in this thread? But I'm not so conversant here, so
> maybe the cause is something else entirely. I don't know how to force
> python 2.4.6 to use the newer version of gcc...
>
> -Matt
>

You are right... I've the same problem.
Even removing my python taken from macport, then reinstalling it
(after switching system GCC to newer ones) I get the same python
environment:

Python 2.4.6 (#1, Nov  6 2009, 16:57:20)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin

I really begin to think to a downgrade...

--
-- luca

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users
Steve McMahon-2 () Re: Can't run installers or buildout on Snow Leopard
Reply Threaded More More options
Print post
Permalink
Some recent SL update broke the Unified Installer. I'm working on getting that fixed.

On Fri, Nov 6, 2009 at 8:01 AM, Luca <[hidden email]> wrote:
On Fri, Nov 6, 2009 at 3:43 PM, Matt Fisher <[hidden email]> wrote:
> matt% gcc --version
> gcc (GCC) 4.4.2
>
> however
>
> matt% python
> Python 2.4.6 (#1, Nov  4 2009, 13:22:52)
> [GCC 4.2.1 (Apple Inc. build 5646) (dot 1)] on darwin
>
> And maybe I'm way off base, but my guess is that if my python 2.4.6 is
> hardwired to a buggy version of gcc (4.2.1), wouldn't that account for
> many of the errors in this thread? But I'm not so conversant here, so
> maybe the cause is something else entirely. I don't know how to force
> python 2.4.6 to use the newer version of gcc...
>
> -Matt
>

You are right... I've the same problem.
Even removing my python taken from macport, then reinstalling it
(after switching system GCC to newer ones) I get the same python
environment:

Python 2.4.6 (#1, Nov  6 2009, 16:57:20)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin

I really begin to think to a downgrade...

--
-- luca

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users