Problem with the ./configure command

Hey,

At first I’d like to say that I’m completely new in Linux so i got only veeeeery little knowledge about the terminal…

My problem now is, like the title says it, the ./configure command…
I don’t know how to do this…
I went to Google and searched for ages about how install .tar.gz files, but alway I have to compile with the make command but that doesen’t work without the ./configure…
I read something about the Build Essentials… but i don’t know how to find or to install them…

can someone playse help me?

please if you have to know something ask me :slight_smile:

I’m using OpenSuSe 11.2

P.S. If I’m doing something wrong… please correct me :slight_smile:

Hi
What are you trying to compile from source?


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 12 days 6:19, 5 users, load average: 0.18, 0.39, 0.47
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

At the moment I’m trying to compile PlayOnLinux… but i got the same problem with other packages…
I’ve already unpacked it and now got all the files…
In every explanation it says that I have to “cd” to the directory and run ./configure…

Am I right?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, are you right, but better install PlayOnLinux from the openSUSE
repositories intead of compile it yourself, try to become friend of the
command zypper :wink:


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkvXNcoACgkQJQ+0ABWtaVnEEgCfbe230siPSrBGuU5yygNPxykb
m60AnjD310rV927qSWz2JcAChJSo4ZCV
=qzBn
-----END PGP SIGNATURE-----

Hi
Which can be found here;
http://software.opensuse.org/search?baseproject=openSUSE%3A11.2&p=1&q=playonlinux

Note, make sure you uncheck the box to remain subscribed to the users
repository!

Also as a new user, I suggest a read here;
http://forums.opensuse.org/information-new-users/new-user-how-faq-read-only/


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 12 days 6:57, 5 users, load average: 0.36, 0.42, 0.47
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

Thank you guys :slight_smile:

works… I’ve already installed some programms that way…

But i still want to know… why ./configure doesent work… hmm *scratch head :slight_smile:
If someone has got an idea… he may share it with me please

thanks once again to you two :slight_smile:
it works easier than I thought :slight_smile:

After you unpacked the archive … did you cd to the directory? … Just asked, sometimes these things happen

Hi
So your cd’ing to the unpacked files directory? Run the ls command
and check there is a file called configure.
eg;


cd somefile-1.2
ls

Where somefile-1.2 is the unpacked (unzipped, untarred etc) file name
directory.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 12 days 8:29, 5 users, load average: 0.34, 0.30, 0.38
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

On 04/27/2010 03:56 PM, harbrink wrote:
>
> Bob_Mosh;2158124 Wrote:
>>
>>
>> But i still want to know… why ./configure doesent work…
> After you unpacked the archive … did you cd to the directory? …
> Just asked, sometimes these things happen

Exactly what message do you get when you enter ./configure?

Yes I did cd to the directory after unpacking… :slight_smile:

no there is no file called configure… but it wasn’t in any of the packages i downloaded already… hmm…

i get this error message:

bash: ./configure: no such file or directory

(i think its the right translation… i got this message in german)

but if there is a file needed like that… why isn’t it there?!..

Hi
Short of looking at the source, is there a readme file. As an aside, I
see there is a version on packman so I strongly recommend using
that version.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 13 days 1:45, 4 users, load average: 0.72, 0.34, 0.32
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 195.36.15

Are you sure you are in the right directory? The prompt always tells you where you are at. There should be a readme file that tells you the procedure to install for that package.

On 04/28/2010 08:56 AM, Bob Mosh wrote:
>
> Yes I did cd to the directory after unpacking… :slight_smile:
>
> no there is no file called configure… but it wasn’t in any of the
> packages i downloaded already… hmm…
>
> i get this error message:
>>
>> bash: ./configure: no such file or directory
>
> (i think its the right translation… i got this message in german)
>
> but if there is a file needed like that… why isn’t it there?!..

If the package needs to use configure, it will be there unless the
installation process has been totally borked. I seldom build from
scratch as either the openSUSE or Packman repositories have most of what
I need. If configure is not there, check for Makefile (Note case - it is
important.). If it is present, you should only need to enter ‘make’.

in this directory isnt anything like a readme or an ‘make’ file and there is no configure file…

now I’m looking after some other programms… maybe it’ll work then…

but thank you guys :slight_smile:
now i know whats wrong with the package :slight_smile:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

can you uncompress the file, cd to the directory and post the output of ls?


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkvYeQkACgkQJQ+0ABWtaVlVUACfSFVHpPTtv7HR/3kVvkAGQWvQ
VQIAnR5y6Z27yyr1XwthDTudIgW2giwe
=e5Nh
-----END PGP SIGNATURE-----

yes i can, but i’ve found what the thing was…

Fry@linux-l0zb:~/Downloads/playonlinux> ls
bash CHANGELOG daemon etc lang lib LICENCE playonlinux playonlinux-daemon playonlinux-pkg python themes

The programm was alredy compiled
I only had to run the playonlinux file

angry with myself >:(

but i still try to find a package with a configure file in it

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

try this: http://ftp.gnu.org/gnu/wget/wget-1.12.tar.gz

Remember:
1- uncompress (tar xvfz wget-1.12.tar.gz)
2- change directory (cd wget-1.12)
3- run config (./configure)
if all ok
4- run make (make)
else
search for the problem


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkvYiKgACgkQJQ+0ABWtaVmCBQCfUALeJZsFklGrHrDgdhJc5gBp
Nx0AnjY0SenL+//TxqRrZ7XqNZ8+U+pt
=u1wU
-----END PGP SIGNATURE-----

Sometimes reading before downloading helps.

Downloads - PlayOnLinux - Run your Windows applications on Linux easily !

Generic package
.tar.gz files :

You just have to extract these file and run “./playonlinux”. PlayOnLinux is written in python and, so you have nothing to build.

PlayOnLinux : PlayOnLinux_3.7.5.tar.gz

Fry@linux-l0zb:~/Downloads/playonlinux> ls
bash CHANGELOG daemon etc lang lib LICENCE **playonlinux** playonlinux-daemon playonlinux-pkg python themes

To make it clear - ‘./configure’ is not a command, it just calls a script called ‘configure’ which must be in the current directory.

Just to be sure.

okay thanks

yes it was the thing that there wasn’t any configure script…

works perfectly with the wget package…

thank you guys :slight_smile: