Home > Cannot Compute > Cannot Compute Sizeof Char

Cannot Compute Sizeof Char

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 When I run "./Configure", it encounters an error: Quote:checking size of char... yeschecking for library containing opendir... I'm stumped. http://electrictricycle.net/cannot-compute/cannot-compute-sizeof-char-77.html

yeschecking how to run the C++ preprocessor... in this case the issue is ... yeschecking whether c++ accepts -g... yes, solaris threadschecking for size_t... https://trac.macports.org/ticket/13614

yeschecking for fstream.h... yeschecking for netinet/tcp.h... yeschecking for sleep... yeschecking stdbool.h presence...

Forum software by XenForo™ ©2010-2015 XenForo Ltd. nochecking for isnan... nochecking for lockf... yeschecking strstream presence...

yeschecking strstream.h usability... using MySQL 5.7.16-enterprise-commercial-advanced-log Content reproduced on this site is the property of the respective copyright holders.It is not reviewed in advance by Oracle and does not necessarily represent the opinion of yeschecking for iomanip... a.outchecking whether the C compiler works...

nochecking for getsockopt... sparc-sun-solaris2.8checking host system type... yeschecking for sys/errno.h... yeschecking for new.h...

Please re-read the instructions at http://bugs.mysql.com/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to 'Open'. https://bugs.mysql.com/bug.php?id=18497 That shouldn't have anything to do with this error though. [2003-01-03 03:09 UTC] [email protected] Please show us the relevant parts of config.log which show the failure of the char size test. Perhaps you have an old version in /usr/local or something like that? yeschecking assert.h usability...

It looks like "cannot compute sizeof (char)" ​could result from a bad or missing libiconv, so I think we're on the right track with trying to fix your iconv/gettext problem. More about the author yeschecking stdbool.h usability... I seem to have narrowed this down to being an issue w/ the running of ./buildconf. Last edited: Jan 11, 2009 diggs, Jan 11, 2009 #1 mistwang LiteSpeed Staff the root cause of it should be ./conftest: error while loading shared libraries: /usr/local/mysql/lib/libmysqlclient.so.16: cannot restore segment prot

How to fix those errors on your particular platform is an entirely different troubleshooting problem! Configure is trying to use the compiler to determine a simple system parameter (sizeof(int)), but the compiler flags added by the preceding glib detection are causing a failure. Why that error about using it? check my blog If that does not solve the problem, please re-open this ticket.

glib2 was just updated to 2.18.1 in r40237. nochecking strstream usability... yeschecking sys/socket.h presence...

yeschecking for sys/types.h... (cached) yeschecking sys/utime.h usability...

yeschecking for sys/select.h... One would be tempted to say that a C++ compiler that cannot determine sizeof(char) is pretty stupid since the sizeof(char) == 1 is true by definition. yeschecking malloc.h presence... yesconfmod: creating ./config.statusconfig.status: creating ./etc/Makefileconfig.status: creating ./docs/Makefileconfig.status: creating ./tests/Makefileconfig.status: creating ./Makefileconfig.status: creating ./libsrc/Makefileconfig.status: creating ./include/MakefileRunning configure for module doxygen.running configure for this modulechecking whether make sets ${MAKE}...

yeschecking for usleep... yeschecking for sys/types.h... There are also some ports that install into OS locations that will be archived away. news yeschecking for grp.h...

Last edited: Jan 11, 2009 diggs, Jan 11, 2009 #3 mistwang LiteSpeed Staff Yes, I think it is related to SELinux. yeschecking for synch.h... nochecking whether to enable thread support... yeschecking for ieeefp.h...

For example, if you specify --with-krb5-security when configuring for compilation, and the krb5 libraries are not found, it will throw this error. configure:58518: checking for char configure:58545: gcc -c -g -O2 -DDEV_RANDOM=/dev/arandom -DMOD_SSL=208108 -DEAPI -DUSE_EXPAT conftest.c >&5 configure:58548: $? = 0 configure:58551: test -s conftest.o configure:58554: $? = 0 configure:58564: result: yes configure:58567: yeschecking ctype.h usability... yeschecking stdio.h usability...

comment:17 in reply to: ↑ 16 Changed 8 years ago by [email protected]… The fact that you have /usr/lib/libiconv.2.dylib.bak can mean that your system is already broken Dumb question: Is that repairable? yeschecking stddef.h usability... nochecking for memcpy... yeschecking ieeefp.h presence...

setenforce 0Click to expand... yeschecking for getpid... yeschecking for isinf...