Page 1 of 1

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

Posted: 25 Oct 2015, 07:12
by jmurrinux
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.

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

Posted: 25 Oct 2015, 07:36
by fanthom
Please try this:

Code: Select all

./autoconf
./configure 

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

Posted: 25 Oct 2015, 15:51
by jmurrinux
Returns the same error with
/.autoconf
/.autoconf --prefix=/usr
before doing that I made sure the module devel.xzm was activated
:unknown:

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

Posted: 25 Oct 2015, 17:06
by francois
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.

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

Posted: 26 Oct 2015, 07:15
by jmurrinux
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?

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

Posted: 26 Oct 2015, 07:46
by fanthom
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

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

Posted: 27 Oct 2015, 06:54
by jmurrinux
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?