php-install Digest 20 Jan 2003 06:41:33 -0000 Issue 1209

Topics (messages 9736 through 9737):

php install problem (--with-gd)
        9736 by: Chris LaFrance

undefined variable error
        9737 by: Rod D

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]


----------------------------------------------------------------------
--- Begin Message ---
I'm having a problem building php-4.2.3 on RedHat Linux 7.2 with gd
enabled... Here is the configure command I'm using.

./configure --prefix=/www3 --with-mysql --with-apxs=/www3/bin/apxs --enable-
track-vars --with-gd=/usr/lib --enable-gd-native-ttf --with-jpeg-dir=/usr/li
b --with-png-dir=/usr/lib --with-freetype-dir=/usr/local/lib --with-ttf=/usr
/lib --with-zlib-dir=/usr/include

I've tried using different gd options..
--with-gd=/usr/local/include (I compiled gd 2.0.11 from source into this
directory)

When I do 'rpm -q --filesbypkg gd'  library locations are:
    gd                        /usr/lib/libgd.so.1
    gd                        /usr/lib/libgd.so.1.8
    gd                        /usr/lib/libgd.so.1.8.4

Here is the last bit of my ./configure command ... and the error.
------------------------------------------------------------------
checking for GD support... yes
checking whether to enable truetype string function in GD... yes
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... yes
checking for the location of libpng... yes
checking for png_write_image in -lpng... yes
checking for the location of libXpm... no
If configure fails try --with-xpm-dir=<DIR>
checking for freetype(2)... yes
checking for FreeType 1.x support... yes
no - FreeType 2.x is to be used instead
checking for T1lib support... no
configure: error: Unable to find libgd.(a|so) anywhere under /usr/lib
------------------------------------------------------------------

If anyone can point me in the right direction I would appreciate it.

--
Chris ([EMAIL PROTECTED])


--- End Message ---
--- Begin Message ---
hi folks,
 
i need help. i am currently taking a php course, my instructor can't even figure it out why i'm the only one getting this problem.
 
just installed php 4 in my system details below:
 
1. used php-4.3.0- IIS installer
2. have: win2kserver with IIS
            pentium 1G laptop
            ie 5.00
3. went to php.ini and changed extension_dir = "c:/php"
 
 
i can't seem to get my php to work if it involves "FORMS"
i have attached 2 files and below is what i am getting as my output:
   

Example 3-4: Form Results


Notice: Undefined variable: FirstName in c:\inetpub\wwwroot\myweb\example3-4.php on line 14
Your first name is .

Notice: Undefined variable: LastName in c:\inetpub\wwwroot\myweb\example3-4.php on line 15
Your last name is .

Notice: Undefined variable: Email in c:\inetpub\wwwroot\myweb\example3-4.php on line 16
Your E-mail address is .

Notice: Undefined variable: Comments in c:\inetpub\wwwroot\myweb\example3-4.php on line 17
This is what you had to say:
 
 
 
advance thank you,
rod
--- End Message ---

Reply via email to