[reportlab-users] Setup failure on OS 10.6

Kevin D Smith Kevin.Smith at sixquickrun.com
Fri Jan 22 10:09:45 EST 2010


I have had a lot of trouble with Python extensions on OS X 10.6 in general. A lot of it has to do with the switch to 64 bits. Changing your CC environment variable helps in some cases, other times I have had to change the ARCHFLAGS environment variable to something like '-arch i386 -arch x86_64' or just '-arch x86_64' depending on how other libraries in the system were compiled.

On Jan 22, 2010, at 8:13 AM, Markus Kemmerling wrote:


> Did you install the 10.6 developer tools with OS 10.4 support? These are not installed by default.

>

> You might also have to pin the gcc version before installing reportlab:

>

> export CC=/usr/bin/gcc-4.0

>

> at least if you upgraded from to OS 10.6 and did not do a fresh install.

>

> I'm just guessing, I didn't install reportlab 2.4 yet.

>

> Best regards,

> Markus Kemmerling

>

> Am 22.01.2010 um 14:58 schrieb Robin Becker:

>

>>> Subject: FYI

>>> Date: Fri, 22 Jan 2010 14:39:48 +0100

>>> From: Floris van Manen <vm at klankschap.nl>

>>> To: enquiries at reportlab.com

>>>

>>> L.S.

>>>

>>> Just for your information, to let you know that the recent reportlab 2.4 will not install on OSX 10.6.2 SL

>>>

>>> best regards

>>> Floris van Manen

>>>

>>>

>>

>> Thanks for your email, we did manage to run the setup in an absolutely standard way on our 10.5 box, but it's probable that because we've used it for development that we've installed various SDK's from Apple. I'm almost sure we didn't have to pay for those, but I don't remember much about the original install of that machine.

>>

>> Looking at your output the message

>>

>> "Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.4u.sdk"

>>

>> would seem to indicate that python+distutils is trying to use something that's missing. My googling might indicate that an xcode install or something is missing. It's funny that 10.6 is talking about 10.4u.sdk though.

>>

>>

>> I'm copying this to our user list to see if there are any Mac users who might be more Apple friendly/aware than I am. If all else fails you can try the mac specific groups/sigs

>>

>> eg

>>

>> http://www.python.org/sigs/pythonmac-sig/

>> http://homepages.cwi.nl/~jack/macpython/community.html

>> http://www.pythonmac.org/

>>

>>>

>>> $python setup.py install

>>> ################################################

>>> #Attempting install of _rl_accel, sgmlop & pyHnj

>>> #extensions from '/Users/vm/Downloads/ReportLab_2_4/src/rl_addons/rl_accel'

>>> ################################################

>>> ################################################

>>> #Attempting install of _renderPM

>>> #extensions from '/Users/vm/Downloads/ReportLab_2_4/src/rl_addons/renderPM'

>>> # installing with freetype version 21

>>> ################################################

>>> Standard T1 font curves already downloaded

>>> running install

>>> running build

>>> running build_py

>>> copying src/reportlab/lib/hyphen.mashed -> build/lib.macosx-10.3-fat-2.6/reportlab/lib

>>> running build_ext

>>> building '_rl_accel' extension

>>> Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.4u.sdk

>>> Please check your Xcode installation

>>> gcc-4.0 -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g -bundle -undefined dynamic_lookup build/temp.macosx-10.3-fat-2.6/Users/vm/Downloads/ReportLab_2_4/src/rl_addons/rl_accel/_rl_accel.o -o build/lib.macosx-10.3-fat-2.6/_rl_accel.so

>>> ld: library not found for -lbundle1.o

>>> collect2: ld returned 1 exit status

>>> ld: library not found for -lbundle1.o

>>> collect2: ld returned 1 exit status

>>> lipo: can't open input file: /var/folders/8k/8kMnR8La2RaKoE+BYusq3++++TI/-Tmp-//cc7IRPSx.out (No such file or directory)

>>> error: command 'gcc-4.0' failed with exit status 1

>>> $

>>>

>>>

>>>

>>

>> --

>> Robin Becker

>> _______________________________________________

>> reportlab-users mailing list

>> reportlab-users at lists2.reportlab.com

>> http://two.pairlist.net/mailman/listinfo/reportlab-users

>

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at lists2.reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users


Kevin D Smith
Kevin.Smith at sixquickrun.com





More information about the reportlab-users mailing list