Hello
Je suis en train de migrer quelques apps vers mon H70 sous AIX 5.2 ML7,
comme les interpréteurs python/ruby, apache2 et ses modules. Le GCC
3.4.3 de bullfreeware ayant des
problèmes avec des symboles et des pointeurs pour compiler pas mal de
softs, j'ai upgradé à GCC 4.0.0... que je pensait la solution à mes
soucis.
J'ai donc compilé Apache 2.0.55 et Python 2.4.2 sans problèmes (maiq bcp
de temps sur le configure d'apache avec -so).
Là ou le problème se pose: à la compilation de ruby 1.8:
ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o
enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o
math.o numeric.o object.o pack.o parse.o process.o prec.o random.o
range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o
struct.o time.o util.o variable.o version.o flock.o dmyext.o
gcc -g -O2 -I. -I. -c main.c
gcc main.o libruby-static.a -ldl -lcrypt -lm -o miniruby -g
-O2 -brtl
gcc: '-b' must come at the start of the command line
make: 1254-004 The error code from the last command is 1.
->Si je linke sans le -b flag, manuellement, puis relance un make avec cet
objet existant:
/usr/ccs/bin/ld -brtl -eInit_bigdecimal -bI:../../ruby.imp -bM:SRE
-T512 -H512 -L"../.." -o ../../.ext/powerpc-aix5.2.0.0/bigdecimal.so
bigdecimal.o -ldl -lcrypt -lm -lc
ld: 0706-003 Cannot find or read import file: ../../ruby.imp
ld:accessx(): A file or directory in the path name does not exist.
make: 1254-004 The error code from the last command is 255.
Stop.
make: 1254-004 The error code from the last command is 1.
-->Bang-boum! Du coup, pas de mod_ruby hein!
Je décide de passer les nerfs sur mod_python dont j'ai besoin pour
Moinmoin, et là alors que mon pythob 2.4.2 fonctionne bien, le make (avec
axps et --with-python) se vautre aussi au link:
*** Warning: Linking the shared library mod_python.la against the
*** static library
/usr/local/python-2.4/lib/python2.4/config/libpython2.4.a is not portable!
ld: 0706-004 Cannot find or read export file: Modules/python.exp
ld:accessx(): No such file or directory
collect2: ld returned 255 exit status
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Rharh nondidju!
Une idée?
_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://lists.unixtech.be/cgi-bin/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[email protected]
IRC: chat.unixtech.be:6667 - #unixtech
NNTP: news.gname.org - gmane.org.user-groups.linux.unixtech