Thursday, April 5th, 2007, 10:18

jabučnjak, pa kaže drugi dio… 

Iako mnogi misle da za jabuku baš i nema dosta programa kojima se može olakšati svakidašnjica rada, želio bih Vas malo provesti po svijetu podzemlja u kojem se i jabuka jako dobro snašla. Jedan od glavnih alata koji će Vam biti potreban je terminal.

OPEN DARWIN

Što je OpenDarwin project?

The DarwinPorts Project’s main goal is to provide an easy way to install various open-source software products on the Darwin OS family.

Na stranicama projekta (OpenDarwin) možete skinuti aktualnu verziju programa koju morate instalirati na svoje računalo. Ja ga neću stavljati ovdje na preuzimanje, ali direktan link je ovdje. Trenutna inačica programa je 1.3.1, za verziju Tiger. Naravno, ako imate stariju verziju Mac OS-a, možete skinuti i te inačice.

Jedan od velikih problema mi je bio što prilikom instalacije nisam imao gcc instaliran. No, ne brinite se. Jednostavno ili ubacite u Vaše računalo instalacijski DVD od OSX-a i pokrenite Xcode instalaciju ili se spojite na službene developer Apple stranice i skinite sa ga. Iskreno ovu drugu soluciju ne preporučujem jer je instalacija oko 1GB.

Instalacijom dobijate hrpu novog razvojnog programa u kojem je uključen i gcc alat. Da biste provjerili postojanost gcc-a, ukucajte u terminalu

Last login: Thu Apr 5 10:23:21 on ttyp3
Welcome to Darwin!
hankey:~ svidakovic$ gcc
powerpc-apple-darwin8-gcc-4.0.1: no input files
hankey:~ svidakovic$

i vidjeti ćete da stvar funkcionira.

Nakon preuzimanja programa (openDarwin project), kliknite na .dmg datoteku i instalacija započinje. Pojaviti će Vam se mali čovječuljak i par pitanja na koje bez razmišljanja možete odgovoriti potvrdno. Nakon započete instalacije, na jednom dijelu (recimo oko 80%) instalacija će Vam stati na trenutak. Nemojte se uplašiti, kao ja prvi puta, već jednostavno sačekajte da se Vaše lokalno računalo sinkronizira sa online repozitorijem datoteka. Nakon sinkronizacije, instalacija je gotova.

Da biste bili u sigurnost Vaše lokalne baze podataka port-ova, na službenim stranicama preporučuju pokretanja još jednom naredbe, pa učinite to i Vi

sudo port -d selfupdate

Nakon pokretanja naredbe, računalo će Vas upitati za Vašu zaporku, ako ju nemate definiranu (što je naravno loše) stisnite samo enter za nastavak.

Last login: Thu Apr 5 10:59:44 on ttyp3
Welcome to Darwin!
hankey:~ svidakovic$ sudo port -d selfupdate
Password:
DEBUG: Rebuilding the MacPorts base system if needed.
Synchronizing from rsync://rsync.darwinports.org/dpupdate/dports
receiving file list ... done
./
aqua/
archivers/zlib/
archivers/zlib/files/
audio/
audio/mp3cue/
audio/mpd/
audio/mpd/files/
databases/
devel/atk/
devel/bazaar/
devel/bazaar-ng/
devel/bazaar-ng/files/
devel/bazaar/files/
devel/dbus-glib/
devel/diffstat/
devel/gettext/
devel/glade3/
devel/glib2/
devel/gpgme/
devel/gsoap/
devel/libgdiplus/
devel/libsdl/
devel/libsdl_pango/
devel/libspiff/
devel/log4cpp/
devel/m4/
devel/mhash/
devel/netxx/
devel/nspr/
devel/openssl/
devel/pcre/
devel/perforce/
devel/pkgconfig/
devel/popt/
devel/quilt/
devel/spread/
devel/uriparser/
devel/xmlwrapp/
editors/emacs-devel/
editors/vim/
emulators/minivmac/
emulators/minivmac/files/
games/bzflag/
gnome/
gnome/gnome-keyring-manager/
gnome/gnome-netstatus/
gnome/gnome-session/
gnome/gnucash/
gnome/gnucash-devel/
gnome/gthumb/
gnome/libgtkhtml3/
gnome/libgtkhtml312/
gnome/metacity/
gnome/vino/
gnome/zenity/
graphics/ImageMagick/
graphics/agave/
graphics/ale/
graphics/antigraingeometry/
graphics/cairo/
graphics/fontconfig/
graphics/jpeg/
graphics/libmng/
graphics/libpng/
graphics/squish/
graphics/squish/files/
graphics/tiff/
graphics/wxWidgets/
graphics/wxWidgets26/
irc/erc/
irc/weechat/
java/xdoclet/
lang/chicken/
lang/erlang/
lang/erlang/files/
lang/ghc-devel/
lang/lua/
lang/python24/
lang/python25/
lang/scheme48/
lang/swi-prolog/
mail/
mail/archivemail/
mail/lbdb/
mail/mairix/
mail/putmail/
math/SuiteSparse/
math/arpack/
math/arpack/files/
math/nauty/
math/octave/
net/curl/
net/libipgeo/
net/maradns/files/
net/nedi/
net/net-snmp/
net/pavuk/
net/rsync/
net/snort/
net/tsocks/
net/tsocks/files/
net/wget/
news/hellanzb/
palm/pilot-link/
perl/
perl/p5-crypt-passwdmd5/
perl/p5-crypt-rijndael/
perl/p5-file-tail/
perl/p5-gd/
perl/p5-inline/
perl/p5-inline/files/
perl/p5-mail-clamav/
print/abcm2ps/
print/freetype/
print/freetype/files/
print/libotf/
PortIndex
print/scribus/
python/
python/py-archmage/
python/py-beaker/
python/py-bsddb/
python/py-gdbm/
python/py-ipython/
archivers/zlib/Portfile
archivers/zlib/files/patch-Makefile-static
audio/mp3cue/Portfile
audio/mpd/Portfile
audio/mpd/files/patch-flac
devel/bazaar-ng/Portfile
devel/bazaar-ng/files/patch-setup.py
devel/bazaar/Portfile
devel/bazaar/files/patch-pfs-sftp.c
devel/bazaar/files/patch-pfs.c
devel/bazaar/files/patch-unit-sftp.c
devel/dbus-glib/Portfile
devel/diffstat/Portfile
devel/glade3/Portfile
devel/gpgme/Portfile
python/py-matplotlib/
python/py-matplotlib/files/
python/py-nevow/
python/py-nose/
python/py-numarray/
python/py-paste/
python/py-pastedeploy/
python/py-pastescript/
python/py-pastewebkit/
python/py-pylons/
python/py-readline/
python/py-routes/
python/py-setuptools/
python/py-simplejson/
devel/gsoap/Portfile
devel/libgdiplus/Portfile
devel/libsdl/Portfile
devel/libsdl_pango/Portfile
devel/libspiff/Portfile
devel/log4cpp/Portfile
devel/m4/Portfile
devel/mhash/Portfile
devel/netxx/Portfile
python/py-spreadmodule/
python/py-tkinter/
python/py-urwid/
python/py25-bsddb/
devel/nspr/Portfile
devel/openssl/Portfile
devel/pcre/Portfile
devel/perforce/Portfile
devel/quilt/Portfile
devel/spread/Portfile
devel/uriparser/Portfile
devel/xmlwrapp/Portfile
editors/emacs-devel/Portfile
editors/vim/Portfile
emulators/minivmac/Portfile
emulators/minivmac/files/patch-CNFGGLOB.h-mac128k.diff
emulators/minivmac/files/patch-CNFGGLOB.h-mac512k.diff
emulators/minivmac/files/patch-CNFGGLOB.h-mac512ke.diff
emulators/minivmac/files/patch-CNFGGLOB.h-macse.diff
games/bzflag/Portfile
python/py25-bz2/
python/py25-crypto/
python/py25-curses/
python/py25-gdbm/
python/py25-hashlib/
python/py25-mx-base/
python/py25-mx-experimental/
python/py25-readline/
python/py25-sqlite3/
python/py25-tkinter/
python/py25-zlib/
python/py25-zopeinterface/
gnome/gnome-keyring-manager/Portfile
gnome/gnome-netstatus/Portfile
gnome/gnome-session/Portfile
gnome/gnucash-devel/Portfile
gnome/gnucash/Portfile
gnome/gthumb/Portfile
gnome/libgtkhtml3/Portfile
gnome/libgtkhtml312/Portfile
ruby/rb-mysql/
gnome/metacity/Portfile
ruby/rb-plruby/
gnome/vino/Portfile
gnome/zenity/Portfile
graphics/ImageMagick/Portfile
graphics/agave/Portfile
graphics/ale/Portfile
graphics/antigraingeometry/Portfile
graphics/libmng/Portfile
graphics/squish/Portfile
graphics/squish/files/patch-config.diff
graphics/wxWidgets/Portfile
graphics/wxWidgets26/Portfile
irc/erc/Portfile
irc/weechat/Portfile
java/xdoclet/Portfile
lang/chicken/Portfile
lang/erlang/Portfile
lang/erlang/files/mach_override.c
lang/erlang/files/mach_override.h
ruby/rb-sqlite3/
science/gerris/
security/
security/courier-authlib/
lang/ghc-devel/Portfile
lang/lua/Portfile
lang/python24/Portfile
lang/python25/Portfile
lang/scheme48/Portfile
lang/swi-prolog/Portfile
mail/archivemail/Portfile
mail/lbdb/Portfile
mail/mairix/Portfile
mail/putmail/Portfile
math/SuiteSparse/Portfile
math/arpack/Portfile
math/arpack/files/patch-arpack.diff
security/kedpm/
security/libgsasl/
security/makepasswd/
security/tor-devel/
shells/rc/
sysutils/MacPorts/
sysutils/MacPorts/files/
sysutils/coreutils/
math/nauty/Portfile
sysutils/diffutils/
math/octave/Portfile
net/curl/Portfile
net/libipgeo/Portfile
net/maradns/files/patch-configure
net/maradns/files/patch-install.darwin
net/nedi/Portfile
net/net-snmp/Portfile
net/pavuk/Portfile
net/snort/Portfile
net/tsocks/Portfile
net/tsocks/files/patch-Makefile.in
net/tsocks/files/patch-configure.in
net/tsocks/files/patch-dead_pool.c
net/tsocks/files/patch-tsocks.c
net/tsocks/files/patch-tsocks.h
news/hellanzb/Portfile
palm/pilot-link/Portfile
perl/p5-crypt-passwdmd5/Portfile
perl/p5-crypt-rijndael/Portfile
perl/p5-file-tail/Portfile
perl/p5-gd/Portfile
perl/p5-inline/Portfile
perl/p5-inline/files/patch-C-Makefile.PL
sysutils/file/
sysutils/findutils/
sysutils/getopt/
sysutils/gkrellm/
sysutils/gwhich/
sysutils/man/
sysutils/man/files/
sysutils/mc/
sysutils/sleepnow/
tex/pTeX/
textproc/expat/
textproc/gsed/
textproc/libiconv/
textproc/libmrss/
textproc/libmrss/files/
www/
www/cadaver/
www/litmus/
www/neon/
www/php5/
x11/XFree86/
x11/XFree86/files/
x11/Xft2/
x11/gtk2/
x11/pango/
x11/qt3/
x11/qt3/files/
x11/render/
x11/xrender/
perl/p5-mail-clamav/Portfile
print/abcm2ps/Portfile
print/freetype/Portfile
print/freetype/files/patch-modules.cfg.diff
print/libotf/Portfile
print/scribus/Portfile
python/py-archmage/Portfile
python/py-beaker/Portfile
python/py-bsddb/Portfile
python/py-gdbm/Portfile
python/py-ipython/Portfile
python/py-matplotlib/Portfile
python/py-matplotlib/files/patch-setupext.py.diff
python/py-nevow/Portfile
python/py-nose/Portfile
python/py-numarray/Portfile
python/py-paste/Portfile
python/py-pastedeploy/Portfile
python/py-pastescript/Portfile
python/py-pastewebkit/Portfile
python/py-pylons/Portfile
python/py-readline/Portfile
python/py-routes/Portfile
python/py-setuptools/Portfile
python/py-simplejson/Portfile
python/py-spreadmodule/Portfile
python/py-tkinter/Portfile
python/py-urwid/Portfile
python/py25-bsddb/Portfile
python/py25-bz2/Portfile
python/py25-crypto/Portfile
python/py25-curses/Portfile
python/py25-gdbm/Portfile
python/py25-hashlib/Portfile
python/py25-mx-base/Portfile
python/py25-mx-experimental/Portfile
python/py25-readline/Portfile
python/py25-sqlite3/Portfile
python/py25-tkinter/Portfile
python/py25-zlib/Portfile
python/py25-zopeinterface/Portfile
ruby/rb-mysql/Portfile
ruby/rb-plruby/Portfile
ruby/rb-sqlite3/Portfile
science/gerris/Portfile
security/courier-authlib/Portfile
security/kedpm/Portfile
security/libgsasl/Portfile
security/makepasswd/Portfile
security/tor-devel/Portfile
shells/rc/Portfile
sysutils/MacPorts/Portfile
sysutils/MacPorts/files/License.html
sysutils/MacPorts/files/ReadMe.rtf
sysutils/coreutils/Portfile
sysutils/diffutils/Portfile
sysutils/file/Portfile
sysutils/findutils/Portfile
sysutils/getopt/Portfile
sysutils/gwhich/Portfile
sysutils/man/Portfile
sysutils/man/files/patch-conf_script
sysutils/sleepnow/Portfile
tex/pTeX/Portfile
textproc/gsed/Portfile
textproc/libiconv/Portfile
textproc/libmrss/Portfile
textproc/libmrss/files/patch-src-mrss_parser.c
www/cadaver/Portfile
www/litmus/Portfile
www/neon/Portfile
www/php5/Portfile
x11/XFree86/Portfile
x11/XFree86/files/XTerm.ad.diff
x11/XFree86/files/patch-GL_apple-Imakefile
x11/XFree86/files/patch-GL_apple-dri_driver.h
x11/XFree86/files/patch-Xserver-darwin-Imakefile
x11/XFree86/files/patch-Xserver-darwin.c
x11/XFree86/files/xfree86.fink.patch
x11/qt3/Portfile
x11/qt3/files/CompileScript.sh
x11/qt3/files/InstallScript.sh
x11/qt3/files/qt3-panther.patch
x11/qt3/files/qt3-tiger.patch
deleting x11/gtk2/work
deleting sysutils/gkrellm/work
deleting security/dwepcrack/Portfile
deleting directory security/dwepcrack
deleting net/tsocks/files/patch-parser.c
deleting lang/ghc-devel/files/patch-GC.c
deleting directory lang/ghc-devel/files
deleting graphics/antigraingeometry/files/patch-Makefile.am
deleting directory graphics/antigraingeometry/files
deleting audio/poc/files/patch-pogg-http.c
deleting audio/poc/files/patch-poc-http.c
deleting audio/poc/files/patch-poc-fec.c
deleting audio/poc/files/patch-poc-3119.c
deleting audio/poc/files/patch-poc-2250.c
deleting audio/poc/files/patch-pob-2250.c
deleting audio/poc/files/patch-network4.c
deleting audio/poc/files/patch-network.h
deleting audio/poc/files/patch-fec-pkt.h
deleting directory audio/poc/files
deleting audio/poc/Portfile
deleting directory audio/poc
deleting aqua/adium/Portfile
deleting directory aqua/adium
deleting aqua/SharedMenusCocoa/Portfile
deleting directory aqua/SharedMenusCocoa
deleting aqua/Fire/files/patch-firetalk__firetalk.h
deleting directory aqua/Fire/files
deleting aqua/Fire/Portfile
deleting directory aqua/Fire
sent 15617 bytes received 435145 bytes 14309.90 bytes/sec
total size is 14267637 speedup is 31.65
DEBUG: MacPorts base dir: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base
DEBUG: Setting user: root
DarwinPorts base version 1.400 installed
DEBUG: Updating using rsync
receiving file list ... done
sent 15617 bytes received 435145 bytes 14309.90 bytes/sec
total size is 14267637 speedup is 31.65
DEBUG: MacPorts base dir: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate1/base
DEBUG: Setting user: root
DarwinPorts base version 1.400 installed
DEBUG: Updating using rsync
receiving file list ... done
sent 77 bytes received 4404 bytes 995.78 bytes/sec
total size is 2537900 speedup is 566.37
Downloaded MacPorts base version 1.400
The MacPorts installation is not outdated and so was not updated
DEBUG: Setting ownership to root
selfupdate done!
hankey:~ svidakovic$

To je to. Spremni ste za instalaciju. Npr. iskušajte ove stvari…

sudo port install mc
sudo port install wget
sudo port install rsync

ps: ne zaboravite RTFM :-)

  • Facebook
  • Twitter

No Comments

No comments yet.

Leave a comment

(required)
(required) (will not be published)

Home