[MacPorts] #16675: py25-libdnet trying to get py-libdnet to work with Python 2.5

MacPorts noreply at macports.org
Sat Sep 27 18:45:51 PDT 2008


#16675: py25-libdnet trying to get py-libdnet to work with Python 2.5
-------------------------------+--------------------------------------------
 Reporter:  msavory at nzbox.com  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  enhancement        |      Status:  new                                  
 Priority:  Normal             |   Milestone:  Port Enhancements                    
Component:  ports              |     Version:  1.6.0                                
 Keywords:  python             |        Port:                                       
-------------------------------+--------------------------------------------
 Attempted to modify the port file see attached

 But build fails...

 {{{
 $ sudo port install  py25-libdnet
 --->  Fetching py25-libdnet
 --->  Verifying checksum(s) for py25-libdnet
 --->  Extracting py25-libdnet
 --->  Configuring py25-libdnet
 --->  Building py25-libdnet with target all
 --->  Staging py25-libdnet into destroot
 Error: Target org.macports.destroot returned: shell command " cd
 "/opt/local/var/macports/build/_Users_mikesavory_mp_python_py25-libdnet/work/libdnet-1.11/python"
 && /opt/local/bin/python2.5 ./setup.py install install --prefix=/opt/local
 --root=/opt/local/var/macports/build/_Users_mikesavory_mp_python_py25-libdnet/work/destroot
 " returned error 1
 Command output: running install
 running build
 running build_ext
 building 'dnet' extension
 creating build
 creating build/temp.macosx-10.3-i386-2.5
 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I../include
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5
 -c ./dnet.c -o build/temp.macosx-10.3-i386-2.5/./dnet.o
 unable to execute -DNDEBUG: No such file or directory
 error: command '-DNDEBUG' failed with exit status 1

 Error: Status 1 encountered during processing.
 }}}

 What am I doing wrong?

 wanting to get scapy2 into macports see scapy port

-- 
Ticket URL: <http://trac.macports.org/ticket/16675>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list