zenZero Posted November 8, 2006 Report Share Posted November 8, 2006 vorrei eseguire dei programmi direttamente da terminale. i programmi sono scritti in c e compilati con i dev tool del mac. inoltre ho provato ad installare su mac nmap. a parte il fatto che mi dà errori per il frontend grafico, per il resto dice che è installato correttamente... ma perchè allora quando tento di far partire nmap da terminale non succede nulla? dove sbaglio? Link to comment Share on other sites More sharing options...
zenZero Posted November 8, 2006 Author Report Share Posted November 8, 2006 ho provato ad utilizzare i darwinports per l'installazione di nmap.il mio OS è il 10.3.9.allora... ho installato i darwinports, ho aggiornato con comando sudo port -d selfupdate e fin qui tutto liscio. dopodichè impartisco il comando sudo port install nmap e incomincia l'installazione. tutto sembra procedere per il verso giusto quando, proprio alla fine, mi compare questo... qualcuno sa dirmi il perchè? Link to comment Share on other sites More sharing options...
mactux Posted November 8, 2006 Report Share Posted November 8, 2006 se i programmi sono scritti in c apri il terminale e digiti cc -o nofile.c nomefile.exe dopo che l'ha compilato digiti ./nomefile.exe ed il gioco è fatto. Link to comment Share on other sites More sharing options...
kibiz Posted November 8, 2006 Report Share Posted November 8, 2006 .exe? bleah... l'estensione non serve, e certamente non .exe... Link to comment Share on other sites More sharing options...
zenZero Posted November 8, 2006 Author Report Share Posted November 8, 2006 intanto grazie... appena posso ci provo, mentre per quanto riguarda il problema di nmap? qualcuno sa spiegarmi qualcosa in merito? Link to comment Share on other sites More sharing options...
zenZero Posted November 12, 2006 Author Report Share Posted November 12, 2006 risolto tutto alla grande, grazie mille! (anche per nmap) Link to comment Share on other sites More sharing options...
whenangelsdie Posted November 18, 2006 Report Share Posted November 18, 2006 se i programmi sono scritti in c apri il terminale e digiti cc -o nofile.c nomefile.exe dopo che l'ha compilato digiti ./nomefile.exe ed il gioco è fatto.Ho avuto un mancamento. Mi sono anche spaventato. Forse è ora di andare a nanna... Link to comment Share on other sites More sharing options...
Nemesis19 Posted November 24, 2006 Report Share Posted November 24, 2006 zenZero mi diresti come hai fatto a risolvere? io ho installato darwinports poi volevo installare mp3wrap (praticamente un mp3 joiner) ma quando faccio sudo port install mp3wrap, mi restituisce questo: ---> Configuring mp3wrap Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_audio_mp3wrap/work/mp3wrap-0.5" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man" returned error 1 Command output: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets ${MAKE}... no checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH Error: Status 1 encountered during processing. sembra manchi un compilatore di "c", ma come faccio a metterlo? sapreste aiutarmi? penso il problema sia simile. Link to comment Share on other sites More sharing options...
fabricius Posted November 24, 2006 Report Share Posted November 24, 2006 Ma hai installato i developer tools? Link to comment Share on other sites More sharing options...
Nemesis19 Posted November 24, 2006 Report Share Posted November 24, 2006 ehm mi pare di no... devo proprio? perche mi pare che occupino molto spazio...non c'è altro modo? Link to comment Share on other sites More sharing options...
Luca Nalin Posted November 24, 2006 Report Share Posted November 24, 2006 Devi installare Xcode: puoi anche scegliere di non installare tutta la documentazione, per alleggerire il tutto. Link to comment Share on other sites More sharing options...
Nemesis19 Posted November 24, 2006 Report Share Posted November 24, 2006 ok perfetto, ho scaricato xcode 2.4.1 dalla apple, 900 mb di file dmg. dentro ci sono due mpkg, so che devo installare Xcode tools.mpkg e dopo mi da la possibilità di installare adhoc il tutto. ora mi chiedo, nella installazione adhoc, tra queste cose cosa posso non installare per avere quei componenti che ho postato sopra? per comodità scrivo qui: - developer tools software - gcc 4 - gcc 3 - software development kits - java 1.4 developer tools - developer documentation (ok so già che questo posso non metterlo) - developer example software - webobjects - cross development - chud tools per favore ditemi voi cosa installare tra questi. grazie mille Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now