[Python-bugs-list] [ python-Bugs-690309 ] 2.3a2 Sol8 make fails at _iconv_codec.

SourceForge.net noreply@sourceforge.net
Fri, 21 Feb 2003 10:29:39 -0800


Bugs item #690309, was opened at 2003-02-20 22:53
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=690309&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Inyeol Lee (inyeol)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2.3a2 Sol8 make fails at _iconv_codec.

Initial Comment:
Python 2.3a2 build process fails during building
_iconv_codec
module. The message is;

[...]
gcc -shared
build/temp.solaris-2.8-sun4u-2.3/_iconv_codec.o
-L/home/inyeol/util/python/lib -L/usr/local/lib -o
build/lib.solaris-2.8-sun4u-2.3/_iconv_codec.so
Traceback (most recent call last):

  [... long traceback here...]

  File "./setup.py", line 209, in build_extension
    imp.load_dynamic(ext.name, ext_filename)
RuntimeError: can't initialize the _iconv_codec module:
iconv_open() failed
*** Error code 1
make: Fatal error: Command failed for target
`sharedmods'

My build environment is gcc2.95.3 with Solaris 8
linker.
I've built 2.2, 2,2,1, 2,2,2, 2,3a1 with the same env
and there
was no (major) issues like this. I attached my
configure and
make log messages.


----------------------------------------------------------------------

>Comment By: Walter Dörwald (doerwalter)
Date: 2003-02-21 19:29

Message:
Logged In: YES 
user_id=89016

I changed the init function to use 'ISO8859-1' instead of
'ASCII' as the test encoding. Can someone test whether this
fixes anything?

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-02-20 23:15

Message:
Logged In: YES 
user_id=33168

In order to get the build to proceed, you can change line
210 of setup.py from:

        except ImportError, why:
to:
        except (ImportError, RuntimeError), why:

This is just before:
    self.announce('*** WARNING: renaming "%s" since
importing it' ...)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=690309&group_id=5470