php-install Digest 26 Jun 2001 15:22:20 -0000 Issue 336

Topics (messages 3344 through 3350):

gd 2.0.1 with php 4.0.6
        3344 by: Sam Barnum
        3347 by: Jani Taskinen

Failed opening ''prepend.php3'' for inclusion (include_path=''.:/opt/apache/php'')
        3345 by: Garey Mills

Re: php 4.0.6 and GD
        3346 by: Kelvin Luck

PHP 4.0.6- problem with apxs
        3348 by: Glen Scott
        3350 by: Rob Beckett

Re: Help!!! I'm trying to install php405-installer on windows 2000
        3349 by: D. Moglin

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------


Greetings!  I'm configuring this on a Penguin Computing running linux
7.1.
php version 4.0.6, gd 2.0.1

I was able to get gd-1.8.5 running as a shared module
wanted resampled jpegs, so upgrade to gd-2.0.1
with very little luck at that, and not able to return to gd-1.8.5.

Self-taught on linux, so I'm probably missing something obvious,
but I've been clicking away all day tring various things, and getting
nowhere.  It's going to be a long night :(
CONFIGURE:   './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-gd=shared'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:    -DLINUX=22 -DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT 
-DSUPPORT_UTF8
CXX:        
CXXFLAGS:   
INCLUDES:    -I/usr/local/apache/include  -I$(top_builddir)/Zend 
-I/usr/local/src/php-4.0.6/ext/mysql/libmysql
LDFLAGS:    
LIBS:       -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv
DLIBS:      
SAPI:       apache
PHP_RPATHS: 
uname -a:   Linux fort.pointsystems.com 2.2.16-22 #1 Mon Oct 16 13:35:45 PDT 2000 i686 
unknown

gcc -o conftest -g -O2  -DLINUX=22 -DMOD_SSL=208104 -DUSE_HSREGEX -DEAPI -DUSE_EXPAT 
-DSUPPORT_UTF8  conftest.c -lgd -lcrypt -lresolv -lm -ldl -lnsl  -lresolv 1>&5
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`uncompress'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_Init_FreeType'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_read_scanlines'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_simple_progression'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_Load_Glyph'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_Done_Face'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_get_rowbytes'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_set_strip_16'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_create_read_struct'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_Get_Kerning'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_Get_Char_Index'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_set_sig_bytes'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_set_defaults'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_set_read_fn'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_set_packing'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_Get_Glyph'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_get_io_ptr'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_start_decompress'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_destroy'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_set_IHDR'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_write_marker'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_set_tRNS'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_Glyph_To_Bitmap'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_get_valid'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_destroy_decompress'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_std_error'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_CreateDecompress'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_create_write_struct'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_get_error_ptr'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_write_info'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_set_PLTE'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_Set_Char_Size'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_get_PLTE'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_read_header'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_start_compress'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_write_end'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_destroy_compress'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_get_IHDR'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_set_write_fn'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_finish_decompress'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_resync_to_restart'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_CreateCompress'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_Done_Glyph'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_read_info'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_Glyph_Get_CBox'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_finish_compress'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_destroy_read_struct'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_check_sig'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_write_image'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_read_update_info'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_read_image'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_get_tRNS'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_New_Face'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_create_info_struct'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`compress'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_set_quality'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`FT_Glyph_Transform'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`jpeg_write_scanlines'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_destroy_write_struct'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libgd.so: undefined reference to 
`png_read_end'
collect2: ld returned 1 exit status





If you had bothered searching the mailing list archives before
submitting this email, you would have learned that you must
use --with-jpeg-dir=/usr , --with-png-dir=/usr , --with-zlib-dir=/usr

--Jani

On Mon, 25 Jun 2001, Sam Barnum wrote:

>Greetings!  I'm configuring this on a Penguin Computing running linux
>7.1.
>php version 4.0.6, gd 2.0.1
>
>I was able to get gd-1.8.5 running as a shared module
>wanted resampled jpegs, so upgrade to gd-2.0.1
>with very little luck at that, and not able to return to gd-1.8.5.
>
>Self-taught on linux, so I'm probably missing something obvious,
>but I've been clicking away all day tring various things, and getting
>nowhere.  It's going to be a long night :(
>





Hi -
        prepend.php3 is in /opt/apache/php

        All directories in the include path have read and execute
permission for the user running the web server, and the prepend.php3 file
is 777.

        Its a Sun Box running Solaris 8. PHP 4.0.6 (didn't work for 4.0.5
either) Apache 1.3.20, with PHP as a static module.

        I have tried giving the absolute path for prepend.php3 with the
same result, and have tried changing around the path, as well. I can see
that php.ini is being read (because when I change the path or file name, I
see it in the error message.)

        Besides needing help, I can't figure out how to debug this.


Any help appreciated;

Garey Mills
Library Systems Office
UC Berkeley





Hi,
I checked the archives before posting my question and couldn't find any
solutions. I've just checked again - searching for "4.0.6" and "gd" and also
trawling through all messages for June and halfway back through May, well
before 4.0.6 was released. Sorry, I am still unable to find any solutions to
my problem, much less a dozen...
Can you please either give me some searching tips or repost one of the
earlier solutions,
Cheers,
Kelvin.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Jani Taskinen
Sent: 26 June 2001 04:10
To: Kelvin Luck
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] php 4.0.6 and GD



Try checking the mailing list archives. This has been answered
at least a dozen time now.

--Jani

On Mon, 25 Jun 2001, Kelvin Luck wrote:

>Hi,
>I am just trying to install php 4.0.6 on redhat 7.1 so that I can use the
>new GD library functions. I first downloaded and installed the newest GD
>libraries (2.0.1 beta) and installed them. I presume that this worked OK
>because I didn't get any errors. I also made sure I removed the rpm of an
>earlier version of the gd libraries from the computer to avoid conflicts.
>I installed GD ("make install") and it seemed to go OK, no errors reported
>and seemed to copy the file to the right place...
>Then I configured php:
>
>./configure \
>--with-apxs=/usr/local/apache/bin/apxs \
>--enable-track-vars \
>--with-config-path-file=/etc \
>--with-mysql=/usr/local/mysql \
>--with-gd \
>--with-jpeg-dir=/usr/lib \
>--with-xpm-dir=/usr/X11R6
>
>I found that I needed the last two arguments so that configure didn't throw
>an error, which it doesn't. But when I try and make php I get this error:
>
>.
>.
>.
>gd.c:95: conflicting types for 'gdIOCtx'
>/usr/include/gd_io.h:previous declaration of 'gdIOCtx'
>make[3]: *** [gd.lo] Error 1
>.
>.
>.
>
>That error causes make to stop and prevents me from installing php... Has
>anyone got any ideas on how to avoid this? If I compile and leave
>out --with-gd then it makes fine... But I'm upgrading because I want to use
>the new image functions!
>Any help or suggestions would be much appreciated,
>tia,
>Kelvin.
>
>
>





Hi,

I am trying to upgrade my 4.0.4pl1 on a Cobalt RaQ3 to the new 4.0.6 
version, but I am unable to 'make install' due to the following error:

Making install in .
make[1]: Entering directory `/home/sites/home/users/admin/php-4.0.6'
/home/sites/home/users/admin/php-4.0.6/build/shtool mkdir -p 
"/usr/lib/apache" && /usr/sbin/apxs -S LIBEXECDIR="/usr/lib/apache" 
-i -a -n php4 libs/libphp4.so
apxs:Error: Unknown option: S
Usage: apxs -g -n <modname>
        apxs -q <query> ...
        apxs -c [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>]
                [-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>]
                <files> ...
        apxs -i [-a] [-A] [-n <modname>] <dsofile> ...
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/home/sites/home/users/admin/php-4.0.6'
make: *** [install-recursive] Error 1

Basically, it is trying to call apxs with the -S option which doesn't 
exist in my version.  I am using Apache version 1.3.6.

Is there anything I can do to get this version installed?

Thanks,

Glen Scott




> Basically, it is trying to call apxs with the -S option which doesn't
> exist in my version.  I am using Apache version 1.3.6.

I'm having the same problem. I got around it by just cp'ing the .so file
into it's proper location, but methinks that apxs might want to do a bit
more than that, so anyone have any ideas?

Have fun,

Rob Beckett.







Don't know exactly what I did, but it is working now.  Thank you for all
your help.  ...Doug
"Phil Driscoll" <[EMAIL PROTECTED]> wrote in message
01062513112000.28331@linux">news:01062513112000.28331@linux...
> On Monday 25 June 2001 12:10, D. Moglin wrote:
> > By "no result" I mean that PHP is not working.  My test file (copied
from
> > the instructions at php.net) shows only  a blank page.
>
> If you view the page source, do you get the source code of your php
script?
> If so, you have somehow misconfigured your web server. Review what you did
> against the instructions in install.txt and see if you can spot any
problem.
>
> Cheers
>
> --
> Phil Driscoll
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>




Reply via email to