MAC OSX install for the MAC NEWB

Asked by chemed on 2010-05-05

I am looking @ directions from source tarball and am a little confused about the vernacular. I have installed macports. for building libraries, I get error messages:
Error: target org.macports.build returned: cant read "build.cmd": Failed to locate 'make' in path //// or at its MacPorts configuration time location
I'm pretty new to MAC so I am sure I'm just missing something in the instructions that came with the .tar file

It would be great if someone would post easy to follow step-by-step instructions for OSX install. PLEASE?
How do I install the ports?
What are development libraries?
do I need to type into X11 or can i use regular terminal?

Question information

Language:
English Edit question
Status:
Solved
For:
Nightshade Legacy Edit question
Assignee:
No assignee Edit question
Solved by:
Trystan
Solved:
2010-10-07
Last query:
2010-10-07
Last reply:
2010-10-07
Trystan (trystan) said : #1

System configurations vary, so it is difficult to provide a 'cookbook' set of instructions for building from source code. Please note the current OSX build process is a stop-gap solution so that people could begin installing Nightshade on Macs as quickly as possible, but the process will ease with Nightshade's eventual inclusion into the Macports repository. A standalone binary installer is also a future possibility.

To address your specific question, is sounds like you need to install XCode. Macports works with XCode to build Unix projects on OSX. It's a free set of tools that can be downloaded from Apple (registration required). http://developer.apple.com/technologies/xcode.html.

A standard terminal, something like iTerm, is fine. Please reference the Macports documentation, http://guide.macports.org/, for information specific to the usage of Macports.

-Trystan

On May 5, 2010, at 3:20 PM, chemed wrote:

> New question #109833 on Nightshade:
> https://answers.launchpad.net/nightshade/+question/109833
>
> I am looking @ directions from source tarball and am a little confused about the vernacular. I have installed macports. for building libraries, I get error messages:
> Error: target org.macports.build returned: cant read "build.cmd": Failed to locate 'make' in path //// or at its MacPorts configuration time location
> I'm pretty new to MAC so I am sure I'm just missing something in the instructions that came with the .tar file
>
> It would be great if someone would post easy to follow step-by-step instructions for OSX install. PLEASE?
> How do I install the ports?
> What are development libraries?
> do I need to type into X11 or can i use regular terminal?
>
> --
> You received this question notification because you are a member of
> Nightshade, which is an answer contact for Nightshade.

chemed (amcbride) said : #2

Do you mean to say that the files can't be compiled using the macports instructions?
What is the purpose of having XCode? Why is it needed?

Like I said, I'm pretty new to all this MAC stuff so the instructions that are contained in the .tar file are pretty hard to decipher. I signed up @ Apple as a developer and started learning the terminal language. However, when I clicked the link to download XCode, it looped me back out to the login page. logged in again, same thing...so frustrating.
It seems like a lot of ppl want this software for their MAC but are unable to use it. I will keep working on the problem and post as I learn things. Hopefully soon.

Trystan (trystan) said : #3

"Do you mean to say that the files can't be compiled using the macports instructions?"

No, the Macports instructions include a section on installing XCode; section 2.2 of http://guide.macports.org/.

"What is the purpose of having XCode? Why is it needed?"

Macports is a source code distribution tool that manages dependencies between source packages (the Mac equivalent of apt-get on Ubuntu or yum on Fedora). XCode is required to actually compile the packages provided by Macports. It contains the compiler and underlying Unix build system for the OSX platform (the Mac equivalent of GNU gcc and 'make' on Linux platforms).

-Trystan

On 05/07/2010 09:02 AM, chemed wrote:
> Question #109833 on Nightshade changed:
> https://answers.launchpad.net/nightshade/+question/109833
>
> chemed posted a new comment:
> Do you mean to say that the files can't be compiled using the macports instructions?
> What is the purpose of having XCode? Why is it needed?
>
> Like I said, I'm pretty new to all this MAC stuff so the instructions that are contained in the .tar file are pretty hard to decipher. I signed up @ Apple as a developer and started learning the terminal language. However, when I clicked the link to download XCode, it looped me back out to the login page. logged in again, same thing...so frustrating.
> It seems like a lot of ppl want this software for their MAC but are unable to use it. I will keep working on the problem and post as I learn things. Hopefully soon.
>
>

chemed (amcbride) said : #4

I installed xcode and opened terminal.
I followed instructions on install page and it didn't work. I get this message from terminal:

mcbrides-imac:~ McBride$ sudo port install nightshade
dlopen(/Library/Tcl/macports1.0/MacPorts.dylib, 10): no suitable image found. Did find:
 /Library/Tcl/macports1.0/MacPorts.dylib: no matching architecture in universal wrapper
    while executing
"load /Library/Tcl/macports1.0/MacPorts.dylib"
    ("package ifneeded macports 1.0" script)
    invoked from within
"package require macports"
    (file "/opt/local/bin/port" line 39)

Am I missing something?

Best Trystan (trystan) said : #5

Not sure about that one. It appears to be a problem with the Macports installation. If you Google 'macports no suitable image found' there are lots of suggestions from people. If you upgraded your OSX version you may need to reinstall Macports to match the new version. People also suggest reinstalling the OSX developer tools from the OSX install disk (with Unix dev tools checked).

We expect to have a standard binary installer for OSX ready within a week or two. This will be a much simpler install solution for Nightshade on Leopard/Snow Leopard OSX systems. Also note that Nightshade will only install and run on Intel based Macs. There is no support for the old PowerPC Macs.

chemed (amcbride) said : #6

Thanks for the update.
FYI: I am running an Intel Mac and just upgraded to OSX Snow Leopard. The version of X Code that I installed was in the optional install folder that came with the OSX install disk, so I would assume that they would be compatible. I will definitely try a different Macports version.
I'm definitely ready for the bin install but would like to get this to work, on principle at least! :)

chemed (amcbride) said : #7

Thanks Trystan, that solved my question.