[p4python] Unable to build P4Python 1.1

Robert Cowham robert at vaccaperna.co.uk
Fri Jan 18 02:19:23 PST 2008


Apologies - bug in setup.py
 
Add:
 
        extra_link_args = []

like this:
    else:   # Assume Linux
        libraries = ["client", "rpc", "supp"]    # P4API libs
        extra_compile_args = ["-DOS_LINUX", "-D%s" % p4_api_ver]
        extra_link_args = []

before call to setup() 
 
Will fix.
 
Robert


  _____  

From: p4python-bounces at perforce.com [mailto:p4python-bounces at perforce.com]
On Behalf Of Smith, Jeff
Sent: 17 January 2008 21:21
To: p4python at perforce.com
Subject: [p4python] Unable to build P4Python 1.1


I have downloaded the source for P4Python 1.1 as well as the latest 2007.2
P4API.  The target system is Red Hat EL 4.  After following the build
instructions, my attempt to build using
 
python setup.py build
 
results in the following:
 
Traceback (most recent call last):
  File "setup.py", line 141, in <module>
    do_setup()
  File "setup.py", line 137, in do_setup
    extra_link_args=extra_link_args,
UnboundLocalError: local variable 'extra_link_args' referenced before
assignment
 
Any ideas?
 
Thanks,
Jeff
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.perforce.com/pipermail/p4python/attachments/20080118/d382da75/attachment-0001.html>


More information about the p4python mailing list