php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14019 Building, using changed configure settings, does not incorporate new settings
Submitted: 2001-11-11 14:11 UTC Modified: 2001-11-18 18:39 UTC
From: wguynes at wguynes dot mav dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0CVS-2001-11-11 OS: Linux Debian Potato
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wguynes at wguynes dot mav dot net
New email:
PHP Version: OS:

 

 [2001-11-11 14:11 UTC] wguynes at wguynes dot mav dot net
Initially built using...

   ./configure '--with-config-file-path=/etc' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql=/usr/local/mysql' '--enable-track-vars' '--with-zlib=shared,/usr' '--with-xml' '--with-gd=/usr/local/gd' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-ttf=/usr' '--with-t1lib=/usr' '--enable-gd-native-tt'

...with a completely fresh snapshot; deleted directory, untared brand new code.  Makes and make installs fine.  <?php phpinfo(); ?> tags reports the configure line verbatim, and shows "JPG Support - enabled" in GD table.

Now.  Recompile.  Removing '--with-jpeg-dir=/usr' from configure line beforehand.  Perform make and make install.

The new settings are not reflected in <?php phpinfo(); ?>.  The settings continue say JPEG support enabled.

Points:
- This failure occurrs in both directions.  Adding or deleting --with-jpeg-dir setting.
- This is not isolated to --with-jpeg-dir, but all flags as far as I can see.
- "make clean", "make distclean", "rm config.cache" before making, do not help.

-- 
William Guynes

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-11 20:12 UTC] sniper@php.net
Forgive me if this is stupid question, but did you do

'# make install'

and 

'# /usr/local/apache/bin/apachectl stop; # /usr/local/apache/bin/apachectl start'

??

--Jani

 [2001-11-11 22:31 UTC] wguynes at wguynes dot mav dot net
Yes.  Make install and an Apache restart was done each time.

-- 
William Guynes

 [2001-11-11 22:41 UTC] sniper@php.net
Hmm..question is, did you do it like I described?
Doing 'apachectl restart' does not work.

And about deleting config.cache..you should delete 
it before configure, not before make.

--Jani

 [2001-11-11 23:32 UTC] wguynes at wguynes dot mav dot net
Yes.  Stop first, then start, I wondered about that.  Always noticed that in the error_log a restart doesn't work, so changed to the stop/start method.

Yes.  I believe I deleted config.cache before ./configure.  Rerunning entire sequence to make sure.

Results:
  # fresh tarball
  ./configure         # with flags, as above
  make
  make install
  apachectl stop      # verified in ps
  apachectl start     # verified in error_log
  # verified JPG support enabled in phpinfo() function
  # interesting note, config.cache no longer exists, hopeful news
  ./configure         # this time without --with-jpeg-dir
  make
  make install
  apachectl stop      # verified in ps
  apachectl start     # verified in error_log
  # phpinfo() still says JPG support enabled

Bummer.

-- 
William Guynes  
 [2001-11-12 00:20 UTC] wguynes at wguynes dot mav dot net
Yes.  Stop first, then start, I wondered about that.  Always noticed that in the error_log a restart doesn't work, so changed to the stop/start method.

Yes.  I believe I deleted config.cache before ./configure.  Rerunning entire sequence to make sure.

Results:
  # fresh tarball
  ./configure         # with flags, as above
  make
  make install
  apachectl stop      # verified in ps
  apachectl start     # verified in error_log
  # verified JPG support enabled in phpinfo() function
  # interesting note, config.cache no longer exists, hopeful news
  ./configure         # this time without --with-jpeg-dir
  make
  make install
  apachectl stop      # verified in ps
  apachectl start     # verified in error_log
  # phpinfo() still says JPG support enabled

Bummer.

-- 
William Guynes  
 [2001-11-18 18:39 UTC] sniper@php.net
This is not actually a bug. The PHP configure checks what
the GD library supports. It doesn't matter if you use
--with-jpeg-dir or other similar options. They are only
needed if you get some problems configuring.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 04:01:27 2024 UTC