LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > configure: error: cannot compute sizeof (char *)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-10-2009, 08:37 PM
diggs diggs is offline
New Member
 
Join Date: Jan 2009
Posts: 6
Default configure: error: cannot compute sizeof (char *)

I do not believe this to be an issue w/ litespeed but I thought someone else here may have run into this issue.

I'm having an issue when compiling php(5.2.6 or 5.2.8) with the litespeed api, that I've never seen before.

OS = Cent 5.2
php = 5.2.8
mysql = 5.1.3
lsws & lsapi are most current avail

If I configure php without a ./buildconf --force to incorporate the litespeed api, it compiles fine.

If I touch ac* , ./buildconf --force, and compile as I've always done in the past without issue, I'm getting an error on compile as follows.

Code:
checking size of char *... configure: error: cannot compute sizeof (char *), 77 
See `config.log' for more details.
I seem to have narrowed this down to being an issue w/ the running of ./buildconf.
I've tried autoconf213 as well as newest avail for distro autoconf259 w/ the same error in end.

I did some digging first and found a few references to gcc and/or c++ being the culprit here. I've installed the most recent available through centos repositories.

I also found some people that had this being a library path issue.

I'm not confident that either is the case here seeing as it compiles just fine so long as I don't rebuild the config (which I have to, to build the lsapi).

Here is the resulting config.log file > config.log

Any input/tips on this would be awesome. I'm stumped.

Thank you very much!

Last edited by diggs; 01-10-2009 at 08:39 PM..
Reply With Quote
 

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:03 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.