GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 18-May-2003, 10:28
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
i which i never read this....

while testing it i though about my 'old' php version....

so i downloaded a new version from http://snaps.php.net
but now I'm getting those f errors....
Code:
checking for type uchar... no checking for type uint... yes checking for type ushort... yes checking for int8... no checking base type of last arg to accept... socklen_t checking return type of qsort... void configure: error: Cannot find header files under /usr

and I'm using this to compile php.
Code:
root@Allowee:/home/Allowee/PHP/pack/php4.3# './configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs' '--with-config-file-path=/etc/php4/apache' '--disable-debug' '--enable-memory-limit' '--with-layout=GNU' '--enable-track-vars' '--enable-trans-sid' '--with-bz2' '--with-iconv' '--enable-ftp' '--with-gettext' '--enable-sockets' '--disable-xml' '--with-zlib' '--without-pgsql' '--with-gd' '--with-jpeg-dir=shared,/usr' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-mysql=shared,/usr'

I also tried with version 4.3.2-RC3
still the same eror.

I compiled all the other versions on my dads box. but now he got his box at work...
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #2  
Old 18-May-2003, 10:42
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Allowee, you lost me there buddy... I assume you're having problems installing PHP? 5? On a linux box?
  #3  
Old 18-May-2003, 10:54
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
(ofcource) it's on my linux box

and it doesn't matter what version i use.
4.3, 4.5 and 5 just don't want to compile on my box

I just did a search....
no answer found so I submitted it to the newsgroup php.install
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #4  
Old 18-May-2003, 11:05
Garth Farley Garth Farley is offline
Awaiting Email Confirmation
 
Join Date: May 2002
Location: Ireland
Posts: 638
Garth Farley is a jewel in the roughGarth Farley is a jewel in the roughGarth Farley is a jewel in the rough
See if compiling without mysql support works. I don't like the path you've given to the mysql header files, but I guess they should be found.

Also have a look-see:
lists.debian.org

GF
  #5  
Old 18-May-2003, 11:24
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
it's working without the '--with-mysql=shared,/usr'
but I want to use that.

or shouldn't the 'shared' part be there?

can you tell me what you don't like at my mysql path?
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #6  
Old 18-May-2003, 12:30
Garth Farley Garth Farley is offline
Awaiting Email Confirmation
 
Join Date: May 2002
Location: Ireland
Posts: 638
Garth Farley is a jewel in the roughGarth Farley is a jewel in the roughGarth Farley is a jewel in the rough
I would've thought you'd tell the configuration exactly where the mysql header files are. But no, searching the newsgroups got me this:
Quote:
If the header files are under
/usr/local/include/mysql and the library files under /usr/local/lib/mysql
then you should use --with-mysql=/usr/local

I've never seen the shared bit there before. Try taking it out. And also try not bothering setting the path at all. Sometime it is clever enough to find it by itself.

And something else to read:
groups.google.com

GF
P.S. Split the thread, so that this problem will get it's own topic
  #7  
Old 18-May-2003, 14:13
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
can somebody explain why I can't read????

"is there a mysql.h file"
"you need mysql-dev"

i didn't got a mysql.h file
and i didn't got a mysql-dev package.

downloaded the package.
and I just got myself a mysql.h

and now I'm running PHP 4.5.0-dev
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #8  
Old 19-May-2003, 08:06
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
want to see the result???

http://var.allowee.no-ip.biz:123/phpinfo.php

I don't got my box on 24h/day so be quick
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
  #9  
Old 19-May-2003, 09:27
jrobbio's Avatar
jrobbio jrobbio is offline
Regular Member
 
Join Date: Jan 2003
Location: Loughborough, England
Posts: 840
jrobbio will become famous soon enough
How stable is it? Is there any performance improvements? What about new functions is there anything especially to look forward to?
  #10  
Old 19-May-2003, 10:55
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
it's stable enough for me....
it's working faster then the version i had before....

i don't know about new things....
the only thing i know is that php5 is bigger so it will include some new things..

btw I only see compile errors for the win32 version.

might not be good.

errors... thats why I switched to Linux
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimizing your web server with Turck MMCache for PHP JdS Web Hosting Forum 2 07-Jan-2004 08:48
apache2 - php cgi fehler - schleife inna Apache Web Server Forum 8 27-Nov-2003 10:55
[Linux] Installing PHP --with-mcrypt JdS Web Hosting Forum 0 20-Aug-2003 09:40
PHP in HTML jrobbio Web Design Forum 4 24-Jul-2003 07:05
All the big PHP script collections that matter jrobbio MySQL / PHP Forum 5 06-Jun-2003 17:14

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:28.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.