|
From: J. S. <sch...@fh...> - 2002-10-25 12:21:20
|
Am Freitag, 25.10.02, um 13:51 Uhr (Europe/Budapest) schrieb Michael=20 Str=F6der: > J. Scholtes wrote: >> I'm trying to set up ZOPE with the LDAPuserFolder on a macosx-system=20= >> and therefor I need python-ldap. But I#m not able to compile it on=20 >> MacOsX 10.2 >> Is anyone on the List who did it successfull ? > > It's more likely that you get help if you provide more information=20 > about what you're trying to do and what went wrong. > > - OpenLDAP libs, version > - python-ldap version > - log of build with error messages > - I installed an OpenLDAP-Package distributed by Apple. I'ts based on=20 openldap-2.0.18. - python-ldap version: python-ldap-2.0.0pre06 log of build: ################### [Tour1:~/python-ldap-2.0.0pre06] zope% python setup.py build running build running build_py warning: build_py: file Lib/ldap.py (for module ldap) not found warning: build_py: file Lib/ldap/schema.py (for module ldap.schema) not=20= found not copying Lib/ldap/__init__.py (output up-to-date) not copying Lib/ldap/async.py (output up-to-date) not copying Lib/ldap/cidict.py (output up-to-date) not copying Lib/ldap/functions.py (output up-to-date) not copying Lib/ldap/sasl.py (output up-to-date) not copying Lib/ldap/schema/__init__.py (output up-to-date) not copying Lib/ldap/schema/tokenizer.py (output up-to-date) not copying Lib/ldap/schema/models.py (output up-to-date) not copying Lib/ldap/schema/subentry.py (output up-to-date) not copying Lib/ldap/ldapobject.py (output up-to-date) not copying Lib/ldap/modlist.py (output up-to-date) not copying Lib/ldapurl.py (output up-to-date) not copying Lib/ldif.py (output up-to-date) warning: build_py: file Lib/ldap.py (for module ldap) not found warning: build_py: file Lib/ldap/schema.py (for module ldap.schema) not=20= found running build_ext building '_ldap' extension skipping Modules/LDAPObject.c (build/temp.darwin-6.1-Power=20 Macintosh-2.2/LDAPObject.o up-to-date) skipping Modules/common.c (build/temp.darwin-6.1-Power=20 Macintosh-2.2/common.o up-to-date) skipping Modules/constants.c (build/temp.darwin-6.1-Power=20 Macintosh-2.2/constants.o up-to-date) skipping Modules/errors.c (build/temp.darwin-6.1-Power=20 Macintosh-2.2/errors.o up-to-date) skipping Modules/functions.c (build/temp.darwin-6.1-Power=20 Macintosh-2.2/functions.o up-to-date) skipping Modules/schema.c (build/temp.darwin-6.1-Power=20 Macintosh-2.2/schema.o up-to-date) skipping Modules/ldapmodule.c (build/temp.darwin-6.1-Power=20 Macintosh-2.2/ldapmodule.o up-to-date) skipping Modules/linkedlist.c (build/temp.darwin-6.1-Power=20 Macintosh-2.2/linkedlist.o up-to-date) skipping Modules/message.c (build/temp.darwin-6.1-Power=20 Macintosh-2.2/message.o up-to-date) skipping Modules/version.c (build/temp.darwin-6.1-Power=20 Macintosh-2.2/version.o up-to-date) skipping Modules/options.c (build/temp.darwin-6.1-Power=20 Macintosh-2.2/options.o up-to-date) gcc -arch i386 -arch ppc -bundle -flat_namespace -undefined suppress=20 build/temp.darwin-6.1-Power Macintosh-2.2/LDAPObject.o=20 build/temp.darwin-6.1-Power Macintosh-2.2/common.o=20 build/temp.darwin-6.1-Power Macintosh-2.2/constants.o=20 build/temp.darwin-6.1-Power Macintosh-2.2/errors.o=20 build/temp.darwin-6.1-Power Macintosh-2.2/functions.o=20 build/temp.darwin-6.1-Power Macintosh-2.2/schema.o=20 build/temp.darwin-6.1-Power Macintosh-2.2/ldapmodule.o=20 build/temp.darwin-6.1-Power Macintosh-2.2/linkedlist.o=20 build/temp.darwin-6.1-Power Macintosh-2.2/message.o=20 build/temp.darwin-6.1-Power Macintosh-2.2/version.o=20 build/temp.darwin-6.1-Power Macintosh-2.2/options.o=20 -L/Library/OpenLDAP/lib -Wl,-R/Library/OpenLDAP/lib -lldap -llber=20 -lresolv -o build/lib.darwin-6.1-Power Macintosh-2.2/_ldap.so ld: for architecture i386 ld: unknown flag: -R/Library/OpenLDAP/lib error: command 'gcc' failed with exit status 1 ##################################### I did a 'man ld' , but cannot find something about a flag or option -R ! Please be kind with me if I did something very stupid. I'm not a=20 "kernel-hacker" but more like one of those script-kiddies ;) |