./configure problem ! have login as root

OpenSuSE11:/linux/reiserfs/alsa/alsa-driver-1.0.18a # ./configure --with-cards=all,hda-intel=n
-bash: ./configure: /bin/sh: bad interpreter: Permission denied
OpenSuSE11:/linux/reiserfs/alsa/alsa-driver-1.0.18a # sh configure --with-cards=all,hda-intel=n
checking for gcc… gcc
checking for C compiler default output file name… a.out
checking whether the C compiler works… configure: error: cannot run C compiled programs.
If you meant to cross compile, use --host'. See config.log’ for more details.
anyone help me !
many thanks!

Do you have permissions for ./configure file??
see man chmod to change permissions

I am not sure if you have gcc package for c/c++ installed for compilation.

You should NOT log in as root use su or sudo in a console as a normal user
And as stated you need gcc, make and kernel headers/source add them with Yast as a normal user!

Geoff

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

Perhaps just as importantly, you could copy this entire directory (and
other related directories) to somewhere you DO have permissions (your
home directory, /tmp, etc.) and then compile from there since you should
then have rights. This /linux directory isn’t standard so did you put
it there? You could also change /linux* to be owned by your user and
then compile in place without running as ‘root’.

Good luck.

geoffro wrote:
> You should NOT log in as root use su or sudo in a console as a
> normal user
>
> Geoff
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJJwgx3s42bA80+9kRAo95AJ99foTEv/s3NCMiZ+LSD2Uyl7pklACfS0I5
J2pxjoJAclsvXxGiW3qZw9k=
=BTa3
-----END PGP SIGNATURE-----

Thank you very much !!! you are right!
thanks everyone very much!
when I copy the directory to my home directory ./configure works! and now it`s making !

Hi all,

I’m trying to run ./configure in my home directory as a normal user and I have this problem.

I have unpacked the zip file with my normal user (not root), and then when runs command ./configure this problem occurs.

linux-rduf:/home/muramatsu/wine # ./configure
bash: ./configure: Permission denied

Can you help me?

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

Did you set the file to be executable?

chmod +x ./configure

If you did (or it already was) and all other permissions are correct
(you’re the owner, for example, as that can help with setting
permissions) do you have your home directory mounted with ‘noexec’?
Post the output of the following command.

mount

Good luck.

RickMura wrote:
> Hi all,
>
> I’m trying to run ./configure in my home directory as a normal user and
> I have this problem.
>
> I have unpacked the zip file with my normal user (not root), and then
> when runs command ./configure this problem occurs.
>> linux-rduf:/home/muramatsu/wine # ./configure --asroot
>> bash: ./configure: Permission denied
>
> Can you help me?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJdA8s3s42bA80+9kRAskRAJ0R2DBkIR5WBCCsg2WM2zAIGW7y+ACdH5/3
oMrFPeselCEKy/pA/2fLhyk=
=Ykt9
-----END PGP SIGNATURE-----

Did you set the file to be executable?

chmod +x ./configure

Tks a lot, this solved my problem.

Mura

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

Good to hear. Thank-you for posting back. There are a lot of good
reads on file permissions online… some recommended in these forums. I
would recommend taking a look at one to get used to the differences and
purposes of each permission.

Good luck.

RickMura wrote:
>> Did you set the file to be executable?
>>
>> chmod +x ./configure
>>
>
> Tks a lot, this solved my problem.
>
> Mura
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJdLI73s42bA80+9kRAn9eAJ4gnv/tf3CzXTAYf5ByKeHQP0AKrACePoKb
2gIBe8O/sTAKNygZVM7qXvk=
=hDCx
-----END PGP SIGNATURE-----