rpm won't build
Vivek Menon
vivek.menon79 at gmail.com
Mon May 21 06:58:42 PDT 2007
Hello,
I am having problem installing the rpm port. Initially I encountered
problem with ncurses package and that was rectified by following Guido
Soranzio's instructions.
Can someone help???
This is what I see:
=======================================
sudo port install rpm
Portfile changed since last build; discarding previous state.
---> Fetching ncurses
---> Verifying checksum(s) for ncurses
---> Extracting ncurses
---> Applying patches to ncurses
---> Configuring ncurses
---> Building ncurses with target all
---> Staging ncurses into destroot
---> Installing ncurses 5.6_0+darwin_8
---> Activating ncurses 5.6_0+darwin_8
---> Cleaning ncurses
---> Fetching readline
---> Attempting to fetch readline52-001 from
http://ftp.gnu.org/gnu/readline/readline-5.2-patches/
---> Attempting to fetch readline-5.2.tar.gz from
http://ftp.gnu.org/gnu/readline
---> Verifying checksum(s) for readline
---> Extracting readline
---> Applying patches to readline
---> Configuring readline
---> Building readline with target all
---> Staging readline into destroot
---> Installing readline 5.2.001_0
---> Activating readline 5.2.001_0
---> Cleaning readline
---> Fetching rpm
---> Attempting to fetch rpm-4.4.6.tar.gz from
http://wraptastic.org/pub/rpm-4.4.x/
---> Verifying checksum(s) for rpm
---> Extracting rpm
---> Applying patches to rpm
---> Configuring rpm
---> Building rpm with target all
Error: Target com.apple.build returned: shell command " cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_sysutils_rpm/work/rpm-4.4.6"
&& gnumake all " returned error 2
Command output: rpmmodule.c:193: warning: statement with no effect
rpmmodule.c:197: error: 'm' undeclared (first use in this function)
rpmmodule.c:217: warning: implicit declaration of function 'Py_InitModule3'
rpmmodule.c:223: warning: implicit declaration of function 'PyModule_GetDict'
rpmmodule.c:230: warning: implicit declaration of function 'PyErr_NewException'
rpmmodule.c:230: warning: assignment makes pointer from integer without a cast
rpmmodule.c:232: warning: implicit declaration of function
'PyDict_SetItemString'
rpmmodule.c:272: error: request for member 'ob_type' in something not
a structure or union
rpmmodule.c:272: error: 'PyType_Type' undeclared (first use in this function)
rpmmodule.c:273: error: request for member 'ob_type' in something not
a structure or union
rpmmodule.c:274: error: request for member 'ob_type' in something not
a structure or union
rpmmodule.c:275: error: request for member 'ob_type' in something not
a structure or union
rpmmodule.c:276: error: request for member 'ob_type' in something not
a structure or union
rpmmodule.c:277: error: request for member 'ob_type' in something not
a structure or union
rpmmodule.c:278: error: request for member 'ob_type' in something not
a structure or union
rpmmodule.c:279: error: request for member 'ob_type' in something not
a structure or union
rpmmodule.c:280: error: request for member 'ob_type' in something not
a structure or union
rpmmodule.c:281: error: request for member 'ob_type' in something not
a structure or union
rpmmodule.c:282: error: request for member 'ob_type' in something not
a structure or union
rpmmodule.c:285: warning: implicit declaration of function 'PyDict_New'
rpmmodule.c:288: warning: implicit declaration of function 'PyInt_FromLong'
rpmmodule.c:290: warning: implicit declaration of function 'Py_DECREF'
rpmmodule.c:291: warning: implicit declaration of function 'PyDict_SetItem'
rpmmodule.c:291: warning: implicit declaration of function 'PyString_FromString'
rpmmodule.c:297: warning: assignment discards qualifiers from pointer
target type
rpmmodule.c:298: warning: implicit declaration of function
'PyCObject_FromVoidPtr'
gnumake[3]: *** [rpmmodule.lo] Error 1
gnumake[2]: *** [all-recursive] Error 1
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
==============================================
Vivek
More information about the macports-users
mailing list