Schrift
Wiki:Tipp zum Debugging: use Data::Dumper; local $Data::Dumper::Useqq = 1; print Dumper \@var;
[thread]5457[/thread]

SDL kompilieren

Leser: 1


<< >> 5 Einträge, 1 Seite
pktm
 2005-03-29 04:53
#49197 #49197
User since
2003-08-07
2921 Artikel
BenutzerIn
[Homepage]
user image
Hallo!

Ich würde mir gerne, nach nicht lösbaren Problemen mit fertigen binarys SDL auf meinem Rechner kompilieren.

Nun habe ich soetwas noch nie gemacht.
Deshalb bin ich auf einige Seiten suchen gegangen und habe mir die "free MSVC-tools" von Mircoschrott gezogen, MinGW, Dev-C++ und cygwin herunter geladen und installiert.

Jetzt würde ich gerne in der mingw-minimalversion einfach
makefile
make native
make test
make install (oder zuerst test?)

eingeben und glücklich sein.
Das kam beim befehl makefile heraus:
Quote
$ makefile
./makefile: shell: command not found
./makefile: CWD: command not found
./makefile: CROSS_PATH: command not found
./makefile: all:: command not found
./makefile: @echo: command not found
./makefile: CROSS_PATH: command not found
./makefile: @echo: command not found
./makefile: native:: command not found
make: `install' is up to date.
./makefile: cross:: command not found
./makefile: CROSS_PATH: command not found
make: `install' is up to date.
./makefile: install:: command not found
./makefile: prefix: command not found


Ich habe übrigens WinXP Home, Perl 5.8.6 und die o.g. Software-Viecher.

Kann mir wer helfen?

mfg pktm
http://www.intergastro-service.de (mein erstes CMS :) )
esskar
 2005-03-29 05:08
#49198 #49198
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
pq
 2005-03-29 12:46
#49199 #49199
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
[quote=pktm,29.03.2005, 02:53]Das kam beim befehl makefile heraus:
Quote
$ makefile
./makefile: shell: command not found
...
[/quote]
kein wunder, der befehl muss make (oder nmake auf windows) heißen.
makefile ist kein ausführbares programm.
aber das steht ja auch hier: Wiki:Wie installiere ich ein Modul?\n\n

<!--EDIT|pq|1112086157-->
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem
esskar
 2005-03-29 14:53
#49200 #49200
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
ich denke mingw reicht da völlig.
und anstatt "makefile" musst du wohl "perl makefile.pl" sagen (und zwar dann auf der MinGw shell natürlich).
Oder du schaust nochmal, ob das mit ppm doch noch klappt - siehe anderer thread!
pktm
 2005-03-29 20:55
#49201 #49201
User since
2003-08-07
2921 Artikel
BenutzerIn
[Homepage]
user image
Jo, und nun?
Quote
pktm@KINDERGARTEN /d/down/sdl/sdld
$ make
Type "make native" to install to /usr
Type "make cross" to install to /usr/local/cross-tools/i386-mingw32msvc/

pktm@KINDERGARTEN /d/down/sdl/sdld
$ make native
make install prefix=/usr
make[1]: Entering directory `/d/down/sdl/sdld'
make[1]: `install' is up to date.
make[1]: Leaving directory `/d/down/sdl/sdld'

pktm@KINDERGARTEN /d/down/sdl/sdld
$ make test
make: Nothing to be done for `test'.

pktm@KINDERGARTEN /d/down/sdl/sdld
$ make install
make: `install' is up to date.
http://www.intergastro-service.de (mein erstes CMS :) )
<< >> 5 Einträge, 1 Seite



View all threads created 2005-03-29 04:53.