Php Error Cannot Compute Sizeof Char
Application AccelerationCase StudiesTestimonialsBenchmarksPartnersHosting PartnersTechnology PartnersSupport PartnersPartner ProgramSupportServicesForumWikiDocumentationDownloadsStore Log in or Sign up LiteSpeed Support Forums Forums > LiteSpeed Web Server > Install/Configuration > configure: error: cannot compute sizeof (char *) Discussion in 'Install/Configuration' started by diggs, Jan 11, 2009. diggs New Member 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: 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 after reloc: Permission deniedClick to expand... in the config.log mistwang, Jan 11, 2009 #2 diggs New Member While I'm not quite sure exactly what this issue was, this allowed me to compile fully and get the server up and running w/ new
Solution 3.1 Different Compilers 3.2 Dependencies Problem [root@box]# ./configure --with-user=amandabackup --with-group=disk [...] checking size of int... configure: error: cannot compute sizeof (int) Explanation This is a follow-on error to problems with glib. 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. This tends to happen on Solaris and AIX systems. Solution Check config.log (see Reading config.log) The last compiler invocation in the "Core tests" section will show, in detail, what errors http://www.litespeedtech.com/support/forum/threads/configure-error-cannot-compute-sizeof-char.2616/ configure encountered. How to fix those errors on your particular platform is an entirely different troubleshooting problem! Here are some possibilities: Different Compilers Amanda gets a set of compiler flags directly from glib (well, via pkg-config --cflags glib-2.0). These are the flags that worked for Glib when it was being compiled. If you're using a different compiler than was used to build glib, https://wiki.zmanda.com/index.php/Configure:_error:_cannot_compute_sizeof_(int) however, this will not work and will often cause this problem. The solution is to use the same compiler as was used to build glib, thereby avoiding any compatibility gotchas between glib and Amanda. If this is not possible, then another option is to adjust the pkg-config input file to give flags appropriate to the compiler with which you're building Amanda. Dependencies If you are compiling from source, you may experience this type of issue if a dependency isn't found in the path you specify. For example, if you specify --with-krb5-security when configuring for compilation, and the krb5 libraries are not found, it will throw this error. The paths should be corrected or specified. Retrieved from "https://wiki.zmanda.com/index.php/Configure:_error:_cannot_compute_sizeof_(int)" Views Page Discussion View source History Personal tools Log in Navigation Amanda MySQL Backup BackupPC Recent changes Wiki Help Downloads Search Toolbox What links here Related changes Special pages Printable version Permanent link This page was last modified on 25 May 2010, at 22:05. This page has been accessed 10,420 times. Content is available under GNU Free Documentation License 1.3. Privacy policy About The Open Source Backu
10, 2014 11:42 am I am trying to compile an http://forums.libsdl.org/viewtopic.php?t=10404&sid=cfcc2a9ddbe36a37ad31227a5ead7ad4 old program that is not compatible with SDL2/SDL2_mixer, so I http://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg11939.html am trying to install 1.2 into my Cygwin interface (not sure of the correct terminology.) When configuring SDL 1.2 it stops with the error: checking size of void *... configure: error: cannot compute sizeof (void *) the config.log is php error detailed below: [code:1:f475f635f8]This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname php error cannot = Jimothey-PC uname -m = i686 uname -r = 1.7.30(0.272/5/3) uname -s = CYGWIN_NT-6.0 uname -v = 2014-05-23 10:36 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/bin PATH: /usr/bin PATH: /cygdrive/c/Program Files/NVIDIA Corporation/PhysX/Common PATH: /cygdrive/c/Windows/system32 PATH: /cygdrive/c/Windows PATH: /cygdrive/c/Windows/System32/Wbem PATH: /cygdrive/c/hp/bin/Python PATH: /cygdrive/c/Program Files/Common Files/Roxio Shared/DLLShared PATH: /cygdrive/c/Program Files/Common Files/Roxio Shared/9.0/DLLShared PATH: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 PATH: /usr/lib/lapack PATH: /usr/openwin/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2136: checking build system type configure:2154: result: i686-pc-cygwin configure:2176: checking host system type configure:2191: result: i686-pc-cygwin configure:2261: checking for gcc configure:2277: found /usr/bin/gcc configure:2288: result: gcc configure:2526: checking for C compiler version configure:2533: gcc --version >&5 gcc (GCC) 4.8.3 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copyi
Status Archived Data Access Data Management Resource Center Software Display & Analysis AWIPS II GEMPAK IDV McIDAS Data Access & Management LDM LDM-McIDAS Decoders NetCDF NetCDF Java Rosetta THREDDS Data Server UDUNITS Deprecated Software GARP NetCDF Decoders NetCDF Perl Downloads Display & Analysis AWIPS II GEMPAK IDV McIDAS Data Access & Management LDM LDM-McIDAS Decoders NetCDF & NetCDF Java THREDDS Data Server UDUNITS Deprecated Software GARP NetCDF Decoders NetCDF Perl Terms & Conditions Provision of Software Support Support Resources Documentation Training Tutorials Mailing Lists Support Archives Submit a Request Suggested Support Process Email-Based Web-Based Terms & Conditions Obtaining Support Register as a User Community Outreach & Opportunities News from Unidata Unidata Events News from the Community Job Opportunities DeSouza Award Equipment Awards Summer Internships We Are Community Driven Participating Institutions Collaborations Education Resources Software & Data in Use How to Participate Acknowledging Unidata Governance Unidata's Governance Model Strategic Advisory Committee Users Committee Publications & Resources Bibliography Glossary of Terms Projects Current Projects ACADIS Case Studies Common Data Model CONDUIT Data Management Resource Center GALEON GEON IDV Google Africa Initiative GRIDSPEC HYDRO-NEXRAD Internet Data Distribution LibCF McIDAS-V Data Intercomparisons Next-Generation LDM OPULS OWCS Python RAMADDA in the Unidata Community Teaching Resources Project Archive News News from Unidata News from Unidata Unidata Events Unidata Developer's Blog News from the Community News From the Community Community Jobs News Archives Events Summer/Fall 2016 Software Training Workshop Unidata Events Calendar of Events Seminar Series Conferences & Meetings Unidata Workshops Training Workshops Triennial Worksh