compiling using native compiler

S

SS

When I try to compile python 2.3.4 using SGI's native compiler
../configure --without-gcc
followed by
make

I get error
make
c++ -o python \
Modules/python.o \
libpython2.3.a -ldl -lpthread -lmpc -lm
ld32: WARNING 84 : /usr/lib32/libdl.so is not used for resolving any symbol.
ld32: FATAL 9 : I/O error (-lmpc): No such file or directory
collect2: ld returned 32 exit status
*** Error code 1 (bu21)

but I see it in /usr/lib

ls -l /usr/lib/mpc
-rwxrwxr-x 1 root sys 598996 May 20 17:10 /usr/lib/mpc
 
J

Joerg Behrens

SS said:
When I try to compile python 2.3.4 using SGI's native compiler
./configure --without-gcc
followed by
make

I get error
make
c++ -o python \
Modules/python.o \
libpython2.3.a -ldl -lpthread -lmpc -lm
ld32: WARNING 84 : /usr/lib32/libdl.so is not used for resolving any symbol.
ld32: FATAL 9 : I/O error (-lmpc): No such file or directory
collect2: ld returned 32 exit status
*** Error code 1 (bu21)

but I see it in /usr/lib

ls -l /usr/lib/mpc
-rwxrwxr-x 1 root sys 598996 May 20 17:10 /usr/lib/mpc

The libraries in usr/lib are o32. You need n32 libs whichs comes from
/usr/lib32 or a specified directory -L/usr/my/libs/are/here

You can found a Irix python binary tardist compiled with MipsPro under
http://www.nekochan.net/downloads/Nekoware/beta/neko_python-2.3.4.tardist
The package also contains Build instrucktion in the release notes.

Also take noticed to
http://forums.nekochan.net/viewtopic.php?t=3237&highlight=python

regards
Joerg Behrens
 
M

Michael Murphy

When I try to compile python 2.3.4 using SGI's native compiler
./configure --without-gcc
followed by
make

I get error
make
c++ -o python \
Modules/python.o \
libpython2.3.a -ldl -lpthread -lmpc -lm
ld32: WARNING 84 : /usr/lib32/libdl.so is not used for resolving any symbol.
ld32: FATAL 9 : I/O error (-lmpc): No such file or directory
collect2: ld returned 32 exit status
*** Error code 1 (bu21)

but I see it in /usr/lib

ls -l /usr/lib/mpc
-rwxrwxr-x 1 root sys 598996 May 20 17:10 /usr/lib/mpc

The other response tells you how to get python working,
but I just wanted to point out that
-lmpc means link with libmpc.{a,so}
So /usr/lib/mpc has nothing to do with -lmpc
 
T

Tom Cocagne

I was in a similar position the other day and wound up needing to use
'smake' instead of 'make'. I know very little about SGI systems but after
reading the platform-specific notes in the readme and using 'smake', it all
worked for me.

 Tom
 
B

Bruce D. Ray

Tom Cocagne said:
I was in a similar position the other day and wound up needing to use
'smake' instead of 'make'. I know very little about SGI systems but after
reading the platform-specific notes in the readme and using 'smake', it all
worked for me.


Does the python you built include the audio, opengl, and
other special support components for SGI? If it does, how
did you get those to compile? When I try to add those,
the compilation produces errors that indicate problems
in where the Makefile looks for those components.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top