Ack! Never mind. I currently don't have the Sun Studio compilers installed.
I suspect that's it.
-------- Original Message --------
Subject: [pkg-discuss] Problems building pkg on OpenSolaris build #123
(SPARC).
Date: Thu, 17 Sep 2009 09:18:42 -0700
From: Rich Burridge <[email protected]>
To: pkg discuss <[email protected]>
Hi,
I'm trying to build the latest pkg workspace on an OpenSolaris build #123
SPARC machine. I'm getting the following during a "make -e install":
Any ideas what I'm missing?
Thanks.
----
...
building 'pycurl' extension
creating build/temp.solaris-2.11-sun4u-2.4
creating build/temp.solaris-2.11-sun4u-2.4/src
/usr/lib/python2.4/pycc -DNDEBUG -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1
-I/usr/include/curl -I/usr/include/python2.4 -c src/pycurl.c -o
build/temp.solaris-2.11-sun4u-2.4/src/pycurl.o
In file included from /usr/include/curl/curl.h:36,
from src/pycurl.c:50:
/usr/include/curl/curlrules.h:80:4: #error "CURL_SIZEOF_LONG definition
is missing!"
In file included from /usr/include/curl/curl.h:36,
from src/pycurl.c:50:
/usr/include/curl/curlrules.h:81: error: syntax error before
"Compilation_aborted_CURL_SIZEOF_LONG_is_missing"
/usr/include/curl/curlrules.h:95:4: #error "CURL_TYPEOF_CURL_OFF_T
definition is missing!"
/usr/include/curl/curlrules.h:100:4: #error "CURL_FORMAT_CURL_OFF_T
definition is missing!"
/usr/include/curl/curlrules.h:105:4: #error "CURL_FORMAT_CURL_OFF_TU
definition is missing!"
/usr/include/curl/curlrules.h:110:4: #error "CURL_FORMAT_OFF_T
definition is missing!"
/usr/include/curl/curlrules.h:115:4: #error "CURL_SIZEOF_CURL_OFF_T
definition is missing!"
/usr/include/curl/curlrules.h:120:4: #error "CURL_SUFFIX_CURL_OFF_T
definition is missing!"
/usr/include/curl/curlrules.h:125:4: #error "CURL_SUFFIX_CURL_OFF_TU
definition is missing!"
/usr/include/curl/curlrules.h:142: error: syntax error before "typedef"
/usr/include/curl/curlrules.h:144: error: `CURL_SIZEOF_LONG' undeclared
here (not in a function)
/usr/include/curl/curlrules.h:154: error: `curl_off_t' undeclared here
(not in a function)
/usr/include/curl/curlrules.h:154: error: `CURL_SIZEOF_CURL_OFF_T'
undeclared here (not in a function)
/usr/include/curl/curlrules.h:164: error: size of array
`__curl_rule_03__' is negative
In file included from src/pycurl.c:50:
/usr/include/curl/curl.h:195: error: syntax error before "curl_off_t"
src/pycurl.c: In function `do_curl_setopt':
src/pycurl.c:1671: error: syntax error before "len"
src/pycurl.c:1719: error: syntax error before "d"
src/pycurl.c:1601: error: label `error' used but not defined
src/pycurl.c: At top level:
src/pycurl.c:1732: error: syntax error before "if"
src/pycurl.c:1746: error: `res' undeclared here (not in a function)
src/pycurl.c:1746: error: `self' undeclared here (not in a function)
src/pycurl.c:1746: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:1746: error: initializer element is not constant
src/pycurl.c:1746: warning: data definition has no type or storage class
src/pycurl.c:1746: error: syntax error before "if"
src/pycurl.c:1748: error: syntax error before '&' token
src/pycurl.c:1775: error: `obj' undeclared here (not in a function)
src/pycurl.c:1775: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:1775: error: initializer element is not constant
src/pycurl.c:1775: warning: data definition has no type or storage class
src/pycurl.c:1776: error: syntax error before "if"
src/pycurl.c:1780: error: `option' undeclared here (not in a function)
src/pycurl.c:1780: error: initializer element is not constant
src/pycurl.c:1780: warning: data definition has no type or storage class
src/pycurl.c:1781: error: syntax error before "if"
src/pycurl.c:1782: error: redefinition of 'v'
src/pycurl.c:1746: error: previous definition of 'v' was here
src/pycurl.c:1782: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:1782: error: initializer element is not constant
src/pycurl.c:1782: warning: data definition has no type or storage class
src/pycurl.c:1782: error: syntax error before "if"
src/pycurl.c:1784: error: syntax error before '->' token
src/pycurl.c:1788: error: syntax error before '->' token
src/pycurl.c:1792: error: syntax error before '->' token
src/pycurl.c:1796: error: syntax error before '->' token
src/pycurl.c:1804: error: syntax error before '&' token
src/pycurl.c:1814: error: syntax error before "switch"
src/pycurl.c:1838: error: initializer element is not constant
src/pycurl.c:1838: warning: data definition has no type or storage class
src/pycurl.c:1839: error: syntax error before "if"
src/pycurl.c:1849: error: syntax error before '&' token
src/pycurl.c:1858: error: syntax error before "for"
src/pycurl.c:1861: error: initializer element is not constant
src/pycurl.c:1863: error: syntax error before "if"
src/pycurl.c:1865: error: syntax error before string constant
src/pycurl.c:1865: error: conflicting types for 'PyErr_SetString'
/usr/include/python2.4/pyerrors.h:12: error: previous declaration of
'PyErr_SetString' was here
src/pycurl.c:1865: error: conflicting types for 'PyErr_SetString'
/usr/include/python2.4/pyerrors.h:12: error: previous declaration of
'PyErr_SetString' was here
src/pycurl.c:1865: warning: data definition has no type or storage class
src/pycurl.c:1870: error: syntax error before string constant
src/pycurl.c:1870: warning: data definition has no type or storage class
src/pycurl.c:1875: error: syntax error before string constant
src/pycurl.c:1875: warning: data definition has no type or storage class
src/pycurl.c:1883: error: redefinition of 'res'
src/pycurl.c:1780: error: previous definition of 'res' was here
src/pycurl.c:1883: error: redefinition of 'res'
src/pycurl.c:1780: error: previous definition of 'res' was here
src/pycurl.c:1883: error: `post' undeclared here (not in a function)
src/pycurl.c:1884: error: `nstr' undeclared here (not in a function)
src/pycurl.c:1886: error: `cstr' undeclared here (not in a function)
src/pycurl.c:1888: error: initializer element is not constant
src/pycurl.c:1888: warning: data definition has no type or storage class
src/pycurl.c:1889: error: syntax error before "if"
src/pycurl.c:1891: error: redefinition of 'v'
src/pycurl.c:1782: error: previous definition of 'v' was here
src/pycurl.c:1891: error: redefinition of 'v'
src/pycurl.c:1782: error: previous definition of 'v' was here
src/pycurl.c:1891: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:1891: error: initializer element is not constant
src/pycurl.c:1891: warning: data definition has no type or storage class
src/pycurl.c:1891: error: syntax error before "if"
src/pycurl.c:1897: error: `t' undeclared here (not in a function)
src/pycurl.c:1897: error: initializer element is not constant
src/pycurl.c:1902: error: syntax error before "if"
src/pycurl.c:1904: error: syntax error before string constant
src/pycurl.c:1904: warning: data definition has no type or storage class
src/pycurl.c:1909: error: conflicting types for 'forms'
src/pycurl.c:1899: error: previous definition of 'forms' was here
src/pycurl.c:1909: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:1909: error: initializer element is not constant
src/pycurl.c:1909: warning: data definition has no type or storage class
src/pycurl.c:1910: error: syntax error before "if"
src/pycurl.c:1912: error: conflicting types for 'PyErr_NoMemory'
/usr/include/python2.4/pyerrors.h:86: error: previous declaration of
'PyErr_NoMemory' was here
src/pycurl.c:1912: error: conflicting types for 'PyErr_NoMemory'
/usr/include/python2.4/pyerrors.h:86: error: previous declaration of
'PyErr_NoMemory' was here
src/pycurl.c:1912: warning: data definition has no type or storage class
src/pycurl.c:1913: error: syntax error before "return"
src/pycurl.c:1922: error: syntax error before "if"
src/pycurl.c:1924: warning: parameter names (without types) in function
declaration
src/pycurl.c:1924: error: conflicting types for 'PyMem_Free'
/usr/include/python2.4/pymem.h:52: error: previous declaration of
'PyMem_Free' was here
src/pycurl.c:1924: error: conflicting types for 'PyMem_Free'
/usr/include/python2.4/pymem.h:52: error: previous declaration of
'PyMem_Free' was here
src/pycurl.c:1924: warning: data definition has no type or storage class
src/pycurl.c:1925: warning: parameter names (without types) in function
declaration
src/pycurl.c:1925: error: conflicting types for 'curl_formfree'
/usr/include/curl/curl.h:1444: error: previous declaration of
'curl_formfree' was here
src/pycurl.c:1925: error: conflicting types for 'curl_formfree'
/usr/include/curl/curl.h:1444: error: previous declaration of
'curl_formfree' was here
src/pycurl.c:1925: warning: data definition has no type or storage class
src/pycurl.c:1926: error: syntax error before "return"
src/pycurl.c:1930: warning: parameter names (without types) in function
declaration
src/pycurl.c:1930: warning: data definition has no type or storage class
src/pycurl.c:1931: warning: parameter names (without types) in function
declaration
src/pycurl.c:1931: warning: data definition has no type or storage class
src/pycurl.c:1932: error: syntax error before "return"
src/pycurl.c:1936: warning: parameter names (without types) in function
declaration
src/pycurl.c:1936: warning: data definition has no type or storage class
src/pycurl.c:1937: warning: parameter names (without types) in function
declaration
src/pycurl.c:1937: warning: data definition has no type or storage class
src/pycurl.c:1938: error: syntax error before "return"
src/pycurl.c:1941: error: initializer element is not constant
src/pycurl.c:1941: warning: data definition has no type or storage class
src/pycurl.c:1942: error: syntax error before "if"
src/pycurl.c:1948: warning: parameter names (without types) in function
declaration
src/pycurl.c:1948: warning: data definition has no type or storage class
src/pycurl.c:1949: warning: parameter names (without types) in function
declaration
src/pycurl.c:1949: warning: data definition has no type or storage class
src/pycurl.c:1950: error: syntax error before "return"
src/pycurl.c:1952: error: syntax error before '(' token
src/pycurl.c:1952: error: syntax error before ')' token
src/pycurl.c:1953: error: syntax error before '.' token
src/pycurl.c:1954: error: syntax error before '.' token
src/pycurl.c:1959: error: syntax error before '.' token
src/pycurl.c:1963: error: syntax error before '.' token
src/pycurl.c:1964: error: redefinition of 'res'
src/pycurl.c:1883: error: previous definition of 'res' was here
src/pycurl.c:1964: error: redefinition of 'res'
src/pycurl.c:1780: error: previous definition of 'res' was here
src/pycurl.c:1968: error: initializer element is not constant
src/pycurl.c:1968: warning: data definition has no type or storage class
src/pycurl.c:1969: warning: parameter names (without types) in function
declaration
src/pycurl.c:1969: warning: data definition has no type or storage class
src/pycurl.c:1970: error: syntax error before "if"
src/pycurl.c:1972: error: redefinition of 'v'
src/pycurl.c:1891: error: previous definition of 'v' was here
src/pycurl.c:1972: error: redefinition of 'v'
src/pycurl.c:1782: error: previous definition of 'v' was here
src/pycurl.c:1972: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:1972: error: initializer element is not constant
src/pycurl.c:1972: warning: data definition has no type or storage class
src/pycurl.c:1972: error: syntax error before "if"
src/pycurl.c:1977: error: syntax error before string constant
src/pycurl.c:1977: warning: data definition has no type or storage class
src/pycurl.c:1981: error: redefinition of 'res'
src/pycurl.c:1964: error: previous definition of 'res' was here
src/pycurl.c:1981: error: redefinition of 'res'
src/pycurl.c:1780: error: previous definition of 'res' was here
src/pycurl.c:1981: error: initializer element is not constant
src/pycurl.c:1981: warning: data definition has no type or storage class
src/pycurl.c:1983: error: syntax error before "if"
src/pycurl.c:1985: error: redefinition of 'v'
src/pycurl.c:1972: error: previous definition of 'v' was here
src/pycurl.c:1985: error: redefinition of 'v'
src/pycurl.c:1782: error: previous definition of 'v' was here
src/pycurl.c:1985: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:1985: error: initializer element is not constant
src/pycurl.c:1985: warning: data definition has no type or storage class
src/pycurl.c:1985: error: syntax error before "if"
src/pycurl.c:1988: error: syntax error before '->' token
src/pycurl.c:1988: warning: data definition has no type or storage class
src/pycurl.c:1989: error: syntax error before '->' token
src/pycurl.c:1991: error: syntax error before '&' token
src/pycurl.c:2004: error: syntax error before "if"
src/pycurl.c:2006: error: syntax error before string constant
src/pycurl.c:2006: warning: data definition has no type or storage class
src/pycurl.c:2011: error: conflicting types for 'str'
src/pycurl.c:2002: error: previous declaration of 'str' was here
src/pycurl.c:2011: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:2011: error: initializer element is not constant
src/pycurl.c:2011: warning: data definition has no type or storage class
src/pycurl.c:2012: error: syntax error before "if"
src/pycurl.c:2016: error: conflicting types for 'nlist'
src/pycurl.c:2001: error: previous declaration of 'nlist' was here
src/pycurl.c:2016: warning: passing arg 2 of `curl_slist_append' makes
pointer from integer without a cast
src/pycurl.c:2016: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:2016: error: initializer element is not constant
src/pycurl.c:2016: warning: data definition has no type or storage class
src/pycurl.c:2017: error: syntax error before "if"
src/pycurl.c:2021: error: conflicting types for 'slist'
src/pycurl.c:1811: error: previous definition of 'slist' was here
src/pycurl.c:2021: error: initializer element is not constant
src/pycurl.c:2021: warning: data definition has no type or storage class
src/pycurl.c:2022: error: syntax error before '}' token
src/pycurl.c:2023: error: redefinition of 'res'
src/pycurl.c:1981: error: previous definition of 'res' was here
src/pycurl.c:2023: error: redefinition of 'res'
src/pycurl.c:1780: error: previous definition of 'res' was here
src/pycurl.c:2023: error: initializer element is not constant
src/pycurl.c:2023: warning: data definition has no type or storage class
src/pycurl.c:2025: error: syntax error before "if"
src/pycurl.c:2027: error: redefinition of 'v'
src/pycurl.c:1985: error: previous definition of 'v' was here
src/pycurl.c:2027: error: redefinition of 'v'
src/pycurl.c:1782: error: previous definition of 'v' was here
src/pycurl.c:2027: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:2027: error: initializer element is not constant
src/pycurl.c:2027: warning: data definition has no type or storage class
src/pycurl.c:2027: error: syntax error before "if"
src/pycurl.c:2030: error: syntax error before '*' token
src/pycurl.c:2030: error: conflicting types for 'curl_slist_free_all'
/usr/include/curl/curl.h:1579: error: previous declaration of
'curl_slist_free_all' was here
src/pycurl.c:2030: error: conflicting types for 'curl_slist_free_all'
/usr/include/curl/curl.h:1579: error: previous declaration of
'curl_slist_free_all' was here
src/pycurl.c:2030: warning: data definition has no type or storage class
src/pycurl.c:2031: warning: initialization makes pointer from integer
without a cast
src/pycurl.c:2031: error: initializer element is not constant
src/pycurl.c:2031: warning: data definition has no type or storage class
src/pycurl.c:2033: error: syntax error before '&' token
src/pycurl.c:2051: error: syntax error before "switch"
src/pycurl.c:2057: error: syntax error before '->' token
src/pycurl.c:2058: error: syntax error before '->' token
src/pycurl.c:2059: error: syntax error before '->' token
src/pycurl.c:2061: error: syntax error before '->' token
src/pycurl.c:2061: error: conflicting types for 'curl_easy_setopt'
/usr/include/curl/easy.h:30: error: previous declaration of
'curl_easy_setopt' was here
src/pycurl.c:2061: error: conflicting types for 'curl_easy_setopt'
/usr/include/curl/easy.h:30: error: previous declaration of
'curl_easy_setopt' was here
src/pycurl.c:2061: warning: data definition has no type or storage class
src/pycurl.c:2062: error: syntax error before '->' token
src/pycurl.c:2062: warning: data definition has no type or storage class
src/pycurl.c:2066: error: syntax error before '->' token
src/pycurl.c:2068: error: syntax error before '->' token
src/pycurl.c:2068: warning: data definition has no type or storage class
src/pycurl.c:2069: error: syntax error before '->' token
src/pycurl.c:2069: warning: data definition has no type or storage class
src/pycurl.c:2073: error: syntax error before '->' token
src/pycurl.c:2074: error: syntax error before '->' token
src/pycurl.c:2076: error: syntax error before '->' token
src/pycurl.c:2076: warning: data definition has no type or storage class
src/pycurl.c:2077: error: syntax error before '->' token
src/pycurl.c:2077: warning: data definition has no type or storage class
src/pycurl.c:2081: error: syntax error before '->' token
src/pycurl.c:2083: error: syntax error before '->' token
src/pycurl.c:2083: warning: data definition has no type or storage class
src/pycurl.c:2084: error: syntax error before '->' token
src/pycurl.c:2084: warning: data definition has no type or storage class
src/pycurl.c:2088: error: syntax error before '->' token
src/pycurl.c:2090: error: syntax error before '->' token
src/pycurl.c:2090: warning: data definition has no type or storage class
src/pycurl.c:2091: error: syntax error before '->' token
src/pycurl.c:2091: warning: data definition has no type or storage class
src/pycurl.c:2095: error: syntax error before '->' token
src/pycurl.c:2097: error: syntax error before '->' token
src/pycurl.c:2097: warning: data definition has no type or storage class
src/pycurl.c:2098: error: syntax error before '->' token
src/pycurl.c:2098: warning: data definition has no type or storage class
src/pycurl.c:2102: error: syntax error before '->' token
src/pycurl.c:2104: error: syntax error before '->' token
src/pycurl.c:2104: warning: data definition has no type or storage class
src/pycurl.c:2105: error: syntax error before '->' token
src/pycurl.c:2105: warning: data definition has no type or storage class
src/pycurl.c:2113: error: syntax error before '&' token
src/pycurl.c:2131: error: redefinition of 'res'
src/pycurl.c:2023: error: previous definition of 'res' was here
src/pycurl.c:2131: error: redefinition of 'res'
src/pycurl.c:1780: error: previous definition of 'res' was here
src/pycurl.c:2131: error: initializer element is not constant
src/pycurl.c:2131: warning: data definition has no type or storage class
src/pycurl.c:2132: error: syntax error before "if"
src/pycurl.c:2133: error: redefinition of 'v'
src/pycurl.c:2027: error: previous definition of 'v' was here
src/pycurl.c:2133: error: redefinition of 'v'
src/pycurl.c:1782: error: previous definition of 'v' was here
src/pycurl.c:2133: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:2133: error: initializer element is not constant
src/pycurl.c:2133: warning: data definition has no type or storage class
src/pycurl.c:2133: error: syntax error before "if"
src/pycurl.c:2137: error: syntax error before '&' token
src/pycurl.c:2145: warning: data definition has no type or storage class
src/pycurl.c:2146: error: redefinition of 'res'
src/pycurl.c:2131: error: previous definition of 'res' was here
src/pycurl.c:2146: error: redefinition of 'res'
src/pycurl.c:1780: error: previous definition of 'res' was here
src/pycurl.c:2146: error: invalid type argument of `->'
src/pycurl.c:2146: error: initializer element is not constant
src/pycurl.c:2146: warning: data definition has no type or storage class
src/pycurl.c:2147: error: syntax error before "if"
src/pycurl.c:2148: error: redefinition of 'v'
src/pycurl.c:2133: error: previous definition of 'v' was here
src/pycurl.c:2148: error: redefinition of 'v'
src/pycurl.c:1782: error: previous definition of 'v' was here
src/pycurl.c:2148: warning: initialization makes integer from pointer
without a cast
src/pycurl.c:2148: error: initializer element is not constant
src/pycurl.c:2148: warning: data definition has no type or storage class
src/pycurl.c:2148: error: syntax error before "if"
src/pycurl.c:2151: error: syntax error before '->' token
src/pycurl.c:2152: error: syntax error before '&' token
error: command '/usr/lib/python2.4/pycc' failed with exit status 1
install failed and returned 1.
Command was: python setup.py install
--root=/export/home/richb/pkg/bugs/test-2217/gate/proto/root_sparc
--install-lib=usr/lib/python2.4/vendor-packages
--install-data=usr/lib/python2.4/vendor-packages
*** Error code 1
make: Fatal error: Command failed for target `install'
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss