View previous topic :: View next topic |
Author |
Message |
oza.4h07 at gmail.com Guest
|
Posted: Mon Mar 24, 2014 3:21 pm Post subject: [asterisk-users] Skip ./configure when source directory has |
|
|
Hi,
A silly question bouncing in my head for a long time :
when I'm installing-configuring a new Asterisk system, I'm using a script that issue the usual ./configure, make and make install commands to install Asterisk from source.
When installation fails for any reason, I would re-run my installation script which in turn, among many things, would launch the above ./configure command.
Is there a smart way to accelerate things a bit and skip ./configure when source files have not changed since last configure command was previously run ?
Regards |
|
Back to top |
|
|
webaccounts at jgoettg... Guest
|
Posted: Mon Mar 24, 2014 3:41 pm Post subject: [asterisk-users] Skip ./configure when source directory has |
|
|
Quote: |
A silly question bouncing in my head for a long time :
when I'm installing-configuring a new Asterisk system, I'm using a script that issue the usual ./configure, make and make install commands to install Asterisk from source.
When installation fails for any reason, I would re-run my installation script which in turn, among many things, would launch the above ./configure command.
Is there a smart way to accelerate things a bit and skip ./configure when source files have not changed since last configure command was previously run ?
Regards
| You do not need to call ./configure when building the package fails. Just call "make", maybe "make --jobs=4".
If your build fails because of a missing library, then you may (need) to call configure again.
jg |
|
Back to top |
|
|
asterisk_list at earth... Guest
|
Posted: Tue Mar 25, 2014 4:19 am Post subject: [asterisk-users] Skip ./configure when source directory has |
|
|
On Monday 24 Mar 2014, Olivier wrote:
Quote: | Is there a smart way to accelerate things a bit and skip ./configure when
source files have not changed since last configure command was previously
run ?
|
That probably isn't what you really want to do.
The most common reason why a build fails is because a -dev package is missing.
Alternatively, some required component might be present, but located somewhere
away from the usual search path.
Once either of these situations is resolved, you are going to need to re-run
the configure script anyway.
--
AJS
Answers come *after* questions.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
webaccounts at jgoettg... Guest
|
Posted: Tue Mar 25, 2014 4:35 am Post subject: [asterisk-users] Skip ./configure when source directory has |
|
|
This wasn't a technical question. It's scam to get some fresh email addresses.
jg
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
oza.4h07 at gmail.com Guest
|
Posted: Tue Mar 25, 2014 11:25 am Post subject: [asterisk-users] Skip ./configure when source directory has |
|
|
2014-03-25 10:18 GMT+01:00 A J Stiles <asterisk_list@earthshod.co.uk (asterisk_list@earthshod.co.uk)>:
Quote: | On Monday 24 Mar 2014, Olivier wrote:
Quote: | Is there a smart way to accelerate things a bit and skip ./configure when
source files have not changed since last configure command was previously
run ?
|
That probably isn't what you really want to do.
The most common reason why a build fails is because a -dev package is missing.
Alternatively, some required component might be present, but located somewhere
away from the usual search path.
Once either of these situations is resolved, you are going to need to re-run
the configure script anyway.
|
That's true but if you compare this with Makefile's ability to check files last modification date ...
Maybe I'll just leave it to the man running the script to decide when to run configure and it's not needed.
Thanks for sharing on this anyway.
|
|
Back to top |
|
|
oza.4h07 at gmail.com Guest
|
Posted: Tue Mar 25, 2014 11:27 am Post subject: [asterisk-users] Skip ./configure when source directory has |
|
|
2014-03-25 10:35 GMT+01:00 jg <webaccounts@jgoettgens.de (webaccounts@jgoettgens.de)>:
Quote: | This wasn't a technical question. It's scam to get some fresh email addresses.
|
what for ? )
|
|
Back to top |
|
|
webaccounts173 at jgoe... Guest
|
Posted: Tue Mar 25, 2014 12:43 pm Post subject: [asterisk-users] Skip ./configure when source directory has |
|
|
I, and possibly others, got some unwanted mail from this thread. Somebody is abusing the email
addresses...
jg
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
oza.4h07 at gmail.com Guest
|
Posted: Tue Mar 25, 2014 5:21 pm Post subject: [asterisk-users] Skip ./configure when source directory has |
|
|
2014-03-25 18:42 GMT+01:00 jg <webaccounts173@jgoettgens.de (webaccounts173@jgoettgens.de)>:
Quote: | I, and possibly others, got some unwanted mail from this thread. Somebody is abusing the email addresses... |
Maybe but asking question which relates to asterisk is IMHO, an expensive way to harvest email addresses.
|
|
Back to top |
|
|
cwallace at lodgingcom... Guest
|
Posted: Tue Mar 25, 2014 8:03 pm Post subject: [asterisk-users] Skip ./configure when source directory has |
|
|
On Mon, 24 Mar 2014 21:20:45 +0100
Olivier <oza.4h07@gmail.com> wrote:
Quote: | A silly question bouncing in my head for a long time :
when I'm installing-configuring a new Asterisk system, I'm using a
script that issue the usual ./configure, make and make install
commands to install Asterisk from source.
When installation fails for any reason, I would re-run my installation
script which in turn, among many things, would launch the
above ./configure command.
Is there a smart way to accelerate things a bit and skip ./configure
when source files have not changed since last configure command was
previously run ?
|
You kind of have it backwards there. You would only be able to
skip ./configure if you changed the source files but didn't change
anything else on the system (e.g., libraries or utilities). But
there's no way for a build script to know if anything on the system
changed without running ./configure. That's what ./configure does. So
the only sensible thing to do is to run it every time.
--
C. Chad Wallace, B.Sc.
The Lodging Company
http://www.lodgingcompany.com/
OpenPGP Public Key ID: 0x262208A0
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|