01.05.2025, 11:42 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
Ursa
Titel: Compiling 101  BeitragVerfasst am: 20.07.2006, 01:59 Uhr



Anmeldung: 18. Jul 2006
Beiträge: 7

I've been following the howto here, to try to compile this: here but when I follow this part:

"If an application should build on many different systems, it needs to be properly configured to adapt to the particular features of any supported system. To solve this problem, there is a tool named autoconf which a software author can use for this purpose. With autoconf the author/ developer creates a file named configure that is then included in the source package and should be executed by the installer (configure is simply a shell script)."

the terminal says configure: command not found. I think I'm missing somthing really obvious... what is it?

Sorry if this is vauge, it's the best my wee brain can do.

And what do you use to deal with ".run" and ".package" files?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
jackiebrown
Titel: RE: Compiling 101  BeitragVerfasst am: 20.07.2006, 03:15 Uhr



Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
it is usually ./configure

_________________
Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Ursa
Titel:   BeitragVerfasst am: 20.07.2006, 03:22 Uhr



Anmeldung: 18. Jul 2006
Beiträge: 7

Should'a mentioned that, tried ./configure already

BTW I'm running a H
D install.

What I'm asking is, is there anything I need to install to get this to work? Is the configure file supposed to come with the source?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
SaberBlaze
Titel:   BeitragVerfasst am: 20.07.2006, 07:05 Uhr



Anmeldung: 22. Jun 2006
Beiträge: 49

When you say it doesn't work do you mean nothing happens or does it exit with errors? I've found that to compile a lot of the programs out there you need a crapload of dev files installed.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
devil
Titel:   BeitragVerfasst am: 20.07.2006, 07:10 Uhr
Team Member
Team Member


Anmeldung: 06. Mai 2005
Beiträge: 3087
Wohnort: berlin
ursa,
configure needs to be in the source. there is usually an install or readme file, that tells you how to get the app gioing. its not always configure/make/make install.

greetz
devil

_________________
<<We are Xorg - resistance is futile - you will be axximilated>>

Host/Kernel/OS "devilsbox" running[2.6.19-rc1-git5-kanotix-1KANOTIX-2006-01-RC4 ]
CPU Info AMD Athlon 64 3000+ clocked at [ 803.744 MHz ]
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Ursa
Titel:   BeitragVerfasst am: 20.07.2006, 07:50 Uhr



Anmeldung: 18. Jul 2006
Beiträge: 7

The name was accurate then? Sehr glücklich

Thanks much, I'm completely new at this whole thing
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
slam
Titel:   BeitragVerfasst am: 20.07.2006, 08:51 Uhr



Anmeldung: 05. Okt 2004
Beiträge: 2069
Wohnort: w3
@devil: In Debian we always use
Code:
./configure
make
checkinstall


@ursa: This is a nice game, but probably not best package for a first lession in self compiling. It has a lot of dependencies you need to install before (please always read the included documentation before starting to configure, this package comes with extensive documentation for installing on Linux). Better start with a more easy target and try to find a ready made Debian package. Probalby you can get someone here interested in preparing it Winken.

Greetings,
Chris

_________________
"An operating system must operate."
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen AIM-Name Yahoo Messenger MSN Messenger ICQ-Nummer 
Antworten mit Zitat Nach oben
mzilikazi
Titel:   BeitragVerfasst am: 20.07.2006, 13:48 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
Please read the COMPILE.html located in the warzone-2.0.3 directory. You'll see all of the required dependencies. First run
Code:
./autogen.sh
./configure


If you're missing a dependency you'll get an error like so:
Code:
checking for presence of SDL_net... Could not find SDL_net
configure: error: SDL_net is not installed


Now you can search for the required dependency like so:
Code:
apt-cache search sdl|grep net
libsdl-net1.2 - network library for Simple DirectMedia Layer
libsdl-net1.2-dev - Development files for SDL network library

Perfect. Now you know what to install.
Code:
apt-get install libsdl-net1.2 libsdl-net1.2-dev

Then try ./configure again.

I had to install these packages on my system. Yours may very well be different.
Code:
libphysfs-1.0-0 libphysfs-dev
libsdl-net1.2 libsdl-net1.2-dev
libopenal-dev

Keep installing the dependencies as required until ./configure is successful. You will see this:
Code:
Warzone will compile with the following components:

 OpenGL acceleration:   yes
 OpenAL sound system:   yes
 MP3 music support:     yes
 OGG music support:     yes


Now it's time for make.
Code:
make

Then if make finishes properly use checkinstall (as root) to create your own .deb.
Code:
# checkinstall

Checkinstall will build and install the warzone deb for you.

I can confirm that the game does build and launch. I did not have the time to actually play it. Good luck. Smilie

Post any problems you have here and we'll get them sorted.

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
SaberBlaze
Titel:   BeitragVerfasst am: 21.07.2006, 01:51 Uhr



Anmeldung: 22. Jun 2006
Beiträge: 49

There is a much easier way to install required dependencies for ./configure.

Do apt-get update
Then apt-get install auto-apt

When you would normally do a ./configure, instead do a

Code:
auto-apt run ./configure


It will try to install all the required dependencies, (I think it asks for confirmation first).

After that is the usual make, then checkinstall.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel:   BeitragVerfasst am: 22.07.2006, 03:47 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
SaberBlaze hat folgendes geschrieben::

When you would normally do a ./configure, instead do a

Code:
auto-apt run ./configure



Nice! Smilie
You learn something new everyday.

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
jackiebrown
Titel:   BeitragVerfasst am: 22.07.2006, 05:16 Uhr



Anmeldung: 13. Mai 2005
Beiträge: 732
Wohnort: Texas
That is nice. That one goes into my scrapbook

_________________
Always acknowledge a fault. This will throw those in authority off their guard and give you an opportunity to commit more.
Mark Twain
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
piper
Titel:   BeitragVerfasst am: 22.07.2006, 05:52 Uhr
Team Member
Team Member


Anmeldung: 03. Mai 2005
Beiträge: 1544
Wohnort: out there somewhere
Same here Winken thanks

_________________
h2's d-u script
h2's rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
SaberBlaze
Titel:   BeitragVerfasst am: 22.07.2006, 09:28 Uhr



Anmeldung: 22. Jun 2006
Beiträge: 49

Just a word of caution: this program sometimes tries to install packages that you don't really need, for example it kept asking me to install a fortran compiler or something. If you know you don't need it, then don't install it. Another way to never worry about having the files is to install devel meta packages such as kde-devel.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
SaberBlaze
Titel:   BeitragVerfasst am: 23.07.2006, 22:58 Uhr



Anmeldung: 22. Jun 2006
Beiträge: 49

Here is another app that is still experimental software:

GNU Source Installer

Zitat:
It provides configuration, compilation, installation, upgrade, tracking and removal of packages built from source code. The functionality is reachable using a command line, scriptable front end or a GTK graphical interface.


Here is a picture of it:

 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.