Push-Nachrichten von MacTechNews.de
Würden Sie gerne aktuelle Nachrichten aus der Apple-Welt direkt über Push-Nachrichten erhalten?
Forum>Software>Installation eines Open-Source Programms über Terminal

Installation eines Open-Source Programms über Terminal

blackbird
blackbird08.12.0922:37
Hallo!

Als angehender Maschinenbauingenieur hab ich interesse an dem Open-Source Programm "Z88"(für FEM-Berechnungen), dass ich über heise.de gefunden habe.

Ich habe alle Dateien an den in der Anleitung angegebenen Plätzen abgelegt. Nun häng ich an dem 3.Punkt (siehe Bild) in dem ich da irgend wie die Konfiguration ändern soll, aber wie bekomme ich diese umgesetzt?

Da ich völlig Ahnungslos bin Programme über diesen Weg zu installieren bitte ich um Hilfe, Tipps, usw.

Weitere Informationen die ihr viel. brauchen könntet gebe ich gerne.

Ich Danke schon jetzt für viele Tipps und Anregungen.
0

Kommentare

Drakhi09.12.0911:45
Eigentlich musst du nur genau das machen was da steht. Hab das auch schon mal unter OS X ausprobiert, aber die Windows-Version ist benutzerfreundlicher.
Wobei die zur Zeit sowohl an neuen Versionen für Windows, wie auch Mac und Linux arbeiten.

Hilfe findest du hier:

http://www.z88.uni-bayreuth.de/
0
ex_apple_user_neu09.12.0913:47
ist "lediglich" der Postprozessor, oder?

blackbird,
hast Du Dein Terminal bzw. bash geöffnet?
Was erscheint denn, wenn Du den Befehl aus Punkt 3 eingibst?

In Punkt 3 lädst Du den Texteditor nano (in Anlehnung an den Texteditor pico) und erstellst die versteckte Datei bash_profile.
In die Datei bash_profile setzt Du lediglich einige Dateipfade ein:
0
void
void09.12.0915:35
Kannst die .bash_profile auch mit TextEdit editieren, wenn dir das mit den "gewohnten" Programmen lieber ist.
touch ~/.bash_profile
open /Applications/TextEdit.app ~/.bash_profile
„Developer of the Day 11. Februar 2013“
0
blackbird
blackbird09.12.0918:16
ex_apple_user_neu
ist "lediglich" der Postprozessor, oder?

blackbird,
hast Du Dein Terminal bzw. bash geöffnet?
Was erscheint denn, wenn Du den Befehl aus Punkt 3 eingibst?

In Punkt 3 lädst Du den Texteditor nano (in Anlehnung an den Texteditor pico) und erstellst die versteckte Datei bash_profile.
In die Datei bash_profile setzt Du lediglich einige Dateipfade ein:
Ist ".bash_profile" ein Befehl für Terminal?

Wenn ja kommt bei dem und dem Befehl export PATH… nichts raus:

Last login: Wed Dec 9 18:02:07 on ttys001
You have new mail.
Daniel:~ daniel$ .bash_profile
-bash: .bash_profile: command not found
Daniel:~ daniel$ export PATH=$PATH:.
Daniel:~ daniel$ export PATH=$PATH:.

Nano würde ich gerne verwenden, allerdings komme ich nicht weiter mit der gegebenen Anleitung, warum auch immer?

Last login: Wed Dec 9 17:46:40 on ttys000
You have new mail.
Daniel:~ daniel$ cd nano-2.2.0
Daniel:nano-2.2.0 daniel$ ./configure
checking build system type... i386-apple-darwin10.2.0
checking host system type... i386-apple-darwin10.2.0
checking target system type... i386-apple-darwin10.2.0
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 style of include used by make... none
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/Users/daniel/nano-2.2.0':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Daniel:nano-2.2.0 daniel$ make
-bash: make: command not found
Daniel:nano-2.2.0 daniel$ make install
-bash: make: command not found
Daniel:nano-2.2.0 daniel$

void
Kannst die .bash_profile auch mit TextEdit editieren, wenn dir das mit den "gewohnten" Programmen lieber ist.
touch ~/.bash_profile
open /Applications/TextEdit.app ~/.bash_profile

Wenn ich das richtig als Terminal-Eingabe intepretiere, dann hab ich das Ergebnis:

Last login: Wed Dec 9 18:04:58 on ttys001
You have new mail.
Daniel:~ daniel$ touch -/.bash_profile
touch: illegal option -- /
usage: touch [-acfm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ...
Daniel:~ daniel$ open /Applications/TextEdit.app -/.bash_profile
open: invalid option -- /
Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b <bundle identifier>] [-a <application>] [filenames] [--args arguments]
Help: Open opens files from a shell.
By default, opens each file using the default application for that file.
If the file is in the form of a URL, the file will be opened as a URL.
Options:
-a Opens with the specified application.
-b Opens with the specified application bundle identifier.
-e Opens with TextEdit.
-t Opens with default text editor.
-f Reads input from standard input and opens with TextEdit.
-R, --reveal Selects in the Finder instead of opening.
-W, --wait-apps Blocks until the used applications are closed (even if they were already running).
--args All remaining arguments are passed in argv to the application's main() function instead of opened.
-n, --new Open a new instance of the application even if one is already running.
-g, --background Does not bring the application to the foreground.
-h, --header Searches header file locations for headers matching the given filenames, and opens them.
Daniel:~ daniel$

Und wie gehts dann weiter, denn mit den export Befehlen komme ich nicht weiter???


Fragen über Fragen. Die vielen Fragen kommen daher, dass ich noch völlig Ahnungslos in der Materie noch bin.

Trotz dem Danke für eure Rückmeldungen und Geduld.
0
penumbra09.12.0918:24
blackbird
Daniel:&#x7E; daniel$ touch -/.bash_profile
touch: illegal option -- /
usage: touch [-acfm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ...
Daniel:&#x7E; daniel$ open /Applications/TextEdit.app -/.bash_profile
open: invalid option -- /

Achtung: Du schreibst ein Minus - statt einer Tilde ~ (alt+N) nach dem "touch".
Das gleiche Problem nach dem "...Textedit.app"!

Zur Erklärung: Die Tilde ~ ist das Symbol für "Home-Ordner des angemeldeten Users".
„enjoy life in full trains“
0
blackbird
blackbird09.12.0919:48
penumbra
Achtung: Du schreibst ein Minus - statt einer Tilde &#x7E; (alt+N) nach dem "touch".
Das gleiche Problem nach dem "...Textedit.app"!

Zur Erklärung: Die Tilde &#x7E; ist das Symbol für "Home-Ordner des angemeldeten Users".

Hey danke! Das war mein Fehler. Jetzt habe ich die bash Datei ändern können.

Dann hab ich nun noch eine letzte Frage:
Woran mag wohl der Fehler liegen, dass die Datei z88.dyn nicht geöffnet werden kann?

Last login: Wed Dec 9 19:45:20 on ttys000
/Users/daniel/z88130a/z88com ; exit;
You have new mail.
Daniel:~ daniel$ /Users/daniel/z88130a/z88com ; exit;
Cannot open file Z88.DYN ! STOP !
logout

[Prozess beendet]

0
schleiftier09.12.0920:25
Starte das Programm mal aus dem Terminal heraus:

Erst mit
cd /Users/daniel/z88130a
in das Verzeichnis von Z88 wechseln, dann mit
./z88com
das Programm starten.
0
blackbird
blackbird09.12.0921:16
Vielen Dank. Genau so gehts!

Jetzt muss ich mich nur noch in das System einarbeiten.
0

Kommentieren

Diese Diskussion ist bereits mehr als 3 Monate alt und kann daher nicht mehr kommentiert werden.