473,467 Members | 1,550 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Build issue on AIX 5.3 with python 2.4.2

I'm trying to build python 2.4.2 on AIX 5.3 with the IBM xlC compiler
as per the notes in the AIX Readme file. Basically my make fails with
the errors listed below.

I'm calling configure with:

../configure --with-gcc="xlc_r -q64" --with-cxx="xlC_r -q64"
--disable-ipv6 AR="ar -X64"

It looks like it's not resolving symbols in readline. I originally
tried the RPMS IBM supplies for GNU readline, then tried compiling GNU
readline 5.1 myself, same errors with either version of the libraries.

Anyone run into this with AIX and resolved it?

Kurt

building 'readline' extension
xlc_r -q64 -DNDEBUG -O -I. -I/home/ktelep/Python-2.4.2/./Include
-I/usr/local/include -I/home/ktelep/Python-2.4.2/Include
-I/home/ktelep/Python-2.4.2 -c
/home/ktelep/Python-2.4.2/Modules/readline.c -o
build/temp.aix-5.3-2.4/readline.o
"/home/ktelep/Python-2.4.2/Modules/readline.c", line 675.34: 1506-068
(W) Operation between types "char**" and "int" is not allowed.
../Modules/ld_so_aix xlc_r -q64 -bI:Modules/python.exp
build/temp.aix-5.3-2.4/readline.o -L/usr/lib/termcap -L/usr/local/lib
-lreadline -lcurses -o build/lib.aix-5.3-2.4/readline.so
ld: 0711-317 ERROR: Undefined symbol: rl_instream
ld: 0711-317 ERROR: Undefined symbol: rl_outstream
ld: 0711-317 ERROR: Undefined symbol: .rl_prep_terminal
ld: 0711-317 ERROR: Undefined symbol: .history_get_history_state
ld: 0711-317 ERROR: Undefined symbol: .history_get
ld: 0711-317 ERROR: Undefined symbol: .add_history
ld: 0711-317 ERROR: Undefined symbol: rl_event_hook
ld: 0711-317 ERROR: Undefined symbol: .readline
ld: 0711-317 ERROR: Undefined symbol: .using_history
ld: 0711-317 ERROR: Undefined symbol: rl_readline_name
ld: 0711-317 ERROR: Undefined symbol: rl_insert
ld: 0711-317 ERROR: Undefined symbol: .rl_bind_key
ld: 0711-317 ERROR: Undefined symbol: rl_complete
ld: 0711-317 ERROR: Undefined symbol: emacs_meta_keymap
ld: 0711-317 ERROR: Undefined symbol: .rl_bind_key_in_map
ld: 0711-317 ERROR: Undefined symbol: rl_startup_hook
ld: 0711-317 ERROR: Undefined symbol: rl_attempted_completion_function
ld: 0711-317 ERROR: Undefined symbol:
rl_completer_word_break_characters
ld: 0711-317 ERROR: Undefined symbol: rl_completion_append_character
ld: 0711-317 ERROR: Undefined symbol: .rl_initialize
ld: 0711-317 ERROR: Undefined symbol: .completion_matches
ld: 0711-317 ERROR: Undefined symbol: rl_attempted_completion_over
ld: 0711-317 ERROR: Undefined symbol: .rl_redisplay
ld: 0711-317 ERROR: Undefined symbol: .rl_insert_text
ld: 0711-317 ERROR: Undefined symbol: .clear_history
ld: 0711-317 ERROR: Undefined symbol: rl_line_buffer
ld: 0711-317 ERROR: Undefined symbol: .replace_history_entry
ld: 0711-317 ERROR: Undefined symbol: .remove_history
ld: 0711-317 ERROR: Undefined symbol: .write_history
ld: 0711-317 ERROR: Undefined symbol: .history_truncate_file
ld: 0711-317 ERROR: Undefined symbol: .read_history
ld: 0711-317 ERROR: Undefined symbol: .rl_read_init_file
ld: 0711-317 ERROR: Undefined symbol: .rl_parse_and_bind
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
*** WARNING: renaming "readline" since importing it failed: Could not
load module build/lib.aix-5.3-2.4.
System error: No such file or directory
error: No such file or directory
make: The error code from the last command is 1.
Stop.

Mar 13 '06 #1
0 1741

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

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
14
by: Giovanni Bajo | last post by:
Hello, python24.dll is much bigger than python23.dll. This was discussed already on the newsgroup, see the thread starting here:...
10
by: magneticlemur | last post by:
Hi, Does anyone know of an available downloader for an amd64 bit build of (a modern) python? I've done my due diligence search of python docs and mailing archives, and I'm somewhat mystified...
13
by: 7stud | last post by:
test1.py: -------------------- import shelve s = shelve.open("/Users/me/2testing/dir1/aaa.txt") s = "red" s.close() --------output:------ $ python test1.py
12
by: chardish | last post by:
Hello, I'm trying to build an executable with py2exe, but unfortunately the version I have is 0.6.6, which has a rather annoying bug that doesn't let you rename the executable file if you bundle...
0
by: Akira Kitada | last post by:
Hi list, I was trying to build Python 2.6 on FreeBSD 4.11 and found it failed to build some of the modules. """ Failed to find the necessary bits to build these modules: _bsddb ...
0
by: Akira Kitada | last post by:
Hi Marc-Andre, Thanks for the suggestion. I opened a ticket for this issue: http://bugs.python.org/issue4204 Now I understand the state of the multiprocessing module, but it's too bad to see...
0
by: M.-A. Lemburg | last post by:
On 2008-10-25 20:19, Akira Kitada wrote: Thanks. The errors you are getting appear to be related to either some missing header files or a missing symbol definition to enable these - looking...
15
by: Kurda Yon | last post by:
Hi, I try to "build" and "install" pysqlite? After I type "python setup.py build" I get a lot of error messages? The first error is "src/ connection.h:33:21: error: sqlite3.h: No such file or...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...
0
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...
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.