473,835 Members | 2,203 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error with configure (svn 64857)

Hi,

I have the following error when I run configure:

checking size of wchar_t... configure: error: cannot compute sizeof (wchar_t)

what can I do ?

Mathieu
Jul 10 '08 #1
7 2816
I have the following error when I run configure:
>
checking size of wchar_t... configure: error: cannot compute sizeof (wchar_t)

what can I do ?
Study config.log for the source of the problem.

Regards,
Martin
Jul 10 '08 #2
2008/7/10 "Martin v. Löwis" <ma****@v.loewi s.de>:
>I have the following error when I run configure:

checking size of wchar_t... configure: error: cannot compute sizeof (wchar_t)

what can I do ?

Study config.log for the source of the problem.
Thank you Martin. How can I remove -lgcc_s and use the Intel equivalent ?

configure:21939 : checking for wchar_t
configure:21970 : icc -c -g -O2 conftest.c >&5
conftest.c(123) : warning #279: controlling expression is constant
if ((ac__type_new_ *) 0)
^

configure:21976 : $? = 0
configure:21991 : result: yes
configure:21998 : checking size of wchar_t
configure:22306 : icc -o conftest -g -O2 conftest.c >&5
ld: library not found for -lgcc_s
configure:22309 : $? = 1
configure: program exited with status 1

Mathieu
Jul 10 '08 #3
WDC
On Jul 10, 6:57*pm, "Mathieu Prevot" <mathieu.pre... @ens.frwrote:
2008/7/10 "Martin v. Löwis" <mar...@v.loewi s.de>:
I have the following error when I run configure:
checking size of wchar_t... configure: error: cannot compute sizeof (wchar_t)
what can I do ?
Study config.log for the source of the problem.

Thank you Martin. How can I remove -lgcc_s and use the Intel equivalent ?

configure:21939 : checking for wchar_t
configure:21970 : icc -c -g -O2 *conftest.c >&5
conftest.c(123) : warning #279: controlling expression is constant
* if ((ac__type_new_ *) 0)
* * * ^

configure:21976 : $? = 0
configure:21991 : result: yes
configure:21998 : checking size of wchar_t
configure:22306 : icc -o conftest -g -O2 * conftest.c *>&5
ld: library not found for -lgcc_s
configure:22309 : $? = 1
configure: program exited with status 1

Mathieu
I think he wanted YOU to find the problem. The best way to learn is to
figure it out yourself! Good luck.
Jul 11 '08 #4
Thank you Martin. How can I remove -lgcc_s and use the Intel equivalent ?

I'm not so sure that there is anything wrong in configure. configure
doesn't pass -lgcc_s to icc; instead, icc is making this up on its
own. So I would guess you need to get libgcc_s onto you system in a
way that the linker finds it. Else you need to read the icc
documentation (but I'm fairly sure that icc is *required* to link
with libgcc_s, for interoperabilit y with gcc-compiled binaries).

I'm somewhat puzzled that the wchar_t test is the one where it
crashes; this test comes fairly late, and configure has run multiple
compiler invocations before that.

Can you build any binaries at all with your icc installation?

Regards,
Martin
Jul 11 '08 #5
2008/7/11 "Martin v. Löwis" <ma****@v.loewi s.de>:
>Thank you Martin. How can I remove -lgcc_s and use the Intel equivalent ?

I'm not so sure that there is anything wrong in configure. configure
doesn't pass -lgcc_s to icc; instead, icc is making this up on its
own. So I would guess you need to get libgcc_s onto you system in a
way that the linker finds it. Else you need to read the icc
documentation (but I'm fairly sure that icc is *required* to link
with libgcc_s, for interoperabilit y with gcc-compiled binaries).

I'm somewhat puzzled that the wchar_t test is the one where it
crashes; this test comes fairly late, and configure has run multiple
compiler invocations before that.

Can you build any binaries at all with your icc installation?
Yes of course, I successfuly built and installed nmap, wget, so I
thought there was something in the python configure process.

If didn't investigate everything but I solved the problem by adding
the "-static-libgcc" option:

CFLAGS="-w -static-intel -static-libgcc"

I think one should commit changes so configure can manage this. I can
I want to help for further diagnosis or improvement. Also it seems
-Wall will be deprecated, and usually we use -w:

-w<n Control diagnostics, where <nis one of the following:

0 -- Display errors (same as -w)

1 -- Display warnings and errors (default)

2 -- Display remarks, warnings, and errors
Cheers,
Mathieu
Jul 11 '08 #6
2008/7/11 WDC <ki****@gmail.c om>:
On Jul 10, 6:57 pm, "Mathieu Prevot" <mathieu.pre... @ens.frwrote:
>2008/7/10 "Martin v. Löwis" <mar...@v.loewi s.de>:
>I have the following error when I run configure:
>checking size of wchar_t... configure: error: cannot compute sizeof (wchar_t)
>what can I do ?
Study config.log for the source of the problem.

Thank you Martin. How can I remove -lgcc_s and use the Intel equivalent ?

configure:2193 9: checking for wchar_t
configure:2197 0: icc -c -g -O2 conftest.c >&5
conftest.c(123 ): warning #279: controlling expression is constant
if ((ac__type_new_ *) 0)
^

configure:2197 6: $? = 0
configure:2199 1: result: yes
configure:2199 8: checking size of wchar_t
configure:2230 6: icc -o conftest -g -O2 conftest.c >&5
ld: library not found for -lgcc_s
configure:2230 9: $? = 1
configure: program exited with status 1

Mathieu

I think he wanted YOU to find the problem. The best way to learn is to
figure it out yourself! Good luck.
Yes WDC I know, but for some problems 1) we can gain much efficiency
with getting help from guys that are familiar with the environment and
2) we also allow the committers to know a problem and improve the
sources. That's the way an open source group works IMHO :)

Now that the problem is solved for me, it is for all MacOSX+Intel icc guys.

Cheers,
Mathieu
Jul 11 '08 #7
If didn't investigate everything but I solved the problem by adding
the "-static-libgcc" option:

CFLAGS="-w -static-intel -static-libgcc"

I think one should commit changes so configure can manage this.
I don't think that change should be made. I'm almost certain that it is
correct. Many people build Python with icc, and never reported any such
problem. So there must something be wrong with your icc installation.

Regards,
Martin
Jul 11 '08 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6060
by: R. Rajesh Jeba Anbiah | last post by:
I'm searching for a pure svn client in PHP, but didn't find one yet. Also, I see many Wiki system designs are somewhat flawed as they didn't use incremental diff. Is there anyone who is aware of either such one? TIA -- <?php echo 'Just another PHP saint'; ?> Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com
4
3559
by: James Stroud | last post by:
Hello All, I have been moving to managing a lot of my code with SVN and I have found it to work extremely well. However, I'm not exactly sure how to deal with all of the .pyc files that get created every time I test a project or package. How do people manage this? Do you run a script to find files with the .pyc extension and delete those before every commit, or is there a more elegant way? It seems like a lot of wasted bandwidth an...
1
5072
by: yinglcs | last post by:
Hi, i have a simple test which tries to load 'svn' moddule. # python -c "from svn import client" Traceback (most recent call last): File "<string>", line 1, in ? ImportError: No module named svn I have checked I have sub-directories 'libsvn', 'svn' under
2
3994
by: Rob Cowie | last post by:
Hi all, I currently use easy_install to install packages from a custom, locally hosted package_index. The index consists of a single html doc with a list of package names and urls. All works well. I would like to get a little more sophisticated and install a package from subversion. My package is structured as described in the setuptools docs.
1
3752
by: Oltmans | last post by:
Hi all, I'm new to sub-version and still learning the process. We've a scenario in our office where we do a Svn-Update on a certain folder to fetch the latest code and then we deploy that directory (after verifying the version number in one of the files in that directory). Now I just want to automate this process i.e. to write a program that would let me do a SVN-Update on a directory , fetch the directory for me and then I will...
0
1486
by: Tomas | last post by:
Dear group. I have some big problems getting python to work with svn. Python SVN and SWIG is compiled from source. I have been testing Python 2.5.1 and 2.4.4 together with SWIG 1.3.25 and 1.3.33 and SVN 1.4.5 and 1.4.6 All combinations creates the same problem: # python Python 2.4.4 (#1, Feb 25 2008, 08:46:36)
3
6812
by: Bev in TX | last post by:
I am a complete newbie at building Python. I am trying to build it under MS Windows Vista (64-bit AMD) with MS VS2005. I'm doing that because I need debug libraries, which I did not see in the standard distribution. I downloaded the source and found the MSVS8 solution/project files. However, when I tried to build it I got the following error: ....\python-2.5.2\modules\_sqlite\connection.h(33) : fatal error C1083: Cannot open include...
2
6367
by: akhilesh.noida | last post by:
I am trying to compile glibc-2.5 for ARM based board. But I am getting errors while configuring it. Please check and give your inputs for resolving this. configure command : $ ../glibc-2.5/configure --prefix=/mnt/new/Mars/glibc_HQ_test/GLIBC/ install/ --with-__thread --enable-kernel=2.6.11 --enable-shared
0
5130
by: Xionbox | last post by:
Hello everybody, The error I have seems very easy to solve, but for some odd reason I can't seem to solve it. Anyways, here's my "setup". I created a server running on localhost:1200 (telnet localhost 1200 proves that it is up and running) and I coded a client which is supposed to connect to that server and send it data. The odd part is that the client connects to the server (via connect()) without any problem, but three lines later, it...
0
9810
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10815
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10526
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10563
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10237
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5640
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5808
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4435
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3094
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.