LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-01-2004, 08:38 PM   #1
renriqu1
LQ Newbie
 
Registered: Oct 2004
Location: Baltimore
Posts: 3

Rep: Reputation: 0
Unhappy 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
 
Old 10-04-2004, 11:46 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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
 
Old 10-07-2004, 10:13 AM   #3
renriqu1
LQ Newbie
 
Registered: Oct 2004
Location: Baltimore
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 10-07-2004, 03:14 PM   #4
renriqu1
LQ Newbie
 
Registered: Oct 2004
Location: Baltimore
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
Old 10-21-2004, 09:26 PM   #5
leftfist
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
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!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM error when trying to install an rpm Trance56k SUSE / openSUSE 3 11-10-2005 10:25 PM
Getting error when trying to install KDE rpm!!! gidude Linux - Newbie 9 04-13-2004 11:41 AM
Glibc rpm install error tfdml37 Linux - Software 5 04-09-2004 01:51 AM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration