#18848: python26 : no dynamic library built ---------------------------------+------------------------------------------ Reporter: neric27@… | Owner: blb@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: python26 | ---------------------------------+------------------------------------------ Comment(by neric27@…): Sorry, but it doesn't work (yes I did port clean !). Here is an excerpt from the configure output : {{{ checking for sys/epoll.h... no checking for epoll_create... no checking for swig... no configure: WARNING: cannot find 'swig' program. You should look at http://www.swig.org checking for python... /opt/local/bin/python checking for a version of Python >= '2.1.0'... yes checking for the distutils Python package... yes checking for Python include path... -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 checking for Python library path... -L/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 -lpython2.6 checking for Python site-packages path... /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages checking python extra libraries... -ldl checking python extra linking flags... -u _PyMac_Error /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python checking whether to use pthreads... no checking whether to search for setproctitle support... no checking for tv_nsec nanosecond fields in struct stat... }}} And here is the error : {{{ Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_samba4/work/samba-4.0.0alpha2/source" && make all " returned error 2 Command output: Creating bin/ldb_repl_meta_data_init_module.c Compiling bin/ldb_repl_meta_data_init_module.c Linking bin/modules/ldb/repl_meta_data.dylib Compiling dsdb/samdb/ldb_modules/kludge_acl.c dsdb/samdb/ldb_modules/kludge_acl.c: In function 'kludge_acl_search': dsdb/samdb/ldb_modules/kludge_acl.c:328: warning: assignment discards qualifiers from pointer target type dsdb/samdb/ldb_modules/kludge_acl.c:367: warning: passing argument 1 of 'ldb_parse_tree_attr_replace' discards qualifiers from pointer target type Creating bin/ldb_kludge_acl_init_module.c Compiling bin/ldb_kludge_acl_init_module.c Linking bin/modules/ldb/kludge_acl.dylib Compiling dsdb/samdb/ldb_modules/local_password.c Creating bin/ldb_local_password_init_module.c Compiling bin/ldb_local_password_init_module.c Linking bin/modules/ldb/local_password.dylib Compiling dsdb/samdb/ldb_modules/schema.c dsdb/samdb/ldb_modules/schema.c: In function 'schema_check_attributes_syntax': dsdb/samdb/ldb_modules/schema.c:936: warning: assignment discards qualifiers from pointer target type Compiling dsdb/samdb/ldb_modules/schema_syntax.c Creating bin/ldb_schema_init_module.c Compiling bin/ldb_schema_init_module.c Linking bin/modules/ldb/schema.dylib Compiling libcli/security/security_wrap.c libcli/security/security_wrap.c: In function '_wrap_security_descriptor_dacl_del': libcli/security/security_wrap.c:3203: warning: passing argument 2 of 'security_descriptor_dacl_del' from incompatible pointer type libcli/security/security_wrap.c: In function '_wrap_security_descriptor_sacl_del': libcli/security/security_wrap.c:3244: warning: passing argument 2 of 'security_descriptor_sacl_del' from incompatible pointer type Linking bin/python/_security.dylib /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: can't locate file for: -lpython2.6 collect2: ld returned 1 exit status make: *** [bin/python/_security.dylib] Error 1 Warning: the following items did not execute (for samba4): org.macports.activate org.macports.build org.macports.destroot org.macports.archive org.macports.install Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/18848#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS