Newbie Question about Binary Packages

Anders F Björklund afb at macports.org
Fri May 2 02:17:14 PDT 2008


Mikael wrote:

> I'm a complete newbie to compiling binaries, and UNIX for that  
> matter, so please forgive me for any ignorant questions.  I'm  
> hoping to use MacPorts to compile binary packages that can be  
> distributed and installed on other computers.  I've been practicing  
> with hexedit.  After some trial and error I've been able to compile  
> it and it runs fine on my computer.  I then tried "port pkg  
> hexedit" which I was under the impression would give me a package  
> that would install all the files needed to run hexedit on other  
> computers.  I created the pkg file but when I tested it on another  
> computer, the installed binary wouldn't run.  I get the impression  
> that needed libraries are not being installed on the target  
> computer.  Can anybody point me in the right direction to  
> accomplish my goal.  Thanks in advance for any help.

Use "port mpkg" instead (includes dependencies).

--anders



More information about the macports-users mailing list