[Xcircuit-dev] fails to build from source with --with-python

Michael Ablassmeier abi at grinser.de
Wed May 17 04:17:11 PDT 2006


hi,

ive tried building both the latest stable and development version of
xcircuit with python support. Both versions fail to build:

 gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
 -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"xcircuit\"
 -DVERSION=\"3.6\"ROTOTYPES=1 -D__PROTOTYPES=1 -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_HDHAVE_INTTYPES_H=1
 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_LIBM=1
 -DSIZEOF_VOID_P=4 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=4
 -DHLIBXT=1 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1
 -DHAVE_DIRENT_H=1 -DHAVE_LIBZ=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1
 -DHAVE_U_CHAR=1 -DDOUBLEBUFFER=1AVE_X11_XPM_H=1 -DHAVE_XPM=1 -DLGF=1
 -DINPUT_FOCUS=1 -DGS_EXEC=\"gs\" -DSPICE_EXEC=\"ngspice\"
 -DHAVE_PYTHON=1  -DPROG_VERSION=3.6 -DPROG_REVISION=22
 -DCAD_D"/usr/local/lib\" -DTEMP_DIR=\"/tmp\"
 -DRESOURCES_DIR=\"/usr/local/lib/xcircuit-3.6/app-defaults\"
 -DBUILTINS_DIR=\"/usr/local/lib/xcircuit-3.6\" -DBUILTINS_=\"\"
 -DUSER_RC_FILE=\".xcircuitrc\"
 -DPROLOGUE_DIR=\"/usr/local/lib/xcircuit-3.6\"
 -DPROLOGUE_FILE=\"xcircps2.pro\" -DSTARTUP_FILE=\"xcstartup.py\"
 -DLGF_LIlgf.lps\" -DASG_SPICE_LIB=\"asg_spice.lps\" -I. -I. -IXw
 -I/usr/include/python2.3  -g -Wno-pointer-sign -c python.c
 In file included from /usr/include/python2.3/Python.h:8, from python.c:21:
  /usr/include/python2.3/pyconfig.h:853:1: warning: "_POSIX_C_SOURCE" redefined
 In file included from /usr/include/stdio.h:28, from python.c:16:
  /usr/include/features.h:190:1: warning: this is the location of the
  previous definition python.c: In function 'pypopupprompt':
 python.c:164: error: 'areawinarea' undeclared (first use in this
 function)
 python.c:164: error: (Each undeclared identifier is reported only once
 python.c:164: error: for each function it appears in.)
 python.c: In function 'PySetStringParts':
 python.c:423: error: 'union <anonymous>' has no member named 'paramno'
 python.c: In function 'PyGetStringParts':
 python.c:526: error: 'union <anonymous>' has no member named 'paramno'
 python.c: In function 'xc_getpage':
 python.c:684: error: 'areawinpage' undeclared (first use in this
 function)
 python.c: In function 'xc_getobject':
 python.c:858: error: 'nparams' undeclared (first use in this function)
 python.c: In function 'xc_netlist':
 [..]

can one confirm this? 

bye,
    - michael



More information about the Xcircuit-dev mailing list