rpm install error on mac os x
Hi,
I'm trying to install rpm for Mac OS X "Panther" so I can then install an Intel C++ Compiler, but i got the following error after typing "sudo port install rpm" : Error: Target com.apple.build returned: shell command "cd "/Users/Rica/darwinports/dports/sysutils/rpm/work/rpm-4.0.4" && make all" returned error 2 Command output: _PyExc_KeyError _PyExc_TypeError _PyFile_FromFile _PyInt_AsLong _PyInt_FromLong _PyInt_Type _PyList_Append _PyList_GetItem _PyList_New _PyList_Size _PyList_Type _PyModule_GetDict _PyObject_Free _PyObject_Init _PyObject_Malloc _PyString_AsString _PyString_FromString _PyString_FromStringAndSize _PyString_Type _PyTuple_New _PyTuple_SetItem _PyType_IsSubtype _PyType_Type _Py_BuildValue _Py_FindMethod _Py_InitModule4 __Py_NoneStruct make[2]: *** [rpmmodule.so] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 I searched online and found that could be something to do with undefined symbols and my /usr/local/lib directory. Not really sure what any of this means. I have all the neccessary ports... Thanks, Rica |
first of all... if you have macos X, then install the developer tools and you will have a C++ compiler... second, install the fink package manager and you will have an apt-get package manager... macos X , especially panther has X11 as well although you might have to download that
|
Thank you for the advice. The reason I'm installing another C++ compiler as well as a Fortran compiler is that I'm working on a project with other people and we would like to use the same compiler. I will try using the apt-get manager to get the rpm progamr though? I'll let you know how it goes. Thanks again.
|
So, I found my real problem. I do have rpm installed, version 4.0.2. However, I need 4.0.3 for the compilers to be installed properly. Could someone give me some steps on doing this? I went to rpmfind.net, but I'm just lost.
Thanks |
uh, it ain't gonna work
renriqu1 -
I am both posting and emailing you this reply since this post is rather old and you haven't posted since and I suspect you don't check this forum anymore (not to mention the fact that I don't check this forum either. if you want to reply reply by email.) It's also very possible you have since learned everything I'm about to tell you. Here's the deal... the Intel compiler won't work on Mac OS X. The Intel compiler of course targets Intel's processors, ie the x86. Mac OS X runs on Apple's hardware, which uses the PowerPC processor. In other words, it just ain't gonna happen. But here's the thing... you shouldn't be too disappointed about that. Why tie your project to a single compiler? Using and testing your project with multiple compilers helps to ensure that you are using standard, portable code. If you used the Intel compiler and got your build process and everything tied to that one compiler... well that means your project won't ever run anywhere that the Intel compiler doesn't target! |
All times are GMT -5. The time now is 12:13 AM. |