error Bash: ./configure: No such file or directory

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
User avatar
jmurrinux
Black ninja
Black ninja
Posts: 32
Joined: 18 Aug 2011, 23:23
Distribution: XFCE-v3.1-i486 HDD
Location: Florida
Contact:

error Bash: ./configure: No such file or directory

Post#1 by jmurrinux » 25 Oct 2015, 07:12

I'm stuck when I'm trying to compile from source firefox 41.0.2

1- I'm following this tutorial http://www.porteus.org/component/conten ... ource.html
2- I get this error "Bash: ./configure: No such file or directory" for the following commands

Code: Select all

./configure --prefix=/usr

Code: Select all

grep "DESTDIR" Makefile

Code: Select all

./configure --prefix=$TMP
3- I did verify the existence of the packages: autoconf, and m4. They are installed.

Really want to learn this to share the update with the community.
Thank you!
jmurrinux

User avatar
fanthom
Site Admin
Site Admin
Posts: 4657
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: error Bash: ./configure: No such file or directory

Post#2 by fanthom » 25 Oct 2015, 07:36

Please try this:

Code: Select all

./autoconf
./configure 
Please add [Solved] to your thread title if the solution was found.

User avatar
jmurrinux
Black ninja
Black ninja
Posts: 32
Joined: 18 Aug 2011, 23:23
Distribution: XFCE-v3.1-i486 HDD
Location: Florida
Contact:

Re: error Bash: ./configure: No such file or directory

Post#3 by jmurrinux » 25 Oct 2015, 15:51

Returns the same error with
/.autoconf
/.autoconf --prefix=/usr
before doing that I made sure the module devel.xzm was activated
:unknown:
Thank you!
jmurrinux

User avatar
francois
Contributor
Contributor
Posts: 5288
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Y fait frette et on gèle

Re: error Bash: ./configure: No such file or directory

Post#4 by francois » 25 Oct 2015, 17:06

It might be because you are issuing your commands from the wrong folder. You have to cd in the right folder, the one where is the install and readme file.
Carpe diem.

User avatar
jmurrinux
Black ninja
Black ninja
Posts: 32
Joined: 18 Aug 2011, 23:23
Distribution: XFCE-v3.1-i486 HDD
Location: Florida
Contact:

Re: error Bash: ./configure: No such file or directory

Post#5 by jmurrinux » 26 Oct 2015, 07:15

Okay, here are my steps
  1. downloaded firefox and landed on /home/guest/Downloads/firefox-41.0.2.tar.bz2
  2. moved the file to ~/tmp
  3. Applied tar xvjf firefox-41.0.2.tar.bz2
  4. cd /tmp/firefox
  5. Applied variable PKG=firefox
  6. Applied variable TMP=/tmp/$firefox
  7. Applied ./configure --prefix=/usr "received the error"
  8. Applied ./autoconf --prefix=/usr "received the error"
  9. cd /tmp
  10. Applied ./configure --prefix=/usr "received the error"
  11. Applied ./autoconf --prefix=/usr "received the error"
Firefox minimum requirements, source: https://www.mozilla.org/en-US/firefox/4 ... uirements/
Firefox will not run at all without the following libraries or packages:
  • GTK+ 2.18 or higher
  • GLib 2.22 or higher
  • Pango 1.14 or higher
  • X.Org 1.0 or higher (1.7 or higher is recommended)
  • libstdc++ 4.3 or higher
For optimal functionality, we recommend the following libraries or packages:
  • NetworkManager 0.7 or higher
  • DBus 1.0 or higher
  • HAL 0.5.8 or higher
  • GNOME 2.16 or higher
What am I missing? :wall: Is possible to compile it?
Thank you!
jmurrinux

User avatar
fanthom
Site Admin
Site Admin
Posts: 4657
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: error Bash: ./configure: No such file or directory

Post#6 by fanthom » 26 Oct 2015, 07:46

I have an impression that you are trying to compile a precompiled binary :)

You need this:

Code: Select all

firefox-41.0.2.source.tar.xz
Please add [Solved] to your thread title if the solution was found.

User avatar
jmurrinux
Black ninja
Black ninja
Posts: 32
Joined: 18 Aug 2011, 23:23
Distribution: XFCE-v3.1-i486 HDD
Location: Florida
Contact:

Re: error Bash: ./configure: No such file or directory

Post#7 by jmurrinux » 27 Oct 2015, 06:54

fanthom, you were so right. I thank you for letting me know that. :)

I'm testing the new Firefox version and actually I wrote this message while running the application. There some observations though, Mozilla recommends to run their pre-compiled web browser from the terminal. This I learned:
  • I was able to run it with this command ./Firefox
  • the terminal window needs to stay open so the web browser doesn't shuts down with it
  • I get this message after running the script on the terminal:
    # (process:6979): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
  • additional error messages on terminal after restarting Firefox from within are in this paste bin bash-output-firefox-linux
  • Will be okay to convert the Firefox folder into a porteus module with the help of USM?
  • What else you or forum pal would kindly recommend, please?
Thank you!
jmurrinux

Post Reply