Johan Hendriks schreef:
I have come closer to finish this step.

But i now fails on the following

copying Lib/ldap/resiter.py -> build/lib.freebsd-9.1-PRERELEASE-amd64-2.7/ldap

copying Lib/ldap/sasl.py -> build/lib.freebsd-9.1-PRERELEASE-amd64-2.7/ldap

creating build/lib.freebsd-9.1-PRERELEASE-amd64-2.7/ldap/schema

copying Lib/ldap/schema/__init__.py -> build/lib.freebsd-9.1-PRERELEASE-amd64-2.7/ldap/schema

copying Lib/ldap/schema/models.py -> build/lib.freebsd-9.1-PRERELEASE-amd64-2.7/ldap/schema

copying Lib/ldap/schema/subentry.py -> build/lib.freebsd-9.1-PRERELEASE-amd64-2.7/ldap/schema

copying Lib/ldap/schema/tokenizer.py -> build/lib.freebsd-9.1-PRERELEASE-amd64-2.7/ldap/schema

copying Lib/ldap/syncrepl.py -> build/lib.freebsd-9.1-PRERELEASE-amd64-2.7/ldap

file Lib/ldap.py (for module ldap) not found

file Lib/ldap/controls.py (for module ldap.controls) not found
Modules/LDAPObject.c: In function 'interaction':

Modules/LDAPObject.c:562: error: 'interact' undeclared (first use in this function)

Modules/LDAPObject.c:562: error: (Each undeclared identifier is reported only once

Modules/LDAPObject.c:562: error: for each function it appears in.)

Modules/LDAPObject.c: In function 'py_ldap_sasl_interaction':

Modules/LDAPObject.c:607: error: 'sasl_interact_t' undeclared (first use in this function)

Modules/LDAPObject.c:607: error: 'interact' undeclared (first use in this function)

Modules/LDAPObject.c:607: error: expected expression before ')' token

Modules/LDAPObject.c:610: error: 'SASL_CB_LIST_END' undeclared (first use in this function)

Modules/LDAPObject.c:612: error: too many arguments to function 'interaction'

error: command 'cc' failed with exit status 1

----------------------------------------

Command /usr/home/baruwa/px/bin/python2.7 -c "import setuptools;__file__='/usr/home/baruwa/px/build/python-ldap/setup.py';exec(compile(open(__file__).read().replace('\r \n', '\n'), __file__, 'exec'))" install --record /tmp/pip-egPlE_-record/install-record.txt --single-version-externally-managed --install-headers /usr/home/baruwa/px/inc lude/site/python2.7 failed with error code 1 in /usr/home/baruwa/px/build/python-ldap

Exception information:
Traceback (most recent call last):
File "/usr/home/baruwa/px/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/basecommand.py", line 107, in main
    status = self.run(options, args)
File "/usr/home/baruwa/px/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/commands/install.py", line 261, in run
    requirement_set.install(install_options, global_options)
File "/usr/home/baruwa/px/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/req.py", line 1166, in install
    requirement.install(install_options, global_options)
File "/usr/home/baruwa/px/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/req.py", line 589, in install cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False) File "/usr/home/baruwa/px/lib/python2.7/site-packages/pip-1.2.1-py2.7.egg/pip/util.py", line 612, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command /usr/home/baruwa/px/bin/python2.7 -c "import setuptools;__file__='/usr/home/baruwa/px/build/python-ldap/setup.py';exec(compile(open(__file__) .read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-egPlE_-record/install-record.txt --single-version-externally-managed --install-headers /usr /home/baruwa/px/include/site/python2.7 failed with error code 1 in /usr/home/baruwa/px/build/python-ldap


Does somebody have any clue what is going on.

packages installed are :
apr-1.4.6.1.4.1_3   Apache Portability Library
autoconf-2.69 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20101119 Wrapper script for GNU autoconf
automake-1.12.6     GNU Standards-compliant Makefile generator
automake-wrapper-20101119 Wrapper script for GNU automake
bash-4.2.37         The GNU Project's Bourne Again SHell
bison-2.5.1,1 A parser generator from FSF, (mostly) compatible with Yacc
ca_root_nss-3.14.1  The root certificate bundle from the Mozilla Project
cracklib-2.8.22     Password-checking library
curl-7.24.0_1 Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
cvsps-2.1_1         Create patchset information from CVS
cyrus-sasl-2.1.26_2 RFC 2222 SASL (Simple Authentication and Security Layer)
db42-4.2.52_5       The Berkeley DB package, revision 4.2
db46-4.6.21.4       The Berkeley DB package, revision 4.6
expat-2.0.1_2       XML 1.0 parser written in C
gdbm-1.9.1          The GNU database manager
gettext-0.18.1.1    GNU gettext package
git-1.8.1           Distributed source code management tool
gmake-3.82_1        GNU version of 'make' utility
help2man-1.40.13 Automatically generating simple manual pages from program o libevent-1.4.14b_2 Provides an API to execute callback functions on certain ev
libexecinfo-1.1_3   A library for inspecting program's backtrace
libgcrypt-1.5.0_1 General purpose crypto library based on code used in GnuPG
libgpg-error-1.10   Common error values for all GnuPG components
libiconv-1.14       A character set conversion library
libltdl-2.4.2       System independent dlopen wrapper
libmemcached-1.0.7_1 A C and C++ client library to the memcached server
libsigsegv-2.10     Handling page faults in user mode
libtool-2.4.2       Generic shared library support script
libxml2-2.7.8_5     XML parser library for GNOME
libxslt-1.1.28      The XSLT C library for GNOME
m4-1.4.16_1,1       GNU m4
mysql-client-5.1.67 Multithreaded SQL database (client)
mysql-scripts-5.1.67 Multithreaded SQL database (scripts)
mysql-server-5.1.67 Multithreaded SQL database (server)
neon29-0.29.6_4     An HTTP and WebDAV client library for Unix systems
openldap-sasl-client-2.4.33_1 Open source LDAP client implementation with SASL2 support
openldap-sasl-server-2.4.33_2 Open source LDAP server implementation
openldap-server-2.4.33_2 Open source LDAP server implementation
p5-DBD-mysql51-4.021 MySQL 5.1 driver for the Perl5 Database Interface (DBI) p5-DBI-1.623 The perl5 Database Interface. Required for DBD::* modules p5-Error-0.17019 Perl module to provide Error/exception support for perl: Er p5-IO-Socket-IP-0.18 A drop-in replacement for IO::Socket::INET supporting IPv4
p5-IO-Socket-SSL-1.81 Perl5 interface to SSL sockets
p5-Locale-gettext-1.05_3 Message handling functions
p5-Net-SMTP-SSL-1.01_1 An SMTP client supporting SSL
p5-Net-SSLeay-1.52  Perl5 interface to SSL
p5-Socket-2.007     Networking constants and support functions
perl-5.14.2_2       Practical Extraction and Report Language
pkgconf-0.8.9 Utility to help to configure compiler and linker flags portmaster-3.14_8 Manage your ports without external databases or languages
postgresql-client-9.2.2_1 PostgreSQL database (client)
postgresql-server-9.2.2_1 The most advanced open-source database available anywhere py27-Babel-0.9.6 A collection of tools for internationalizing Python applica
py27-Jinja2-2.6_1   Fast and easy to use stand-alone template engine
py27-MarkupSafe-0.15 Implements a XML/HTML/XHTML Markup safe string for Python
py27-docutils-0.10  Python Documentation Utilities
py27-pygments-1.5   A syntax highlighter written in Python
py27-setuptools-0.6c11_3 Download, build, install, upgrade, and uninstall Python pac
py27-sphinx-1.1.3_1 Python documentation generator
py27-virtualenv-1.8.2 Virtual Python Environment builder
python27-2.7.3_5    An interpreted object-oriented programming language
sqlite3-3.7.14.1    An SQL database engine in a C library
subversion-1.7.8    Version control system
swig-1.3.40         Simplified Wrapper and Interface Generator

Thanks all
regards
Johan

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056


I found out myself.
using
export CFLAGS="-I/usr/local/include -I/usr/local/include/sasl" LDFLAGS="-L/usr/local/lib"
did the trick.

thanks lets move on!!

gr
johan

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to