And just to confirm - having moved /Library/Frameworks/Python.framework out
of the way, both postgres 8.4 & 9.0 compile & install.
Thanks again,
Toby
On Wed, Jun 2, 2010 at 8:15 PM, Toby White <t...@timetric.com> wrote:
> Ah, sorry! I'd installed enthought's python distribution a while back &
> forgotten about it. I assumed /Library/Python was the system python.
>
> Thanks for that.
>
> Toby
>
>
> On Wed, Jun 2, 2010 at 8:11 PM, Benjamin Reed <rangerr...@befunk.com>wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 6/2/10 11:40 AM, Toby White wrote:
>> > 8.3 compiles fine. However, both 8.4 & 9.0 fail at the following point:
>> >
>> >
>> > [...]
>> > gcc-4.2 -O2 -Wall -Wmissing-prototypes -Wpointer-arith
>> > -Wdeclaration-after-statement -Wendif-labels
>> > -fno-strict-aliasing -fwrapv -bundle -multiply_defined
>> > suppress plpython.o -bundle_loader
>> > ../../../src/backend/postgres -L../../../src/port
>> > -L/sw/lib/system-openssl/lib -L/sw/lib/python2.6/config
>> > -L/sw/lib -L/sw/lib -L/sw/lib -L/sw/lib -framework Python -o
>> > plpython.so
>> > ld: warning: in /Library/Frameworks//Python.framework/Python,
>> > file was built for i386 which is not the architecture being
>> > linked (x86_64)
>> > Undefined symbols:
>> > [...]
>> >
>> > because they are trying to link against system python (which is
>> > apparently compiled for i386) - not against fink python (which
>> > is compiled according to fink's instructions).
>> >
>> > On Wed, Jun 2, 2010 at 4:38 PM, Toby White <t...@timetric.com
>> > <mailto:t...@timetric.com> <t...@timetric.com>> wrote:
>>
>> Well, system python is OK, the problem is it's *not* linking system
>> python (/System/Library/Frameworks), it's linking against a 3rd-party
>> python you've installed (/Library/Frameworks).
>>
>> I should be able to work around it by adding an explicit -F.
>>
>> - --
>> Benjamin Reed a.k.a. Ranger Rick a.k.a. Raccoon Fink
>> Fink, KDE, and Mac OS X development
>>
>> Blog: http://www.raccoonfink.com/
>> Music: http://music.raccoonfink.com/
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG/MacGPG2 v2.0.12 (Darwin)
>>
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iD8DBQFMBqzvUu+jZtP2Zf4RAh4IAJ0TZP4JenQINhYBCH4WMTFMKUWorQCfYhdY
>> +SZq+SoniIyLe6N/7H02H58=
>> =Hzqn
>> -----END PGP SIGNATURE-----
>>
>>
>
>
> --
> http://timetric.com
> 2nd Floor, White Bear Yard, 144a Clerkenwell Road, London EC1R 5DF
> twitter: @timetric, @tow21 | skype: tobyohwhite
>
--
http://timetric.com
2nd Floor, White Bear Yard, 144a Clerkenwell Road, London EC1R 5DF
twitter: @timetric, @tow21 | skype: tobyohwhite
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users